2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
893 --enable-compat24 enable wxWidgets
2.4 compatibility
894 --disable-compat26 disable wxWidgets
2.6 compatibility
895 --disable-rpath disable use of rpath
for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig
(and derived
) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP
(requires wxProtocol
900 --enable-http use wxHTTP
(requires wxProtocol
901 --enable-fileproto use wxFileProto class
(requires wxProtocol
902 --enable-sockets use socket
/network classes
903 --enable-ole use OLE classes
(Win32 only
)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication
(wxSocket etc.
)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class
for DLL loading
915 --enable-dynamicloader use
(new
) wxDynamicLibrary class
916 --enable-exceptions build exception
-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual
file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP
/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C
++ stream classes
930 --enable-std_string use standard C
++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
942 --enable-wxprintfv use wxWidgets implementation of vprintf
()
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support
in wxProtocol
947 --enable-protocol-ftp FTP support
in wxProtocol
948 --enable-protocol-file FILE support
in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use
help subsystem
952 --enable-mshtmlhelp use MS HTML Help
(win32
)
953 --enable-html use wxHTML sub
-library
954 --enable-htmlhelp use wxHTML
-based help
955 --enable-xrc use XRC resources sub
-library
956 --enable-constraints use layout
-constraints system
957 --enable-printarch use printing architecture
958 --enable-mdi use multiple document interface architecture
959 --enable-mdidoc use docview architecture with MDI
960 --enable-loggui use standard GUI logger
961 --enable-logwin use wxLogWindow
962 --enable-logdialog use wxLogDialog
963 --enable-webkit use wxWebKitCtrl
(Mac
)
964 --enable-richtext use wxRichTextCtrl
965 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
966 --enable-prologio not available
; see contrib
967 --enable-resources not available
; see contrib
968 --enable-clipboard use wxClipboard class
969 --enable-dnd use Drag
'n'Drop classes
970 --enable-metafile use win32 metafiles
971 --enable-controls use all usual controls
972 --enable-accel use accelerators
973 --enable-button use wxButton class
974 --enable-bmpbutton use wxBitmapButton class
975 --enable-calendar use wxCalendarCtrl class
976 --enable-caret use wxCaret class
977 --enable-checkbox use wxCheckBox class
978 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
979 --enable-choice use wxChoice class
980 --enable-choicebook use wxChoicebook class
981 --enable-colourpicker use wxColourPickerCtrl class
982 --enable-combobox use wxComboBox class
983 --enable-comboctrl use wxComboCtrl class
984 --enable-datepick use wxDatePickerCtrl class
985 --enable-dirpicker use wxDirPickerCtrl class
986 --enable-display use wxDisplay class
987 --enable-filepicker use wxFilePickerCtrl class
988 --enable-fontpicker use wxFontPickerCtrl class
989 --enable-gauge use wxGauge class
990 --enable-grid use wxGrid class
991 --enable-dataviewctrl, use wxDataViewCtrl class
992 --enable-hyperlink use wxHyperlinkCtrl class
993 --enable-imaglist use wxImageList class
994 --enable-listbook use wxListbook class
995 --enable-listbox use wxListBox class
996 --enable-listctrl use wxListCtrl class
997 --enable-notebook use wxNotebook class
998 --enable-odcombobox use wxOwnerDrawnComboBox class
999 --enable-radiobox use wxRadioBox class
1000 --enable-radiobtn use wxRadioButton class
1001 --enable-sash use wxSashWindow class
1002 --enable-scrollbar use wxScrollBar class and scrollable windows
1003 --enable-slider use wxSlider class
1004 --enable-spinbtn use wxSpinButton class
1005 --enable-spinctrl use wxSpinCtrl class
1006 --enable-splitter use wxSplitterWindow class
1007 --enable-statbmp use wxStaticBitmap class
1008 --enable-statbox use wxStaticBox class
1009 --enable-statline use wxStaticLine class
1010 --enable-stattext use wxStaticText class
1011 --enable-statusbar use wxStatusBar class
1012 --enable-tabdialog use wxTabControl class
1013 --enable-textctrl use wxTextCtrl class
1014 --enable-togglebtn use wxToggleButton class
1015 --enable-toolbar use wxToolBar class
1016 --enable-tbarnative use native wxToolBar class
1017 --enable-tbarsmpl use wxToolBarSimple class
1018 --enable-treebook use wxTreebook class
1019 --enable-toolbook use wxToolbook class
1020 --enable-treectrl use wxTreeCtrl class
1021 --enable-tipwindow use wxTipWindow class
1022 --enable-popupwin use wxPopUpWindow class
1023 --enable-commondlg use all common dialogs
1024 --enable-choicedlg use wxChoiceDialog
1025 --enable-coldlg use wxColourDialog
1026 --enable-filedlg use wxFileDialog
1027 --enable-finddlg use wxFindReplaceDialog
1028 --enable-fontdlg use wxFontDialog
1029 --enable-dirdlg use wxDirDialog
1030 --enable-msgdlg use wxMessageDialog
1031 --enable-numberdlg use wxNumberEntryDialog
1032 --enable-splash use wxSplashScreen
1033 --enable-textdlg use wxTextDialog
1034 --enable-tipdlg use startup tips
1035 --enable-progressdlg use wxProgressDialog
1036 --enable-wizarddlg use wxWizard
1037 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1038 --enable-miniframe use wxMiniFrame class
1039 --enable-tooltips use wxToolTip class
1040 --enable-splines use spline drawing code
1041 --enable-mousewheel use mousewheel
1042 --enable-validators use wxValidator and derived classes
1043 --enable-busyinfo use wxBusyInfo
1044 --enable-joystick use wxJoystick
1045 --enable-metafiles use wxMetaFile
(Win32 only
)
1046 --enable-dragimage use wxDragImage
1047 --enable-accessibility enable accessibility support
1048 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1049 --enable-palette use wxPalette class
1050 --enable-image use wxImage class
1051 --enable-gif use gif images
(GIF
file format
)
1052 --enable-pcx use pcx images
(PCX
file format
)
1053 --enable-iff use iff images
(IFF
file format
)
1054 --enable-pnm use pnm images
(PNM
file format
)
1055 --enable-xpm use xpm images
(XPM
file format
)
1056 --enable-icocur use Windows ICO and CUR formats
1057 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1058 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1059 --disable-largefile omit support
for large files
1060 --disable-gtktest do not try to compile and run a
test GTK
+ program
1061 --disable-gtktest Do not try to compile and run a
test GTK program
1062 --disable-sdltest Do not try to compile and run a
test SDL program
1063 --enable-omf use OMF object format
(OS
/2)
1064 --disable-dependency-tracking
1065 don
't use dependency tracking even if the compiler
1067 --disable-precomp-headers
1068 don't use precompiled headers even
if compiler can
1071 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1072 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1073 --without-subdirs don
't generate makefiles for samples/demos/...
1074 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1075 --with-motif use Motif/Lesstif
1076 --with-mac use Mac OS X
1077 --with-cocoa use Cocoa
1078 --with-wine use Wine
1079 --with-msw use MS-Windows
1080 --with-pm use OS/2 Presentation Manager
1081 --with-mgl use SciTech MGL
1082 --with-microwin use MicroWindows
1084 --with-libpng use libpng (PNG image format)
1085 --with-libjpeg use libjpeg (JPEG file format)
1086 --with-libtiff use libtiff (TIFF file format)
1087 --with-libxpm use libxpm (XPM file format)
1088 --with-libmspack use libmspack (CHM help files loading)
1089 --with-sdl use SDL for audio on Unix
1090 --with-gnomeprint use GNOME print for printing under GNOME
1091 --with-gnomevfs use GNOME VFS for associating MIME types
1092 --with-hildon use Hildon framework for Nokia 770
1093 --with-opengl use OpenGL (or Mesa)
1094 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1095 --with-regex enable support for wxRegEx class
1096 --with-zlib use zlib for LZW compression
1097 --with-odbc use the IODBC and wxODBC classes
1098 --with-expat enable XML support using expat parser
1099 --with-flavour=NAME specify a name to identify this build
1100 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1101 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1102 --with-x use the X Window System
1103 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1104 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1105 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1106 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1107 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1109 Some influential environment variables:
1110 CC C compiler command
1111 CFLAGS C compiler flags
1112 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1113 nonstandard directory <lib dir>
1114 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1115 headers in a nonstandard directory <include dir>
1117 CXX C++ compiler command
1118 CXXFLAGS C++ compiler flags
1119 CXXCPP C++ preprocessor
1121 Use these variables to override the choices made by `configure' or to
help
1122 it to
find libraries and programs with nonstandard names
/locations.
1124 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1128 if test "$ac_init_help" = "recursive"; then
1129 # If there are subdirs, report their specific --help.
1131 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1132 test -d $ac_dir || continue
1135 if test "$ac_dir" != .
; then
1136 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1137 # A "../" for each directory in $ac_dir_suffix.
1138 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1140 ac_dir_suffix
= ac_top_builddir
=
1144 .
) # No --srcdir option. We are building in place.
1146 if test -z "$ac_top_builddir"; then
1149 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1151 [\\/]* | ?
:[\\/]* ) # Absolute path.
1152 ac_srcdir
=$srcdir$ac_dir_suffix;
1153 ac_top_srcdir
=$srcdir ;;
1155 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1156 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1159 # Do not use `cd foo && pwd` to compute absolute paths, because
1160 # the directories may not exist.
1162 .
) ac_abs_builddir
="$ac_dir";;
1165 .
) ac_abs_builddir
=`pwd`;;
1166 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1167 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1170 case $ac_abs_builddir in
1171 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1173 case ${ac_top_builddir}.
in
1174 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1175 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1176 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1179 case $ac_abs_builddir in
1180 .
) ac_abs_srcdir
=$ac_srcdir;;
1183 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1184 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1185 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1188 case $ac_abs_builddir in
1189 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1191 case $ac_top_srcdir in
1192 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1193 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1194 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1199 # Check for guested configure; otherwise get Cygnus style configure.
1200 if test -f $ac_srcdir/configure.gnu
; then
1202 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1203 elif test -f $ac_srcdir/configure
; then
1205 $SHELL $ac_srcdir/configure
--help=recursive
1206 elif test -f $ac_srcdir/configure.ac
||
1207 test -f $ac_srcdir/configure.
in; then
1209 $ac_configure --help
1211 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1217 test -n "$ac_init_help" && exit 0
1218 if $ac_init_version; then
1220 wxWidgets configure
2.7.0
1221 generated by GNU Autoconf
2.59
1223 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1224 This configure
script is free software
; the Free Software Foundation
1225 gives unlimited permission to copy
, distribute and modify it.
1231 This file contains any messages produced by compilers while
1232 running configure, to aid debugging if configure makes a mistake.
1234 It was created by wxWidgets $as_me 2.7.0, which was
1235 generated by GNU Autoconf 2.59. Invocation command line was
1246 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1247 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1248 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1249 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1250 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1252 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1253 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1255 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1256 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1257 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1258 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1259 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1260 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1261 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1269 test -z "$as_dir" && as_dir
=.
1270 echo "PATH: $as_dir"
1285 # Keep a trace of the command line.
1286 # Strip out --no-create and --no-recursion so they do not pile up.
1287 # Strip out --silent because we don't want to record it for future runs.
1288 # Also quote any args containing shell meta-characters.
1289 # Make two passes to allow for proper duplicate-argument suppression.
1294 ac_must_keep_next
=false
1300 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1302 | -silent | --silent | --silen | --sile | --sil)
1304 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1305 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1308 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1310 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1311 if test $ac_must_keep_next = true
; then
1312 ac_must_keep_next
=false
# Got value, back to normal.
1315 *=* | --config-cache | -C | -disable-* | --disable-* \
1316 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1317 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1318 | -with-* | --with-* | -without-* | --without-* | --x)
1319 case "$ac_configure_args0 " in
1320 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1323 -* ) ac_must_keep_next
=true
;;
1326 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1327 # Get rid of the leading space.
1333 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1334 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1336 # When interrupted or exit'd, cleanup temporary files, and complete
1337 # config.log. We remove comments because anyway the quotes in there
1338 # would cause problems or look ugly.
1339 # WARNING: Be sure not to use single quotes in there, as some shells,
1340 # such as our DU 5.0 friend, will then `close' the trap.
1341 trap 'exit_status=$?
1342 # Save into config.log some information that might help in debugging.
1347 ## ---------------- ##
1348 ## Cache variables. ##
1349 ## ---------------- ##
1352 # The following way of writing the cache mishandles newlines in values,
1355 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1358 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1359 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1363 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1370 ## ----------------- ##
1371 ## Output variables. ##
1372 ## ----------------- ##
1375 for ac_var in $ac_subst_vars
1377 eval ac_val=$`echo $ac_var`
1378 echo "$ac_var='"'"'$ac_val'"'"'"
1382 if test -n "$ac_subst_files"; then
1389 for ac_var in $ac_subst_files
1391 eval ac_val=$`echo $ac_var`
1392 echo "$ac_var='"'"'$ac_val'"'"'"
1397 if test -s confdefs.h; then
1404 sed "/^$/d" confdefs.h | sort
1407 test "$ac_signal" != 0 &&
1408 echo "$as_me: caught signal $ac_signal"
1409 echo "$as_me: exit $exit_status"
1411 rm -f core *.core &&
1412 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1415 for ac_signal
in 1 2 13 15; do
1416 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1420 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1421 rm -rf conftest
* confdefs.h
1422 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1425 # Predefined preprocessor variables.
1427 cat >>confdefs.h
<<_ACEOF
1428 #define PACKAGE_NAME "$PACKAGE_NAME"
1432 cat >>confdefs.h
<<_ACEOF
1433 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1437 cat >>confdefs.h
<<_ACEOF
1438 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1442 cat >>confdefs.h
<<_ACEOF
1443 #define PACKAGE_STRING "$PACKAGE_STRING"
1447 cat >>confdefs.h
<<_ACEOF
1448 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1452 # Let the site file select an alternate cache file if it wants to.
1453 # Prefer explicitly selected file to automatically selected ones.
1454 if test -z "$CONFIG_SITE"; then
1455 if test "x$prefix" != xNONE
; then
1456 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1458 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1461 for ac_site_file
in $CONFIG_SITE; do
1462 if test -r "$ac_site_file"; then
1463 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1464 echo "$as_me: loading site script $ac_site_file" >&6;}
1465 sed 's/^/| /' "$ac_site_file" >&5
1470 if test -r "$cache_file"; then
1471 # Some versions of bash will fail to source /dev/null (special
1472 # files actually), so we avoid doing that.
1473 if test -f "$cache_file"; then
1474 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1475 echo "$as_me: loading cache $cache_file" >&6;}
1477 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1478 *) . .
/$cache_file;;
1482 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1483 echo "$as_me: creating cache $cache_file" >&6;}
1487 # Check that the precious variables saved in the cache have kept the same
1489 ac_cache_corrupted
=false
1490 for ac_var
in `(set) 2>&1 |
1491 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1492 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1493 eval ac_new_set
=\
$ac_env_${ac_var}_set
1494 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1495 eval ac_new_val
="\$ac_env_${ac_var}_value"
1496 case $ac_old_set,$ac_new_set in
1498 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1499 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1500 ac_cache_corrupted
=: ;;
1502 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1503 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1504 ac_cache_corrupted
=: ;;
1507 if test "x$ac_old_val" != "x$ac_new_val"; then
1508 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1509 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1510 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1511 echo "$as_me: former value: $ac_old_val" >&2;}
1512 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1513 echo "$as_me: current value: $ac_new_val" >&2;}
1514 ac_cache_corrupted
=:
1517 # Pass precious variables to config.status.
1518 if test "$ac_new_set" = set; then
1520 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1521 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1522 *) ac_arg
=$ac_var=$ac_new_val ;;
1524 case " $ac_configure_args " in
1525 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1526 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1530 if $ac_cache_corrupted; then
1531 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1532 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1533 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1534 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1535 { (exit 1); exit 1; }; }
1539 ac_cpp
='$CPP $CPPFLAGS'
1540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1574 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1575 if test -f $ac_dir/install-sh; then
1577 ac_install_sh
="$ac_aux_dir/install-sh -c"
1579 elif test -f $ac_dir/install.sh
; then
1581 ac_install_sh
="$ac_aux_dir/install.sh -c"
1583 elif test -f $ac_dir/shtool
; then
1585 ac_install_sh
="$ac_aux_dir/shtool install -c"
1589 if test -z "$ac_aux_dir"; then
1590 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1591 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1592 { (exit 1); exit 1; }; }
1594 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1595 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1596 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1598 # Make sure we can run config.sub.
1599 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1600 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1601 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1602 { (exit 1); exit 1; }; }
1604 echo "$as_me:$LINENO: checking build system type" >&5
1605 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1606 if test "${ac_cv_build+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 ac_cv_build_alias
=$build_alias
1610 test -z "$ac_cv_build_alias" &&
1611 ac_cv_build_alias
=`$ac_config_guess`
1612 test -z "$ac_cv_build_alias" &&
1613 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1614 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1615 { (exit 1); exit 1; }; }
1616 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1622 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1623 echo "${ECHO_T}$ac_cv_build" >&6
1625 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630 echo "$as_me:$LINENO: checking host system type" >&5
1631 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1632 if test "${ac_cv_host+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 ac_cv_host_alias
=$host_alias
1636 test -z "$ac_cv_host_alias" &&
1637 ac_cv_host_alias
=$ac_cv_build_alias
1638 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1644 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1645 echo "${ECHO_T}$ac_cv_host" >&6
1647 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652 echo "$as_me:$LINENO: checking target system type" >&5
1653 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1654 if test "${ac_cv_target+set}" = set; then
1655 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 ac_cv_target_alias
=$target_alias
1658 test "x$ac_cv_target_alias" = "x" &&
1659 ac_cv_target_alias
=$ac_cv_host_alias
1660 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1661 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1662 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1663 { (exit 1); exit 1; }; }
1666 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1667 echo "${ECHO_T}$ac_cv_target" >&6
1668 target
=$ac_cv_target
1669 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1670 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1671 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1674 # The aliases save the names the user supplied, while $host etc.
1675 # will get canonicalized.
1676 test -n "$target_alias" &&
1677 test "$program_prefix$program_suffix$program_transform_name" = \
1679 program_prefix
=${target_alias}-
1683 wx_major_version_number
=2
1684 wx_minor_version_number
=7
1686 wx_subrelease_number
=0
1688 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1689 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1690 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1692 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1705 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1711 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1717 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1719 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1721 DEFAULT_wxUSE_COCOA
=0
1725 DEFAULT_wxUSE_MICROWIN
=0
1726 DEFAULT_wxUSE_MOTIF
=0
1731 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1732 DEFAULT_DEFAULT_wxUSE_GTK
=0
1733 DEFAULT_DEFAULT_wxUSE_MAC
=0
1734 DEFAULT_DEFAULT_wxUSE_MGL
=0
1735 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1736 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1737 DEFAULT_DEFAULT_wxUSE_MSW
=0
1738 DEFAULT_DEFAULT_wxUSE_PM
=0
1739 DEFAULT_DEFAULT_wxUSE_X11
=0
1744 SAMPLES_RPATH_POSTLINK
=
1746 DEFAULT_STD_FLAG
=yes
1751 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1752 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1754 cat >>confdefs.h
<<\_ACEOF
1759 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1763 cat >>confdefs.h
<<\_ACEOF
1768 if test "x$TMP" = "xalpha"; then
1770 cat >>confdefs.h
<<\_ACEOF
1775 DEFAULT_DEFAULT_wxUSE_GTK
=1
1777 *-*-gnu* | *-*-k*bsd
*-gnu )
1780 if test "x$TMP" = "xalpha"; then
1782 cat >>confdefs.h
<<\_ACEOF
1787 DEFAULT_DEFAULT_wxUSE_GTK
=1
1789 *-*-irix5* | *-*-irix6* )
1792 cat >>confdefs.h
<<\_ACEOF
1796 cat >>confdefs.h
<<\_ACEOF
1800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1806 cat >>confdefs.h
<<\_ACEOF
1810 cat >>confdefs.h
<<\_ACEOF
1811 #define __SOLARIS__ 1
1814 cat >>confdefs.h
<<\_ACEOF
1818 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1819 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1825 cat >>confdefs.h
<<\_ACEOF
1829 cat >>confdefs.h
<<\_ACEOF
1833 cat >>confdefs.h
<<\_ACEOF
1837 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1842 cat >>confdefs.h
<<\_ACEOF
1843 #define __FREEBSD__ 1
1846 cat >>confdefs.h
<<\_ACEOF
1850 DEFAULT_DEFAULT_wxUSE_GTK
=1
1855 cat >>confdefs.h
<<\_ACEOF
1856 #define __OPENBSD__ 1
1859 cat >>confdefs.h
<<\_ACEOF
1863 DEFAULT_DEFAULT_wxUSE_GTK
=1
1868 cat >>confdefs.h
<<\_ACEOF
1869 #define __NETBSD__ 1
1872 cat >>confdefs.h
<<\_ACEOF
1876 DEFAULT_DEFAULT_wxUSE_GTK
=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1879 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1884 cat >>confdefs.h
<<\_ACEOF
1888 cat >>confdefs.h
<<\_ACEOF
1892 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1893 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1911 cat >>confdefs.h
<<\_ACEOF
1915 cat >>confdefs.h
<<\_ACEOF
1919 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1926 cat >>confdefs.h
<<\_ACEOF
1930 cat >>confdefs.h
<<\_ACEOF
1934 cat >>confdefs.h
<<\_ACEOF
1938 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1945 cat >>confdefs.h
<<\_ACEOF
1946 #define __UNIXWARE__ 1
1951 *-*-cygwin* | *-*-mingw32* )
1954 DEFAULT_DEFAULT_wxUSE_MSW
=1
1961 cat >>confdefs.h
<<\_ACEOF
1966 DEFAULT_DEFAULT_wxUSE_MGL
=1
1969 *-pc-os2_emx | *-pc-os2-emx )
1970 cat >>confdefs.h
<<\_ACEOF
1975 cat >>confdefs.h
<<\_ACEOF
1980 DEFAULT_DEFAULT_wxUSE_PM
=1
1982 LDFLAGS
="$LDFLAGS -Zcrtdll"
1983 ac_executable_extensions
=".exe"
1984 export ac_executable_extensions
1988 for ac_dir
in $PATH; do
1990 if test -z "$ac_TEMP_PATH"; then
1991 ac_TEMP_PATH
="$ac_dir"
1993 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1996 export PATH
="$ac_TEMP_PATH"
2005 cat >>confdefs.h
<<\_ACEOF
2009 cat >>confdefs.h
<<\_ACEOF
2010 #define __DARWIN__ 1
2013 cat >>confdefs.h
<<\_ACEOF
2014 #define TARGET_CARBON 1
2017 DEFAULT_DEFAULT_wxUSE_MAC
=1
2020 powerpc
-apple-macos* )
2022 ac_cv_c_bigendian
=yes
2024 DEFAULT_DEFAULT_wxUSE_MAC
=1
2030 cat >>confdefs.h
<<\_ACEOF
2037 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2038 echo "$as_me: error: unknown system type ${host}." >&2;}
2039 { (exit 1); exit 1; }; }
2045 wx_arg_cache_file
="configarg.cache"
2046 echo "loading argument cache $wx_arg_cache_file"
2047 rm -f ${wx_arg_cache_file}.tmp
2048 touch ${wx_arg_cache_file}.tmp
2049 touch ${wx_arg_cache_file}
2053 if test $DEBUG_CONFIGURE = 1; then
2054 DEFAULT_wxUSE_UNIVERSAL
=no
2055 DEFAULT_wxUSE_STL
=no
2057 DEFAULT_wxUSE_NANOX
=no
2059 DEFAULT_wxUSE_THREADS
=yes
2061 DEFAULT_wxUSE_SHARED
=yes
2062 DEFAULT_wxUSE_OPTIMISE
=no
2063 DEFAULT_wxUSE_PROFILE
=no
2064 DEFAULT_wxUSE_NO_DEPS
=no
2065 DEFAULT_wxUSE_NO_RTTI
=no
2066 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2067 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2068 DEFAULT_wxUSE_RPATH
=yes
2069 DEFAULT_wxUSE_PERMISSIVE
=no
2070 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2071 DEFAULT_wxUSE_DEBUG_INFO
=yes
2072 DEFAULT_wxUSE_DEBUG_GDB
=yes
2073 DEFAULT_wxUSE_MEM_TRACING
=no
2074 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2075 DEFAULT_wxUSE_DMALLOC
=no
2076 DEFAULT_wxUSE_APPLE_IEEE
=no
2078 DEFAULT_wxUSE_EXCEPTIONS
=no
2079 DEFAULT_wxUSE_LOG
=yes
2080 DEFAULT_wxUSE_LOGWINDOW
=no
2081 DEFAULT_wxUSE_LOGGUI
=no
2082 DEFAULT_wxUSE_LOGDIALOG
=no
2084 DEFAULT_wxUSE_GUI
=yes
2085 DEFAULT_wxUSE_CONTROLS
=no
2087 DEFAULT_wxUSE_REGEX
=no
2088 DEFAULT_wxUSE_XML
=no
2089 DEFAULT_wxUSE_EXPAT
=no
2090 DEFAULT_wxUSE_ZLIB
=no
2091 DEFAULT_wxUSE_LIBPNG
=no
2092 DEFAULT_wxUSE_LIBJPEG
=no
2093 DEFAULT_wxUSE_LIBTIFF
=no
2094 DEFAULT_wxUSE_LIBXPM
=no
2095 DEFAULT_wxUSE_LIBMSPACK
=no
2096 DEFAULT_wxUSE_LIBSDL
=no
2097 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2098 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2099 DEFAULT_wxUSE_LIBHILDON
=no
2100 DEFAULT_wxUSE_ODBC
=no
2101 DEFAULT_wxUSE_OPENGL
=no
2103 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2104 DEFAULT_wxUSE_STACKWALKER
=no
2105 DEFAULT_wxUSE_DEBUGREPORT
=no
2106 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2107 DEFAULT_wxUSE_STD_IOSTREAM
=no
2108 DEFAULT_wxUSE_STD_STRING
=no
2109 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2110 DEFAULT_wxUSE_DATETIME
=no
2111 DEFAULT_wxUSE_TIMER
=no
2112 DEFAULT_wxUSE_STOPWATCH
=no
2113 DEFAULT_wxUSE_FILE
=no
2114 DEFAULT_wxUSE_FFILE
=no
2115 DEFAULT_wxUSE_STDPATHS
=no
2116 DEFAULT_wxUSE_TEXTBUFFER
=no
2117 DEFAULT_wxUSE_TEXTFILE
=no
2118 DEFAULT_wxUSE_SOUND
=no
2119 DEFAULT_wxUSE_MEDIACTRL
=no
2120 DEFAULT_wxUSE_GSTREAMER8
=no
2121 DEFAULT_wxUSE_INTL
=no
2122 DEFAULT_wxUSE_CONFIG
=no
2123 DEFAULT_wxUSE_FONTMAP
=no
2124 DEFAULT_wxUSE_STREAMS
=no
2125 DEFAULT_wxUSE_SOCKETS
=no
2126 DEFAULT_wxUSE_OLE
=no
2127 DEFAULT_wxUSE_DATAOBJ
=no
2128 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2129 DEFAULT_wxUSE_JOYSTICK
=no
2130 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2131 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2132 DEFAULT_wxUSE_LONGLONG
=no
2133 DEFAULT_wxUSE_GEOMETRY
=no
2135 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2136 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2137 DEFAULT_wxUSE_POSTSCRIPT
=no
2139 DEFAULT_wxUSE_CLIPBOARD
=no
2140 DEFAULT_wxUSE_TOOLTIPS
=no
2141 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2142 DEFAULT_wxUSE_DRAGIMAGE
=no
2143 DEFAULT_wxUSE_SPLINES
=no
2144 DEFAULT_wxUSE_MOUSEWHEEL
=no
2146 DEFAULT_wxUSE_MDI
=no
2147 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2148 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2149 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2151 DEFAULT_wxUSE_RESOURCES
=no
2152 DEFAULT_wxUSE_CONSTRAINTS
=no
2153 DEFAULT_wxUSE_IPC
=no
2154 DEFAULT_wxUSE_HELP
=no
2155 DEFAULT_wxUSE_MS_HTML_HELP
=no
2156 DEFAULT_wxUSE_WXHTML_HELP
=no
2157 DEFAULT_wxUSE_TREELAYOUT
=no
2158 DEFAULT_wxUSE_METAFILE
=no
2159 DEFAULT_wxUSE_MIMETYPE
=no
2160 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2161 DEFAULT_wxUSE_PROTOCOL
=no
2162 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2163 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2164 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2165 DEFAULT_wxUSE_URL
=no
2167 DEFAULT_wxUSE_COMMONDLGS
=no
2168 DEFAULT_wxUSE_CHOICEDLG
=no
2169 DEFAULT_wxUSE_COLOURDLG
=no
2170 DEFAULT_wxUSE_DIRDLG
=no
2171 DEFAULT_wxUSE_FILEDLG
=no
2172 DEFAULT_wxUSE_FINDREPLDLG
=no
2173 DEFAULT_wxUSE_FONTDLG
=no
2174 DEFAULT_wxUSE_MSGDLG
=no
2175 DEFAULT_wxUSE_NUMBERDLG
=no
2176 DEFAULT_wxUSE_TEXTDLG
=no
2177 DEFAULT_wxUSE_SPLASH
=no
2178 DEFAULT_wxUSE_STARTUP_TIPS
=no
2179 DEFAULT_wxUSE_PROGRESSDLG
=no
2180 DEFAULT_wxUSE_WIZARDDLG
=no
2182 DEFAULT_wxUSE_MENUS
=no
2183 DEFAULT_wxUSE_MINIFRAME
=no
2184 DEFAULT_wxUSE_HTML
=no
2185 DEFAULT_wxUSE_RICHTEXT
=no
2186 DEFAULT_wxUSE_XRC
=no
2187 DEFAULT_wxUSE_WEBKIT
=no
2188 DEFAULT_wxUSE_FILESYSTEM
=no
2189 DEFAULT_wxUSE_FS_INET
=no
2190 DEFAULT_wxUSE_FS_ZIP
=no
2191 DEFAULT_wxUSE_BUSYINFO
=no
2192 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2193 DEFAULT_wxUSE_ZIPSTREAM
=no
2194 DEFAULT_wxUSE_VALIDATORS
=no
2196 DEFAULT_wxUSE_ACCEL
=no
2197 DEFAULT_wxUSE_BUTTON
=no
2198 DEFAULT_wxUSE_BMPBUTTON
=no
2199 DEFAULT_wxUSE_CALCTRL
=no
2200 DEFAULT_wxUSE_CARET
=no
2201 DEFAULT_wxUSE_CHECKBOX
=no
2202 DEFAULT_wxUSE_CHECKLST
=no
2203 DEFAULT_wxUSE_CHOICE
=no
2204 DEFAULT_wxUSE_CHOICEBOOK
=no
2205 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2206 DEFAULT_wxUSE_COMBOBOX
=no
2207 DEFAULT_wxUSE_COMBOCTRL
=no
2208 DEFAULT_wxUSE_DATEPICKCTRL
=no
2209 DEFAULT_wxUSE_DISPLAY
=no
2210 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2211 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2212 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2213 DEFAULT_wxUSE_GAUGE
=no
2214 DEFAULT_wxUSE_GRID
=no
2215 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2216 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2217 DEFAULT_wxUSE_IMAGLIST
=no
2218 DEFAULT_wxUSE_LISTBOOK
=no
2219 DEFAULT_wxUSE_LISTBOX
=no
2220 DEFAULT_wxUSE_LISTCTRL
=no
2221 DEFAULT_wxUSE_NOTEBOOK
=no
2222 DEFAULT_wxUSE_ODCOMBOBOX
=no
2223 DEFAULT_wxUSE_RADIOBOX
=no
2224 DEFAULT_wxUSE_RADIOBTN
=no
2225 DEFAULT_wxUSE_SASH
=no
2226 DEFAULT_wxUSE_SCROLLBAR
=no
2227 DEFAULT_wxUSE_SLIDER
=no
2228 DEFAULT_wxUSE_SPINBTN
=no
2229 DEFAULT_wxUSE_SPINCTRL
=no
2230 DEFAULT_wxUSE_SPLITTER
=no
2231 DEFAULT_wxUSE_STATBMP
=no
2232 DEFAULT_wxUSE_STATBOX
=no
2233 DEFAULT_wxUSE_STATLINE
=no
2234 DEFAULT_wxUSE_STATTEXT
=no
2235 DEFAULT_wxUSE_STATUSBAR
=yes
2236 DEFAULT_wxUSE_TAB_DIALOG
=no
2237 DEFAULT_wxUSE_TEXTCTRL
=no
2238 DEFAULT_wxUSE_TOGGLEBTN
=no
2239 DEFAULT_wxUSE_TOOLBAR
=no
2240 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2241 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2242 DEFAULT_wxUSE_TREEBOOK
=no
2243 DEFAULT_wxUSE_TOOLBOOK
=no
2244 DEFAULT_wxUSE_TREECTRL
=no
2245 DEFAULT_wxUSE_POPUPWIN
=no
2246 DEFAULT_wxUSE_TIPWINDOW
=no
2248 DEFAULT_wxUSE_UNICODE
=no
2249 DEFAULT_wxUSE_UNICODE_MSLU
=no
2250 DEFAULT_wxUSE_WCSRTOMBS
=no
2252 DEFAULT_wxUSE_PALETTE
=no
2253 DEFAULT_wxUSE_IMAGE
=no
2254 DEFAULT_wxUSE_GIF
=no
2255 DEFAULT_wxUSE_PCX
=no
2256 DEFAULT_wxUSE_PNM
=no
2257 DEFAULT_wxUSE_IFF
=no
2258 DEFAULT_wxUSE_XPM
=no
2259 DEFAULT_wxUSE_ICO_CUR
=no
2260 DEFAULT_wxUSE_ACCESSIBILITY
=no
2262 DEFAULT_wxUSE_MONOLITHIC
=no
2263 DEFAULT_wxUSE_PLUGINS
=no
2264 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2266 DEFAULT_wxUSE_UNIVERSAL
=no
2267 DEFAULT_wxUSE_STL
=no
2269 DEFAULT_wxUSE_NANOX
=no
2271 DEFAULT_wxUSE_THREADS
=yes
2273 DEFAULT_wxUSE_SHARED
=yes
2274 DEFAULT_wxUSE_OPTIMISE
=yes
2275 DEFAULT_wxUSE_PROFILE
=no
2276 DEFAULT_wxUSE_NO_DEPS
=no
2277 DEFAULT_wxUSE_NO_RTTI
=no
2278 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2279 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2280 DEFAULT_wxUSE_RPATH
=yes
2281 DEFAULT_wxUSE_PERMISSIVE
=no
2282 DEFAULT_wxUSE_DEBUG_FLAG
=no
2283 DEFAULT_wxUSE_DEBUG_INFO
=no
2284 DEFAULT_wxUSE_DEBUG_GDB
=no
2285 DEFAULT_wxUSE_MEM_TRACING
=no
2286 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2287 DEFAULT_wxUSE_DMALLOC
=no
2288 DEFAULT_wxUSE_APPLE_IEEE
=yes
2290 DEFAULT_wxUSE_EXCEPTIONS
=yes
2291 DEFAULT_wxUSE_LOG
=yes
2292 DEFAULT_wxUSE_LOGWINDOW
=yes
2293 DEFAULT_wxUSE_LOGGUI
=yes
2294 DEFAULT_wxUSE_LOGDIALOG
=yes
2296 DEFAULT_wxUSE_GUI
=yes
2298 DEFAULT_wxUSE_REGEX
=yes
2299 DEFAULT_wxUSE_XML
=yes
2300 DEFAULT_wxUSE_EXPAT
=yes
2301 DEFAULT_wxUSE_ZLIB
=yes
2302 DEFAULT_wxUSE_LIBPNG
=yes
2303 DEFAULT_wxUSE_LIBJPEG
=yes
2304 DEFAULT_wxUSE_LIBTIFF
=yes
2305 DEFAULT_wxUSE_LIBXPM
=yes
2306 DEFAULT_wxUSE_LIBMSPACK
=yes
2307 DEFAULT_wxUSE_LIBSDL
=no
2308 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2309 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2310 DEFAULT_wxUSE_LIBHILDON
=no
2311 DEFAULT_wxUSE_ODBC
=no
2312 DEFAULT_wxUSE_OPENGL
=no
2314 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2315 DEFAULT_wxUSE_STACKWALKER
=yes
2316 DEFAULT_wxUSE_DEBUGREPORT
=yes
2317 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2318 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2319 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2320 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2321 DEFAULT_wxUSE_DATETIME
=yes
2322 DEFAULT_wxUSE_TIMER
=yes
2323 DEFAULT_wxUSE_STOPWATCH
=yes
2324 DEFAULT_wxUSE_FILE
=yes
2325 DEFAULT_wxUSE_FFILE
=yes
2326 DEFAULT_wxUSE_STDPATHS
=yes
2327 DEFAULT_wxUSE_TEXTBUFFER
=yes
2328 DEFAULT_wxUSE_TEXTFILE
=yes
2329 DEFAULT_wxUSE_SOUND
=yes
2330 DEFAULT_wxUSE_MEDIACTRL
=no
2331 DEFAULT_wxUSE_GSTREAMER8
=no
2332 DEFAULT_wxUSE_INTL
=yes
2333 DEFAULT_wxUSE_CONFIG
=yes
2334 DEFAULT_wxUSE_FONTMAP
=yes
2335 DEFAULT_wxUSE_STREAMS
=yes
2336 DEFAULT_wxUSE_SOCKETS
=yes
2337 DEFAULT_wxUSE_OLE
=yes
2338 DEFAULT_wxUSE_DATAOBJ
=yes
2339 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2340 DEFAULT_wxUSE_JOYSTICK
=yes
2341 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2342 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2343 DEFAULT_wxUSE_LONGLONG
=yes
2344 DEFAULT_wxUSE_GEOMETRY
=yes
2346 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2347 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2348 DEFAULT_wxUSE_POSTSCRIPT
=yes
2350 DEFAULT_wxUSE_CLIPBOARD
=yes
2351 DEFAULT_wxUSE_TOOLTIPS
=yes
2352 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2353 DEFAULT_wxUSE_DRAGIMAGE
=yes
2354 DEFAULT_wxUSE_SPLINES
=yes
2355 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2357 DEFAULT_wxUSE_MDI
=yes
2358 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2359 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2360 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2362 DEFAULT_wxUSE_RESOURCES
=no
2363 DEFAULT_wxUSE_CONSTRAINTS
=yes
2364 DEFAULT_wxUSE_IPC
=yes
2365 DEFAULT_wxUSE_HELP
=yes
2366 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2367 DEFAULT_wxUSE_WXHTML_HELP
=yes
2368 DEFAULT_wxUSE_TREELAYOUT
=yes
2369 DEFAULT_wxUSE_METAFILE
=yes
2370 DEFAULT_wxUSE_MIMETYPE
=yes
2371 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2372 DEFAULT_wxUSE_PROTOCOL
=yes
2373 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2374 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2375 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2376 DEFAULT_wxUSE_URL
=yes
2378 DEFAULT_wxUSE_COMMONDLGS
=yes
2379 DEFAULT_wxUSE_CHOICEDLG
=yes
2380 DEFAULT_wxUSE_COLOURDLG
=yes
2381 DEFAULT_wxUSE_DIRDLG
=yes
2382 DEFAULT_wxUSE_FILEDLG
=yes
2383 DEFAULT_wxUSE_FINDREPLDLG
=yes
2384 DEFAULT_wxUSE_FONTDLG
=yes
2385 DEFAULT_wxUSE_MSGDLG
=yes
2386 DEFAULT_wxUSE_NUMBERDLG
=yes
2387 DEFAULT_wxUSE_TEXTDLG
=yes
2388 DEFAULT_wxUSE_SPLASH
=yes
2389 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2390 DEFAULT_wxUSE_PROGRESSDLG
=yes
2391 DEFAULT_wxUSE_WIZARDDLG
=yes
2393 DEFAULT_wxUSE_MENUS
=yes
2394 DEFAULT_wxUSE_MINIFRAME
=yes
2395 DEFAULT_wxUSE_HTML
=yes
2396 DEFAULT_wxUSE_RICHTEXT
=yes
2397 DEFAULT_wxUSE_XRC
=yes
2398 DEFAULT_wxUSE_WEBKIT
=yes
2399 DEFAULT_wxUSE_FILESYSTEM
=yes
2400 DEFAULT_wxUSE_FS_INET
=yes
2401 DEFAULT_wxUSE_FS_ZIP
=yes
2402 DEFAULT_wxUSE_BUSYINFO
=yes
2403 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2404 DEFAULT_wxUSE_ZIPSTREAM
=yes
2405 DEFAULT_wxUSE_VALIDATORS
=yes
2407 DEFAULT_wxUSE_ACCEL
=yes
2408 DEFAULT_wxUSE_BUTTON
=yes
2409 DEFAULT_wxUSE_BMPBUTTON
=yes
2410 DEFAULT_wxUSE_CALCTRL
=yes
2411 DEFAULT_wxUSE_CARET
=yes
2412 DEFAULT_wxUSE_CHECKBOX
=yes
2413 DEFAULT_wxUSE_CHECKLST
=yes
2414 DEFAULT_wxUSE_CHOICE
=yes
2415 DEFAULT_wxUSE_CHOICEBOOK
=yes
2416 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2417 DEFAULT_wxUSE_COMBOBOX
=yes
2418 DEFAULT_wxUSE_COMBOCTRL
=yes
2419 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2420 DEFAULT_wxUSE_DISPLAY
=yes
2421 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2422 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2423 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2424 DEFAULT_wxUSE_GAUGE
=yes
2425 DEFAULT_wxUSE_GRID
=yes
2426 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2427 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2428 DEFAULT_wxUSE_IMAGLIST
=yes
2429 DEFAULT_wxUSE_LISTBOOK
=yes
2430 DEFAULT_wxUSE_LISTBOX
=yes
2431 DEFAULT_wxUSE_LISTCTRL
=yes
2432 DEFAULT_wxUSE_NOTEBOOK
=yes
2433 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2434 DEFAULT_wxUSE_RADIOBOX
=yes
2435 DEFAULT_wxUSE_RADIOBTN
=yes
2436 DEFAULT_wxUSE_SASH
=yes
2437 DEFAULT_wxUSE_SCROLLBAR
=yes
2438 DEFAULT_wxUSE_SLIDER
=yes
2439 DEFAULT_wxUSE_SPINBTN
=yes
2440 DEFAULT_wxUSE_SPINCTRL
=yes
2441 DEFAULT_wxUSE_SPLITTER
=yes
2442 DEFAULT_wxUSE_STATBMP
=yes
2443 DEFAULT_wxUSE_STATBOX
=yes
2444 DEFAULT_wxUSE_STATLINE
=yes
2445 DEFAULT_wxUSE_STATTEXT
=yes
2446 DEFAULT_wxUSE_STATUSBAR
=yes
2447 DEFAULT_wxUSE_TAB_DIALOG
=no
2448 DEFAULT_wxUSE_TEXTCTRL
=yes
2449 DEFAULT_wxUSE_TOGGLEBTN
=yes
2450 DEFAULT_wxUSE_TOOLBAR
=yes
2451 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2452 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2453 DEFAULT_wxUSE_TREEBOOK
=yes
2454 DEFAULT_wxUSE_TOOLBOOK
=yes
2455 DEFAULT_wxUSE_TREECTRL
=yes
2456 DEFAULT_wxUSE_POPUPWIN
=yes
2457 DEFAULT_wxUSE_TIPWINDOW
=yes
2459 DEFAULT_wxUSE_UNICODE
=no
2460 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2461 DEFAULT_wxUSE_WCSRTOMBS
=no
2463 DEFAULT_wxUSE_PALETTE
=yes
2464 DEFAULT_wxUSE_IMAGE
=yes
2465 DEFAULT_wxUSE_GIF
=yes
2466 DEFAULT_wxUSE_PCX
=yes
2467 DEFAULT_wxUSE_IFF
=no
2468 DEFAULT_wxUSE_PNM
=yes
2469 DEFAULT_wxUSE_XPM
=yes
2470 DEFAULT_wxUSE_ICO_CUR
=yes
2471 DEFAULT_wxUSE_ACCESSIBILITY
=no
2473 DEFAULT_wxUSE_MONOLITHIC
=no
2474 DEFAULT_wxUSE_PLUGINS
=no
2475 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2477 DEFAULT_wxUSE_GTK2
=yes
2483 for toolkit
in `echo $ALL_TOOLKITS`; do
2484 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2485 if test "x$LINE" != "x" ; then
2486 has_toolkit_in_cache
=1
2487 eval "DEFAULT_$LINE"
2488 eval "CACHE_$toolkit=1"
2490 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2491 if test "x$LINE" != "x" ; then
2492 eval "DEFAULT_$LINE"
2500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2501 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2503 # Check whether --enable-gui or --disable-gui was given.
2504 if test "${enable_gui+set}" = set; then
2505 enableval
="$enable_gui"
2507 if test "$enableval" = yes; then
2508 ac_cv_use_gui
='wxUSE_GUI=yes'
2510 ac_cv_use_gui
='wxUSE_GUI=no'
2515 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2516 if test "x$LINE" != x
; then
2517 eval "DEFAULT_$LINE"
2522 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2526 eval "$ac_cv_use_gui"
2527 if test "$no_cache" != 1; then
2528 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2531 if test "$wxUSE_GUI" = yes; then
2532 echo "$as_me:$LINENO: result: yes" >&5
2533 echo "${ECHO_T}yes" >&6
2535 echo "$as_me:$LINENO: result: no" >&5
2536 echo "${ECHO_T}no" >&6
2541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2542 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2544 # Check whether --enable-monolithic or --disable-monolithic was given.
2545 if test "${enable_monolithic+set}" = set; then
2546 enableval
="$enable_monolithic"
2548 if test "$enableval" = yes; then
2549 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2551 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2556 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2557 if test "x$LINE" != x
; then
2558 eval "DEFAULT_$LINE"
2563 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2567 eval "$ac_cv_use_monolithic"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2572 if test "$wxUSE_MONOLITHIC" = yes; then
2573 echo "$as_me:$LINENO: result: yes" >&5
2574 echo "${ECHO_T}yes" >&6
2576 echo "$as_me:$LINENO: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2583 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2585 # Check whether --enable-plugins or --disable-plugins was given.
2586 if test "${enable_plugins+set}" = set; then
2587 enableval
="$enable_plugins"
2589 if test "$enableval" = yes; then
2590 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2592 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2597 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2598 if test "x$LINE" != x
; then
2599 eval "DEFAULT_$LINE"
2604 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2608 eval "$ac_cv_use_plugins"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2613 if test "$wxUSE_PLUGINS" = yes; then
2614 echo "$as_me:$LINENO: result: yes" >&5
2615 echo "${ECHO_T}yes" >&6
2617 echo "$as_me:$LINENO: result: no" >&5
2618 echo "${ECHO_T}no" >&6
2623 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2624 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2627 # Check whether --with-subdirs or --without-subdirs was given.
2628 if test "${with_subdirs+set}" = set; then
2629 withval
="$with_subdirs"
2631 if test "$withval" = yes; then
2632 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2634 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2639 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2640 if test "x$LINE" != x
; then
2641 eval "DEFAULT_$LINE"
2646 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2650 eval "$ac_cv_use_subdirs"
2651 if test "$no_cache" != 1; then
2652 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2655 if test "$wxWITH_SUBDIRS" = yes; then
2656 echo "$as_me:$LINENO: result: yes" >&5
2657 echo "${ECHO_T}yes" >&6
2659 echo "$as_me:$LINENO: result: no" >&5
2660 echo "${ECHO_T}no" >&6
2664 if test "$wxUSE_GUI" = "yes"; then
2668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2669 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2671 # Check whether --enable-universal or --disable-universal was given.
2672 if test "${enable_universal+set}" = set; then
2673 enableval
="$enable_universal"
2675 if test "$enableval" = yes; then
2676 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2678 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2683 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2684 if test "x$LINE" != x
; then
2685 eval "DEFAULT_$LINE"
2690 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2694 eval "$ac_cv_use_universal"
2695 if test "$no_cache" != 1; then
2696 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2699 if test "$wxUSE_UNIVERSAL" = yes; then
2700 echo "$as_me:$LINENO: result: yes" >&5
2701 echo "${ECHO_T}yes" >&6
2703 echo "$as_me:$LINENO: result: no" >&5
2704 echo "${ECHO_T}no" >&6
2708 # Check whether --with-gtk or --without-gtk was given.
2709 if test "${with_gtk+set}" = set; then
2711 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2714 # Check whether --with-motif or --without-motif was given.
2715 if test "${with_motif+set}" = set; then
2716 withval
="$with_motif"
2717 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2720 # Check whether --with-mac or --without-mac was given.
2721 if test "${with_mac+set}" = set; then
2723 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2726 # Check whether --with-cocoa or --without-cocoa was given.
2727 if test "${with_cocoa+set}" = set; then
2728 withval
="$with_cocoa"
2729 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2732 # Check whether --with-wine or --without-wine was given.
2733 if test "${with_wine+set}" = set; then
2734 withval
="$with_wine"
2735 wxUSE_WINE
="$withval" CACHE_WINE
=1
2738 # Check whether --with-msw or --without-msw was given.
2739 if test "${with_msw+set}" = set; then
2741 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2744 # Check whether --with-pm or --without-pm was given.
2745 if test "${with_pm+set}" = set; then
2747 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2750 # Check whether --with-mgl or --without-mgl was given.
2751 if test "${with_mgl+set}" = set; then
2753 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2756 # Check whether --with-microwin or --without-microwin was given.
2757 if test "${with_microwin+set}" = set; then
2758 withval
="$with_microwin"
2759 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2762 # Check whether --with-x11 or --without-x11 was given.
2763 if test "${with_x11+set}" = set; then
2765 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2770 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2772 # Check whether --enable-nanox or --disable-nanox was given.
2773 if test "${enable_nanox+set}" = set; then
2774 enableval
="$enable_nanox"
2776 if test "$enableval" = yes; then
2777 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2779 ac_cv_use_nanox
='wxUSE_NANOX=no'
2784 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x
; then
2786 eval "DEFAULT_$LINE"
2791 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2795 eval "$ac_cv_use_nanox"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2800 if test "$wxUSE_NANOX" = yes; then
2801 echo "$as_me:$LINENO: result: yes" >&5
2802 echo "${ECHO_T}yes" >&6
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2809 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2810 if test "${enable_gtk2+set}" = set; then
2811 enableval
="$enable_gtk2"
2812 wxUSE_GTK2
="$enableval"
2816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2817 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2819 # Check whether --enable-gpe or --disable-gpe was given.
2820 if test "${enable_gpe+set}" = set; then
2821 enableval
="$enable_gpe"
2823 if test "$enableval" = yes; then
2824 ac_cv_use_gpe
='wxUSE_GPE=yes'
2826 ac_cv_use_gpe
='wxUSE_GPE=no'
2831 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2832 if test "x$LINE" != x
; then
2833 eval "DEFAULT_$LINE"
2838 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2842 eval "$ac_cv_use_gpe"
2843 if test "$no_cache" != 1; then
2844 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2847 if test "$wxUSE_GPE" = yes; then
2848 echo "$as_me:$LINENO: result: yes" >&5
2849 echo "${ECHO_T}yes" >&6
2851 echo "$as_me:$LINENO: result: no" >&5
2852 echo "${ECHO_T}no" >&6
2857 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2858 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2861 # Check whether --with-libpng or --without-libpng was given.
2862 if test "${with_libpng+set}" = set; then
2863 withval
="$with_libpng"
2865 if test "$withval" = yes; then
2866 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2867 elif test "$withval" = no
; then
2868 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2869 elif test "$withval" = sys
; then
2870 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2871 elif test "$withval" = builtin; then
2872 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2875 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2876 { (exit 1); exit 1; }; }
2881 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2882 if test "x$LINE" != x
; then
2883 eval "DEFAULT_$LINE"
2888 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2892 eval "$ac_cv_use_libpng"
2893 if test "$no_cache" != 1; then
2894 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2897 if test "$wxUSE_LIBPNG" = yes; then
2898 echo "$as_me:$LINENO: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6
2900 elif test "$wxUSE_LIBPNG" = no
; then
2901 echo "$as_me:$LINENO: result: no" >&5
2902 echo "${ECHO_T}no" >&6
2903 elif test "$wxUSE_LIBPNG" = sys
; then
2904 echo "$as_me:$LINENO: result: system version" >&5
2905 echo "${ECHO_T}system version" >&6
2906 elif test "$wxUSE_LIBPNG" = builtin; then
2907 echo "$as_me:$LINENO: result: builtin version" >&5
2908 echo "${ECHO_T}builtin version" >&6
2910 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2911 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2912 { (exit 1); exit 1; }; }
2916 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2917 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2920 # Check whether --with-libjpeg or --without-libjpeg was given.
2921 if test "${with_libjpeg+set}" = set; then
2922 withval
="$with_libjpeg"
2924 if test "$withval" = yes; then
2925 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2926 elif test "$withval" = no
; then
2927 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2928 elif test "$withval" = sys
; then
2929 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2930 elif test "$withval" = builtin; then
2931 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2933 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2934 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2935 { (exit 1); exit 1; }; }
2940 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2941 if test "x$LINE" != x
; then
2942 eval "DEFAULT_$LINE"
2947 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2951 eval "$ac_cv_use_libjpeg"
2952 if test "$no_cache" != 1; then
2953 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2956 if test "$wxUSE_LIBJPEG" = yes; then
2957 echo "$as_me:$LINENO: result: yes" >&5
2958 echo "${ECHO_T}yes" >&6
2959 elif test "$wxUSE_LIBJPEG" = no
; then
2960 echo "$as_me:$LINENO: result: no" >&5
2961 echo "${ECHO_T}no" >&6
2962 elif test "$wxUSE_LIBJPEG" = sys
; then
2963 echo "$as_me:$LINENO: result: system version" >&5
2964 echo "${ECHO_T}system version" >&6
2965 elif test "$wxUSE_LIBJPEG" = builtin; then
2966 echo "$as_me:$LINENO: result: builtin version" >&5
2967 echo "${ECHO_T}builtin version" >&6
2969 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2970 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2971 { (exit 1); exit 1; }; }
2975 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2976 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2979 # Check whether --with-libtiff or --without-libtiff was given.
2980 if test "${with_libtiff+set}" = set; then
2981 withval
="$with_libtiff"
2983 if test "$withval" = yes; then
2984 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2985 elif test "$withval" = no
; then
2986 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2987 elif test "$withval" = sys
; then
2988 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2989 elif test "$withval" = builtin; then
2990 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2992 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2993 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2994 { (exit 1); exit 1; }; }
2999 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x
; then
3001 eval "DEFAULT_$LINE"
3006 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3010 eval "$ac_cv_use_libtiff"
3011 if test "$no_cache" != 1; then
3012 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3015 if test "$wxUSE_LIBTIFF" = yes; then
3016 echo "$as_me:$LINENO: result: yes" >&5
3017 echo "${ECHO_T}yes" >&6
3018 elif test "$wxUSE_LIBTIFF" = no
; then
3019 echo "$as_me:$LINENO: result: no" >&5
3020 echo "${ECHO_T}no" >&6
3021 elif test "$wxUSE_LIBTIFF" = sys
; then
3022 echo "$as_me:$LINENO: result: system version" >&5
3023 echo "${ECHO_T}system version" >&6
3024 elif test "$wxUSE_LIBTIFF" = builtin; then
3025 echo "$as_me:$LINENO: result: builtin version" >&5
3026 echo "${ECHO_T}builtin version" >&6
3028 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3029 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3030 { (exit 1); exit 1; }; }
3034 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3035 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3038 # Check whether --with-libxpm or --without-libxpm was given.
3039 if test "${with_libxpm+set}" = set; then
3040 withval
="$with_libxpm"
3042 if test "$withval" = yes; then
3043 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3044 elif test "$withval" = no
; then
3045 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3046 elif test "$withval" = sys
; then
3047 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3048 elif test "$withval" = builtin; then
3049 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3051 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3052 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3053 { (exit 1); exit 1; }; }
3058 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3059 if test "x$LINE" != x
; then
3060 eval "DEFAULT_$LINE"
3065 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3069 eval "$ac_cv_use_libxpm"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3074 if test "$wxUSE_LIBXPM" = yes; then
3075 echo "$as_me:$LINENO: result: yes" >&5
3076 echo "${ECHO_T}yes" >&6
3077 elif test "$wxUSE_LIBXPM" = no
; then
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3080 elif test "$wxUSE_LIBXPM" = sys
; then
3081 echo "$as_me:$LINENO: result: system version" >&5
3082 echo "${ECHO_T}system version" >&6
3083 elif test "$wxUSE_LIBXPM" = builtin; then
3084 echo "$as_me:$LINENO: result: builtin version" >&5
3085 echo "${ECHO_T}builtin version" >&6
3087 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3088 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3089 { (exit 1); exit 1; }; }
3094 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3095 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3098 # Check whether --with-libmspack or --without-libmspack was given.
3099 if test "${with_libmspack+set}" = set; then
3100 withval
="$with_libmspack"
3102 if test "$withval" = yes; then
3103 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3105 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3110 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3111 if test "x$LINE" != x
; then
3112 eval "DEFAULT_$LINE"
3117 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3121 eval "$ac_cv_use_libmspack"
3122 if test "$no_cache" != 1; then
3123 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3126 if test "$wxUSE_LIBMSPACK" = yes; then
3127 echo "$as_me:$LINENO: result: yes" >&5
3128 echo "${ECHO_T}yes" >&6
3130 echo "$as_me:$LINENO: result: no" >&5
3131 echo "${ECHO_T}no" >&6
3136 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3137 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3140 # Check whether --with-sdl or --without-sdl was given.
3141 if test "${with_sdl+set}" = set; then
3144 if test "$withval" = yes; then
3145 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3147 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3152 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x
; then
3154 eval "DEFAULT_$LINE"
3159 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3163 eval "$ac_cv_use_sdl"
3164 if test "$no_cache" != 1; then
3165 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3168 if test "$wxUSE_LIBSDL" = yes; then
3169 echo "$as_me:$LINENO: result: yes" >&5
3170 echo "${ECHO_T}yes" >&6
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3178 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3179 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3182 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3183 if test "${with_gnomeprint+set}" = set; then
3184 withval
="$with_gnomeprint"
3186 if test "$withval" = yes; then
3187 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3189 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3194 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3195 if test "x$LINE" != x
; then
3196 eval "DEFAULT_$LINE"
3201 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3205 eval "$ac_cv_use_gnomeprint"
3206 if test "$no_cache" != 1; then
3207 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3210 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3211 echo "$as_me:$LINENO: result: yes" >&5
3212 echo "${ECHO_T}yes" >&6
3214 echo "$as_me:$LINENO: result: no" >&5
3215 echo "${ECHO_T}no" >&6
3220 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3221 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3224 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3225 if test "${with_gnomevfs+set}" = set; then
3226 withval
="$with_gnomevfs"
3228 if test "$withval" = yes; then
3229 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3231 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3236 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x
; then
3238 eval "DEFAULT_$LINE"
3243 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3247 eval "$ac_cv_use_gnomevfs"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3252 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3253 echo "$as_me:$LINENO: result: yes" >&5
3254 echo "${ECHO_T}yes" >&6
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3262 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3263 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3266 # Check whether --with-hildon or --without-hildon was given.
3267 if test "${with_hildon+set}" = set; then
3268 withval
="$with_hildon"
3270 if test "$withval" = yes; then
3271 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3273 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3278 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3279 if test "x$LINE" != x
; then
3280 eval "DEFAULT_$LINE"
3285 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3289 eval "$ac_cv_use_hildon"
3290 if test "$no_cache" != 1; then
3291 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3294 if test "$wxUSE_LIBHILDON" = yes; then
3295 echo "$as_me:$LINENO: result: yes" >&5
3296 echo "${ECHO_T}yes" >&6
3298 echo "$as_me:$LINENO: result: no" >&5
3299 echo "${ECHO_T}no" >&6
3304 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3305 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3308 # Check whether --with-opengl or --without-opengl was given.
3309 if test "${with_opengl+set}" = set; then
3310 withval
="$with_opengl"
3312 if test "$withval" = yes; then
3313 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3315 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3320 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3321 if test "x$LINE" != x
; then
3322 eval "DEFAULT_$LINE"
3327 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3331 eval "$ac_cv_use_opengl"
3332 if test "$no_cache" != 1; then
3333 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3336 if test "$wxUSE_OPENGL" = yes; then
3337 echo "$as_me:$LINENO: result: yes" >&5
3338 echo "${ECHO_T}yes" >&6
3340 echo "$as_me:$LINENO: result: no" >&5
3341 echo "${ECHO_T}no" >&6
3349 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3350 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3353 # Check whether --with-dmalloc or --without-dmalloc was given.
3354 if test "${with_dmalloc+set}" = set; then
3355 withval
="$with_dmalloc"
3357 if test "$withval" = yes; then
3358 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3360 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3365 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3376 eval "$ac_cv_use_dmalloc"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3381 if test "$wxUSE_DMALLOC" = yes; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383 echo "${ECHO_T}yes" >&6
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3390 echo "$as_me:$LINENO: checking for --with-regex" >&5
3391 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3394 # Check whether --with-regex or --without-regex was given.
3395 if test "${with_regex+set}" = set; then
3396 withval
="$with_regex"
3398 if test "$withval" = yes; then
3399 ac_cv_use_regex
='wxUSE_REGEX=yes'
3400 elif test "$withval" = no
; then
3401 ac_cv_use_regex
='wxUSE_REGEX=no'
3402 elif test "$withval" = sys
; then
3403 ac_cv_use_regex
='wxUSE_REGEX=sys'
3404 elif test "$withval" = builtin; then
3405 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3407 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3408 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3409 { (exit 1); exit 1; }; }
3414 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3415 if test "x$LINE" != x
; then
3416 eval "DEFAULT_$LINE"
3421 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3425 eval "$ac_cv_use_regex"
3426 if test "$no_cache" != 1; then
3427 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3430 if test "$wxUSE_REGEX" = yes; then
3431 echo "$as_me:$LINENO: result: yes" >&5
3432 echo "${ECHO_T}yes" >&6
3433 elif test "$wxUSE_REGEX" = no
; then
3434 echo "$as_me:$LINENO: result: no" >&5
3435 echo "${ECHO_T}no" >&6
3436 elif test "$wxUSE_REGEX" = sys
; then
3437 echo "$as_me:$LINENO: result: system version" >&5
3438 echo "${ECHO_T}system version" >&6
3439 elif test "$wxUSE_REGEX" = builtin; then
3440 echo "$as_me:$LINENO: result: builtin version" >&5
3441 echo "${ECHO_T}builtin version" >&6
3443 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3444 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3445 { (exit 1); exit 1; }; }
3449 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3450 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3453 # Check whether --with-zlib or --without-zlib was given.
3454 if test "${with_zlib+set}" = set; then
3455 withval
="$with_zlib"
3457 if test "$withval" = yes; then
3458 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3459 elif test "$withval" = no
; then
3460 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3461 elif test "$withval" = sys
; then
3462 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3463 elif test "$withval" = builtin; then
3464 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3466 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3467 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3468 { (exit 1); exit 1; }; }
3473 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3474 if test "x$LINE" != x
; then
3475 eval "DEFAULT_$LINE"
3480 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3484 eval "$ac_cv_use_zlib"
3485 if test "$no_cache" != 1; then
3486 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3489 if test "$wxUSE_ZLIB" = yes; then
3490 echo "$as_me:$LINENO: result: yes" >&5
3491 echo "${ECHO_T}yes" >&6
3492 elif test "$wxUSE_ZLIB" = no
; then
3493 echo "$as_me:$LINENO: result: no" >&5
3494 echo "${ECHO_T}no" >&6
3495 elif test "$wxUSE_ZLIB" = sys
; then
3496 echo "$as_me:$LINENO: result: system version" >&5
3497 echo "${ECHO_T}system version" >&6
3498 elif test "$wxUSE_ZLIB" = builtin; then
3499 echo "$as_me:$LINENO: result: builtin version" >&5
3500 echo "${ECHO_T}builtin version" >&6
3502 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3503 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3504 { (exit 1); exit 1; }; }
3508 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3509 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3512 # Check whether --with-odbc or --without-odbc was given.
3513 if test "${with_odbc+set}" = set; then
3514 withval
="$with_odbc"
3516 if test "$withval" = yes; then
3517 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3518 elif test "$withval" = no
; then
3519 ac_cv_use_odbc
='wxUSE_ODBC=no'
3520 elif test "$withval" = sys
; then
3521 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3522 elif test "$withval" = builtin; then
3523 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3525 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3526 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3527 { (exit 1); exit 1; }; }
3532 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x
; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3543 eval "$ac_cv_use_odbc"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_ODBC" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3551 elif test "$wxUSE_ODBC" = no
; then
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3554 elif test "$wxUSE_ODBC" = sys
; then
3555 echo "$as_me:$LINENO: result: system version" >&5
3556 echo "${ECHO_T}system version" >&6
3557 elif test "$wxUSE_ODBC" = builtin; then
3558 echo "$as_me:$LINENO: result: builtin version" >&5
3559 echo "${ECHO_T}builtin version" >&6
3561 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3562 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3567 echo "$as_me:$LINENO: checking for --with-expat" >&5
3568 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3571 # Check whether --with-expat or --without-expat was given.
3572 if test "${with_expat+set}" = set; then
3573 withval
="$with_expat"
3575 if test "$withval" = yes; then
3576 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3577 elif test "$withval" = no
; then
3578 ac_cv_use_expat
='wxUSE_EXPAT=no'
3579 elif test "$withval" = sys
; then
3580 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3581 elif test "$withval" = builtin; then
3582 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3584 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3585 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3586 { (exit 1); exit 1; }; }
3591 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3592 if test "x$LINE" != x
; then
3593 eval "DEFAULT_$LINE"
3598 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3602 eval "$ac_cv_use_expat"
3603 if test "$no_cache" != 1; then
3604 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3607 if test "$wxUSE_EXPAT" = yes; then
3608 echo "$as_me:$LINENO: result: yes" >&5
3609 echo "${ECHO_T}yes" >&6
3610 elif test "$wxUSE_EXPAT" = no
; then
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3613 elif test "$wxUSE_EXPAT" = sys
; then
3614 echo "$as_me:$LINENO: result: system version" >&5
3615 echo "${ECHO_T}system version" >&6
3616 elif test "$wxUSE_EXPAT" = builtin; then
3617 echo "$as_me:$LINENO: result: builtin version" >&5
3618 echo "${ECHO_T}builtin version" >&6
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3630 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3632 # Check whether --enable-shared or --disable-shared was given.
3633 if test "${enable_shared+set}" = set; then
3634 enableval
="$enable_shared"
3636 if test "$enableval" = yes; then
3637 ac_cv_use_shared
='wxUSE_SHARED=yes'
3639 ac_cv_use_shared
='wxUSE_SHARED=no'
3644 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x
; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3655 eval "$ac_cv_use_shared"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_SHARED" = yes; then
3661 echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3671 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3673 # Check whether --enable-optimise or --disable-optimise was given.
3674 if test "${enable_optimise+set}" = set; then
3675 enableval
="$enable_optimise"
3677 if test "$enableval" = yes; then
3678 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3680 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3685 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x
; then
3687 eval "DEFAULT_$LINE"
3692 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3696 eval "$ac_cv_use_optimise"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3701 if test "$wxUSE_OPTIMISE" = yes; then
3702 echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6
3705 echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6
3711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3712 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3714 # Check whether --enable-debug or --disable-debug was given.
3715 if test "${enable_debug+set}" = set; then
3716 enableval
="$enable_debug"
3718 if test "$enableval" = yes; then
3719 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3721 ac_cv_use_debug
='wxUSE_DEBUG=no'
3726 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x
; then
3728 eval "DEFAULT_$LINE"
3733 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3737 eval "$ac_cv_use_debug"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3742 if test "$wxUSE_DEBUG" = yes; then
3743 echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3753 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3755 # Check whether --enable-stl or --disable-stl was given.
3756 if test "${enable_stl+set}" = set; then
3757 enableval
="$enable_stl"
3759 if test "$enableval" = yes; then
3760 ac_cv_use_stl
='wxUSE_STL=yes'
3762 ac_cv_use_stl
='wxUSE_STL=no'
3767 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x
; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3778 eval "$ac_cv_use_stl"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_STL" = yes; then
3784 echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3791 if test "$USE_OS2" = "1"; then
3792 DEFAULT_wxUSE_OMF
=no
3795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3796 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3798 # Check whether --enable-omf or --disable-omf was given.
3799 if test "${enable_omf+set}" = set; then
3800 enableval
="$enable_omf"
3802 if test "$enableval" = yes; then
3803 ac_cv_use_omf
='wxUSE_OMF=yes'
3805 ac_cv_use_omf
='wxUSE_OMF=no'
3810 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3811 if test "x$LINE" != x
; then
3812 eval "DEFAULT_$LINE"
3817 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3821 eval "$ac_cv_use_omf"
3822 if test "$no_cache" != 1; then
3823 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3826 if test "$wxUSE_OMF" = yes; then
3827 echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3836 if test "$wxUSE_DEBUG" = "yes"; then
3837 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3838 DEFAULT_wxUSE_DEBUG_INFO
=yes
3840 elif test "$wxUSE_DEBUG" = "no"; then
3841 DEFAULT_wxUSE_DEBUG_FLAG
=no
3842 DEFAULT_wxUSE_DEBUG_INFO
=no
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3851 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3852 if test "${enable_debug_flag+set}" = set; then
3853 enableval
="$enable_debug_flag"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3858 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3863 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x
; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3874 eval "$ac_cv_use_debug_flag"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_DEBUG_FLAG" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3892 # Check whether --enable-debug_info or --disable-debug_info was given.
3893 if test "${enable_debug_info+set}" = set; then
3894 enableval
="$enable_debug_info"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3899 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3904 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3915 eval "$ac_cv_use_debug_info"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3920 if test "$wxUSE_DEBUG_INFO" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3931 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3933 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3934 if test "${enable_debug_gdb+set}" = set; then
3935 enableval
="$enable_debug_gdb"
3937 if test "$enableval" = yes; then
3938 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3940 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3945 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x
; then
3947 eval "DEFAULT_$LINE"
3952 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3956 eval "$ac_cv_use_debug_gdb"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3961 if test "$wxUSE_DEBUG_GDB" = yes; then
3962 echo "$as_me:$LINENO: result: yes" >&5
3963 echo "${ECHO_T}yes" >&6
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3974 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3975 if test "${enable_debug_cntxt+set}" = set; then
3976 enableval
="$enable_debug_cntxt"
3978 if test "$enableval" = yes; then
3979 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3981 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3986 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x
; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3997 eval "$ac_cv_use_debug_cntxt"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4002 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4015 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4016 if test "${enable_mem_tracing+set}" = set; then
4017 enableval
="$enable_mem_tracing"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4022 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4027 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x
; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4038 eval "$ac_cv_use_mem_tracing"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_MEM_TRACING" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4056 # Check whether --enable-profile or --disable-profile was given.
4057 if test "${enable_profile+set}" = set; then
4058 enableval
="$enable_profile"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4063 ac_cv_use_profile
='wxUSE_PROFILE=no'
4068 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x
; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4079 eval "$ac_cv_use_profile"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_PROFILE" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4097 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4098 if test "${enable_no_rtti+set}" = set; then
4099 enableval
="$enable_no_rtti"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4104 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4109 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x
; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4120 eval "$ac_cv_use_no_rtti"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4125 if test "$wxUSE_NO_RTTI" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4138 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4139 if test "${enable_no_exceptions+set}" = set; then
4140 enableval
="$enable_no_exceptions"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4145 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4150 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4161 eval "$ac_cv_use_no_exceptions"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4166 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4179 # Check whether --enable-permissive or --disable-permissive was given.
4180 if test "${enable_permissive+set}" = set; then
4181 enableval
="$enable_permissive"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4186 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4191 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x
; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4202 eval "$ac_cv_use_permissive"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_PERMISSIVE" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4220 # Check whether --enable-no_deps or --disable-no_deps was given.
4221 if test "${enable_no_deps+set}" = set; then
4222 enableval
="$enable_no_deps"
4224 if test "$enableval" = yes; then
4225 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4227 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4232 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x
; then
4234 eval "DEFAULT_$LINE"
4239 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4243 eval "$ac_cv_use_no_deps"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_NO_DEPS" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4261 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4262 if test "${enable_universal_binary+set}" = set; then
4263 enableval
="$enable_universal_binary"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4268 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4273 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x
; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4284 eval "$ac_cv_use_universal_binary"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4289 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4301 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4303 # Check whether --enable-compat24 or --disable-compat24 was given.
4304 if test "${enable_compat24+set}" = set; then
4305 enableval
="$enable_compat24"
4307 if test "$enableval" = yes; then
4308 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4310 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4315 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4316 if test "x$LINE" != x
; then
4317 eval "DEFAULT_$LINE"
4322 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4326 eval "$ac_cv_use_compat24"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4331 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4332 echo "$as_me:$LINENO: result: yes" >&5
4333 echo "${ECHO_T}yes" >&6
4335 echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6
4340 enablestring
=disable
4341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4342 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4344 # Check whether --enable-compat26 or --disable-compat26 was given.
4345 if test "${enable_compat26+set}" = set; then
4346 enableval
="$enable_compat26"
4348 if test "$enableval" = yes; then
4349 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4351 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4356 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x
; then
4358 eval "DEFAULT_$LINE"
4363 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4367 eval "$ac_cv_use_compat26"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4372 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4373 echo "$as_me:$LINENO: result: yes" >&5
4374 echo "${ECHO_T}yes" >&6
4376 echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6
4383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4386 # Check whether --enable-rpath or --disable-rpath was given.
4387 if test "${enable_rpath+set}" = set; then
4388 enableval
="$enable_rpath"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4393 ac_cv_use_rpath
='wxUSE_RPATH=no'
4398 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x
; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4409 eval "$ac_cv_use_rpath"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4414 if test "$wxUSE_RPATH" = yes; then
4415 echo "$as_me:$LINENO: result: yes" >&5
4416 echo "${ECHO_T}yes" >&6
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4428 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4430 # Check whether --enable-intl or --disable-intl was given.
4431 if test "${enable_intl+set}" = set; then
4432 enableval
="$enable_intl"
4434 if test "$enableval" = yes; then
4435 ac_cv_use_intl
='wxUSE_INTL=yes'
4437 ac_cv_use_intl
='wxUSE_INTL=no'
4442 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4443 if test "x$LINE" != x
; then
4444 eval "DEFAULT_$LINE"
4449 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4453 eval "$ac_cv_use_intl"
4454 if test "$no_cache" != 1; then
4455 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4458 if test "$wxUSE_INTL" = yes; then
4459 echo "$as_me:$LINENO: result: yes" >&5
4460 echo "${ECHO_T}yes" >&6
4462 echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6
4468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4469 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4471 # Check whether --enable-config or --disable-config was given.
4472 if test "${enable_config+set}" = set; then
4473 enableval
="$enable_config"
4475 if test "$enableval" = yes; then
4476 ac_cv_use_config
='wxUSE_CONFIG=yes'
4478 ac_cv_use_config
='wxUSE_CONFIG=no'
4483 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4484 if test "x$LINE" != x
; then
4485 eval "DEFAULT_$LINE"
4490 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4494 eval "$ac_cv_use_config"
4495 if test "$no_cache" != 1; then
4496 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4499 if test "$wxUSE_CONFIG" = yes; then
4500 echo "$as_me:$LINENO: result: yes" >&5
4501 echo "${ECHO_T}yes" >&6
4503 echo "$as_me:$LINENO: result: no" >&5
4504 echo "${ECHO_T}no" >&6
4510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4511 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4513 # Check whether --enable-protocols or --disable-protocols was given.
4514 if test "${enable_protocols+set}" = set; then
4515 enableval
="$enable_protocols"
4517 if test "$enableval" = yes; then
4518 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4520 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4525 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x
; then
4527 eval "DEFAULT_$LINE"
4532 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4536 eval "$ac_cv_use_protocols"
4537 if test "$no_cache" != 1; then
4538 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4541 if test "$wxUSE_PROTOCOL" = yes; then
4542 echo "$as_me:$LINENO: result: yes" >&5
4543 echo "${ECHO_T}yes" >&6
4545 echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6
4551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4552 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4554 # Check whether --enable-ftp or --disable-ftp was given.
4555 if test "${enable_ftp+set}" = set; then
4556 enableval
="$enable_ftp"
4558 if test "$enableval" = yes; then
4559 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4561 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4566 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x
; then
4568 eval "DEFAULT_$LINE"
4573 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4577 eval "$ac_cv_use_ftp"
4578 if test "$no_cache" != 1; then
4579 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4582 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4583 echo "$as_me:$LINENO: result: yes" >&5
4584 echo "${ECHO_T}yes" >&6
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4595 # Check whether --enable-http or --disable-http was given.
4596 if test "${enable_http+set}" = set; then
4597 enableval
="$enable_http"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4602 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4607 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4618 eval "$ac_cv_use_http"
4619 if test "$no_cache" != 1; then
4620 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4623 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4624 echo "$as_me:$LINENO: result: yes" >&5
4625 echo "${ECHO_T}yes" >&6
4627 echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6
4633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4636 # Check whether --enable-fileproto or --disable-fileproto was given.
4637 if test "${enable_fileproto+set}" = set; then
4638 enableval
="$enable_fileproto"
4640 if test "$enableval" = yes; then
4641 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4643 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4648 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4649 if test "x$LINE" != x
; then
4650 eval "DEFAULT_$LINE"
4655 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4659 eval "$ac_cv_use_fileproto"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4665 echo "$as_me:$LINENO: result: yes" >&5
4666 echo "${ECHO_T}yes" >&6
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4675 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4677 # Check whether --enable-sockets or --disable-sockets was given.
4678 if test "${enable_sockets+set}" = set; then
4679 enableval
="$enable_sockets"
4681 if test "$enableval" = yes; then
4682 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4684 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4689 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4690 if test "x$LINE" != x
; then
4691 eval "DEFAULT_$LINE"
4696 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4700 eval "$ac_cv_use_sockets"
4701 if test "$no_cache" != 1; then
4702 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4705 if test "$wxUSE_SOCKETS" = yes; then
4706 echo "$as_me:$LINENO: result: yes" >&5
4707 echo "${ECHO_T}yes" >&6
4709 echo "$as_me:$LINENO: result: no" >&5
4710 echo "${ECHO_T}no" >&6
4715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4716 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4718 # Check whether --enable-ole or --disable-ole was given.
4719 if test "${enable_ole+set}" = set; then
4720 enableval
="$enable_ole"
4722 if test "$enableval" = yes; then
4723 ac_cv_use_ole
='wxUSE_OLE=yes'
4725 ac_cv_use_ole
='wxUSE_OLE=no'
4730 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x
; then
4732 eval "DEFAULT_$LINE"
4737 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4741 eval "$ac_cv_use_ole"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4746 if test "$wxUSE_OLE" = yes; then
4747 echo "$as_me:$LINENO: result: yes" >&5
4748 echo "${ECHO_T}yes" >&6
4750 echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6
4756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4759 # Check whether --enable-dataobj or --disable-dataobj was given.
4760 if test "${enable_dataobj+set}" = set; then
4761 enableval
="$enable_dataobj"
4763 if test "$enableval" = yes; then
4764 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4766 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4771 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x
; then
4773 eval "DEFAULT_$LINE"
4778 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4782 eval "$ac_cv_use_dataobj"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_DATAOBJ" = yes; then
4788 echo "$as_me:$LINENO: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6
4791 echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6
4798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4799 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4801 # Check whether --enable-ipc or --disable-ipc was given.
4802 if test "${enable_ipc+set}" = set; then
4803 enableval
="$enable_ipc"
4805 if test "$enableval" = yes; then
4806 ac_cv_use_ipc
='wxUSE_IPC=yes'
4808 ac_cv_use_ipc
='wxUSE_IPC=no'
4813 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4814 if test "x$LINE" != x
; then
4815 eval "DEFAULT_$LINE"
4820 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4824 eval "$ac_cv_use_ipc"
4825 if test "$no_cache" != 1; then
4826 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4829 if test "$wxUSE_IPC" = yes; then
4830 echo "$as_me:$LINENO: result: yes" >&5
4831 echo "${ECHO_T}yes" >&6
4833 echo "$as_me:$LINENO: result: no" >&5
4834 echo "${ECHO_T}no" >&6
4840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4843 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4844 if test "${enable_apple_ieee+set}" = set; then
4845 enableval
="$enable_apple_ieee"
4847 if test "$enableval" = yes; then
4848 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4850 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4855 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x
; then
4857 eval "DEFAULT_$LINE"
4862 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4866 eval "$ac_cv_use_apple_ieee"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4871 if test "$wxUSE_APPLE_IEEE" = yes; then
4872 echo "$as_me:$LINENO: result: yes" >&5
4873 echo "${ECHO_T}yes" >&6
4875 echo "$as_me:$LINENO: result: no" >&5
4876 echo "${ECHO_T}no" >&6
4881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4882 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4884 # Check whether --enable-arcstream or --disable-arcstream was given.
4885 if test "${enable_arcstream+set}" = set; then
4886 enableval
="$enable_arcstream"
4888 if test "$enableval" = yes; then
4889 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4891 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4896 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4897 if test "x$LINE" != x
; then
4898 eval "DEFAULT_$LINE"
4903 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4907 eval "$ac_cv_use_arcstream"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4912 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4913 echo "$as_me:$LINENO: result: yes" >&5
4914 echo "${ECHO_T}yes" >&6
4916 echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6
4922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4923 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4925 # Check whether --enable-backtrace or --disable-backtrace was given.
4926 if test "${enable_backtrace+set}" = set; then
4927 enableval
="$enable_backtrace"
4929 if test "$enableval" = yes; then
4930 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4932 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4937 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4944 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4948 eval "$ac_cv_use_backtrace"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4953 if test "$wxUSE_STACKWALKER" = yes; then
4954 echo "$as_me:$LINENO: result: yes" >&5
4955 echo "${ECHO_T}yes" >&6
4957 echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6
4963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4964 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4966 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4967 if test "${enable_catch_segvs+set}" = set; then
4968 enableval
="$enable_catch_segvs"
4970 if test "$enableval" = yes; then
4971 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4973 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4978 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4979 if test "x$LINE" != x
; then
4980 eval "DEFAULT_$LINE"
4985 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4989 eval "$ac_cv_use_catch_segvs"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4994 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4995 echo "$as_me:$LINENO: result: yes" >&5
4996 echo "${ECHO_T}yes" >&6
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5005 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5007 # Check whether --enable-cmdline or --disable-cmdline was given.
5008 if test "${enable_cmdline+set}" = set; then
5009 enableval
="$enable_cmdline"
5011 if test "$enableval" = yes; then
5012 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5014 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5019 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x
; then
5021 eval "DEFAULT_$LINE"
5026 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5030 eval "$ac_cv_use_cmdline"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5035 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5036 echo "$as_me:$LINENO: result: yes" >&5
5037 echo "${ECHO_T}yes" >&6
5039 echo "$as_me:$LINENO: result: no" >&5
5040 echo "${ECHO_T}no" >&6
5045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5048 # Check whether --enable-datetime or --disable-datetime was given.
5049 if test "${enable_datetime+set}" = set; then
5050 enableval
="$enable_datetime"
5052 if test "$enableval" = yes; then
5053 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5055 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5060 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x
; then
5062 eval "DEFAULT_$LINE"
5067 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5071 eval "$ac_cv_use_datetime"
5072 if test "$no_cache" != 1; then
5073 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5076 if test "$wxUSE_DATETIME" = yes; then
5077 echo "$as_me:$LINENO: result: yes" >&5
5078 echo "${ECHO_T}yes" >&6
5080 echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6
5086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5089 # Check whether --enable-debugreport or --disable-debugreport was given.
5090 if test "${enable_debugreport+set}" = set; then
5091 enableval
="$enable_debugreport"
5093 if test "$enableval" = yes; then
5094 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5096 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5101 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5108 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5112 eval "$ac_cv_use_debugreport"
5113 if test "$no_cache" != 1; then
5114 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5117 if test "$wxUSE_DEBUGREPORT" = yes; then
5118 echo "$as_me:$LINENO: result: yes" >&5
5119 echo "${ECHO_T}yes" >&6
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5130 # Check whether --enable-dialupman or --disable-dialupman was given.
5131 if test "${enable_dialupman+set}" = set; then
5132 enableval
="$enable_dialupman"
5134 if test "$enableval" = yes; then
5135 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5137 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5142 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x
; then
5144 eval "DEFAULT_$LINE"
5149 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5153 eval "$ac_cv_use_dialupman"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5158 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5159 echo "$as_me:$LINENO: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5171 # Check whether --enable-dynlib or --disable-dynlib was given.
5172 if test "${enable_dynlib+set}" = set; then
5173 enableval
="$enable_dynlib"
5175 if test "$enableval" = yes; then
5176 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5178 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5183 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x
; then
5185 eval "DEFAULT_$LINE"
5190 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5194 eval "$ac_cv_use_dynlib"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5199 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5200 echo "$as_me:$LINENO: result: yes" >&5
5201 echo "${ECHO_T}yes" >&6
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5212 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5213 if test "${enable_dynamicloader+set}" = set; then
5214 enableval
="$enable_dynamicloader"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5219 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5224 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5235 eval "$ac_cv_use_dynamicloader"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5240 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5241 echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6
5244 echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6
5250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5253 # Check whether --enable-exceptions or --disable-exceptions was given.
5254 if test "${enable_exceptions+set}" = set; then
5255 enableval
="$enable_exceptions"
5257 if test "$enableval" = yes; then
5258 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5260 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5265 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x
; then
5267 eval "DEFAULT_$LINE"
5272 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5276 eval "$ac_cv_use_exceptions"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_EXCEPTIONS" = yes; then
5282 echo "$as_me:$LINENO: result: yes" >&5
5283 echo "${ECHO_T}yes" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5294 # Check whether --enable-ffile or --disable-ffile was given.
5295 if test "${enable_ffile+set}" = set; then
5296 enableval
="$enable_ffile"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5301 ac_cv_use_ffile
='wxUSE_FFILE=no'
5306 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5317 eval "$ac_cv_use_ffile"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5322 if test "$wxUSE_FFILE" = yes; then
5323 echo "$as_me:$LINENO: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5335 # Check whether --enable-file or --disable-file was given.
5336 if test "${enable_file+set}" = set; then
5337 enableval
="$enable_file"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_file
='wxUSE_FILE=yes'
5342 ac_cv_use_file
='wxUSE_FILE=no'
5347 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x
; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5358 eval "$ac_cv_use_file"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_FILE" = yes; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5376 # Check whether --enable-filesystem or --disable-filesystem was given.
5377 if test "${enable_filesystem+set}" = set; then
5378 enableval
="$enable_filesystem"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5383 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5388 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5399 eval "$ac_cv_use_filesystem"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5404 if test "$wxUSE_FILESYSTEM" = yes; then
5405 echo "$as_me:$LINENO: result: yes" >&5
5406 echo "${ECHO_T}yes" >&6
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5417 # Check whether --enable-fontmap or --disable-fontmap was given.
5418 if test "${enable_fontmap+set}" = set; then
5419 enableval
="$enable_fontmap"
5421 if test "$enableval" = yes; then
5422 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5424 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5429 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x
; then
5431 eval "DEFAULT_$LINE"
5436 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5440 eval "$ac_cv_use_fontmap"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_FONTMAP" = yes; then
5446 echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6
5449 echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6
5455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5458 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5459 if test "${enable_fs_inet+set}" = set; then
5460 enableval
="$enable_fs_inet"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5465 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5470 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x
; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5481 eval "$ac_cv_use_fs_inet"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_FS_INET" = yes; then
5487 echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5490 echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5499 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5500 if test "${enable_fs_zip+set}" = set; then
5501 enableval
="$enable_fs_zip"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5506 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5511 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x
; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5522 eval "$ac_cv_use_fs_zip"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_FS_ZIP" = yes; then
5528 echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6
5531 echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6
5537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5540 # Check whether --enable-geometry or --disable-geometry was given.
5541 if test "${enable_geometry+set}" = set; then
5542 enableval
="$enable_geometry"
5544 if test "$enableval" = yes; then
5545 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5547 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5552 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x
; then
5554 eval "DEFAULT_$LINE"
5559 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5563 eval "$ac_cv_use_geometry"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5568 if test "$wxUSE_GEOMETRY" = yes; then
5569 echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6
5572 echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5581 # Check whether --enable-log or --disable-log was given.
5582 if test "${enable_log+set}" = set; then
5583 enableval
="$enable_log"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_log
='wxUSE_LOG=yes'
5588 ac_cv_use_log
='wxUSE_LOG=no'
5593 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x
; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5604 eval "$ac_cv_use_log"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5609 if test "$wxUSE_LOG" = yes; then
5610 echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5622 # Check whether --enable-longlong or --disable-longlong was given.
5623 if test "${enable_longlong+set}" = set; then
5624 enableval
="$enable_longlong"
5626 if test "$enableval" = yes; then
5627 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5629 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5634 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x
; then
5636 eval "DEFAULT_$LINE"
5641 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5645 eval "$ac_cv_use_longlong"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5650 if test "$wxUSE_LONGLONG" = yes; then
5651 echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6
5654 echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5663 # Check whether --enable-mimetype or --disable-mimetype was given.
5664 if test "${enable_mimetype+set}" = set; then
5665 enableval
="$enable_mimetype"
5667 if test "$enableval" = yes; then
5668 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5670 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5675 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x
; then
5677 eval "DEFAULT_$LINE"
5682 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5686 eval "$ac_cv_use_mimetype"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5691 if test "$wxUSE_MIMETYPE" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5704 # Check whether --enable-mslu or --disable-mslu was given.
5705 if test "${enable_mslu+set}" = set; then
5706 enableval
="$enable_mslu"
5708 if test "$enableval" = yes; then
5709 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5711 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5716 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x
; then
5718 eval "DEFAULT_$LINE"
5723 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5727 eval "$ac_cv_use_mslu"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5732 if test "$wxUSE_UNICODE_MSLU" = yes; then
5733 echo "$as_me:$LINENO: result: yes" >&5
5734 echo "${ECHO_T}yes" >&6
5736 echo "$as_me:$LINENO: result: no" >&5
5737 echo "${ECHO_T}no" >&6
5742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5745 # Check whether --enable-snglinst or --disable-snglinst was given.
5746 if test "${enable_snglinst+set}" = set; then
5747 enableval
="$enable_snglinst"
5749 if test "$enableval" = yes; then
5750 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5752 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5757 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x
; then
5759 eval "DEFAULT_$LINE"
5764 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5768 eval "$ac_cv_use_snglinst"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5773 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5774 echo "$as_me:$LINENO: result: yes" >&5
5775 echo "${ECHO_T}yes" >&6
5777 echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6
5783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5786 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5787 if test "${enable_std_iostreams+set}" = set; then
5788 enableval
="$enable_std_iostreams"
5790 if test "$enableval" = yes; then
5791 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5793 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5798 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x
; then
5800 eval "DEFAULT_$LINE"
5805 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5809 eval "$ac_cv_use_std_iostreams"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_STD_IOSTREAM" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5827 # Check whether --enable-std_string or --disable-std_string was given.
5828 if test "${enable_std_string+set}" = set; then
5829 enableval
="$enable_std_string"
5831 if test "$enableval" = yes; then
5832 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5834 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5839 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x
; then
5841 eval "DEFAULT_$LINE"
5846 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5850 eval "$ac_cv_use_std_string"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5855 if test "$wxUSE_STD_STRING" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5868 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5869 if test "${enable_stdpaths+set}" = set; then
5870 enableval
="$enable_stdpaths"
5872 if test "$enableval" = yes; then
5873 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5875 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5880 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x
; then
5882 eval "DEFAULT_$LINE"
5887 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5891 eval "$ac_cv_use_stdpaths"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_STDPATHS" = yes; then
5897 echo "$as_me:$LINENO: result: yes" >&5
5898 echo "${ECHO_T}yes" >&6
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5907 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5909 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5910 if test "${enable_stopwatch+set}" = set; then
5911 enableval
="$enable_stopwatch"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5916 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5921 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x
; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5932 eval "$ac_cv_use_stopwatch"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_STOPWATCH" = yes; then
5938 echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5950 # Check whether --enable-streams or --disable-streams was given.
5951 if test "${enable_streams+set}" = set; then
5952 enableval
="$enable_streams"
5954 if test "$enableval" = yes; then
5955 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5957 ac_cv_use_streams
='wxUSE_STREAMS=no'
5962 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x
; then
5964 eval "DEFAULT_$LINE"
5969 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5973 eval "$ac_cv_use_streams"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5978 if test "$wxUSE_STREAMS" = yes; then
5979 echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5991 # Check whether --enable-system_options or --disable-system_options was given.
5992 if test "${enable_system_options+set}" = set; then
5993 enableval
="$enable_system_options"
5995 if test "$enableval" = yes; then
5996 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5998 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6003 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x
; then
6005 eval "DEFAULT_$LINE"
6010 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6014 eval "$ac_cv_use_system_options"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6019 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6020 echo "$as_me:$LINENO: result: yes" >&5
6021 echo "${ECHO_T}yes" >&6
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6032 # Check whether --enable-textbuf or --disable-textbuf was given.
6033 if test "${enable_textbuf+set}" = set; then
6034 enableval
="$enable_textbuf"
6036 if test "$enableval" = yes; then
6037 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6039 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6044 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x
; then
6046 eval "DEFAULT_$LINE"
6051 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6055 eval "$ac_cv_use_textbuf"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6060 if test "$wxUSE_TEXTBUFFER" = yes; then
6061 echo "$as_me:$LINENO: result: yes" >&5
6062 echo "${ECHO_T}yes" >&6
6064 echo "$as_me:$LINENO: result: no" >&5
6065 echo "${ECHO_T}no" >&6
6070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6073 # Check whether --enable-textfile or --disable-textfile was given.
6074 if test "${enable_textfile+set}" = set; then
6075 enableval
="$enable_textfile"
6077 if test "$enableval" = yes; then
6078 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6080 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6085 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x
; then
6087 eval "DEFAULT_$LINE"
6092 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6096 eval "$ac_cv_use_textfile"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_TEXTFILE" = yes; then
6102 echo "$as_me:$LINENO: result: yes" >&5
6103 echo "${ECHO_T}yes" >&6
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6114 # Check whether --enable-timer or --disable-timer was given.
6115 if test "${enable_timer+set}" = set; then
6116 enableval
="$enable_timer"
6118 if test "$enableval" = yes; then
6119 ac_cv_use_timer
='wxUSE_TIMER=yes'
6121 ac_cv_use_timer
='wxUSE_TIMER=no'
6126 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x
; then
6128 eval "DEFAULT_$LINE"
6133 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6137 eval "$ac_cv_use_timer"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6142 if test "$wxUSE_TIMER" = yes; then
6143 echo "$as_me:$LINENO: result: yes" >&5
6144 echo "${ECHO_T}yes" >&6
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6155 # Check whether --enable-unicode or --disable-unicode was given.
6156 if test "${enable_unicode+set}" = set; then
6157 enableval
="$enable_unicode"
6159 if test "$enableval" = yes; then
6160 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6162 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6167 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x
; then
6169 eval "DEFAULT_$LINE"
6174 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6178 eval "$ac_cv_use_unicode"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6183 if test "$wxUSE_UNICODE" = yes; then
6184 echo "$as_me:$LINENO: result: yes" >&5
6185 echo "${ECHO_T}yes" >&6
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6196 # Check whether --enable-sound or --disable-sound was given.
6197 if test "${enable_sound+set}" = set; then
6198 enableval
="$enable_sound"
6200 if test "$enableval" = yes; then
6201 ac_cv_use_sound
='wxUSE_SOUND=yes'
6203 ac_cv_use_sound
='wxUSE_SOUND=no'
6208 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x
; then
6210 eval "DEFAULT_$LINE"
6215 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6219 eval "$ac_cv_use_sound"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6224 if test "$wxUSE_SOUND" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6237 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6238 if test "${enable_mediactrl+set}" = set; then
6239 enableval
="$enable_mediactrl"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6244 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6249 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x
; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6260 eval "$ac_cv_use_mediactrl"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_MEDIACTRL" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6278 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6279 if test "${enable_gstreamer8+set}" = set; then
6280 enableval
="$enable_gstreamer8"
6282 if test "$enableval" = yes; then
6283 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6285 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6290 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6291 if test "x$LINE" != x
; then
6292 eval "DEFAULT_$LINE"
6297 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6301 eval "$ac_cv_use_gstreamer8"
6302 if test "$no_cache" != 1; then
6303 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6306 if test "$wxUSE_GSTREAMER8" = yes; then
6307 echo "$as_me:$LINENO: result: yes" >&5
6308 echo "${ECHO_T}yes" >&6
6310 echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6
6316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6317 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6319 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6320 if test "${enable_wxprintfv+set}" = set; then
6321 enableval
="$enable_wxprintfv"
6323 if test "$enableval" = yes; then
6324 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6326 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6331 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6332 if test "x$LINE" != x
; then
6333 eval "DEFAULT_$LINE"
6338 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6342 eval "$ac_cv_use_wxprintfv"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6347 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6351 echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6
6357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6360 # Check whether --enable-zipstream or --disable-zipstream was given.
6361 if test "${enable_zipstream+set}" = set; then
6362 enableval
="$enable_zipstream"
6364 if test "$enableval" = yes; then
6365 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6367 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6372 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x
; then
6374 eval "DEFAULT_$LINE"
6379 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6383 eval "$ac_cv_use_zipstream"
6384 if test "$no_cache" != 1; then
6385 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6388 if test "$wxUSE_ZIPSTREAM" = yes; then
6389 echo "$as_me:$LINENO: result: yes" >&5
6390 echo "${ECHO_T}yes" >&6
6392 echo "$as_me:$LINENO: result: no" >&5
6393 echo "${ECHO_T}no" >&6
6399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6400 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6402 # Check whether --enable-url or --disable-url was given.
6403 if test "${enable_url+set}" = set; then
6404 enableval
="$enable_url"
6406 if test "$enableval" = yes; then
6407 ac_cv_use_url
='wxUSE_URL=yes'
6409 ac_cv_use_url
='wxUSE_URL=no'
6414 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x
; then
6416 eval "DEFAULT_$LINE"
6421 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6425 eval "$ac_cv_use_url"
6426 if test "$no_cache" != 1; then
6427 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6430 if test "$wxUSE_URL" = yes; then
6431 echo "$as_me:$LINENO: result: yes" >&5
6432 echo "${ECHO_T}yes" >&6
6434 echo "$as_me:$LINENO: result: no" >&5
6435 echo "${ECHO_T}no" >&6
6440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6441 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6443 # Check whether --enable-protocol or --disable-protocol was given.
6444 if test "${enable_protocol+set}" = set; then
6445 enableval
="$enable_protocol"
6447 if test "$enableval" = yes; then
6448 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6450 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6455 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6456 if test "x$LINE" != x
; then
6457 eval "DEFAULT_$LINE"
6462 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6466 eval "$ac_cv_use_protocol"
6467 if test "$no_cache" != 1; then
6468 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6471 if test "$wxUSE_PROTOCOL" = yes; then
6472 echo "$as_me:$LINENO: result: yes" >&5
6473 echo "${ECHO_T}yes" >&6
6475 echo "$as_me:$LINENO: result: no" >&5
6476 echo "${ECHO_T}no" >&6
6481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6482 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6484 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6485 if test "${enable_protocol_http+set}" = set; then
6486 enableval
="$enable_protocol_http"
6488 if test "$enableval" = yes; then
6489 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6491 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6496 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x
; then
6498 eval "DEFAULT_$LINE"
6503 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6507 eval "$ac_cv_use_protocol_http"
6508 if test "$no_cache" != 1; then
6509 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6512 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6513 echo "$as_me:$LINENO: result: yes" >&5
6514 echo "${ECHO_T}yes" >&6
6516 echo "$as_me:$LINENO: result: no" >&5
6517 echo "${ECHO_T}no" >&6
6522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6525 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6526 if test "${enable_protocol_ftp+set}" = set; then
6527 enableval
="$enable_protocol_ftp"
6529 if test "$enableval" = yes; then
6530 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6532 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6537 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x
; then
6539 eval "DEFAULT_$LINE"
6544 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6548 eval "$ac_cv_use_protocol_ftp"
6549 if test "$no_cache" != 1; then
6550 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6553 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6554 echo "$as_me:$LINENO: result: yes" >&5
6555 echo "${ECHO_T}yes" >&6
6557 echo "$as_me:$LINENO: result: no" >&5
6558 echo "${ECHO_T}no" >&6
6563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6564 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6566 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6567 if test "${enable_protocol_file+set}" = set; then
6568 enableval
="$enable_protocol_file"
6570 if test "$enableval" = yes; then
6571 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6573 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6578 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6579 if test "x$LINE" != x
; then
6580 eval "DEFAULT_$LINE"
6585 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6589 eval "$ac_cv_use_protocol_file"
6590 if test "$no_cache" != 1; then
6591 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6594 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6595 echo "$as_me:$LINENO: result: yes" >&5
6596 echo "${ECHO_T}yes" >&6
6598 echo "$as_me:$LINENO: result: no" >&5
6599 echo "${ECHO_T}no" >&6
6607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6608 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6610 # Check whether --enable-threads or --disable-threads was given.
6611 if test "${enable_threads+set}" = set; then
6612 enableval
="$enable_threads"
6614 if test "$enableval" = yes; then
6615 ac_cv_use_threads
='wxUSE_THREADS=yes'
6617 ac_cv_use_threads
='wxUSE_THREADS=no'
6622 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x
; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6633 eval "$ac_cv_use_threads"
6634 if test "$no_cache" != 1; then
6635 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6638 if test "$wxUSE_THREADS" = yes; then
6639 echo "$as_me:$LINENO: result: yes" >&5
6640 echo "${ECHO_T}yes" >&6
6642 echo "$as_me:$LINENO: result: no" >&5
6643 echo "${ECHO_T}no" >&6
6647 if test "$wxUSE_GUI" = "yes"; then
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6655 # Check whether --enable-docview or --disable-docview was given.
6656 if test "${enable_docview+set}" = set; then
6657 enableval
="$enable_docview"
6659 if test "$enableval" = yes; then
6660 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6662 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6667 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x
; then
6669 eval "DEFAULT_$LINE"
6674 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6678 eval "$ac_cv_use_docview"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6683 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6
6687 echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6696 # Check whether --enable-help or --disable-help was given.
6697 if test "${enable_help+set}" = set; then
6698 enableval
="$enable_help"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_help
='wxUSE_HELP=yes'
6703 ac_cv_use_help
='wxUSE_HELP=no'
6708 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6719 eval "$ac_cv_use_help"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6724 if test "$wxUSE_HELP" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6
6728 echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6737 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6738 if test "${enable_mshtmlhelp+set}" = set; then
6739 enableval
="$enable_mshtmlhelp"
6741 if test "$enableval" = yes; then
6742 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6744 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6749 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x
; then
6751 eval "DEFAULT_$LINE"
6756 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6760 eval "$ac_cv_use_mshtmlhelp"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_MS_HTML_HELP" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6778 # Check whether --enable-html or --disable-html was given.
6779 if test "${enable_html+set}" = set; then
6780 enableval
="$enable_html"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_html
='wxUSE_HTML=yes'
6785 ac_cv_use_html
='wxUSE_HTML=no'
6790 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x
; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6801 eval "$ac_cv_use_html"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_HTML" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6819 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6820 if test "${enable_htmlhelp+set}" = set; then
6821 enableval
="$enable_htmlhelp"
6823 if test "$enableval" = yes; then
6824 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6826 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6831 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x
; then
6833 eval "DEFAULT_$LINE"
6838 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6842 eval "$ac_cv_use_htmlhelp"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6847 if test "$wxUSE_WXHTML_HELP" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6860 # Check whether --enable-xrc or --disable-xrc was given.
6861 if test "${enable_xrc+set}" = set; then
6862 enableval
="$enable_xrc"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_xrc
='wxUSE_XRC=yes'
6867 ac_cv_use_xrc
='wxUSE_XRC=no'
6872 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6883 eval "$ac_cv_use_xrc"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6888 if test "$wxUSE_XRC" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6901 # Check whether --enable-constraints or --disable-constraints was given.
6902 if test "${enable_constraints+set}" = set; then
6903 enableval
="$enable_constraints"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6908 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6913 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x
; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6924 eval "$ac_cv_use_constraints"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_CONSTRAINTS" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6942 # Check whether --enable-printarch or --disable-printarch was given.
6943 if test "${enable_printarch+set}" = set; then
6944 enableval
="$enable_printarch"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6949 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6954 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6965 eval "$ac_cv_use_printarch"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6983 # Check whether --enable-mdi or --disable-mdi was given.
6984 if test "${enable_mdi+set}" = set; then
6985 enableval
="$enable_mdi"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_mdi
='wxUSE_MDI=yes'
6990 ac_cv_use_mdi
='wxUSE_MDI=no'
6995 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7006 eval "$ac_cv_use_mdi"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_MDI" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7024 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7025 if test "${enable_mdidoc+set}" = set; then
7026 enableval
="$enable_mdidoc"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7031 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7036 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7047 eval "$ac_cv_use_mdidoc"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7065 # Check whether --enable-loggui or --disable-loggui was given.
7066 if test "${enable_loggui+set}" = set; then
7067 enableval
="$enable_loggui"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7072 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7077 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x
; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7088 eval "$ac_cv_use_loggui"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_LOGGUI" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7106 # Check whether --enable-logwin or --disable-logwin was given.
7107 if test "${enable_logwin+set}" = set; then
7108 enableval
="$enable_logwin"
7110 if test "$enableval" = yes; then
7111 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7113 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7118 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x
; then
7120 eval "DEFAULT_$LINE"
7125 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7129 eval "$ac_cv_use_logwin"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_LOGWINDOW" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7147 # Check whether --enable-logdialog or --disable-logdialog was given.
7148 if test "${enable_logdialog+set}" = set; then
7149 enableval
="$enable_logdialog"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7154 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7159 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x
; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7170 eval "$ac_cv_use_logdialog"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_LOGDIALOG" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7188 # Check whether --enable-webkit or --disable-webkit was given.
7189 if test "${enable_webkit+set}" = set; then
7190 enableval
="$enable_webkit"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7195 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7200 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x
; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7211 eval "$ac_cv_use_webkit"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_WEBKIT" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7229 # Check whether --enable-html or --disable-html was given.
7230 if test "${enable_html+set}" = set; then
7231 enableval
="$enable_html"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7236 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7241 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x
; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7252 eval "$ac_cv_use_html"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_RICHTEXT" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7269 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7271 # Check whether --enable-postscript or --disable-postscript was given.
7272 if test "${enable_postscript+set}" = set; then
7273 enableval
="$enable_postscript"
7275 if test "$enableval" = yes; then
7276 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7278 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7283 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7284 if test "x$LINE" != x
; then
7285 eval "DEFAULT_$LINE"
7290 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7294 eval "$ac_cv_use_postscript"
7295 if test "$no_cache" != 1; then
7296 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7299 if test "$wxUSE_POSTSCRIPT" = yes; then
7300 echo "$as_me:$LINENO: result: yes" >&5
7301 echo "${ECHO_T}yes" >&6
7303 echo "$as_me:$LINENO: result: no" >&5
7304 echo "${ECHO_T}no" >&6
7312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7315 # Check whether --enable-prologio or --disable-prologio was given.
7316 if test "${enable_prologio+set}" = set; then
7317 enableval
="$enable_prologio"
7319 if test "$enableval" = yes; then
7320 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7322 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7327 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x
; then
7329 eval "DEFAULT_$LINE"
7334 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7338 eval "$ac_cv_use_prologio"
7339 if test "$no_cache" != 1; then
7340 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7343 if test "$wxUSE_PROLOGIO" = yes; then
7344 echo "$as_me:$LINENO: result: yes" >&5
7345 echo "${ECHO_T}yes" >&6
7347 echo "$as_me:$LINENO: result: no" >&5
7348 echo "${ECHO_T}no" >&6
7353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7354 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7356 # Check whether --enable-resources or --disable-resources was given.
7357 if test "${enable_resources+set}" = set; then
7358 enableval
="$enable_resources"
7360 if test "$enableval" = yes; then
7361 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7363 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7368 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7369 if test "x$LINE" != x
; then
7370 eval "DEFAULT_$LINE"
7375 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7379 eval "$ac_cv_use_resources"
7380 if test "$no_cache" != 1; then
7381 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7384 if test "$wxUSE_RESOURCES" = yes; then
7385 echo "$as_me:$LINENO: result: yes" >&5
7386 echo "${ECHO_T}yes" >&6
7388 echo "$as_me:$LINENO: result: no" >&5
7389 echo "${ECHO_T}no" >&6
7396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7399 # Check whether --enable-clipboard or --disable-clipboard was given.
7400 if test "${enable_clipboard+set}" = set; then
7401 enableval
="$enable_clipboard"
7403 if test "$enableval" = yes; then
7404 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7406 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7411 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7412 if test "x$LINE" != x
; then
7413 eval "DEFAULT_$LINE"
7418 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7422 eval "$ac_cv_use_clipboard"
7423 if test "$no_cache" != 1; then
7424 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7427 if test "$wxUSE_CLIPBOARD" = yes; then
7428 echo "$as_me:$LINENO: result: yes" >&5
7429 echo "${ECHO_T}yes" >&6
7431 echo "$as_me:$LINENO: result: no" >&5
7432 echo "${ECHO_T}no" >&6
7437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7440 # Check whether --enable-dnd or --disable-dnd was given.
7441 if test "${enable_dnd+set}" = set; then
7442 enableval
="$enable_dnd"
7444 if test "$enableval" = yes; then
7445 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7447 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7452 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x
; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7463 eval "$ac_cv_use_dnd"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7468 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7469 echo "$as_me:$LINENO: result: yes" >&5
7470 echo "${ECHO_T}yes" >&6
7472 echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6
7478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7481 # Check whether --enable-metafile or --disable-metafile was given.
7482 if test "${enable_metafile+set}" = set; then
7483 enableval
="$enable_metafile"
7485 if test "$enableval" = yes; then
7486 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7488 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7493 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x
; then
7495 eval "DEFAULT_$LINE"
7500 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7504 eval "$ac_cv_use_metafile"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7509 if test "$wxUSE_METAFILE" = yes; then
7510 echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7525 # Check whether --enable-controls or --disable-controls was given.
7526 if test "${enable_controls+set}" = set; then
7527 enableval
="$enable_controls"
7529 if test "$enableval" = yes; then
7530 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7532 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7537 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x
; then
7539 eval "DEFAULT_$LINE"
7544 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7548 eval "$ac_cv_use_controls"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7553 if test "$wxUSE_CONTROLS" = yes; then
7554 echo "$as_me:$LINENO: result: yes" >&5
7555 echo "${ECHO_T}yes" >&6
7557 echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6
7562 if test "$wxUSE_CONTROLS" = "yes"; then
7563 DEFAULT_wxUSE_ACCEL
=yes
7564 DEFAULT_wxUSE_BMPBUTTON
=yes
7565 DEFAULT_wxUSE_BUTTON
=yes
7566 DEFAULT_wxUSE_CALCTRL
=yes
7567 DEFAULT_wxUSE_CARET
=yes
7568 DEFAULT_wxUSE_COMBOBOX
=yes
7569 DEFAULT_wxUSE_CHECKBOX
=yes
7570 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7571 DEFAULT_wxUSE_CHOICE
=yes
7572 DEFAULT_wxUSE_CHOICEBOOK
=yes
7573 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7574 DEFAULT_wxUSE_COMBOBOX
=yes
7575 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7576 DEFAULT_wxUSE_DISPLAY
=yes
7577 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7578 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7579 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7580 DEFAULT_wxUSE_GAUGE
=yes
7581 DEFAULT_wxUSE_GRID
=yes
7582 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7583 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7584 DEFAULT_wxUSE_IMAGLIST
=yes
7585 DEFAULT_wxUSE_LISTBOOK
=yes
7586 DEFAULT_wxUSE_LISTBOX
=yes
7587 DEFAULT_wxUSE_LISTCTRL
=yes
7588 DEFAULT_wxUSE_NOTEBOOK
=yes
7589 DEFAULT_wxUSE_RADIOBOX
=yes
7590 DEFAULT_wxUSE_RADIOBTN
=yes
7591 DEFAULT_wxUSE_SASH
=yes
7592 DEFAULT_wxUSE_SCROLLBAR
=yes
7593 DEFAULT_wxUSE_SLIDER
=yes
7594 DEFAULT_wxUSE_SPINBTN
=yes
7595 DEFAULT_wxUSE_SPINCTRL
=yes
7596 DEFAULT_wxUSE_SPLITTER
=yes
7597 DEFAULT_wxUSE_STATBMP
=yes
7598 DEFAULT_wxUSE_STATBOX
=yes
7599 DEFAULT_wxUSE_STATLINE
=yes
7600 DEFAULT_wxUSE_STATUSBAR
=yes
7601 DEFAULT_wxUSE_TAB_DIALOG
=yes
7602 DEFAULT_wxUSE_TOGGLEBTN
=yes
7603 DEFAULT_wxUSE_TOOLBAR
=yes
7604 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7605 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7606 DEFAULT_wxUSE_TOOLTIPS
=yes
7607 DEFAULT_wxUSE_TREEBOOK
=yes
7608 DEFAULT_wxUSE_TOOLBOOK
=yes
7609 DEFAULT_wxUSE_TREECTRL
=yes
7610 DEFAULT_wxUSE_POPUPWIN
=yes
7611 DEFAULT_wxUSE_TIPWINDOW
=yes
7612 elif test "$wxUSE_CONTROLS" = "no"; then
7613 DEFAULT_wxUSE_ACCEL
=no
7614 DEFAULT_wxUSE_BMPBUTTON
=no
7615 DEFAULT_wxUSE_BUTTON
=no
7616 DEFAULT_wxUSE_CALCTRL
=no
7617 DEFAULT_wxUSE_CARET
=no
7618 DEFAULT_wxUSE_COMBOBOX
=no
7619 DEFAULT_wxUSE_CHECKBOX
=no
7620 DEFAULT_wxUSE_CHECKLISTBOX
=no
7621 DEFAULT_wxUSE_CHOICE
=no
7622 DEFAULT_wxUSE_CHOICEBOOK
=no
7623 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7624 DEFAULT_wxUSE_COMBOBOX
=no
7625 DEFAULT_wxUSE_DATEPICKCTRL
=no
7626 DEFAULT_wxUSE_DISPLAY
=no
7627 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7628 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7629 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7630 DEFAULT_wxUSE_GAUGE
=no
7631 DEFAULT_wxUSE_GRID
=no
7632 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7633 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7634 DEFAULT_wxUSE_IMAGLIST
=no
7635 DEFAULT_wxUSE_LISTBOOK
=no
7636 DEFAULT_wxUSE_LISTBOX
=no
7637 DEFAULT_wxUSE_LISTCTRL
=no
7638 DEFAULT_wxUSE_NOTEBOOK
=no
7639 DEFAULT_wxUSE_RADIOBOX
=no
7640 DEFAULT_wxUSE_RADIOBTN
=no
7641 DEFAULT_wxUSE_SASH
=no
7642 DEFAULT_wxUSE_SCROLLBAR
=no
7643 DEFAULT_wxUSE_SLIDER
=no
7644 DEFAULT_wxUSE_SPINBTN
=no
7645 DEFAULT_wxUSE_SPINCTRL
=no
7646 DEFAULT_wxUSE_SPLITTER
=no
7647 DEFAULT_wxUSE_STATBMP
=no
7648 DEFAULT_wxUSE_STATBOX
=no
7649 DEFAULT_wxUSE_STATLINE
=no
7650 DEFAULT_wxUSE_STATUSBAR
=no
7651 DEFAULT_wxUSE_TAB_DIALOG
=no
7652 DEFAULT_wxUSE_TOGGLEBTN
=no
7653 DEFAULT_wxUSE_TOOLBAR
=no
7654 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7655 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7656 DEFAULT_wxUSE_TOOLTIPS
=no
7657 DEFAULT_wxUSE_TREEBOOK
=no
7658 DEFAULT_wxUSE_TOOLBOOK
=no
7659 DEFAULT_wxUSE_TREECTRL
=no
7660 DEFAULT_wxUSE_POPUPWIN
=no
7661 DEFAULT_wxUSE_TIPWINDOW
=no
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7669 # Check whether --enable-accel or --disable-accel was given.
7670 if test "${enable_accel+set}" = set; then
7671 enableval
="$enable_accel"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7676 ac_cv_use_accel
='wxUSE_ACCEL=no'
7681 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7692 eval "$ac_cv_use_accel"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_ACCEL" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7710 # Check whether --enable-button or --disable-button was given.
7711 if test "${enable_button+set}" = set; then
7712 enableval
="$enable_button"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_button
='wxUSE_BUTTON=yes'
7717 ac_cv_use_button
='wxUSE_BUTTON=no'
7722 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7733 eval "$ac_cv_use_button"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_BUTTON" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7751 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7752 if test "${enable_bmpbutton+set}" = set; then
7753 enableval
="$enable_bmpbutton"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7758 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7763 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7774 eval "$ac_cv_use_bmpbutton"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_BMPBUTTON" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7792 # Check whether --enable-calendar or --disable-calendar was given.
7793 if test "${enable_calendar+set}" = set; then
7794 enableval
="$enable_calendar"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7799 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7804 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7815 eval "$ac_cv_use_calendar"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_CALCTRL" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7833 # Check whether --enable-caret or --disable-caret was given.
7834 if test "${enable_caret+set}" = set; then
7835 enableval
="$enable_caret"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_caret
='wxUSE_CARET=yes'
7840 ac_cv_use_caret
='wxUSE_CARET=no'
7845 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7856 eval "$ac_cv_use_caret"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_CARET" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7874 # Check whether --enable-checkbox or --disable-checkbox was given.
7875 if test "${enable_checkbox+set}" = set; then
7876 enableval
="$enable_checkbox"
7878 if test "$enableval" = yes; then
7879 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7881 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7886 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x
; then
7888 eval "DEFAULT_$LINE"
7893 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7897 eval "$ac_cv_use_checkbox"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_CHECKBOX" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7915 # Check whether --enable-checklst or --disable-checklst was given.
7916 if test "${enable_checklst+set}" = set; then
7917 enableval
="$enable_checklst"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7922 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7927 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7938 eval "$ac_cv_use_checklst"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_CHECKLST" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7956 # Check whether --enable-choice or --disable-choice was given.
7957 if test "${enable_choice+set}" = set; then
7958 enableval
="$enable_choice"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7963 ac_cv_use_choice
='wxUSE_CHOICE=no'
7968 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7979 eval "$ac_cv_use_choice"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_CHOICE" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7997 # Check whether --enable-choicebook or --disable-choicebook was given.
7998 if test "${enable_choicebook+set}" = set; then
7999 enableval
="$enable_choicebook"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8004 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8009 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8020 eval "$ac_cv_use_choicebook"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_CHOICEBOOK" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8038 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8039 if test "${enable_colourpicker+set}" = set; then
8040 enableval
="$enable_colourpicker"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8045 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8050 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8061 eval "$ac_cv_use_colourpicker"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8079 # Check whether --enable-combobox or --disable-combobox was given.
8080 if test "${enable_combobox+set}" = set; then
8081 enableval
="$enable_combobox"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8086 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8091 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8102 eval "$ac_cv_use_combobox"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_COMBOBOX" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8120 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8121 if test "${enable_comboctrl+set}" = set; then
8122 enableval
="$enable_comboctrl"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8127 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8132 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8143 eval "$ac_cv_use_comboctrl"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_COMBOCTRL" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8161 # Check whether --enable-datepick or --disable-datepick was given.
8162 if test "${enable_datepick+set}" = set; then
8163 enableval
="$enable_datepick"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8168 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8173 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8184 eval "$ac_cv_use_datepick"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_DATEPICKCTRL" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8202 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8203 if test "${enable_dirpicker+set}" = set; then
8204 enableval
="$enable_dirpicker"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8209 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8214 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8225 eval "$ac_cv_use_dirpicker"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8243 # Check whether --enable-display or --disable-display was given.
8244 if test "${enable_display+set}" = set; then
8245 enableval
="$enable_display"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8250 ac_cv_use_display
='wxUSE_DISPLAY=no'
8255 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8266 eval "$ac_cv_use_display"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_DISPLAY" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8284 # Check whether --enable-filepicker or --disable-filepicker was given.
8285 if test "${enable_filepicker+set}" = set; then
8286 enableval
="$enable_filepicker"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8291 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8296 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8307 eval "$ac_cv_use_filepicker"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8325 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8326 if test "${enable_fontpicker+set}" = set; then
8327 enableval
="$enable_fontpicker"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8332 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8337 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8348 eval "$ac_cv_use_fontpicker"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8366 # Check whether --enable-gauge or --disable-gauge was given.
8367 if test "${enable_gauge+set}" = set; then
8368 enableval
="$enable_gauge"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8373 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8378 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8389 eval "$ac_cv_use_gauge"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_GAUGE" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8407 # Check whether --enable-grid or --disable-grid was given.
8408 if test "${enable_grid+set}" = set; then
8409 enableval
="$enable_grid"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_grid
='wxUSE_GRID=yes'
8414 ac_cv_use_grid
='wxUSE_GRID=no'
8419 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8430 eval "$ac_cv_use_grid"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_GRID" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8448 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8449 if test "${enable_dataviewctrl+set}" = set; then
8450 enableval
="$enable_dataviewctrl"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8455 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8460 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8471 eval "$ac_cv_use_dataviewctrl"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8489 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8490 if test "${enable_hyperlink+set}" = set; then
8491 enableval
="$enable_hyperlink"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8496 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8501 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8512 eval "$ac_cv_use_hyperlink"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8530 # Check whether --enable-imaglist or --disable-imaglist was given.
8531 if test "${enable_imaglist+set}" = set; then
8532 enableval
="$enable_imaglist"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8537 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8542 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8553 eval "$ac_cv_use_imaglist"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_IMAGLIST" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8571 # Check whether --enable-listbook or --disable-listbook was given.
8572 if test "${enable_listbook+set}" = set; then
8573 enableval
="$enable_listbook"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8578 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8583 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8594 eval "$ac_cv_use_listbook"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_LISTBOOK" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8612 # Check whether --enable-listbox or --disable-listbox was given.
8613 if test "${enable_listbox+set}" = set; then
8614 enableval
="$enable_listbox"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8619 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8624 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8635 eval "$ac_cv_use_listbox"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_LISTBOX" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8653 # Check whether --enable-listctrl or --disable-listctrl was given.
8654 if test "${enable_listctrl+set}" = set; then
8655 enableval
="$enable_listctrl"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8660 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8665 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8676 eval "$ac_cv_use_listctrl"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_LISTCTRL" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8694 # Check whether --enable-notebook or --disable-notebook was given.
8695 if test "${enable_notebook+set}" = set; then
8696 enableval
="$enable_notebook"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8701 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8706 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8717 eval "$ac_cv_use_notebook"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_NOTEBOOK" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8735 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8736 if test "${enable_odcombobox+set}" = set; then
8737 enableval
="$enable_odcombobox"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8742 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8747 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8758 eval "$ac_cv_use_odcombobox"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_ODCOMBOBOX" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8776 # Check whether --enable-radiobox or --disable-radiobox was given.
8777 if test "${enable_radiobox+set}" = set; then
8778 enableval
="$enable_radiobox"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8783 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8788 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8799 eval "$ac_cv_use_radiobox"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_RADIOBOX" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8817 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8818 if test "${enable_radiobtn+set}" = set; then
8819 enableval
="$enable_radiobtn"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8824 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8829 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8840 eval "$ac_cv_use_radiobtn"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_RADIOBTN" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8858 # Check whether --enable-sash or --disable-sash was given.
8859 if test "${enable_sash+set}" = set; then
8860 enableval
="$enable_sash"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_sash
='wxUSE_SASH=yes'
8865 ac_cv_use_sash
='wxUSE_SASH=no'
8870 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8881 eval "$ac_cv_use_sash"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_SASH" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8899 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8900 if test "${enable_scrollbar+set}" = set; then
8901 enableval
="$enable_scrollbar"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8906 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8911 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8922 eval "$ac_cv_use_scrollbar"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_SCROLLBAR" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8940 # Check whether --enable-slider or --disable-slider was given.
8941 if test "${enable_slider+set}" = set; then
8942 enableval
="$enable_slider"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8947 ac_cv_use_slider
='wxUSE_SLIDER=no'
8952 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8963 eval "$ac_cv_use_slider"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_SLIDER" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8981 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8982 if test "${enable_spinbtn+set}" = set; then
8983 enableval
="$enable_spinbtn"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8988 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8993 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9004 eval "$ac_cv_use_spinbtn"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_SPINBTN" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9022 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9023 if test "${enable_spinctrl+set}" = set; then
9024 enableval
="$enable_spinctrl"
9026 if test "$enableval" = yes; then
9027 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9029 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9034 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x
; then
9036 eval "DEFAULT_$LINE"
9041 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9045 eval "$ac_cv_use_spinctrl"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9050 if test "$wxUSE_SPINCTRL" = yes; then
9051 echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6
9054 echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6
9060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9063 # Check whether --enable-splitter or --disable-splitter was given.
9064 if test "${enable_splitter+set}" = set; then
9065 enableval
="$enable_splitter"
9067 if test "$enableval" = yes; then
9068 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9070 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9075 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x
; then
9077 eval "DEFAULT_$LINE"
9082 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9086 eval "$ac_cv_use_splitter"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9091 if test "$wxUSE_SPLITTER" = yes; then
9092 echo "$as_me:$LINENO: result: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9095 echo "$as_me:$LINENO: result: no" >&5
9096 echo "${ECHO_T}no" >&6
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9104 # Check whether --enable-statbmp or --disable-statbmp was given.
9105 if test "${enable_statbmp+set}" = set; then
9106 enableval
="$enable_statbmp"
9108 if test "$enableval" = yes; then
9109 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9111 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9116 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x
; then
9118 eval "DEFAULT_$LINE"
9123 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9127 eval "$ac_cv_use_statbmp"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9132 if test "$wxUSE_STATBMP" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9145 # Check whether --enable-statbox or --disable-statbox was given.
9146 if test "${enable_statbox+set}" = set; then
9147 enableval
="$enable_statbox"
9149 if test "$enableval" = yes; then
9150 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9152 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9157 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x
; then
9159 eval "DEFAULT_$LINE"
9164 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9168 eval "$ac_cv_use_statbox"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9173 if test "$wxUSE_STATBOX" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9186 # Check whether --enable-statline or --disable-statline was given.
9187 if test "${enable_statline+set}" = set; then
9188 enableval
="$enable_statline"
9190 if test "$enableval" = yes; then
9191 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9193 ac_cv_use_statline
='wxUSE_STATLINE=no'
9198 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x
; then
9200 eval "DEFAULT_$LINE"
9205 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9209 eval "$ac_cv_use_statline"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9214 if test "$wxUSE_STATLINE" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9227 # Check whether --enable-stattext or --disable-stattext was given.
9228 if test "${enable_stattext+set}" = set; then
9229 enableval
="$enable_stattext"
9231 if test "$enableval" = yes; then
9232 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9234 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9239 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x
; then
9241 eval "DEFAULT_$LINE"
9246 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9250 eval "$ac_cv_use_stattext"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9255 if test "$wxUSE_STATTEXT" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9268 # Check whether --enable-statusbar or --disable-statusbar was given.
9269 if test "${enable_statusbar+set}" = set; then
9270 enableval
="$enable_statusbar"
9272 if test "$enableval" = yes; then
9273 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9275 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9280 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x
; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9291 eval "$ac_cv_use_statusbar"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9296 if test "$wxUSE_STATUSBAR" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9309 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9310 if test "${enable_tabdialog+set}" = set; then
9311 enableval
="$enable_tabdialog"
9313 if test "$enableval" = yes; then
9314 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9316 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9321 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9332 eval "$ac_cv_use_tabdialog"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9337 if test "$wxUSE_TAB_DIALOG" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9350 # Check whether --enable-textctrl or --disable-textctrl was given.
9351 if test "${enable_textctrl+set}" = set; then
9352 enableval
="$enable_textctrl"
9354 if test "$enableval" = yes; then
9355 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9357 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9362 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x
; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9373 eval "$ac_cv_use_textctrl"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9378 if test "$wxUSE_TEXTCTRL" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9391 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9392 if test "${enable_togglebtn+set}" = set; then
9393 enableval
="$enable_togglebtn"
9395 if test "$enableval" = yes; then
9396 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9398 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9403 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x
; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9414 eval "$ac_cv_use_togglebtn"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9419 if test "$wxUSE_TOGGLEBTN" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9432 # Check whether --enable-toolbar or --disable-toolbar was given.
9433 if test "${enable_toolbar+set}" = set; then
9434 enableval
="$enable_toolbar"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9439 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9444 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9455 eval "$ac_cv_use_toolbar"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_TOOLBAR" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9473 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9474 if test "${enable_tbarnative+set}" = set; then
9475 enableval
="$enable_tbarnative"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9480 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9485 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9496 eval "$ac_cv_use_tbarnative"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9514 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9515 if test "${enable_tbarsmpl+set}" = set; then
9516 enableval
="$enable_tbarsmpl"
9518 if test "$enableval" = yes; then
9519 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9521 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9526 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x
; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9537 eval "$ac_cv_use_tbarsmpl"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9542 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9555 # Check whether --enable-treebook or --disable-treebook was given.
9556 if test "${enable_treebook+set}" = set; then
9557 enableval
="$enable_treebook"
9559 if test "$enableval" = yes; then
9560 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9562 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9567 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x
; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9578 eval "$ac_cv_use_treebook"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9583 if test "$wxUSE_TREEBOOK" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9596 # Check whether --enable-toolbook or --disable-toolbook was given.
9597 if test "${enable_toolbook+set}" = set; then
9598 enableval
="$enable_toolbook"
9600 if test "$enableval" = yes; then
9601 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9603 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9608 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x
; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9619 eval "$ac_cv_use_toolbook"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9624 if test "$wxUSE_TOOLBOOK" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9637 # Check whether --enable-treectrl or --disable-treectrl was given.
9638 if test "${enable_treectrl+set}" = set; then
9639 enableval
="$enable_treectrl"
9641 if test "$enableval" = yes; then
9642 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9644 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9649 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x
; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9660 eval "$ac_cv_use_treectrl"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9665 if test "$wxUSE_TREECTRL" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9678 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9679 if test "${enable_tipwindow+set}" = set; then
9680 enableval
="$enable_tipwindow"
9682 if test "$enableval" = yes; then
9683 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9685 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9690 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x
; then
9692 eval "DEFAULT_$LINE"
9697 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9701 eval "$ac_cv_use_tipwindow"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9706 if test "$wxUSE_TIPWINDOW" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9719 # Check whether --enable-popupwin or --disable-popupwin was given.
9720 if test "${enable_popupwin+set}" = set; then
9721 enableval
="$enable_popupwin"
9723 if test "$enableval" = yes; then
9724 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9726 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9731 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x
; then
9733 eval "DEFAULT_$LINE"
9738 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9742 eval "$ac_cv_use_popupwin"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9747 if test "$wxUSE_POPUPWIN" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9762 # Check whether --enable-commondlg or --disable-commondlg was given.
9763 if test "${enable_commondlg+set}" = set; then
9764 enableval
="$enable_commondlg"
9766 if test "$enableval" = yes; then
9767 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9769 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9774 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9775 if test "x$LINE" != x
; then
9776 eval "DEFAULT_$LINE"
9781 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9785 eval "$ac_cv_use_commondlg"
9786 if test "$no_cache" != 1; then
9787 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9790 if test "$wxUSE_COMMONDLGS" = yes; then
9791 echo "$as_me:$LINENO: result: yes" >&5
9792 echo "${ECHO_T}yes" >&6
9794 echo "$as_me:$LINENO: result: no" >&5
9795 echo "${ECHO_T}no" >&6
9800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9803 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9804 if test "${enable_choicedlg+set}" = set; then
9805 enableval
="$enable_choicedlg"
9807 if test "$enableval" = yes; then
9808 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9810 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9815 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9816 if test "x$LINE" != x
; then
9817 eval "DEFAULT_$LINE"
9822 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9826 eval "$ac_cv_use_choicedlg"
9827 if test "$no_cache" != 1; then
9828 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9831 if test "$wxUSE_CHOICEDLG" = yes; then
9832 echo "$as_me:$LINENO: result: yes" >&5
9833 echo "${ECHO_T}yes" >&6
9835 echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6
9841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9842 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9844 # Check whether --enable-coldlg or --disable-coldlg was given.
9845 if test "${enable_coldlg+set}" = set; then
9846 enableval
="$enable_coldlg"
9848 if test "$enableval" = yes; then
9849 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9851 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9856 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9857 if test "x$LINE" != x
; then
9858 eval "DEFAULT_$LINE"
9863 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9867 eval "$ac_cv_use_coldlg"
9868 if test "$no_cache" != 1; then
9869 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9872 if test "$wxUSE_COLOURDLG" = yes; then
9873 echo "$as_me:$LINENO: result: yes" >&5
9874 echo "${ECHO_T}yes" >&6
9876 echo "$as_me:$LINENO: result: no" >&5
9877 echo "${ECHO_T}no" >&6
9882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9885 # Check whether --enable-filedlg or --disable-filedlg was given.
9886 if test "${enable_filedlg+set}" = set; then
9887 enableval
="$enable_filedlg"
9889 if test "$enableval" = yes; then
9890 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9892 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9897 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9898 if test "x$LINE" != x
; then
9899 eval "DEFAULT_$LINE"
9904 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9908 eval "$ac_cv_use_filedlg"
9909 if test "$no_cache" != 1; then
9910 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9913 if test "$wxUSE_FILEDLG" = yes; then
9914 echo "$as_me:$LINENO: result: yes" >&5
9915 echo "${ECHO_T}yes" >&6
9917 echo "$as_me:$LINENO: result: no" >&5
9918 echo "${ECHO_T}no" >&6
9923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9924 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9926 # Check whether --enable-finddlg or --disable-finddlg was given.
9927 if test "${enable_finddlg+set}" = set; then
9928 enableval
="$enable_finddlg"
9930 if test "$enableval" = yes; then
9931 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9933 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9938 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9939 if test "x$LINE" != x
; then
9940 eval "DEFAULT_$LINE"
9945 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9949 eval "$ac_cv_use_finddlg"
9950 if test "$no_cache" != 1; then
9951 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9954 if test "$wxUSE_FINDREPLDLG" = yes; then
9955 echo "$as_me:$LINENO: result: yes" >&5
9956 echo "${ECHO_T}yes" >&6
9958 echo "$as_me:$LINENO: result: no" >&5
9959 echo "${ECHO_T}no" >&6
9964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9967 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9968 if test "${enable_fontdlg+set}" = set; then
9969 enableval
="$enable_fontdlg"
9971 if test "$enableval" = yes; then
9972 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9974 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9979 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9980 if test "x$LINE" != x
; then
9981 eval "DEFAULT_$LINE"
9986 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9990 eval "$ac_cv_use_fontdlg"
9991 if test "$no_cache" != 1; then
9992 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9995 if test "$wxUSE_FONTDLG" = yes; then
9996 echo "$as_me:$LINENO: result: yes" >&5
9997 echo "${ECHO_T}yes" >&6
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10008 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10009 if test "${enable_dirdlg+set}" = set; then
10010 enableval
="$enable_dirdlg"
10012 if test "$enableval" = yes; then
10013 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10015 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10020 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10021 if test "x$LINE" != x
; then
10022 eval "DEFAULT_$LINE"
10027 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10031 eval "$ac_cv_use_dirdlg"
10032 if test "$no_cache" != 1; then
10033 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10036 if test "$wxUSE_DIRDLG" = yes; then
10037 echo "$as_me:$LINENO: result: yes" >&5
10038 echo "${ECHO_T}yes" >&6
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10049 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10050 if test "${enable_msgdlg+set}" = set; then
10051 enableval
="$enable_msgdlg"
10053 if test "$enableval" = yes; then
10054 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10056 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10061 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x
; then
10063 eval "DEFAULT_$LINE"
10068 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10072 eval "$ac_cv_use_msgdlg"
10073 if test "$no_cache" != 1; then
10074 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10077 if test "$wxUSE_MSGDLG" = yes; then
10078 echo "$as_me:$LINENO: result: yes" >&5
10079 echo "${ECHO_T}yes" >&6
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10088 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10090 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10091 if test "${enable_numberdlg+set}" = set; then
10092 enableval
="$enable_numberdlg"
10094 if test "$enableval" = yes; then
10095 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10097 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10102 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10103 if test "x$LINE" != x
; then
10104 eval "DEFAULT_$LINE"
10109 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10113 eval "$ac_cv_use_numberdlg"
10114 if test "$no_cache" != 1; then
10115 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10118 if test "$wxUSE_NUMBERDLG" = yes; then
10119 echo "$as_me:$LINENO: result: yes" >&5
10120 echo "${ECHO_T}yes" >&6
10122 echo "$as_me:$LINENO: result: no" >&5
10123 echo "${ECHO_T}no" >&6
10128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10129 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10131 # Check whether --enable-splash or --disable-splash was given.
10132 if test "${enable_splash+set}" = set; then
10133 enableval
="$enable_splash"
10135 if test "$enableval" = yes; then
10136 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10138 ac_cv_use_splash
='wxUSE_SPLASH=no'
10143 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10144 if test "x$LINE" != x
; then
10145 eval "DEFAULT_$LINE"
10150 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10154 eval "$ac_cv_use_splash"
10155 if test "$no_cache" != 1; then
10156 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10159 if test "$wxUSE_SPLASH" = yes; then
10160 echo "$as_me:$LINENO: result: yes" >&5
10161 echo "${ECHO_T}yes" >&6
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10170 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10172 # Check whether --enable-textdlg or --disable-textdlg was given.
10173 if test "${enable_textdlg+set}" = set; then
10174 enableval
="$enable_textdlg"
10176 if test "$enableval" = yes; then
10177 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10179 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10184 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10185 if test "x$LINE" != x
; then
10186 eval "DEFAULT_$LINE"
10191 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10195 eval "$ac_cv_use_textdlg"
10196 if test "$no_cache" != 1; then
10197 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10200 if test "$wxUSE_TEXTDLG" = yes; then
10201 echo "$as_me:$LINENO: result: yes" >&5
10202 echo "${ECHO_T}yes" >&6
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10213 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10214 if test "${enable_tipdlg+set}" = set; then
10215 enableval
="$enable_tipdlg"
10217 if test "$enableval" = yes; then
10218 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10220 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10225 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10226 if test "x$LINE" != x
; then
10227 eval "DEFAULT_$LINE"
10232 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10236 eval "$ac_cv_use_tipdlg"
10237 if test "$no_cache" != 1; then
10238 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10241 if test "$wxUSE_STARTUP_TIPS" = yes; then
10242 echo "$as_me:$LINENO: result: yes" >&5
10243 echo "${ECHO_T}yes" >&6
10245 echo "$as_me:$LINENO: result: no" >&5
10246 echo "${ECHO_T}no" >&6
10251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10252 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10254 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10255 if test "${enable_progressdlg+set}" = set; then
10256 enableval
="$enable_progressdlg"
10258 if test "$enableval" = yes; then
10259 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10261 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10266 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10267 if test "x$LINE" != x
; then
10268 eval "DEFAULT_$LINE"
10273 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10277 eval "$ac_cv_use_progressdlg"
10278 if test "$no_cache" != 1; then
10279 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10282 if test "$wxUSE_PROGRESSDLG" = yes; then
10283 echo "$as_me:$LINENO: result: yes" >&5
10284 echo "${ECHO_T}yes" >&6
10286 echo "$as_me:$LINENO: result: no" >&5
10287 echo "${ECHO_T}no" >&6
10292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10295 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10296 if test "${enable_wizarddlg+set}" = set; then
10297 enableval
="$enable_wizarddlg"
10299 if test "$enableval" = yes; then
10300 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10302 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10307 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10308 if test "x$LINE" != x
; then
10309 eval "DEFAULT_$LINE"
10314 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10318 eval "$ac_cv_use_wizarddlg"
10319 if test "$no_cache" != 1; then
10320 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10323 if test "$wxUSE_WIZARDDLG" = yes; then
10324 echo "$as_me:$LINENO: result: yes" >&5
10325 echo "${ECHO_T}yes" >&6
10327 echo "$as_me:$LINENO: result: no" >&5
10328 echo "${ECHO_T}no" >&6
10335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10338 # Check whether --enable-menus or --disable-menus was given.
10339 if test "${enable_menus+set}" = set; then
10340 enableval
="$enable_menus"
10342 if test "$enableval" = yes; then
10343 ac_cv_use_menus
='wxUSE_MENUS=yes'
10345 ac_cv_use_menus
='wxUSE_MENUS=no'
10350 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10351 if test "x$LINE" != x
; then
10352 eval "DEFAULT_$LINE"
10357 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10361 eval "$ac_cv_use_menus"
10362 if test "$no_cache" != 1; then
10363 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10366 if test "$wxUSE_MENUS" = yes; then
10367 echo "$as_me:$LINENO: result: yes" >&5
10368 echo "${ECHO_T}yes" >&6
10370 echo "$as_me:$LINENO: result: no" >&5
10371 echo "${ECHO_T}no" >&6
10376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10379 # Check whether --enable-miniframe or --disable-miniframe was given.
10380 if test "${enable_miniframe+set}" = set; then
10381 enableval
="$enable_miniframe"
10383 if test "$enableval" = yes; then
10384 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10386 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10391 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10392 if test "x$LINE" != x
; then
10393 eval "DEFAULT_$LINE"
10398 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10402 eval "$ac_cv_use_miniframe"
10403 if test "$no_cache" != 1; then
10404 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10407 if test "$wxUSE_MINIFRAME" = yes; then
10408 echo "$as_me:$LINENO: result: yes" >&5
10409 echo "${ECHO_T}yes" >&6
10411 echo "$as_me:$LINENO: result: no" >&5
10412 echo "${ECHO_T}no" >&6
10417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10420 # Check whether --enable-tooltips or --disable-tooltips was given.
10421 if test "${enable_tooltips+set}" = set; then
10422 enableval
="$enable_tooltips"
10424 if test "$enableval" = yes; then
10425 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10427 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10432 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10433 if test "x$LINE" != x
; then
10434 eval "DEFAULT_$LINE"
10439 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10443 eval "$ac_cv_use_tooltips"
10444 if test "$no_cache" != 1; then
10445 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10448 if test "$wxUSE_TOOLTIPS" = yes; then
10449 echo "$as_me:$LINENO: result: yes" >&5
10450 echo "${ECHO_T}yes" >&6
10452 echo "$as_me:$LINENO: result: no" >&5
10453 echo "${ECHO_T}no" >&6
10458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10459 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10461 # Check whether --enable-splines or --disable-splines was given.
10462 if test "${enable_splines+set}" = set; then
10463 enableval
="$enable_splines"
10465 if test "$enableval" = yes; then
10466 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10468 ac_cv_use_splines
='wxUSE_SPLINES=no'
10473 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10474 if test "x$LINE" != x
; then
10475 eval "DEFAULT_$LINE"
10480 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10484 eval "$ac_cv_use_splines"
10485 if test "$no_cache" != 1; then
10486 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10489 if test "$wxUSE_SPLINES" = yes; then
10490 echo "$as_me:$LINENO: result: yes" >&5
10491 echo "${ECHO_T}yes" >&6
10493 echo "$as_me:$LINENO: result: no" >&5
10494 echo "${ECHO_T}no" >&6
10499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10502 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10503 if test "${enable_mousewheel+set}" = set; then
10504 enableval
="$enable_mousewheel"
10506 if test "$enableval" = yes; then
10507 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10509 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10514 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10515 if test "x$LINE" != x
; then
10516 eval "DEFAULT_$LINE"
10521 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10525 eval "$ac_cv_use_mousewheel"
10526 if test "$no_cache" != 1; then
10527 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10530 if test "$wxUSE_MOUSEWHEEL" = yes; then
10531 echo "$as_me:$LINENO: result: yes" >&5
10532 echo "${ECHO_T}yes" >&6
10534 echo "$as_me:$LINENO: result: no" >&5
10535 echo "${ECHO_T}no" >&6
10540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10541 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10543 # Check whether --enable-validators or --disable-validators was given.
10544 if test "${enable_validators+set}" = set; then
10545 enableval
="$enable_validators"
10547 if test "$enableval" = yes; then
10548 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10550 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10555 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10556 if test "x$LINE" != x
; then
10557 eval "DEFAULT_$LINE"
10562 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10566 eval "$ac_cv_use_validators"
10567 if test "$no_cache" != 1; then
10568 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10571 if test "$wxUSE_VALIDATORS" = yes; then
10572 echo "$as_me:$LINENO: result: yes" >&5
10573 echo "${ECHO_T}yes" >&6
10575 echo "$as_me:$LINENO: result: no" >&5
10576 echo "${ECHO_T}no" >&6
10581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10584 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10585 if test "${enable_busyinfo+set}" = set; then
10586 enableval
="$enable_busyinfo"
10588 if test "$enableval" = yes; then
10589 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10591 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10596 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10597 if test "x$LINE" != x
; then
10598 eval "DEFAULT_$LINE"
10603 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10607 eval "$ac_cv_use_busyinfo"
10608 if test "$no_cache" != 1; then
10609 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10612 if test "$wxUSE_BUSYINFO" = yes; then
10613 echo "$as_me:$LINENO: result: yes" >&5
10614 echo "${ECHO_T}yes" >&6
10616 echo "$as_me:$LINENO: result: no" >&5
10617 echo "${ECHO_T}no" >&6
10622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10625 # Check whether --enable-joystick or --disable-joystick was given.
10626 if test "${enable_joystick+set}" = set; then
10627 enableval
="$enable_joystick"
10629 if test "$enableval" = yes; then
10630 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10632 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10637 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10638 if test "x$LINE" != x
; then
10639 eval "DEFAULT_$LINE"
10644 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10648 eval "$ac_cv_use_joystick"
10649 if test "$no_cache" != 1; then
10650 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10653 if test "$wxUSE_JOYSTICK" = yes; then
10654 echo "$as_me:$LINENO: result: yes" >&5
10655 echo "${ECHO_T}yes" >&6
10657 echo "$as_me:$LINENO: result: no" >&5
10658 echo "${ECHO_T}no" >&6
10663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10664 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10666 # Check whether --enable-metafile or --disable-metafile was given.
10667 if test "${enable_metafile+set}" = set; then
10668 enableval
="$enable_metafile"
10670 if test "$enableval" = yes; then
10671 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10673 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10678 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10679 if test "x$LINE" != x
; then
10680 eval "DEFAULT_$LINE"
10685 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10689 eval "$ac_cv_use_metafile"
10690 if test "$no_cache" != 1; then
10691 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10694 if test "$wxUSE_METAFILE" = yes; then
10695 echo "$as_me:$LINENO: result: yes" >&5
10696 echo "${ECHO_T}yes" >&6
10698 echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6
10704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10707 # Check whether --enable-dragimage or --disable-dragimage was given.
10708 if test "${enable_dragimage+set}" = set; then
10709 enableval
="$enable_dragimage"
10711 if test "$enableval" = yes; then
10712 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10714 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10719 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10720 if test "x$LINE" != x
; then
10721 eval "DEFAULT_$LINE"
10726 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10730 eval "$ac_cv_use_dragimage"
10731 if test "$no_cache" != 1; then
10732 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10735 if test "$wxUSE_DRAGIMAGE" = yes; then
10736 echo "$as_me:$LINENO: result: yes" >&5
10737 echo "${ECHO_T}yes" >&6
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10748 # Check whether --enable-accessibility or --disable-accessibility was given.
10749 if test "${enable_accessibility+set}" = set; then
10750 enableval
="$enable_accessibility"
10752 if test "$enableval" = yes; then
10753 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10755 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10760 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x
; then
10762 eval "DEFAULT_$LINE"
10767 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10771 eval "$ac_cv_use_accessibility"
10772 if test "$no_cache" != 1; then
10773 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10776 if test "$wxUSE_ACCESSIBILITY" = yes; then
10777 echo "$as_me:$LINENO: result: yes" >&5
10778 echo "${ECHO_T}yes" >&6
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10785 if test "$wxUSE_MSW" = "1"; then
10788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10789 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10791 # Check whether --enable-dccache or --disable-dccache was given.
10792 if test "${enable_dccache+set}" = set; then
10793 enableval
="$enable_dccache"
10795 if test "$enableval" = yes; then
10796 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10798 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10803 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10804 if test "x$LINE" != x
; then
10805 eval "DEFAULT_$LINE"
10810 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10814 eval "$ac_cv_use_dccache"
10815 if test "$no_cache" != 1; then
10816 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10819 if test "$wxUSE_DC_CACHEING" = yes; then
10820 echo "$as_me:$LINENO: result: yes" >&5
10821 echo "${ECHO_T}yes" >&6
10823 echo "$as_me:$LINENO: result: no" >&5
10824 echo "${ECHO_T}no" >&6
10832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10833 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10835 # Check whether --enable-palette or --disable-palette was given.
10836 if test "${enable_palette+set}" = set; then
10837 enableval
="$enable_palette"
10839 if test "$enableval" = yes; then
10840 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10842 ac_cv_use_palette
='wxUSE_PALETTE=no'
10847 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x
; then
10849 eval "DEFAULT_$LINE"
10854 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10858 eval "$ac_cv_use_palette"
10859 if test "$no_cache" != 1; then
10860 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10863 if test "$wxUSE_PALETTE" = yes; then
10864 echo "$as_me:$LINENO: result: yes" >&5
10865 echo "${ECHO_T}yes" >&6
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10874 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10876 # Check whether --enable-image or --disable-image was given.
10877 if test "${enable_image+set}" = set; then
10878 enableval
="$enable_image"
10880 if test "$enableval" = yes; then
10881 ac_cv_use_image
='wxUSE_IMAGE=yes'
10883 ac_cv_use_image
='wxUSE_IMAGE=no'
10888 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10889 if test "x$LINE" != x
; then
10890 eval "DEFAULT_$LINE"
10895 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10899 eval "$ac_cv_use_image"
10900 if test "$no_cache" != 1; then
10901 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10904 if test "$wxUSE_IMAGE" = yes; then
10905 echo "$as_me:$LINENO: result: yes" >&5
10906 echo "${ECHO_T}yes" >&6
10908 echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6
10914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10915 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10917 # Check whether --enable-gif or --disable-gif was given.
10918 if test "${enable_gif+set}" = set; then
10919 enableval
="$enable_gif"
10921 if test "$enableval" = yes; then
10922 ac_cv_use_gif
='wxUSE_GIF=yes'
10924 ac_cv_use_gif
='wxUSE_GIF=no'
10929 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10930 if test "x$LINE" != x
; then
10931 eval "DEFAULT_$LINE"
10936 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10940 eval "$ac_cv_use_gif"
10941 if test "$no_cache" != 1; then
10942 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10945 if test "$wxUSE_GIF" = yes; then
10946 echo "$as_me:$LINENO: result: yes" >&5
10947 echo "${ECHO_T}yes" >&6
10949 echo "$as_me:$LINENO: result: no" >&5
10950 echo "${ECHO_T}no" >&6
10955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10958 # Check whether --enable-pcx or --disable-pcx was given.
10959 if test "${enable_pcx+set}" = set; then
10960 enableval
="$enable_pcx"
10962 if test "$enableval" = yes; then
10963 ac_cv_use_pcx
='wxUSE_PCX=yes'
10965 ac_cv_use_pcx
='wxUSE_PCX=no'
10970 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x
; then
10972 eval "DEFAULT_$LINE"
10977 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10981 eval "$ac_cv_use_pcx"
10982 if test "$no_cache" != 1; then
10983 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10986 if test "$wxUSE_PCX" = yes; then
10987 echo "$as_me:$LINENO: result: yes" >&5
10988 echo "${ECHO_T}yes" >&6
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10999 # Check whether --enable-iff or --disable-iff was given.
11000 if test "${enable_iff+set}" = set; then
11001 enableval
="$enable_iff"
11003 if test "$enableval" = yes; then
11004 ac_cv_use_iff
='wxUSE_IFF=yes'
11006 ac_cv_use_iff
='wxUSE_IFF=no'
11011 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x
; then
11013 eval "DEFAULT_$LINE"
11018 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11022 eval "$ac_cv_use_iff"
11023 if test "$no_cache" != 1; then
11024 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11027 if test "$wxUSE_IFF" = yes; then
11028 echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11040 # Check whether --enable-pnm or --disable-pnm was given.
11041 if test "${enable_pnm+set}" = set; then
11042 enableval
="$enable_pnm"
11044 if test "$enableval" = yes; then
11045 ac_cv_use_pnm
='wxUSE_PNM=yes'
11047 ac_cv_use_pnm
='wxUSE_PNM=no'
11052 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11053 if test "x$LINE" != x
; then
11054 eval "DEFAULT_$LINE"
11059 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11063 eval "$ac_cv_use_pnm"
11064 if test "$no_cache" != 1; then
11065 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11068 if test "$wxUSE_PNM" = yes; then
11069 echo "$as_me:$LINENO: result: yes" >&5
11070 echo "${ECHO_T}yes" >&6
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11081 # Check whether --enable-xpm or --disable-xpm was given.
11082 if test "${enable_xpm+set}" = set; then
11083 enableval
="$enable_xpm"
11085 if test "$enableval" = yes; then
11086 ac_cv_use_xpm
='wxUSE_XPM=yes'
11088 ac_cv_use_xpm
='wxUSE_XPM=no'
11093 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11094 if test "x$LINE" != x
; then
11095 eval "DEFAULT_$LINE"
11100 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11104 eval "$ac_cv_use_xpm"
11105 if test "$no_cache" != 1; then
11106 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11109 if test "$wxUSE_XPM" = yes; then
11110 echo "$as_me:$LINENO: result: yes" >&5
11111 echo "${ECHO_T}yes" >&6
11113 echo "$as_me:$LINENO: result: no" >&5
11114 echo "${ECHO_T}no" >&6
11119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11122 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11123 if test "${enable_ico_cur+set}" = set; then
11124 enableval
="$enable_ico_cur"
11126 if test "$enableval" = yes; then
11127 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11129 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11134 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x
; then
11136 eval "DEFAULT_$LINE"
11141 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11145 eval "$ac_cv_use_ico_cur"
11146 if test "$no_cache" != 1; then
11147 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11150 if test "$wxUSE_ICO_CUR" = yes; then
11151 echo "$as_me:$LINENO: result: yes" >&5
11152 echo "${ECHO_T}yes" >&6
11154 echo "$as_me:$LINENO: result: no" >&5
11155 echo "${ECHO_T}no" >&6
11163 # Check whether --with-flavour or --without-flavour was given.
11164 if test "${with_flavour+set}" = set; then
11165 withval
="$with_flavour"
11166 WX_FLAVOUR
="$withval"
11172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11175 # Check whether --enable-official_build or --disable-official_build was given.
11176 if test "${enable_official_build+set}" = set; then
11177 enableval
="$enable_official_build"
11179 if test "$enableval" = yes; then
11180 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11182 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11187 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11188 if test "x$LINE" != x
; then
11189 eval "DEFAULT_$LINE"
11194 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11198 eval "$ac_cv_use_official_build"
11199 if test "$no_cache" != 1; then
11200 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11203 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11204 echo "$as_me:$LINENO: result: yes" >&5
11205 echo "${ECHO_T}yes" >&6
11207 echo "$as_me:$LINENO: result: no" >&5
11208 echo "${ECHO_T}no" >&6
11211 # Check whether --enable-vendor or --disable-vendor was given.
11212 if test "${enable_vendor+set}" = set; then
11213 enableval
="$enable_vendor"
11214 VENDOR
="$enableval"
11216 if test "x$VENDOR" = "x"; then
11223 echo "saving argument cache $wx_arg_cache_file"
11224 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11228 echo "$as_me:$LINENO: checking for toolkit" >&5
11229 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11231 # In Wine, we need to default to MSW, not GTK or MOTIF
11232 if test "$wxUSE_WINE" = "yes"; then
11233 DEFAULT_DEFAULT_wxUSE_GTK
=0
11234 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11235 DEFAULT_DEFAULT_wxUSE_MSW
=1
11240 if test "$wxUSE_GUI" = "yes"; then
11242 if test "$USE_BEOS" = 1; then
11243 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11244 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11245 { (exit 1); exit 1; }; }
11248 if test "$TOOLKIT_GIVEN" = 1; then
11249 for toolkit
in `echo $ALL_TOOLKITS`; do
11251 eval "value=\$${var}"
11252 if test "x$value" = "xno"; then
11254 elif test "x$value" != "x"; then
11258 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11259 eval "wx${toolkit}_VERSION=$value"
11263 for toolkit
in `echo $ALL_TOOLKITS`; do
11264 if test "$has_toolkit_in_cache" != 1; then
11265 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11267 var
=DEFAULT_wxUSE_
$toolkit
11269 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11270 if test "x$version" != "x"; then
11271 eval "wx${toolkit}_VERSION=$version"
11274 eval "wxUSE_$toolkit=\$${var}"
11278 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11279 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11280 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11283 *-pc-os2_emx | *-pc-os2-emx )
11284 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11287 case "$NUM_TOOLKITS" in
11291 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11292 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11293 { (exit 1); exit 1; }; }
11296 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11297 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11298 { (exit 1); exit 1; }; }
11301 # to be removed when --disable-gtk2 isn't needed
11302 if test "x$wxUSE_GTK2" = "xyes"; then
11304 elif test "x$wxUSE_GTK2" = "xno"; then
11308 for toolkit
in `echo $ALL_TOOLKITS`; do
11310 eval "value=\$${var}"
11311 if test "x$value" != x
; then
11312 cache_var
=CACHE_
$toolkit
11313 eval "cache=\$${cache_var}"
11314 if test "$cache" = 1; then
11315 echo "$var=$value" >> ${wx_arg_cache_file}
11316 eval "version=\$wx${toolkit}_VERSION"
11317 if test "x$version" != "x"; then
11318 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11321 if test "$value" = 1; then
11322 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11323 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11324 echo "${ECHO_T}$toolkit_echo" >&6
11329 if test "x$host_alias" != "x"; then
11330 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11331 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11333 echo "$as_me:$LINENO: result: base only" >&5
11334 echo "${ECHO_T}base only" >&6
11339 doesnt_want_win32
=0
11342 if test "$wxUSE_MSW" = 1 ; then
11344 BAKEFILE_FORCE_PLATFORM
=win32
11346 doesnt_want_win32
=1
11354 if test "$wxUSE_WINE" = "yes"; then
11358 LDFLAGS_GUI
="-mwindows"
11361 if test "$wants_win32" = 1 ; then
11364 cat >>confdefs.h
<<\_ACEOF
11365 #define __WIN32__ 1
11368 cat >>confdefs.h
<<\_ACEOF
11369 #define __WIN95__ 1
11372 cat >>confdefs.h
<<\_ACEOF
11373 #define __WINDOWS__ 1
11376 cat >>confdefs.h
<<\_ACEOF
11377 #define __GNUWIN32__ 1
11380 cat >>confdefs.h
<<\_ACEOF
11384 cat >>confdefs.h
<<\_ACEOF
11385 #define WINVER 0x0400
11389 if test "$doesnt_want_win32" = 1 ; then
11394 if test "$USE_UNIX" = 1 ; then
11396 cat >>confdefs.h
<<\_ACEOF
11403 cat >confcache
<<\_ACEOF
11404 # This file is a shell script that caches the results of configure
11405 # tests run on this system so they can be shared between configure
11406 # scripts and configure runs, see configure's option --config-cache.
11407 # It is not useful on other systems. If it contains results you don't
11408 # want to keep, you may remove or edit it.
11410 # config.status only pays attention to the cache file if you give it
11411 # the --recheck option to rerun configure.
11413 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11414 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11415 # following values.
11419 # The following way of writing the cache mishandles newlines in values,
11420 # but we know of no workaround that is simple, portable, and efficient.
11421 # So, don't put newlines in cache variables' values.
11422 # Ultrix sh set writes to stderr and can't be redirected directly,
11423 # and sets the high bit in the cache file unless we assign to the vars.
11426 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11428 # `set' does not quote correctly, so add quotes (double-quote
11429 # substitution turns \\\\ into \\, and sed turns \\ into \).
11432 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11435 # `set' quotes correctly as required by POSIX, so do not add quotes.
11437 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11444 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11446 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11448 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11449 if test -w $cache_file; then
11450 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11451 cat confcache
>$cache_file
11453 echo "not updating unwritable cache $cache_file"
11463 ac_cpp
='$CPP $CPPFLAGS'
11464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11467 if test -n "$ac_tool_prefix"; then
11468 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11469 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11470 echo "$as_me:$LINENO: checking for $ac_word" >&5
11471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11472 if test "${ac_cv_prog_CC+set}" = set; then
11473 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 if test -n "$CC"; then
11476 ac_cv_prog_CC
="$CC" # Let the user override the test.
11478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11479 for as_dir
in $PATH
11482 test -z "$as_dir" && as_dir
=.
11483 for ac_exec_ext
in '' $ac_executable_extensions; do
11484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11485 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11495 if test -n "$CC"; then
11496 echo "$as_me:$LINENO: result: $CC" >&5
11497 echo "${ECHO_T}$CC" >&6
11499 echo "$as_me:$LINENO: result: no" >&5
11500 echo "${ECHO_T}no" >&6
11504 if test -z "$ac_cv_prog_CC"; then
11506 # Extract the first word of "gcc", so it can be a program name with args.
11507 set dummy gcc
; ac_word
=$2
11508 echo "$as_me:$LINENO: checking for $ac_word" >&5
11509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 if test -n "$ac_ct_CC"; then
11514 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11517 for as_dir
in $PATH
11520 test -z "$as_dir" && as_dir
=.
11521 for ac_exec_ext
in '' $ac_executable_extensions; do
11522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11523 ac_cv_prog_ac_ct_CC
="gcc"
11524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11533 if test -n "$ac_ct_CC"; then
11534 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11535 echo "${ECHO_T}$ac_ct_CC" >&6
11537 echo "$as_me:$LINENO: result: no" >&5
11538 echo "${ECHO_T}no" >&6
11543 CC
="$ac_cv_prog_CC"
11546 if test -z "$CC"; then
11547 if test -n "$ac_tool_prefix"; then
11548 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11549 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11550 echo "$as_me:$LINENO: checking for $ac_word" >&5
11551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11552 if test "${ac_cv_prog_CC+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 if test -n "$CC"; then
11556 ac_cv_prog_CC
="$CC" # Let the user override the test.
11558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11559 for as_dir
in $PATH
11562 test -z "$as_dir" && as_dir
=.
11563 for ac_exec_ext
in '' $ac_executable_extensions; do
11564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 if test -n "$CC"; then
11576 echo "$as_me:$LINENO: result: $CC" >&5
11577 echo "${ECHO_T}$CC" >&6
11579 echo "$as_me:$LINENO: result: no" >&5
11580 echo "${ECHO_T}no" >&6
11584 if test -z "$ac_cv_prog_CC"; then
11586 # Extract the first word of "cc", so it can be a program name with args.
11587 set dummy cc
; ac_word
=$2
11588 echo "$as_me:$LINENO: checking for $ac_word" >&5
11589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11591 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 if test -n "$ac_ct_CC"; then
11594 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11597 for as_dir
in $PATH
11600 test -z "$as_dir" && as_dir
=.
11601 for ac_exec_ext
in '' $ac_executable_extensions; do
11602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11603 ac_cv_prog_ac_ct_CC
="cc"
11604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11612 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11613 if test -n "$ac_ct_CC"; then
11614 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11615 echo "${ECHO_T}$ac_ct_CC" >&6
11617 echo "$as_me:$LINENO: result: no" >&5
11618 echo "${ECHO_T}no" >&6
11623 CC
="$ac_cv_prog_CC"
11627 if test -z "$CC"; then
11628 # Extract the first word of "cc", so it can be a program name with args.
11629 set dummy cc
; ac_word
=$2
11630 echo "$as_me:$LINENO: checking for $ac_word" >&5
11631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11632 if test "${ac_cv_prog_CC+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 if test -n "$CC"; then
11636 ac_cv_prog_CC
="$CC" # Let the user override the test.
11638 ac_prog_rejected
=no
11639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11640 for as_dir
in $PATH
11643 test -z "$as_dir" && as_dir
=.
11644 for ac_exec_ext
in '' $ac_executable_extensions; do
11645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11646 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11647 ac_prog_rejected
=yes
11651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11657 if test $ac_prog_rejected = yes; then
11658 # We found a bogon in the path, so make sure we never use it.
11659 set dummy
$ac_cv_prog_CC
11661 if test $# != 0; then
11662 # We chose a different compiler from the bogus one.
11663 # However, it has the same basename, so the bogon will be chosen
11664 # first if we set CC to just the basename; use the full file name.
11666 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11672 if test -n "$CC"; then
11673 echo "$as_me:$LINENO: result: $CC" >&5
11674 echo "${ECHO_T}$CC" >&6
11676 echo "$as_me:$LINENO: result: no" >&5
11677 echo "${ECHO_T}no" >&6
11681 if test -z "$CC"; then
11682 if test -n "$ac_tool_prefix"; then
11685 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11686 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11687 echo "$as_me:$LINENO: checking for $ac_word" >&5
11688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11689 if test "${ac_cv_prog_CC+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 if test -n "$CC"; then
11693 ac_cv_prog_CC
="$CC" # Let the user override the test.
11695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11696 for as_dir
in $PATH
11699 test -z "$as_dir" && as_dir
=.
11700 for ac_exec_ext
in '' $ac_executable_extensions; do
11701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11702 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11712 if test -n "$CC"; then
11713 echo "$as_me:$LINENO: result: $CC" >&5
11714 echo "${ECHO_T}$CC" >&6
11716 echo "$as_me:$LINENO: result: no" >&5
11717 echo "${ECHO_T}no" >&6
11720 test -n "$CC" && break
11723 if test -z "$CC"; then
11727 # Extract the first word of "$ac_prog", so it can be a program name with args.
11728 set dummy
$ac_prog; ac_word
=$2
11729 echo "$as_me:$LINENO: checking for $ac_word" >&5
11730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11732 echo $ECHO_N "(cached) $ECHO_C" >&6
11734 if test -n "$ac_ct_CC"; then
11735 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11738 for as_dir
in $PATH
11741 test -z "$as_dir" && as_dir
=.
11742 for ac_exec_ext
in '' $ac_executable_extensions; do
11743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11744 ac_cv_prog_ac_ct_CC
="$ac_prog"
11745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11753 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11754 if test -n "$ac_ct_CC"; then
11755 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11756 echo "${ECHO_T}$ac_ct_CC" >&6
11758 echo "$as_me:$LINENO: result: no" >&5
11759 echo "${ECHO_T}no" >&6
11762 test -n "$ac_ct_CC" && break
11771 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11772 See \`config.log' for more details." >&5
11773 echo "$as_me: error: no acceptable C compiler found in \$PATH
11774 See \`config.log' for more details." >&2;}
11775 { (exit 1); exit 1; }; }
11777 # Provide some information about the compiler.
11778 echo "$as_me:$LINENO:" \
11779 "checking for C compiler version" >&5
11780 ac_compiler
=`set X $ac_compile; echo $2`
11781 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11782 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }
11786 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11787 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }
11791 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11792 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }
11797 cat >conftest.
$ac_ext <<_ACEOF
11800 cat confdefs.h
>>conftest.
$ac_ext
11801 cat >>conftest.
$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11812 ac_clean_files_save
=$ac_clean_files
11813 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11814 # Try to create an executable without -o first, disregard a.out.
11815 # It will help us diagnose broken compilers, and finding out an intuition
11817 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11818 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11819 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11820 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11821 (eval $ac_link_default) 2>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; then
11825 # Find the output, starting from the most likely. This scheme is
11826 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11829 # Be careful to initialize this variable, since it used to be cached.
11830 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11832 # b.out is created by i960 compilers.
11833 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11835 test -f "$ac_file" || continue
11837 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11840 # This is the source file.
11843 # We found the default executable, but exeext='' is most
11847 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11848 # FIXME: I believe we export ac_cv_exeext for Libtool,
11849 # but it would be cool to find out if it's true. Does anybody
11850 # maintain Libtool? --akim.
11851 export ac_cv_exeext
11858 echo "$as_me: failed program was:" >&5
11859 sed 's/^/| /' conftest.
$ac_ext >&5
11861 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11862 See \`config.log' for more details." >&5
11863 echo "$as_me: error: C compiler cannot create executables
11864 See \`config.log' for more details." >&2;}
11865 { (exit 77); exit 77; }; }
11868 ac_exeext
=$ac_cv_exeext
11869 echo "$as_me:$LINENO: result: $ac_file" >&5
11870 echo "${ECHO_T}$ac_file" >&6
11872 # Check the compiler produces executables we can run. If not, either
11873 # the compiler is broken, or we cross compile.
11874 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11875 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11876 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11877 # If not cross compiling, check that we can run a simple program.
11878 if test "$cross_compiling" != yes; then
11879 if { ac_try
='./$ac_file'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; }; then
11887 if test "$cross_compiling" = maybe
; then
11888 cross_compiling
=yes
11890 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11891 If you meant to cross compile, use \`--host'.
11892 See \`config.log' for more details." >&5
11893 echo "$as_me: error: cannot run C compiled programs.
11894 If you meant to cross compile, use \`--host'.
11895 See \`config.log' for more details." >&2;}
11896 { (exit 1); exit 1; }; }
11900 echo "$as_me:$LINENO: result: yes" >&5
11901 echo "${ECHO_T}yes" >&6
11903 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11904 ac_clean_files
=$ac_clean_files_save
11905 # Check the compiler produces executables we can run. If not, either
11906 # the compiler is broken, or we cross compile.
11907 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11908 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11909 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11910 echo "${ECHO_T}$cross_compiling" >&6
11912 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11913 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11915 (eval $ac_link) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; then
11919 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11920 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11921 # work properly (i.e., refer to `conftest.exe'), while it won't with
11923 for ac_file
in conftest.exe conftest conftest.
*; do
11924 test -f "$ac_file" || continue
11926 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11927 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11928 export ac_cv_exeext
11934 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11935 See \`config.log' for more details." >&5
11936 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11937 See \`config.log' for more details." >&2;}
11938 { (exit 1); exit 1; }; }
11941 rm -f conftest
$ac_cv_exeext
11942 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11943 echo "${ECHO_T}$ac_cv_exeext" >&6
11945 rm -f conftest.
$ac_ext
11946 EXEEXT
=$ac_cv_exeext
11948 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11949 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11950 if test "${ac_cv_objext+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 cat >conftest.
$ac_ext <<_ACEOF
11956 cat confdefs.h
>>conftest.
$ac_ext
11957 cat >>conftest.
$ac_ext <<_ACEOF
11958 /* end confdefs.h. */
11968 rm -f conftest.o conftest.obj
11969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11970 (eval $ac_compile) 2>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; then
11974 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11976 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11977 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11982 echo "$as_me: failed program was:" >&5
11983 sed 's/^/| /' conftest.
$ac_ext >&5
11985 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11986 See \`config.log' for more details." >&5
11987 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11988 See \`config.log' for more details." >&2;}
11989 { (exit 1); exit 1; }; }
11992 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11994 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11995 echo "${ECHO_T}$ac_cv_objext" >&6
11996 OBJEXT
=$ac_cv_objext
11998 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11999 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12000 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 cat >conftest.
$ac_ext <<_ACEOF
12006 cat confdefs.h
>>conftest.
$ac_ext
12007 cat >>conftest.
$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12021 rm -f conftest.
$ac_objext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023 (eval $ac_compile) 2>conftest.er1
12025 grep -v '^ *+' conftest.er1
>conftest.err
12027 cat conftest.err
>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; } &&
12036 { ac_try
='test -s conftest.$ac_objext'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; }; then
12042 ac_compiler_gnu
=yes
12044 echo "$as_me: failed program was:" >&5
12045 sed 's/^/| /' conftest.
$ac_ext >&5
12049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12050 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12053 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12054 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12055 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12056 ac_test_CFLAGS
=${CFLAGS+set}
12057 ac_save_CFLAGS
=$CFLAGS
12059 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12060 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12061 if test "${ac_cv_prog_cc_g+set}" = set; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 cat >conftest.
$ac_ext <<_ACEOF
12067 cat confdefs.h
>>conftest.
$ac_ext
12068 cat >>conftest.
$ac_ext <<_ACEOF
12069 /* end confdefs.h. */
12079 rm -f conftest.
$ac_objext
12080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12081 (eval $ac_compile) 2>conftest.er1
12083 grep -v '^ *+' conftest.er1
>conftest.err
12085 cat conftest.err
>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } &&
12088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12090 (eval $ac_try) 2>&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); }; } &&
12094 { ac_try
='test -s conftest.$ac_objext'
12095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12096 (eval $ac_try) 2>&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); }; }; then
12100 ac_cv_prog_cc_g
=yes
12102 echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.
$ac_ext >&5
12107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12109 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12110 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12111 if test "$ac_test_CFLAGS" = set; then
12112 CFLAGS
=$ac_save_CFLAGS
12113 elif test $ac_cv_prog_cc_g = yes; then
12114 if test "$GCC" = yes; then
12120 if test "$GCC" = yes; then
12126 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12127 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12128 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12129 echo $ECHO_N "(cached) $ECHO_C" >&6
12131 ac_cv_prog_cc_stdc
=no
12133 cat >conftest.
$ac_ext <<_ACEOF
12136 cat confdefs.h
>>conftest.
$ac_ext
12137 cat >>conftest.
$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12139 #include <stdarg.h>
12141 #include <sys/types.h>
12142 #include <sys/stat.h>
12143 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12144 struct buf { int x; };
12145 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12146 static char *e (p, i)
12152 static char *f (char * (*g) (char **, int), char **p, ...)
12157 s = g (p, va_arg (v,int));
12162 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12163 function prototypes and stuff, but not '\xHH' hex character constants.
12164 These don't provoke an error unfortunately, instead are silently treated
12165 as 'x'. The following induces an error, until -std1 is added to get
12166 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12167 array size at least. It's necessary to write '\x00'==0 to get something
12168 that's true only with -std1. */
12169 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12171 int test (int i, double x);
12172 struct s1 {int (*f) (int a);};
12173 struct s2 {int (*f) (double a);};
12174 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12180 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12185 # Don't try gcc -ansi; that turns off useful extensions and
12186 # breaks some systems' header files.
12187 # AIX -qlanglvl=ansi
12188 # Ultrix and OSF/1 -std1
12189 # HP-UX 10.20 and later -Ae
12190 # HP-UX older versions -Aa -D_HPUX_SOURCE
12191 # SVR4 -Xc -D__EXTENSIONS__
12192 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12194 CC
="$ac_save_CC $ac_arg"
12195 rm -f conftest.
$ac_objext
12196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12197 (eval $ac_compile) 2>conftest.er1
12199 grep -v '^ *+' conftest.er1
>conftest.err
12201 cat conftest.err
>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } &&
12204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; } &&
12210 { ac_try
='test -s conftest.$ac_objext'
12211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12212 (eval $ac_try) 2>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); }; }; then
12216 ac_cv_prog_cc_stdc
=$ac_arg
12219 echo "$as_me: failed program was:" >&5
12220 sed 's/^/| /' conftest.
$ac_ext >&5
12223 rm -f conftest.err conftest.
$ac_objext
12225 rm -f conftest.
$ac_ext conftest.
$ac_objext
12230 case "x$ac_cv_prog_cc_stdc" in
12232 echo "$as_me:$LINENO: result: none needed" >&5
12233 echo "${ECHO_T}none needed" >&6 ;;
12235 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12236 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12237 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12240 # Some people use a C++ compiler to compile C. Since we use `exit',
12241 # in C++ we need to declare it. In case someone uses the same compiler
12242 # for both compiling C and C++ we need to have the C++ compiler decide
12243 # the declaration of exit, since it's the most demanding environment.
12244 cat >conftest.
$ac_ext <<_ACEOF
12245 #ifndef __cplusplus
12249 rm -f conftest.
$ac_objext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12251 (eval $ac_compile) 2>conftest.er1
12253 grep -v '^ *+' conftest.er1
>conftest.err
12255 cat conftest.err
>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try
='test -s conftest.$ac_objext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 for ac_declaration
in \
12272 'extern "C" void std::exit (int) throw (); using std::exit;' \
12273 'extern "C" void std::exit (int); using std::exit;' \
12274 'extern "C" void exit (int) throw ();' \
12275 'extern "C" void exit (int);' \
12278 cat >conftest.
$ac_ext <<_ACEOF
12281 cat confdefs.h
>>conftest.
$ac_ext
12282 cat >>conftest.
$ac_ext <<_ACEOF
12283 /* end confdefs.h. */
12285 #include <stdlib.h>
12294 rm -f conftest.
$ac_objext
12295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12296 (eval $ac_compile) 2>conftest.er1
12298 grep -v '^ *+' conftest.er1
>conftest.err
12300 cat conftest.err
>&5
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); } &&
12303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305 (eval $ac_try) 2>&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); }; } &&
12309 { ac_try
='test -s conftest.$ac_objext'
12310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12311 (eval $ac_try) 2>&5
12313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12314 (exit $ac_status); }; }; then
12317 echo "$as_me: failed program was:" >&5
12318 sed 's/^/| /' conftest.
$ac_ext >&5
12322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12323 cat >conftest.
$ac_ext <<_ACEOF
12326 cat confdefs.h
>>conftest.
$ac_ext
12327 cat >>conftest.
$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12338 rm -f conftest.
$ac_objext
12339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12340 (eval $ac_compile) 2>conftest.er1
12342 grep -v '^ *+' conftest.er1
>conftest.err
12344 cat conftest.err
>&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); } &&
12347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12349 (eval $ac_try) 2>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); }; } &&
12353 { ac_try
='test -s conftest.$ac_objext'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; }; then
12361 echo "$as_me: failed program was:" >&5
12362 sed 's/^/| /' conftest.
$ac_ext >&5
12365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12368 if test -n "$ac_declaration"; then
12369 echo '#ifdef __cplusplus' >>confdefs.h
12370 echo $ac_declaration >>confdefs.h
12371 echo '#endif' >>confdefs.h
12375 echo "$as_me: failed program was:" >&5
12376 sed 's/^/| /' conftest.
$ac_ext >&5
12379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12381 ac_cpp
='$CPP $CPPFLAGS'
12382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12389 ac_cpp
='$CPP $CPPFLAGS'
12390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12394 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12395 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12396 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 cat >conftest.
$ac_ext <<_ACEOF
12402 cat confdefs.h
>>conftest.
$ac_ext
12403 cat >>conftest.
$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12410 #ifndef __INTEL_COMPILER
12418 rm -f conftest.
$ac_objext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12420 (eval $ac_compile) 2>conftest.er1
12422 grep -v '^ *+' conftest.er1
>conftest.err
12424 cat conftest.err
>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } &&
12427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; } &&
12433 { ac_try
='test -s conftest.$ac_objext'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12439 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.
$ac_ext >&5
12444 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12451 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12452 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12454 ac_cpp
='$CPP $CPPFLAGS'
12455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12459 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12466 if test "x$GCC" != "xyes"; then
12467 if test "xCC" = "xC"; then
12468 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12469 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12470 if test "${bakefile_cv_c_exto+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 cat >conftest.
$ac_ext <<_ACEOF
12476 cat confdefs.h
>>conftest.
$ac_ext
12477 cat >>conftest.
$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12488 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12490 (eval $ac_compile) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; then
12494 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12496 conftest.
$ac_ext.o
)
12497 bakefile_cv_c_exto
="-ext o"
12504 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12505 See \`config.log' for more details." >&5
12506 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12507 See \`config.log' for more details." >&2;}
12508 { (exit 1); exit 1; }; }
12512 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12515 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12516 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12517 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12518 if test "c" = "c"; then
12519 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12521 if test "c" = "cxx"; then
12522 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12526 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12527 unset ac_cv_prog_cc_g
12528 ac_test_CFLAGS
=${CFLAGS+set}
12529 ac_save_CFLAGS
=$CFLAGS
12531 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12532 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12533 if test "${ac_cv_prog_cc_g+set}" = set; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 cat >conftest.
$ac_ext <<_ACEOF
12539 cat confdefs.h
>>conftest.
$ac_ext
12540 cat >>conftest.
$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12551 rm -f conftest.
$ac_objext
12552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12553 (eval $ac_compile) 2>conftest.er1
12555 grep -v '^ *+' conftest.er1
>conftest.err
12557 cat conftest.err
>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } &&
12560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; } &&
12566 { ac_try
='test -s conftest.$ac_objext'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; }; then
12572 ac_cv_prog_cc_g
=yes
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.
$ac_ext >&5
12579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12581 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12582 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12583 if test "$ac_test_CFLAGS" = set; then
12584 CFLAGS
=$ac_save_CFLAGS
12585 elif test $ac_cv_prog_cc_g = yes; then
12586 if test "$GCC" = yes; then
12592 if test "$GCC" = yes; then
12604 ac_cpp
='$CPP $CPPFLAGS'
12605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12609 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12610 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12611 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 cat >conftest.
$ac_ext <<_ACEOF
12617 cat confdefs.h
>>conftest.
$ac_ext
12618 cat >>conftest.
$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12632 rm -f conftest.
$ac_objext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12634 (eval $ac_compile) 2>conftest.er1
12636 grep -v '^ *+' conftest.er1
>conftest.err
12638 cat conftest.err
>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } &&
12641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; } &&
12647 { ac_try
='test -s conftest.$ac_objext'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; }; then
12653 bakefile_compiler_xlc
=yes
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.
$ac_ext >&5
12658 bakefile_compiler_xlc
=no
12660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12661 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12664 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12665 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12667 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12669 ac_cpp
='$CPP $CPPFLAGS'
12670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12679 ac_cpp
='$CPP $CPPFLAGS'
12680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12684 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12685 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12686 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 cat >conftest.
$ac_ext <<_ACEOF
12692 cat confdefs.h
>>conftest.
$ac_ext
12693 cat >>conftest.
$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12707 rm -f conftest.
$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>conftest.er1
12711 grep -v '^ *+' conftest.er1
>conftest.err
12713 cat conftest.err
>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } &&
12716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; } &&
12722 { ac_try
='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 bakefile_compiler_mwerks
=yes
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.
$ac_ext >&5
12733 bakefile_compiler_mwerks
=no
12735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12736 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12739 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12740 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12742 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12744 ac_cpp
='$CPP $CPPFLAGS'
12745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12751 ac_cpp
='$CPP $CPPFLAGS'
12752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12756 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12757 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12758 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12759 echo $ECHO_N "(cached) $ECHO_C" >&6
12761 cat >conftest.
$ac_ext <<_ACEOF
12764 cat confdefs.h
>>conftest.
$ac_ext
12765 cat >>conftest.
$ac_ext <<_ACEOF
12766 /* end confdefs.h. */
12779 rm -f conftest.
$ac_objext
12780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12781 (eval $ac_compile) 2>conftest.er1
12783 grep -v '^ *+' conftest.er1
>conftest.err
12785 cat conftest.err
>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); } &&
12788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; } &&
12794 { ac_try
='test -s conftest.$ac_objext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796 (eval $ac_try) 2>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); }; }; then
12800 bakefile_compiler_xlc
=yes
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.
$ac_ext >&5
12805 bakefile_compiler_xlc
=no
12807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12808 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12811 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12812 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12814 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12816 ac_cpp
='$CPP $CPPFLAGS'
12817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12828 ac_cpp
='$CPP $CPPFLAGS'
12829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12833 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12834 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12835 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12836 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 cat >conftest.
$ac_ext <<_ACEOF
12841 cat confdefs.h
>>conftest.
$ac_ext
12842 cat >>conftest.
$ac_ext <<_ACEOF
12843 /* end confdefs.h. */
12849 #ifndef _SGI_COMPILER_VERSION
12857 rm -f conftest.
$ac_objext
12858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12859 (eval $ac_compile) 2>conftest.er1
12861 grep -v '^ *+' conftest.er1
>conftest.err
12863 cat conftest.err
>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); } &&
12866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12868 (eval $ac_try) 2>&5
12870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); }; } &&
12872 { ac_try
='test -s conftest.$ac_objext'
12873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12874 (eval $ac_try) 2>&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); }; }; then
12878 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.
$ac_ext >&5
12883 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12890 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12891 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12893 ac_cpp
='$CPP $CPPFLAGS'
12894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12898 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12911 ac_cpp
='$CPP $CPPFLAGS'
12912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12916 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12917 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12918 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12921 cat >conftest.
$ac_ext <<_ACEOF
12924 cat confdefs.h
>>conftest.
$ac_ext
12925 cat >>conftest.
$ac_ext <<_ACEOF
12926 /* end confdefs.h. */
12940 rm -f conftest.
$ac_objext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>conftest.er1
12944 grep -v '^ *+' conftest.er1
>conftest.err
12946 cat conftest.err
>&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); } &&
12949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12951 (eval $ac_try) 2>&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); }; } &&
12955 { ac_try
='test -s conftest.$ac_objext'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; }; then
12961 bakefile_cv_c_compiler___HP_cc
=yes
12963 echo "$as_me: failed program was:" >&5
12964 sed 's/^/| /' conftest.
$ac_ext >&5
12966 bakefile_cv_c_compiler___HP_cc
=no
12969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12973 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12974 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12976 ac_cpp
='$CPP $CPPFLAGS'
12977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12981 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12994 ac_cpp
='$CPP $CPPFLAGS'
12995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12999 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13000 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13001 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 cat >conftest.
$ac_ext <<_ACEOF
13007 cat confdefs.h
>>conftest.
$ac_ext
13008 cat >>conftest.
$ac_ext <<_ACEOF
13009 /* end confdefs.h. */
13023 rm -f conftest.
$ac_objext
13024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13025 (eval $ac_compile) 2>conftest.er1
13027 grep -v '^ *+' conftest.er1
>conftest.err
13029 cat conftest.err
>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } &&
13032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034 (eval $ac_try) 2>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); }; } &&
13038 { ac_try
='test -s conftest.$ac_objext'
13039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13040 (eval $ac_try) 2>&5
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); }; }; then
13044 bakefile_cv_c_compiler___DECC
=yes
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.
$ac_ext >&5
13049 bakefile_cv_c_compiler___DECC
=no
13052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13056 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13057 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13059 ac_cpp
='$CPP $CPPFLAGS'
13060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13064 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13077 ac_cpp
='$CPP $CPPFLAGS'
13078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13082 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13083 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13084 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 cat >conftest.
$ac_ext <<_ACEOF
13090 cat confdefs.h
>>conftest.
$ac_ext
13091 cat >>conftest.
$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13106 rm -f conftest.
$ac_objext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13108 (eval $ac_compile) 2>conftest.er1
13110 grep -v '^ *+' conftest.er1
>conftest.err
13112 cat conftest.err
>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; } &&
13121 { ac_try
='test -s conftest.$ac_objext'
13122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123 (eval $ac_try) 2>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; }; then
13127 bakefile_cv_c_compiler___SUNPRO_C
=yes
13129 echo "$as_me: failed program was:" >&5
13130 sed 's/^/| /' conftest.
$ac_ext >&5
13132 bakefile_cv_c_compiler___SUNPRO_C
=no
13135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13139 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13140 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13142 ac_cpp
='$CPP $CPPFLAGS'
13143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13147 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13161 ac_cpp
='$CPP $CPPFLAGS'
13162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13165 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13166 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13167 # On Suns, sometimes $CPP names a directory.
13168 if test -n "$CPP" && test -d "$CPP"; then
13171 if test -z "$CPP"; then
13172 if test "${ac_cv_prog_CPP+set}" = set; then
13173 echo $ECHO_N "(cached) $ECHO_C" >&6
13175 # Double quotes because CPP needs to be expanded
13176 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13178 ac_preproc_ok
=false
13179 for ac_c_preproc_warn_flag
in '' yes
13181 # Use a header file that comes with gcc, so configuring glibc
13182 # with a fresh cross-compiler works.
13183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13184 # <limits.h> exists even on freestanding compilers.
13185 # On the NeXT, cc -E runs the code through the compiler's parser,
13186 # not just through cpp. "Syntax error" is here to catch this case.
13187 cat >conftest.
$ac_ext <<_ACEOF
13190 cat confdefs.h
>>conftest.
$ac_ext
13191 cat >>conftest.
$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13194 # include <limits.h>
13196 # include <assert.h>
13200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13203 grep -v '^ *+' conftest.er1
>conftest.err
13205 cat conftest.err
>&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); } >/dev
/null
; then
13208 if test -s conftest.err
; then
13209 ac_cpp_err
=$ac_c_preproc_warn_flag
13210 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13217 if test -z "$ac_cpp_err"; then
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.
$ac_ext >&5
13223 # Broken: fails on valid input.
13226 rm -f conftest.err conftest.
$ac_ext
13228 # OK, works on sane cases. Now check whether non-existent headers
13229 # can be detected and how.
13230 cat >conftest.
$ac_ext <<_ACEOF
13233 cat confdefs.h
>>conftest.
$ac_ext
13234 cat >>conftest.
$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13236 #include <ac_nonexistent.h>
13238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13241 grep -v '^ *+' conftest.er1
>conftest.err
13243 cat conftest.err
>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); } >/dev
/null
; then
13246 if test -s conftest.err
; then
13247 ac_cpp_err
=$ac_c_preproc_warn_flag
13248 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13255 if test -z "$ac_cpp_err"; then
13256 # Broken: success on invalid input.
13259 echo "$as_me: failed program was:" >&5
13260 sed 's/^/| /' conftest.
$ac_ext >&5
13262 # Passes both tests.
13266 rm -f conftest.err conftest.
$ac_ext
13269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13270 rm -f conftest.err conftest.
$ac_ext
13271 if $ac_preproc_ok; then
13276 ac_cv_prog_CPP
=$CPP
13279 CPP
=$ac_cv_prog_CPP
13281 ac_cv_prog_CPP
=$CPP
13283 echo "$as_me:$LINENO: result: $CPP" >&5
13284 echo "${ECHO_T}$CPP" >&6
13285 ac_preproc_ok
=false
13286 for ac_c_preproc_warn_flag
in '' yes
13288 # Use a header file that comes with gcc, so configuring glibc
13289 # with a fresh cross-compiler works.
13290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13291 # <limits.h> exists even on freestanding compilers.
13292 # On the NeXT, cc -E runs the code through the compiler's parser,
13293 # not just through cpp. "Syntax error" is here to catch this case.
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13301 # include <limits.h>
13303 # include <assert.h>
13307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13310 grep -v '^ *+' conftest.er1
>conftest.err
13312 cat conftest.err
>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } >/dev
/null
; then
13315 if test -s conftest.err
; then
13316 ac_cpp_err
=$ac_c_preproc_warn_flag
13317 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13324 if test -z "$ac_cpp_err"; then
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.
$ac_ext >&5
13330 # Broken: fails on valid input.
13333 rm -f conftest.err conftest.
$ac_ext
13335 # OK, works on sane cases. Now check whether non-existent headers
13336 # can be detected and how.
13337 cat >conftest.
$ac_ext <<_ACEOF
13340 cat confdefs.h
>>conftest.
$ac_ext
13341 cat >>conftest.
$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13343 #include <ac_nonexistent.h>
13345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13348 grep -v '^ *+' conftest.er1
>conftest.err
13350 cat conftest.err
>&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } >/dev
/null
; then
13353 if test -s conftest.err
; then
13354 ac_cpp_err
=$ac_c_preproc_warn_flag
13355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13362 if test -z "$ac_cpp_err"; then
13363 # Broken: success on invalid input.
13366 echo "$as_me: failed program was:" >&5
13367 sed 's/^/| /' conftest.
$ac_ext >&5
13369 # Passes both tests.
13373 rm -f conftest.err conftest.
$ac_ext
13376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13377 rm -f conftest.err conftest.
$ac_ext
13378 if $ac_preproc_ok; then
13381 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13382 See \`config.log' for more details." >&5
13383 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13384 See \`config.log' for more details." >&2;}
13385 { (exit 1); exit 1; }; }
13389 ac_cpp
='$CPP $CPPFLAGS'
13390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13395 echo "$as_me:$LINENO: checking for egrep" >&5
13396 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13397 if test "${ac_cv_prog_egrep+set}" = set; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13401 then ac_cv_prog_egrep
='grep -E'
13402 else ac_cv_prog_egrep
='egrep'
13405 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13406 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13407 EGREP
=$ac_cv_prog_egrep
13410 if test $ac_cv_c_compiler_gnu = yes; then
13411 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13412 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13413 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13414 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 ac_pattern
="Autoconf.*'x'"
13417 cat >conftest.
$ac_ext <<_ACEOF
13420 cat confdefs.h
>>conftest.
$ac_ext
13421 cat >>conftest.
$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13427 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13428 ac_cv_prog_gcc_traditional
=yes
13430 ac_cv_prog_gcc_traditional
=no
13435 if test $ac_cv_prog_gcc_traditional = no
; then
13436 cat >conftest.
$ac_ext <<_ACEOF
13439 cat confdefs.h
>>conftest.
$ac_ext
13440 cat >>conftest.
$ac_ext <<_ACEOF
13441 /* end confdefs.h. */
13442 #include <termio.h>
13445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13446 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13447 ac_cv_prog_gcc_traditional
=yes
13453 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13454 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13455 if test $ac_cv_prog_gcc_traditional = yes; then
13456 CC
="$CC -traditional"
13462 ac_cpp
='$CXXCPP $CPPFLAGS'
13463 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13465 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13468 CXXFLAGS
=${CXXFLAGS:=}
13473 ac_cpp
='$CXXCPP $CPPFLAGS'
13474 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13475 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13476 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13477 if test -n "$ac_tool_prefix"; then
13478 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13480 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13481 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13482 echo "$as_me:$LINENO: checking for $ac_word" >&5
13483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13484 if test "${ac_cv_prog_CXX+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13487 if test -n "$CXX"; then
13488 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13491 for as_dir
in $PATH
13494 test -z "$as_dir" && as_dir
=.
13495 for ac_exec_ext
in '' $ac_executable_extensions; do
13496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13497 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13506 CXX
=$ac_cv_prog_CXX
13507 if test -n "$CXX"; then
13508 echo "$as_me:$LINENO: result: $CXX" >&5
13509 echo "${ECHO_T}$CXX" >&6
13511 echo "$as_me:$LINENO: result: no" >&5
13512 echo "${ECHO_T}no" >&6
13515 test -n "$CXX" && break
13518 if test -z "$CXX"; then
13520 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13522 # Extract the first word of "$ac_prog", so it can be a program name with args.
13523 set dummy
$ac_prog; ac_word
=$2
13524 echo "$as_me:$LINENO: checking for $ac_word" >&5
13525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13526 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 if test -n "$ac_ct_CXX"; then
13530 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13533 for as_dir
in $PATH
13536 test -z "$as_dir" && as_dir
=.
13537 for ac_exec_ext
in '' $ac_executable_extensions; do
13538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13539 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13548 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13549 if test -n "$ac_ct_CXX"; then
13550 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13551 echo "${ECHO_T}$ac_ct_CXX" >&6
13553 echo "$as_me:$LINENO: result: no" >&5
13554 echo "${ECHO_T}no" >&6
13557 test -n "$ac_ct_CXX" && break
13559 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13565 # Provide some information about the compiler.
13566 echo "$as_me:$LINENO:" \
13567 "checking for C++ compiler version" >&5
13568 ac_compiler
=`set X $ac_compile; echo $2`
13569 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13570 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); }
13574 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13575 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); }
13579 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13580 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); }
13585 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13586 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13587 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 cat >conftest.
$ac_ext <<_ACEOF
13593 cat confdefs.h
>>conftest.
$ac_ext
13594 cat >>conftest.
$ac_ext <<_ACEOF
13595 /* end confdefs.h. */
13608 rm -f conftest.
$ac_objext
13609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13610 (eval $ac_compile) 2>conftest.er1
13612 grep -v '^ *+' conftest.er1
>conftest.err
13614 cat conftest.err
>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; } &&
13623 { ac_try
='test -s conftest.$ac_objext'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; }; then
13629 ac_compiler_gnu
=yes
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.
$ac_ext >&5
13636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13637 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13640 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13641 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13642 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13643 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13644 ac_save_CXXFLAGS
=$CXXFLAGS
13646 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13647 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13648 if test "${ac_cv_prog_cxx_g+set}" = set; then
13649 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 cat >conftest.
$ac_ext <<_ACEOF
13654 cat confdefs.h
>>conftest.
$ac_ext
13655 cat >>conftest.
$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13666 rm -f conftest.
$ac_objext
13667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13668 (eval $ac_compile) 2>conftest.er1
13670 grep -v '^ *+' conftest.er1
>conftest.err
13672 cat conftest.err
>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; } &&
13681 { ac_try
='test -s conftest.$ac_objext'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; }; then
13687 ac_cv_prog_cxx_g
=yes
13689 echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.
$ac_ext >&5
13692 ac_cv_prog_cxx_g
=no
13694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13696 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13697 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13698 if test "$ac_test_CXXFLAGS" = set; then
13699 CXXFLAGS
=$ac_save_CXXFLAGS
13700 elif test $ac_cv_prog_cxx_g = yes; then
13701 if test "$GXX" = yes; then
13707 if test "$GXX" = yes; then
13713 for ac_declaration
in \
13715 'extern "C" void std::exit (int) throw (); using std::exit;' \
13716 'extern "C" void std::exit (int); using std::exit;' \
13717 'extern "C" void exit (int) throw ();' \
13718 'extern "C" void exit (int);' \
13721 cat >conftest.
$ac_ext <<_ACEOF
13724 cat confdefs.h
>>conftest.
$ac_ext
13725 cat >>conftest.
$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13728 #include <stdlib.h>
13737 rm -f conftest.
$ac_objext
13738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13739 (eval $ac_compile) 2>conftest.er1
13741 grep -v '^ *+' conftest.er1
>conftest.err
13743 cat conftest.err
>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } &&
13746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; } &&
13752 { ac_try
='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13760 echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.
$ac_ext >&5
13765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13766 cat >conftest.
$ac_ext <<_ACEOF
13769 cat confdefs.h
>>conftest.
$ac_ext
13770 cat >>conftest.
$ac_ext <<_ACEOF
13771 /* end confdefs.h. */
13781 rm -f conftest.
$ac_objext
13782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13783 (eval $ac_compile) 2>conftest.er1
13785 grep -v '^ *+' conftest.er1
>conftest.err
13787 cat conftest.err
>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } &&
13790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13792 (eval $ac_try) 2>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); }; } &&
13796 { ac_try
='test -s conftest.$ac_objext'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; }; then
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.
$ac_ext >&5
13808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13811 if test -n "$ac_declaration"; then
13812 echo '#ifdef __cplusplus' >>confdefs.h
13813 echo $ac_declaration >>confdefs.h
13814 echo '#endif' >>confdefs.h
13818 ac_cpp
='$CXXCPP $CPPFLAGS'
13819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13826 ac_cpp
='$CXXCPP $CPPFLAGS'
13827 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13828 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13831 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13832 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13833 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13834 echo $ECHO_N "(cached) $ECHO_C" >&6
13836 cat >conftest.
$ac_ext <<_ACEOF
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13847 #ifndef __INTEL_COMPILER
13855 rm -f conftest.
$ac_objext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>conftest.er1
13859 grep -v '^ *+' conftest.er1
>conftest.err
13861 cat conftest.err
>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 (eval $ac_try) 2>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; } &&
13870 { ac_try
='test -s conftest.$ac_objext'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; }; then
13876 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.
$ac_ext >&5
13881 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13888 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13889 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
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 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13903 if test "x$GCXX" != "xyes"; then
13904 if test "xCXX" = "xC"; then
13905 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13906 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13907 if test "${bakefile_cv_cxx_exto+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 cat >conftest.
$ac_ext <<_ACEOF
13913 cat confdefs.h
>>conftest.
$ac_ext
13914 cat >>conftest.
$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13925 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13927 (eval $ac_compile) 2>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; then
13931 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13933 conftest.
$ac_ext.o
)
13934 bakefile_cv_cxx_exto
="-ext o"
13941 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13942 See \`config.log' for more details." >&5
13943 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13944 See \`config.log' for more details." >&2;}
13945 { (exit 1); exit 1; }; }
13949 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13952 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13953 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13954 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13955 if test "cxx" = "c"; then
13956 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13958 if test "cxx" = "cxx"; then
13959 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13963 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13964 unset ac_cv_prog_cc_g
13965 ac_test_CFLAGS
=${CFLAGS+set}
13966 ac_save_CFLAGS
=$CFLAGS
13968 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13969 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13970 if test "${ac_cv_prog_cc_g+set}" = set; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 cat >conftest.
$ac_ext <<_ACEOF
13976 cat confdefs.h
>>conftest.
$ac_ext
13977 cat >>conftest.
$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13988 rm -f conftest.
$ac_objext
13989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13990 (eval $ac_compile) 2>conftest.er1
13992 grep -v '^ *+' conftest.er1
>conftest.err
13994 cat conftest.err
>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); } &&
13997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13999 (eval $ac_try) 2>&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); }; } &&
14003 { ac_try
='test -s conftest.$ac_objext'
14004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005 (eval $ac_try) 2>&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); }; }; then
14009 ac_cv_prog_cc_g
=yes
14011 echo "$as_me: failed program was:" >&5
14012 sed 's/^/| /' conftest.
$ac_ext >&5
14016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14018 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14019 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14020 if test "$ac_test_CFLAGS" = set; then
14021 CFLAGS
=$ac_save_CFLAGS
14022 elif test $ac_cv_prog_cc_g = yes; then
14023 if test "$GCC" = yes; then
14029 if test "$GCC" = yes; then
14041 ac_cpp
='$CXXCPP $CPPFLAGS'
14042 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14043 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14044 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14046 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14047 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14048 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 cat >conftest.
$ac_ext <<_ACEOF
14054 cat confdefs.h
>>conftest.
$ac_ext
14055 cat >>conftest.
$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14069 rm -f conftest.
$ac_objext
14070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071 (eval $ac_compile) 2>conftest.er1
14073 grep -v '^ *+' conftest.er1
>conftest.err
14075 cat conftest.err
>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } &&
14078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; } &&
14084 { ac_try
='test -s conftest.$ac_objext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14090 bakefile_compiler_xlc
=yes
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.
$ac_ext >&5
14095 bakefile_compiler_xlc
=no
14097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14098 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14101 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14102 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14104 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14106 ac_cpp
='$CXXCPP $CPPFLAGS'
14107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14116 ac_cpp
='$CXXCPP $CPPFLAGS'
14117 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14118 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14119 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14121 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14122 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14123 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14124 echo $ECHO_N "(cached) $ECHO_C" >&6
14126 cat >conftest.
$ac_ext <<_ACEOF
14129 cat confdefs.h
>>conftest.
$ac_ext
14130 cat >>conftest.
$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14144 rm -f conftest.
$ac_objext
14145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14146 (eval $ac_compile) 2>conftest.er1
14148 grep -v '^ *+' conftest.er1
>conftest.err
14150 cat conftest.err
>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } &&
14153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; } &&
14159 { ac_try
='test -s conftest.$ac_objext'
14160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14161 (eval $ac_try) 2>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); }; }; then
14165 bakefile_compiler_mwerks
=yes
14167 echo "$as_me: failed program was:" >&5
14168 sed 's/^/| /' conftest.
$ac_ext >&5
14170 bakefile_compiler_mwerks
=no
14172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14173 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14176 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14177 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14179 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14181 ac_cpp
='$CXXCPP $CPPFLAGS'
14182 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14183 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14184 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14188 ac_cpp
='$CXXCPP $CPPFLAGS'
14189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14193 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14194 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14195 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 cat >conftest.
$ac_ext <<_ACEOF
14201 cat confdefs.h
>>conftest.
$ac_ext
14202 cat >>conftest.
$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14216 rm -f conftest.
$ac_objext
14217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14218 (eval $ac_compile) 2>conftest.er1
14220 grep -v '^ *+' conftest.er1
>conftest.err
14222 cat conftest.err
>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); } &&
14225 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; } &&
14231 { ac_try
='test -s conftest.$ac_objext'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 bakefile_compiler_xlc
=yes
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.
$ac_ext >&5
14242 bakefile_compiler_xlc
=no
14244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14245 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14248 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14249 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14251 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14253 ac_cpp
='$CXXCPP $CPPFLAGS'
14254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14265 ac_cpp
='$CXXCPP $CPPFLAGS'
14266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14270 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14271 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14272 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 cat >conftest.
$ac_ext <<_ACEOF
14278 cat confdefs.h
>>conftest.
$ac_ext
14279 cat >>conftest.
$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14286 #ifndef _SGI_COMPILER_VERSION
14294 rm -f conftest.
$ac_objext
14295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14296 (eval $ac_compile) 2>conftest.er1
14298 grep -v '^ *+' conftest.er1
>conftest.err
14300 cat conftest.err
>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); } &&
14303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305 (eval $ac_try) 2>&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); }; } &&
14309 { ac_try
='test -s conftest.$ac_objext'
14310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14311 (eval $ac_try) 2>&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); }; }; then
14315 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14317 echo "$as_me: failed program was:" >&5
14318 sed 's/^/| /' conftest.
$ac_ext >&5
14320 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14327 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14328 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14330 ac_cpp
='$CXXCPP $CPPFLAGS'
14331 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14332 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14333 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14335 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14348 ac_cpp
='$CXXCPP $CPPFLAGS'
14349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14353 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14354 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14355 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 cat >conftest.
$ac_ext <<_ACEOF
14361 cat confdefs.h
>>conftest.
$ac_ext
14362 cat >>conftest.
$ac_ext <<_ACEOF
14363 /* end confdefs.h. */
14377 rm -f conftest.
$ac_objext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14379 (eval $ac_compile) 2>conftest.er1
14381 grep -v '^ *+' conftest.er1
>conftest.err
14383 cat conftest.err
>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; } &&
14392 { ac_try
='test -s conftest.$ac_objext'
14393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14394 (eval $ac_try) 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }; }; then
14398 bakefile_cv_cxx_compiler___HP_aCC
=yes
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.
$ac_ext >&5
14403 bakefile_cv_cxx_compiler___HP_aCC
=no
14406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14410 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14411 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14413 ac_cpp
='$CXXCPP $CPPFLAGS'
14414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14418 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14431 ac_cpp
='$CXXCPP $CPPFLAGS'
14432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14436 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14437 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14438 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 cat >conftest.
$ac_ext <<_ACEOF
14444 cat confdefs.h
>>conftest.
$ac_ext
14445 cat >>conftest.
$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14460 rm -f conftest.
$ac_objext
14461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14462 (eval $ac_compile) 2>conftest.er1
14464 grep -v '^ *+' conftest.er1
>conftest.err
14466 cat conftest.err
>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); } &&
14469 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 (eval $ac_try) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; } &&
14475 { ac_try
='test -s conftest.$ac_objext'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; }; then
14481 bakefile_cv_cxx_compiler___DECCXX
=yes
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.
$ac_ext >&5
14486 bakefile_cv_cxx_compiler___DECCXX
=no
14489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14493 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14494 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14496 ac_cpp
='$CXXCPP $CPPFLAGS'
14497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14501 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14514 ac_cpp
='$CXXCPP $CPPFLAGS'
14515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14519 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14520 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14521 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 cat >conftest.
$ac_ext <<_ACEOF
14527 cat confdefs.h
>>conftest.
$ac_ext
14528 cat >>conftest.
$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14535 #ifndef __SUNPRO_CC
14543 rm -f conftest.
$ac_objext
14544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14545 (eval $ac_compile) 2>conftest.er1
14547 grep -v '^ *+' conftest.er1
>conftest.err
14549 cat conftest.err
>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); } &&
14552 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14554 (eval $ac_try) 2>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); }; } &&
14558 { ac_try
='test -s conftest.$ac_objext'
14559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14560 (eval $ac_try) 2>&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); }; }; then
14564 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14566 echo "$as_me: failed program was:" >&5
14567 sed 's/^/| /' conftest.
$ac_ext >&5
14569 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14576 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14577 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14579 ac_cpp
='$CXXCPP $CPPFLAGS'
14580 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14581 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14582 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14584 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14597 if test -n "$ac_tool_prefix"; then
14598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14599 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14600 echo "$as_me:$LINENO: checking for $ac_word" >&5
14601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14602 if test "${ac_cv_prog_RANLIB+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 if test -n "$RANLIB"; then
14606 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14609 for as_dir
in $PATH
14612 test -z "$as_dir" && as_dir
=.
14613 for ac_exec_ext
in '' $ac_executable_extensions; do
14614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14615 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14624 RANLIB
=$ac_cv_prog_RANLIB
14625 if test -n "$RANLIB"; then
14626 echo "$as_me:$LINENO: result: $RANLIB" >&5
14627 echo "${ECHO_T}$RANLIB" >&6
14629 echo "$as_me:$LINENO: result: no" >&5
14630 echo "${ECHO_T}no" >&6
14634 if test -z "$ac_cv_prog_RANLIB"; then
14635 ac_ct_RANLIB
=$RANLIB
14636 # Extract the first word of "ranlib", so it can be a program name with args.
14637 set dummy ranlib
; ac_word
=$2
14638 echo "$as_me:$LINENO: checking for $ac_word" >&5
14639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14640 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14643 if test -n "$ac_ct_RANLIB"; then
14644 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14647 for as_dir
in $PATH
14650 test -z "$as_dir" && as_dir
=.
14651 for ac_exec_ext
in '' $ac_executable_extensions; do
14652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14653 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14660 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14663 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14664 if test -n "$ac_ct_RANLIB"; then
14665 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14666 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14668 echo "$as_me:$LINENO: result: no" >&5
14669 echo "${ECHO_T}no" >&6
14672 RANLIB
=$ac_ct_RANLIB
14674 RANLIB
="$ac_cv_prog_RANLIB"
14678 if test -n "$ac_tool_prefix"; then
14679 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14680 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14681 echo "$as_me:$LINENO: checking for $ac_word" >&5
14682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14683 if test "${ac_cv_prog_AR+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 if test -n "$AR"; then
14687 ac_cv_prog_AR
="$AR" # Let the user override the test.
14689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14690 for as_dir
in $PATH
14693 test -z "$as_dir" && as_dir
=.
14694 for ac_exec_ext
in '' $ac_executable_extensions; do
14695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14696 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14706 if test -n "$AR"; then
14707 echo "$as_me:$LINENO: result: $AR" >&5
14708 echo "${ECHO_T}$AR" >&6
14710 echo "$as_me:$LINENO: result: no" >&5
14711 echo "${ECHO_T}no" >&6
14715 if test -z "$ac_cv_prog_AR"; then
14717 # Extract the first word of "ar", so it can be a program name with args.
14718 set dummy
ar; ac_word
=$2
14719 echo "$as_me:$LINENO: checking for $ac_word" >&5
14720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14721 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 if test -n "$ac_ct_AR"; then
14725 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14728 for as_dir
in $PATH
14731 test -z "$as_dir" && as_dir
=.
14732 for ac_exec_ext
in '' $ac_executable_extensions; do
14733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14734 ac_cv_prog_ac_ct_AR
="ar"
14735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14743 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14744 if test -n "$ac_ct_AR"; then
14745 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14746 echo "${ECHO_T}$ac_ct_AR" >&6
14748 echo "$as_me:$LINENO: result: no" >&5
14749 echo "${ECHO_T}no" >&6
14754 AR
="$ac_cv_prog_AR"
14757 if test "x$AR" = "x" ; then
14758 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14759 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14760 { (exit 1); exit 1; }; }
14763 # Find a good install program. We prefer a C program (faster),
14764 # so one script is as good as another. But avoid the broken or
14765 # incompatible versions:
14766 # SysV /etc/install, /usr/sbin/install
14767 # SunOS /usr/etc/install
14768 # IRIX /sbin/install
14770 # AmigaOS /C/install, which installs bootblocks on floppy discs
14771 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14772 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14773 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14774 # OS/2's system install, which has a completely different semantic
14775 # ./install, which can be erroneously created by make from ./install.sh.
14776 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14777 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14778 if test -z "$INSTALL"; then
14779 if test "${ac_cv_path_install+set}" = set; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14783 for as_dir
in $PATH
14786 test -z "$as_dir" && as_dir
=.
14787 # Account for people who put trailing slashes in PATH elements.
14789 .
/ | .
// | /cC
/* | \
14790 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14791 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14794 # OSF1 and SCO ODT 3.0 have their own names for install.
14795 # Don't use installbsd from OSF since it installs stuff as root
14797 for ac_prog
in ginstall scoinst
install; do
14798 for ac_exec_ext
in '' $ac_executable_extensions; do
14799 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14800 if test $ac_prog = install &&
14801 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14802 # AIX install. It has an incompatible calling convention.
14804 elif test $ac_prog = install &&
14805 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14806 # program-specific install script used by HP pwplus--don't use.
14809 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14821 if test "${ac_cv_path_install+set}" = set; then
14822 INSTALL
=$ac_cv_path_install
14824 # As a last resort, use the slow shell script. We don't cache a
14825 # path for INSTALL within a source directory, because that will
14826 # break other packages using the cache if that directory is
14827 # removed, or if the path is relative.
14828 INSTALL
=$ac_install_sh
14831 echo "$as_me:$LINENO: result: $INSTALL" >&5
14832 echo "${ECHO_T}$INSTALL" >&6
14834 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14835 # It thinks the first close brace ends the variable substitution.
14836 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14838 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14840 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14846 ?
:* ) # Drive letter, considered as absolute.
14849 INSTALL
=`pwd`/${INSTALL} ;;
14856 INSTALL_PROGRAM
="cp -fp"
14857 INSTALL_DATA
="cp -fp"
14863 if test -n "$ac_tool_prefix"; then
14864 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14865 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14866 echo "$as_me:$LINENO: checking for $ac_word" >&5
14867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14868 if test "${ac_cv_prog_STRIP+set}" = set; then
14869 echo $ECHO_N "(cached) $ECHO_C" >&6
14871 if test -n "$STRIP"; then
14872 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14875 for as_dir
in $PATH
14878 test -z "$as_dir" && as_dir
=.
14879 for ac_exec_ext
in '' $ac_executable_extensions; do
14880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14881 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14890 STRIP
=$ac_cv_prog_STRIP
14891 if test -n "$STRIP"; then
14892 echo "$as_me:$LINENO: result: $STRIP" >&5
14893 echo "${ECHO_T}$STRIP" >&6
14895 echo "$as_me:$LINENO: result: no" >&5
14896 echo "${ECHO_T}no" >&6
14900 if test -z "$ac_cv_prog_STRIP"; then
14902 # Extract the first word of "strip", so it can be a program name with args.
14903 set dummy strip
; ac_word
=$2
14904 echo "$as_me:$LINENO: checking for $ac_word" >&5
14905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14906 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 if test -n "$ac_ct_STRIP"; then
14910 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14913 for as_dir
in $PATH
14916 test -z "$as_dir" && as_dir
=.
14917 for ac_exec_ext
in '' $ac_executable_extensions; do
14918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14919 ac_cv_prog_ac_ct_STRIP
="strip"
14920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14926 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14929 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14930 if test -n "$ac_ct_STRIP"; then
14931 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14932 echo "${ECHO_T}$ac_ct_STRIP" >&6
14934 echo "$as_me:$LINENO: result: no" >&5
14935 echo "${ECHO_T}no" >&6
14940 STRIP
="$ac_cv_prog_STRIP"
14944 if test "$wxUSE_WINE" = "yes"; then
14945 if test -n "$ac_tool_prefix"; then
14946 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14947 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14948 echo "$as_me:$LINENO: checking for $ac_word" >&5
14949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14950 if test "${ac_cv_prog_WINDRES+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14953 if test -n "$WINDRES"; then
14954 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14957 for as_dir
in $PATH
14960 test -z "$as_dir" && as_dir
=.
14961 for ac_exec_ext
in '' $ac_executable_extensions; do
14962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14963 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14972 WINDRES
=$ac_cv_prog_WINDRES
14973 if test -n "$WINDRES"; then
14974 echo "$as_me:$LINENO: result: $WINDRES" >&5
14975 echo "${ECHO_T}$WINDRES" >&6
14977 echo "$as_me:$LINENO: result: no" >&5
14978 echo "${ECHO_T}no" >&6
14982 if test -z "$ac_cv_prog_WINDRES"; then
14983 ac_ct_WINDRES
=$WINDRES
14984 # Extract the first word of "wrc", so it can be a program name with args.
14985 set dummy wrc
; ac_word
=$2
14986 echo "$as_me:$LINENO: checking for $ac_word" >&5
14987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14988 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14989 echo $ECHO_N "(cached) $ECHO_C" >&6
14991 if test -n "$ac_ct_WINDRES"; then
14992 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14995 for as_dir
in $PATH
14998 test -z "$as_dir" && as_dir
=.
14999 for ac_exec_ext
in '' $ac_executable_extensions; do
15000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15001 ac_cv_prog_ac_ct_WINDRES
="wrc"
15002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15010 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15011 if test -n "$ac_ct_WINDRES"; then
15012 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15013 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15015 echo "$as_me:$LINENO: result: no" >&5
15016 echo "${ECHO_T}no" >&6
15019 WINDRES
=$ac_ct_WINDRES
15021 WINDRES
="$ac_cv_prog_WINDRES"
15027 *-*-cygwin* | *-*-mingw32* )
15028 if test -n "$ac_tool_prefix"; then
15029 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15030 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15031 echo "$as_me:$LINENO: checking for $ac_word" >&5
15032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15033 if test "${ac_cv_prog_WINDRES+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 if test -n "$WINDRES"; then
15037 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15040 for as_dir
in $PATH
15043 test -z "$as_dir" && as_dir
=.
15044 for ac_exec_ext
in '' $ac_executable_extensions; do
15045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15046 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15055 WINDRES
=$ac_cv_prog_WINDRES
15056 if test -n "$WINDRES"; then
15057 echo "$as_me:$LINENO: result: $WINDRES" >&5
15058 echo "${ECHO_T}$WINDRES" >&6
15060 echo "$as_me:$LINENO: result: no" >&5
15061 echo "${ECHO_T}no" >&6
15065 if test -z "$ac_cv_prog_WINDRES"; then
15066 ac_ct_WINDRES
=$WINDRES
15067 # Extract the first word of "windres", so it can be a program name with args.
15068 set dummy windres
; ac_word
=$2
15069 echo "$as_me:$LINENO: checking for $ac_word" >&5
15070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15071 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 if test -n "$ac_ct_WINDRES"; then
15075 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15078 for as_dir
in $PATH
15081 test -z "$as_dir" && as_dir
=.
15082 for ac_exec_ext
in '' $ac_executable_extensions; do
15083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15084 ac_cv_prog_ac_ct_WINDRES
="windres"
15085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15093 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15094 if test -n "$ac_ct_WINDRES"; then
15095 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15096 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15098 echo "$as_me:$LINENO: result: no" >&5
15099 echo "${ECHO_T}no" >&6
15102 WINDRES
=$ac_ct_WINDRES
15104 WINDRES
="$ac_cv_prog_WINDRES"
15108 if test -n "$ac_tool_prefix"; then
15109 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15110 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15111 echo "$as_me:$LINENO: checking for $ac_word" >&5
15112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15113 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15116 if test -n "$DLLTOOL"; then
15117 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15120 for as_dir
in $PATH
15123 test -z "$as_dir" && as_dir
=.
15124 for ac_exec_ext
in '' $ac_executable_extensions; do
15125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15126 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15135 DLLTOOL
=$ac_cv_prog_DLLTOOL
15136 if test -n "$DLLTOOL"; then
15137 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15138 echo "${ECHO_T}$DLLTOOL" >&6
15140 echo "$as_me:$LINENO: result: no" >&5
15141 echo "${ECHO_T}no" >&6
15145 if test -z "$ac_cv_prog_DLLTOOL"; then
15146 ac_ct_DLLTOOL
=$DLLTOOL
15147 # Extract the first word of "dlltool", so it can be a program name with args.
15148 set dummy dlltool
; ac_word
=$2
15149 echo "$as_me:$LINENO: checking for $ac_word" >&5
15150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15151 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 if test -n "$ac_ct_DLLTOOL"; then
15155 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15158 for as_dir
in $PATH
15161 test -z "$as_dir" && as_dir
=.
15162 for ac_exec_ext
in '' $ac_executable_extensions; do
15163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15164 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15173 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15174 if test -n "$ac_ct_DLLTOOL"; then
15175 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15176 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15178 echo "$as_me:$LINENO: result: no" >&5
15179 echo "${ECHO_T}no" >&6
15182 DLLTOOL
=$ac_ct_DLLTOOL
15184 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15191 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15192 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15193 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15198 egrep -s GNU
> /dev
/null
); then
15199 wx_cv_prog_makeisgnu
="yes"
15201 wx_cv_prog_makeisgnu
="no"
15205 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15206 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15208 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15216 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15217 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15218 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15219 if test "${wx_cv_prog_makevpath+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 cat - << EOF > confMake
15229 if test ! -d sub
; then
15232 echo dummy
> sub
/file
15233 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15235 rm -f sub
/file check final_file confMake
15237 if test "$RESULT" = 0; then
15238 wx_cv_prog_makevpath
="yes"
15240 wx_cv_prog_makevpath
="no"
15244 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15245 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15247 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15248 { { echo "$as_me:$LINENO: error:
15249 You need a make-utility that is able to use the variable
15251 If your version of make does not support VPATH correctly,
15252 please install GNU-make (possibly as gmake), and start
15253 configure with the following command:
15254 export MAKE=gmake; ./configure for sh-type shells
15255 setenv MAKE gmake; ./configure for csh-type shells
15256 Also please do remember to use gmake in this case every time
15257 you are trying to compile.
15259 echo "$as_me: error:
15260 You need a make-utility that is able to use the variable
15262 If your version of make does not support VPATH correctly,
15263 please install GNU-make (possibly as gmake), and start
15264 configure with the following command:
15265 export MAKE=gmake; ./configure for sh-type shells
15266 setenv MAKE gmake; ./configure for csh-type shells
15267 Also please do remember to use gmake in this case every time
15268 you are trying to compile.
15270 { (exit 1); exit 1; }; }
15272 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15273 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15275 if test "$LN_S" = "ln -s"; then
15276 echo "$as_me:$LINENO: result: yes" >&5
15277 echo "${ECHO_T}yes" >&6
15279 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15280 echo "${ECHO_T}no, using $LN_S" >&6
15286 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15287 CXXFLAGS
="-qunique $CXXFLAGS"
15291 powerpc
-*-darwin* )
15292 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15293 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15294 cat >conftest.
$ac_ext <<_ACEOF
15297 cat confdefs.h
>>conftest.
$ac_ext
15298 cat >>conftest.
$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15304 #ifndef __POWERPC__
15305 choke me for lack of PowerPC
15312 rm -f conftest.
$ac_objext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15314 (eval $ac_compile) 2>conftest.er1
15316 grep -v '^ *+' conftest.er1
>conftest.err
15318 cat conftest.err
>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; } &&
15327 { ac_try
='test -s conftest.$ac_objext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15333 echo "$as_me:$LINENO: result: yes" >&5
15334 echo "${ECHO_T}yes" >&6
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.
$ac_ext >&5
15339 echo "$as_me:$LINENO: result: no" >&5
15340 echo "${ECHO_T}no" >&6
15341 cat >>confdefs.h
<<\_ACEOF
15342 #define __POWERPC__ 1
15347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15353 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15354 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15355 cat >conftest.
$ac_ext <<_ACEOF
15358 cat confdefs.h
>>conftest.
$ac_ext
15359 cat >>conftest.
$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15361 #include <CoreFoundation/CFBase.h>
15371 rm -f conftest.
$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>conftest.er1
15375 grep -v '^ *+' conftest.er1
>conftest.err
15377 cat conftest.err
>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; } &&
15386 { ac_try
='test -s conftest.$ac_objext'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; }; then
15392 echo "$as_me:$LINENO: result: yes" >&5
15393 echo "${ECHO_T}yes" >&6
15395 echo "$as_me: failed program was:" >&5
15396 sed 's/^/| /' conftest.
$ac_ext >&5
15398 echo "$as_me:$LINENO: result: no" >&5
15399 echo "${ECHO_T}no" >&6
15400 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15401 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15402 cat >conftest.
$ac_ext <<_ACEOF
15405 cat confdefs.h
>>conftest.
$ac_ext
15406 cat >>conftest.
$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15408 #define __CF_USE_FRAMEWORK_INCLUDES__
15409 #include <CoreFoundation/CFBase.h>
15419 rm -f conftest.
$ac_objext
15420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15421 (eval $ac_compile) 2>conftest.er1
15423 grep -v '^ *+' conftest.er1
>conftest.err
15425 cat conftest.err
>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } &&
15428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15430 (eval $ac_try) 2>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); }; } &&
15434 { ac_try
='test -s conftest.$ac_objext'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; }; then
15440 echo "$as_me:$LINENO: result: yes" >&5
15441 echo "${ECHO_T}yes" >&6
15442 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15447 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15448 See \`config.log' for more details." >&5
15449 echo "$as_me: error: no. CoreFoundation not available.
15450 See \`config.log' for more details." >&2;}
15451 { (exit 1); exit 1; }; }
15454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15463 *-pc-os2_emx | *-pc-os2-emx )
15465 ac_cpp
='$CPP $CPPFLAGS'
15466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15470 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15471 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15472 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15473 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15474 echo $ECHO_N "(cached) $ECHO_C" >&6
15476 ac_check_lib_save_LIBS
=$LIBS
15477 LIBS
="-lcExt $LIBS"
15478 cat >conftest.
$ac_ext <<_ACEOF
15481 cat confdefs.h
>>conftest.
$ac_ext
15482 cat >>conftest.
$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15485 /* Override any gcc2 internal prototype to avoid an error. */
15489 /* We use char because int might match the return type of a gcc2
15490 builtin and then its argument prototype would still apply. */
15500 rm -f conftest.
$ac_objext conftest
$ac_exeext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15502 (eval $ac_link) 2>conftest.er1
15504 grep -v '^ *+' conftest.er1
>conftest.err
15506 cat conftest.err
>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } &&
15509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15511 (eval $ac_try) 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); }; } &&
15515 { ac_try
='test -s conftest$ac_exeext'
15516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15517 (eval $ac_try) 2>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }; }; then
15521 ac_cv_lib_cExt_drand48
=yes
15523 echo "$as_me: failed program was:" >&5
15524 sed 's/^/| /' conftest.
$ac_ext >&5
15526 ac_cv_lib_cExt_drand48
=no
15528 rm -f conftest.err conftest.
$ac_objext \
15529 conftest
$ac_exeext conftest.
$ac_ext
15530 LIBS
=$ac_check_lib_save_LIBS
15532 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15533 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15534 if test $ac_cv_lib_cExt_drand48 = yes; then
15535 LIBS
="$LIBS -lcExt"
15539 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15541 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15542 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15543 if test "${wx_cv_gccversion+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 if test "$cross_compiling" = yes; then
15548 wx_cv_gccversion
="EMX2"
15551 cat >conftest.
$ac_ext <<_ACEOF
15554 cat confdefs.h
>>conftest.
$ac_ext
15555 cat >>conftest.
$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15562 FILE *f=fopen("conftestval", "w");
15567 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15569 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15579 rm -f conftest
$ac_exeext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15581 (eval $ac_link) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15590 wx_cv_gccversion
=`cat conftestval`
15592 echo "$as_me: program exited with status $ac_status" >&5
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.
$ac_ext >&5
15596 ( exit $ac_status )
15597 wx_cv_gccversion
="EMX2"
15599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15603 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15604 echo "${ECHO_T}$wx_cv_gccversion" >&6
15606 ac_cpp
='$CXXCPP $CPPFLAGS'
15607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15611 if test "$wx_cv_gccversion" = "EMX2"; then
15612 LIBS
="$LIBS -lstdcpp"
15613 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15615 if test "$wx_cv_gccversion" = "EMX3"; then
15616 LIBS
="$LIBS -lstdcxx -lgcc"
15617 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15619 LIBS
="$LIBS -lstdc++"
15622 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15623 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15624 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15631 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15632 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15633 if test "${ac_cv_string_strcasecmp+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 cat >conftest.
$ac_ext <<_ACEOF
15640 cat confdefs.h
>>conftest.
$ac_ext
15641 cat >>conftest.
$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15644 #include <string.h>
15650 strcasecmp("foo", "bar");
15656 rm -f conftest.
$ac_objext conftest
$ac_exeext
15657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15658 (eval $ac_link) 2>conftest.er1
15660 grep -v '^ *+' conftest.er1
>conftest.err
15662 cat conftest.err
>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } &&
15665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; } &&
15671 { ac_try
='test -s conftest$ac_exeext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15677 ac_cv_string_strcasecmp
=yes
15679 echo "$as_me: failed program was:" >&5
15680 sed 's/^/| /' conftest.
$ac_ext >&5
15682 ac_cv_string_strcasecmp
=no
15685 rm -f conftest.err conftest.
$ac_objext \
15686 conftest
$ac_exeext conftest.
$ac_ext
15689 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15690 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15692 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15693 cat >>confdefs.h
<<\_ACEOF
15694 #define HAVE_STRCASECMP_IN_STRING_H 1
15698 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15699 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15700 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15701 echo $ECHO_N "(cached) $ECHO_C" >&6
15704 cat >conftest.
$ac_ext <<_ACEOF
15707 cat confdefs.h
>>conftest.
$ac_ext
15708 cat >>conftest.
$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15711 #include <strings.h>
15717 strcasecmp("foo", "bar");
15723 rm -f conftest.
$ac_objext conftest
$ac_exeext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15725 (eval $ac_link) 2>conftest.er1
15727 grep -v '^ *+' conftest.er1
>conftest.err
15729 cat conftest.err
>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; } &&
15738 { ac_try
='test -s conftest$ac_exeext'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; }; then
15744 ac_cv_strings_strcasecmp
=yes
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.
$ac_ext >&5
15749 ac_cv_strings_strcasecmp
=no
15752 rm -f conftest.err conftest.
$ac_objext \
15753 conftest
$ac_exeext conftest.
$ac_ext
15756 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15757 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15759 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15760 cat >>confdefs.h
<<\_ACEOF
15761 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15765 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15766 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15767 { (exit 1); exit 1; }; }
15776 ac_cpp
='$CXXCPP $CPPFLAGS'
15777 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15778 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15779 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15780 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15781 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15782 if test -z "$CXXCPP"; then
15783 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 # Double quotes because CXXCPP needs to be expanded
15787 for CXXCPP
in "$CXX -E" "/lib/cpp"
15789 ac_preproc_ok
=false
15790 for ac_cxx_preproc_warn_flag
in '' yes
15792 # Use a header file that comes with gcc, so configuring glibc
15793 # with a fresh cross-compiler works.
15794 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15795 # <limits.h> exists even on freestanding compilers.
15796 # On the NeXT, cc -E runs the code through the compiler's parser,
15797 # not just through cpp. "Syntax error" is here to catch this case.
15798 cat >conftest.
$ac_ext <<_ACEOF
15801 cat confdefs.h
>>conftest.
$ac_ext
15802 cat >>conftest.
$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15805 # include <limits.h>
15807 # include <assert.h>
15811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15814 grep -v '^ *+' conftest.er1
>conftest.err
15816 cat conftest.err
>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } >/dev
/null
; then
15819 if test -s conftest.err
; then
15820 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15821 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15828 if test -z "$ac_cpp_err"; then
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.
$ac_ext >&5
15834 # Broken: fails on valid input.
15837 rm -f conftest.err conftest.
$ac_ext
15839 # OK, works on sane cases. Now check whether non-existent headers
15840 # can be detected and how.
15841 cat >conftest.
$ac_ext <<_ACEOF
15844 cat confdefs.h
>>conftest.
$ac_ext
15845 cat >>conftest.
$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847 #include <ac_nonexistent.h>
15849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15852 grep -v '^ *+' conftest.er1
>conftest.err
15854 cat conftest.err
>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } >/dev
/null
; then
15857 if test -s conftest.err
; then
15858 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15859 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15866 if test -z "$ac_cpp_err"; then
15867 # Broken: success on invalid input.
15870 echo "$as_me: failed program was:" >&5
15871 sed 's/^/| /' conftest.
$ac_ext >&5
15873 # Passes both tests.
15877 rm -f conftest.err conftest.
$ac_ext
15880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15881 rm -f conftest.err conftest.
$ac_ext
15882 if $ac_preproc_ok; then
15887 ac_cv_prog_CXXCPP
=$CXXCPP
15890 CXXCPP
=$ac_cv_prog_CXXCPP
15892 ac_cv_prog_CXXCPP
=$CXXCPP
15894 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15895 echo "${ECHO_T}$CXXCPP" >&6
15896 ac_preproc_ok
=false
15897 for ac_cxx_preproc_warn_flag
in '' yes
15899 # Use a header file that comes with gcc, so configuring glibc
15900 # with a fresh cross-compiler works.
15901 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15902 # <limits.h> exists even on freestanding compilers.
15903 # On the NeXT, cc -E runs the code through the compiler's parser,
15904 # not just through cpp. "Syntax error" is here to catch this case.
15905 cat >conftest.
$ac_ext <<_ACEOF
15908 cat confdefs.h
>>conftest.
$ac_ext
15909 cat >>conftest.
$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15912 # include <limits.h>
15914 # include <assert.h>
15918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15921 grep -v '^ *+' conftest.er1
>conftest.err
15923 cat conftest.err
>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } >/dev
/null
; then
15926 if test -s conftest.err
; then
15927 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15928 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15935 if test -z "$ac_cpp_err"; then
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.
$ac_ext >&5
15941 # Broken: fails on valid input.
15944 rm -f conftest.err conftest.
$ac_ext
15946 # OK, works on sane cases. Now check whether non-existent headers
15947 # can be detected and how.
15948 cat >conftest.
$ac_ext <<_ACEOF
15951 cat confdefs.h
>>conftest.
$ac_ext
15952 cat >>conftest.
$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954 #include <ac_nonexistent.h>
15956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15957 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15959 grep -v '^ *+' conftest.er1
>conftest.err
15961 cat conftest.err
>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); } >/dev
/null
; then
15964 if test -s conftest.err
; then
15965 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15966 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15973 if test -z "$ac_cpp_err"; then
15974 # Broken: success on invalid input.
15977 echo "$as_me: failed program was:" >&5
15978 sed 's/^/| /' conftest.
$ac_ext >&5
15980 # Passes both tests.
15984 rm -f conftest.err conftest.
$ac_ext
15987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15988 rm -f conftest.err conftest.
$ac_ext
15989 if $ac_preproc_ok; then
15992 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15993 See \`config.log' for more details." >&5
15994 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15995 See \`config.log' for more details." >&2;}
15996 { (exit 1); exit 1; }; }
16000 ac_cpp
='$CXXCPP $CPPFLAGS'
16001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16006 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16007 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16008 if test "${ac_cv_header_stdc+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16011 cat >conftest.
$ac_ext <<_ACEOF
16014 cat confdefs.h
>>conftest.
$ac_ext
16015 cat >>conftest.
$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 #include <stdlib.h>
16018 #include <stdarg.h>
16019 #include <string.h>
16030 rm -f conftest.
$ac_objext
16031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16032 (eval $ac_compile) 2>conftest.er1
16034 grep -v '^ *+' conftest.er1
>conftest.err
16036 cat conftest.err
>&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; } &&
16045 { ac_try
='test -s conftest.$ac_objext'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; }; then
16051 ac_cv_header_stdc
=yes
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.
$ac_ext >&5
16056 ac_cv_header_stdc
=no
16058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16060 if test $ac_cv_header_stdc = yes; then
16061 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16062 cat >conftest.
$ac_ext <<_ACEOF
16065 cat confdefs.h
>>conftest.
$ac_ext
16066 cat >>conftest.
$ac_ext <<_ACEOF
16067 /* end confdefs.h. */
16068 #include <string.h>
16071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16072 $EGREP "memchr" >/dev
/null
2>&1; then
16075 ac_cv_header_stdc
=no
16081 if test $ac_cv_header_stdc = yes; then
16082 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16083 cat >conftest.
$ac_ext <<_ACEOF
16086 cat confdefs.h
>>conftest.
$ac_ext
16087 cat >>conftest.
$ac_ext <<_ACEOF
16088 /* end confdefs.h. */
16089 #include <stdlib.h>
16092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16093 $EGREP "free" >/dev
/null
2>&1; then
16096 ac_cv_header_stdc
=no
16102 if test $ac_cv_header_stdc = yes; then
16103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16104 if test "$cross_compiling" = yes; then
16107 cat >conftest.
$ac_ext <<_ACEOF
16110 cat confdefs.h
>>conftest.
$ac_ext
16111 cat >>conftest.
$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16114 #if ((' ' & 0x0FF) == 0x020)
16115 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16116 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16118 # define ISLOWER(c) \
16119 (('a' <= (c) && (c) <= 'i') \
16120 || ('j' <= (c) && (c) <= 'r') \
16121 || ('s' <= (c) && (c) <= 'z'))
16122 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16125 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16130 for (i = 0; i < 256; i++)
16131 if (XOR (islower (i), ISLOWER (i))
16132 || toupper (i) != TOUPPER (i))
16137 rm -f conftest
$ac_exeext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16139 (eval $ac_link) 2>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16150 echo "$as_me: program exited with status $ac_status" >&5
16151 echo "$as_me: failed program was:" >&5
16152 sed 's/^/| /' conftest.
$ac_ext >&5
16154 ( exit $ac_status )
16155 ac_cv_header_stdc
=no
16157 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16161 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16162 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16163 if test $ac_cv_header_stdc = yes; then
16165 cat >>confdefs.h
<<\_ACEOF
16166 #define STDC_HEADERS 1
16171 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16181 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16182 inttypes.h stdint.h unistd.h
16184 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16185 echo "$as_me:$LINENO: checking for $ac_header" >&5
16186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 cat >conftest.
$ac_ext <<_ACEOF
16193 cat confdefs.h
>>conftest.
$ac_ext
16194 cat >>conftest.
$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 $ac_includes_default
16198 #include <$ac_header>
16200 rm -f conftest.
$ac_objext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>conftest.er1
16204 grep -v '^ *+' conftest.er1
>conftest.err
16206 cat conftest.err
>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; } &&
16215 { ac_try
='test -s conftest.$ac_objext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 eval "$as_ac_Header=yes"
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.
$ac_ext >&5
16226 eval "$as_ac_Header=no"
16228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16233 cat >>confdefs.h
<<_ACEOF
16234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16243 for ac_header
in stdlib.h
16245 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16247 echo "$as_me:$LINENO: checking for $ac_header" >&5
16248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16250 echo $ECHO_N "(cached) $ECHO_C" >&6
16252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16255 # Is the header compilable?
16256 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16258 cat >conftest.
$ac_ext <<_ACEOF
16261 cat confdefs.h
>>conftest.
$ac_ext
16262 cat >>conftest.
$ac_ext <<_ACEOF
16263 /* end confdefs.h. */
16264 $ac_includes_default
16265 #include <$ac_header>
16267 rm -f conftest.
$ac_objext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16269 (eval $ac_compile) 2>conftest.er1
16271 grep -v '^ *+' conftest.er1
>conftest.err
16273 cat conftest.err
>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } &&
16276 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; } &&
16282 { ac_try
='test -s conftest.$ac_objext'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; }; then
16288 ac_header_compiler
=yes
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.
$ac_ext >&5
16293 ac_header_compiler
=no
16295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16297 echo "${ECHO_T}$ac_header_compiler" >&6
16299 # Is the header present?
16300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16302 cat >conftest.
$ac_ext <<_ACEOF
16305 cat confdefs.h
>>conftest.
$ac_ext
16306 cat >>conftest.
$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16308 #include <$ac_header>
16310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16311 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16313 grep -v '^ *+' conftest.er1
>conftest.err
16315 cat conftest.err
>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } >/dev
/null
; then
16318 if test -s conftest.err
; then
16319 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16320 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16327 if test -z "$ac_cpp_err"; then
16328 ac_header_preproc
=yes
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.
$ac_ext >&5
16333 ac_header_preproc
=no
16335 rm -f conftest.err conftest.
$ac_ext
16336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16337 echo "${ECHO_T}$ac_header_preproc" >&6
16339 # So? What about this header?
16340 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16346 ac_header_preproc
=yes
16349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16363 ## ----------------------------------------- ##
16364 ## Report this to wx-dev@lists.wxwidgets.org ##
16365 ## ----------------------------------------- ##
16368 sed "s/^/$as_me: WARNING: /" >&2
16371 echo "$as_me:$LINENO: checking for $ac_header" >&5
16372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16374 echo $ECHO_N "(cached) $ECHO_C" >&6
16376 eval "$as_ac_Header=\$ac_header_preproc"
16378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16383 cat >>confdefs.h
<<_ACEOF
16384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16392 for ac_header
in malloc.h
16394 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16396 echo "$as_me:$LINENO: checking for $ac_header" >&5
16397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16404 # Is the header compilable?
16405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16407 cat >conftest.
$ac_ext <<_ACEOF
16410 cat confdefs.h
>>conftest.
$ac_ext
16411 cat >>conftest.
$ac_ext <<_ACEOF
16412 /* end confdefs.h. */
16413 $ac_includes_default
16414 #include <$ac_header>
16416 rm -f conftest.
$ac_objext
16417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16418 (eval $ac_compile) 2>conftest.er1
16420 grep -v '^ *+' conftest.er1
>conftest.err
16422 cat conftest.err
>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } &&
16425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; } &&
16431 { ac_try
='test -s conftest.$ac_objext'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16437 ac_header_compiler
=yes
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.
$ac_ext >&5
16442 ac_header_compiler
=no
16444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16446 echo "${ECHO_T}$ac_header_compiler" >&6
16448 # Is the header present?
16449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16451 cat >conftest.
$ac_ext <<_ACEOF
16454 cat confdefs.h
>>conftest.
$ac_ext
16455 cat >>conftest.
$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 #include <$ac_header>
16459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16462 grep -v '^ *+' conftest.er1
>conftest.err
16464 cat conftest.err
>&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } >/dev
/null
; then
16467 if test -s conftest.err
; then
16468 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16469 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16476 if test -z "$ac_cpp_err"; then
16477 ac_header_preproc
=yes
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.
$ac_ext >&5
16482 ac_header_preproc
=no
16484 rm -f conftest.err conftest.
$ac_ext
16485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16486 echo "${ECHO_T}$ac_header_preproc" >&6
16488 # So? What about this header?
16489 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16495 ac_header_preproc
=yes
16498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16512 ## ----------------------------------------- ##
16513 ## Report this to wx-dev@lists.wxwidgets.org ##
16514 ## ----------------------------------------- ##
16517 sed "s/^/$as_me: WARNING: /" >&2
16520 echo "$as_me:$LINENO: checking for $ac_header" >&5
16521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16525 eval "$as_ac_Header=\$ac_header_preproc"
16527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16532 cat >>confdefs.h
<<_ACEOF
16533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16541 for ac_header
in unistd.h
16543 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16545 echo "$as_me:$LINENO: checking for $ac_header" >&5
16546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16553 # Is the header compilable?
16554 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16556 cat >conftest.
$ac_ext <<_ACEOF
16559 cat confdefs.h
>>conftest.
$ac_ext
16560 cat >>conftest.
$ac_ext <<_ACEOF
16561 /* end confdefs.h. */
16562 $ac_includes_default
16563 #include <$ac_header>
16565 rm -f conftest.
$ac_objext
16566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16567 (eval $ac_compile) 2>conftest.er1
16569 grep -v '^ *+' conftest.er1
>conftest.err
16571 cat conftest.err
>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } &&
16574 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; } &&
16580 { ac_try
='test -s conftest.$ac_objext'
16581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16582 (eval $ac_try) 2>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); }; }; then
16586 ac_header_compiler
=yes
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.
$ac_ext >&5
16591 ac_header_compiler
=no
16593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16595 echo "${ECHO_T}$ac_header_compiler" >&6
16597 # Is the header present?
16598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16600 cat >conftest.
$ac_ext <<_ACEOF
16603 cat confdefs.h
>>conftest.
$ac_ext
16604 cat >>conftest.
$ac_ext <<_ACEOF
16605 /* end confdefs.h. */
16606 #include <$ac_header>
16608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16611 grep -v '^ *+' conftest.er1
>conftest.err
16613 cat conftest.err
>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } >/dev
/null
; then
16616 if test -s conftest.err
; then
16617 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16618 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16625 if test -z "$ac_cpp_err"; then
16626 ac_header_preproc
=yes
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.
$ac_ext >&5
16631 ac_header_preproc
=no
16633 rm -f conftest.err conftest.
$ac_ext
16634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16635 echo "${ECHO_T}$ac_header_preproc" >&6
16637 # So? What about this header?
16638 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16644 ac_header_preproc
=yes
16647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16651 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16653 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16654 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16657 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16661 ## ----------------------------------------- ##
16662 ## Report this to wx-dev@lists.wxwidgets.org ##
16663 ## ----------------------------------------- ##
16666 sed "s/^/$as_me: WARNING: /" >&2
16669 echo "$as_me:$LINENO: checking for $ac_header" >&5
16670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16672 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 eval "$as_ac_Header=\$ac_header_preproc"
16676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16681 cat >>confdefs.h
<<_ACEOF
16682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16690 for ac_header
in wchar.h
16692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16694 echo "$as_me:$LINENO: checking for $ac_header" >&5
16695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16702 # Is the header compilable?
16703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16705 cat >conftest.
$ac_ext <<_ACEOF
16708 cat confdefs.h
>>conftest.
$ac_ext
16709 cat >>conftest.
$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711 $ac_includes_default
16712 #include <$ac_header>
16714 rm -f conftest.
$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716 (eval $ac_compile) 2>conftest.er1
16718 grep -v '^ *+' conftest.er1
>conftest.err
16720 cat conftest.err
>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } &&
16723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; } &&
16729 { ac_try
='test -s conftest.$ac_objext'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; }; then
16735 ac_header_compiler
=yes
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.
$ac_ext >&5
16740 ac_header_compiler
=no
16742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16744 echo "${ECHO_T}$ac_header_compiler" >&6
16746 # Is the header present?
16747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16749 cat >conftest.
$ac_ext <<_ACEOF
16752 cat confdefs.h
>>conftest.
$ac_ext
16753 cat >>conftest.
$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16755 #include <$ac_header>
16757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16758 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16760 grep -v '^ *+' conftest.er1
>conftest.err
16762 cat conftest.err
>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); } >/dev
/null
; then
16765 if test -s conftest.err
; then
16766 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16767 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16774 if test -z "$ac_cpp_err"; then
16775 ac_header_preproc
=yes
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.
$ac_ext >&5
16780 ac_header_preproc
=no
16782 rm -f conftest.err conftest.
$ac_ext
16783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16784 echo "${ECHO_T}$ac_header_preproc" >&6
16786 # So? What about this header?
16787 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16793 ac_header_preproc
=yes
16796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16810 ## ----------------------------------------- ##
16811 ## Report this to wx-dev@lists.wxwidgets.org ##
16812 ## ----------------------------------------- ##
16815 sed "s/^/$as_me: WARNING: /" >&2
16818 echo "$as_me:$LINENO: checking for $ac_header" >&5
16819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16821 echo $ECHO_N "(cached) $ECHO_C" >&6
16823 eval "$as_ac_Header=\$ac_header_preproc"
16825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16830 cat >>confdefs.h
<<_ACEOF
16831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16839 if test "$ac_cv_header_wchar_h" != "yes"; then
16841 for ac_header
in wcstr.h
16843 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16845 echo "$as_me:$LINENO: checking for $ac_header" >&5
16846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16853 # Is the header compilable?
16854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16856 cat >conftest.
$ac_ext <<_ACEOF
16859 cat confdefs.h
>>conftest.
$ac_ext
16860 cat >>conftest.
$ac_ext <<_ACEOF
16861 /* end confdefs.h. */
16862 $ac_includes_default
16863 #include <$ac_header>
16865 rm -f conftest.
$ac_objext
16866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16867 (eval $ac_compile) 2>conftest.er1
16869 grep -v '^ *+' conftest.er1
>conftest.err
16871 cat conftest.err
>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } &&
16874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; } &&
16880 { ac_try
='test -s conftest.$ac_objext'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; }; then
16886 ac_header_compiler
=yes
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.
$ac_ext >&5
16891 ac_header_compiler
=no
16893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16895 echo "${ECHO_T}$ac_header_compiler" >&6
16897 # Is the header present?
16898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16900 cat >conftest.
$ac_ext <<_ACEOF
16903 cat confdefs.h
>>conftest.
$ac_ext
16904 cat >>conftest.
$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16906 #include <$ac_header>
16908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16911 grep -v '^ *+' conftest.er1
>conftest.err
16913 cat conftest.err
>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } >/dev
/null
; then
16916 if test -s conftest.err
; then
16917 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16918 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16925 if test -z "$ac_cpp_err"; then
16926 ac_header_preproc
=yes
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.
$ac_ext >&5
16931 ac_header_preproc
=no
16933 rm -f conftest.err conftest.
$ac_ext
16934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16935 echo "${ECHO_T}$ac_header_preproc" >&6
16937 # So? What about this header?
16938 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16944 ac_header_preproc
=yes
16947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16961 ## ----------------------------------------- ##
16962 ## Report this to wx-dev@lists.wxwidgets.org ##
16963 ## ----------------------------------------- ##
16966 sed "s/^/$as_me: WARNING: /" >&2
16969 echo "$as_me:$LINENO: checking for $ac_header" >&5
16970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16974 eval "$as_ac_Header=\$ac_header_preproc"
16976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16981 cat >>confdefs.h
<<_ACEOF
16982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16992 for ac_header
in fnmatch.h
16994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16996 echo "$as_me:$LINENO: checking for $ac_header" >&5
16997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17004 # Is the header compilable?
17005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17007 cat >conftest.
$ac_ext <<_ACEOF
17010 cat confdefs.h
>>conftest.
$ac_ext
17011 cat >>conftest.
$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17014 #include <$ac_header>
17016 rm -f conftest.
$ac_objext
17017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17018 (eval $ac_compile) 2>conftest.er1
17020 grep -v '^ *+' conftest.er1
>conftest.err
17022 cat conftest.err
>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } &&
17025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; } &&
17031 { ac_try
='test -s conftest.$ac_objext'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; }; then
17037 ac_header_compiler
=yes
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.
$ac_ext >&5
17042 ac_header_compiler
=no
17044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17046 echo "${ECHO_T}$ac_header_compiler" >&6
17048 # Is the header present?
17049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17051 cat >conftest.
$ac_ext <<_ACEOF
17054 cat confdefs.h
>>conftest.
$ac_ext
17055 cat >>conftest.
$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 #include <$ac_header>
17059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17062 grep -v '^ *+' conftest.er1
>conftest.err
17064 cat conftest.err
>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); } >/dev
/null
; then
17067 if test -s conftest.err
; then
17068 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17069 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17076 if test -z "$ac_cpp_err"; then
17077 ac_header_preproc
=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.
$ac_ext >&5
17082 ac_header_preproc
=no
17084 rm -f conftest.err conftest.
$ac_ext
17085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17086 echo "${ECHO_T}$ac_header_preproc" >&6
17088 # So? What about this header?
17089 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17095 ac_header_preproc
=yes
17098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17112 ## ----------------------------------------- ##
17113 ## Report this to wx-dev@lists.wxwidgets.org ##
17114 ## ----------------------------------------- ##
17117 sed "s/^/$as_me: WARNING: /" >&2
17120 echo "$as_me:$LINENO: checking for $ac_header" >&5
17121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 eval "$as_ac_Header=\$ac_header_preproc"
17127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17132 cat >>confdefs.h
<<_ACEOF
17133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17142 for ac_header
in langinfo.h
17144 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17146 echo "$as_me:$LINENO: checking for $ac_header" >&5
17147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17154 # Is the header compilable?
17155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17157 cat >conftest.
$ac_ext <<_ACEOF
17160 cat confdefs.h
>>conftest.
$ac_ext
17161 cat >>conftest.
$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17164 #include <$ac_header>
17166 rm -f conftest.
$ac_objext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17168 (eval $ac_compile) 2>conftest.er1
17170 grep -v '^ *+' conftest.er1
>conftest.err
17172 cat conftest.err
>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; } &&
17181 { ac_try
='test -s conftest.$ac_objext'
17182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17183 (eval $ac_try) 2>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); }; }; then
17187 ac_header_compiler
=yes
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.
$ac_ext >&5
17192 ac_header_compiler
=no
17194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17196 echo "${ECHO_T}$ac_header_compiler" >&6
17198 # Is the header present?
17199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17201 cat >conftest.
$ac_ext <<_ACEOF
17204 cat confdefs.h
>>conftest.
$ac_ext
17205 cat >>conftest.
$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17207 #include <$ac_header>
17209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17212 grep -v '^ *+' conftest.er1
>conftest.err
17214 cat conftest.err
>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } >/dev
/null
; then
17217 if test -s conftest.err
; then
17218 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17219 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17226 if test -z "$ac_cpp_err"; then
17227 ac_header_preproc
=yes
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.
$ac_ext >&5
17232 ac_header_preproc
=no
17234 rm -f conftest.err conftest.
$ac_ext
17235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17236 echo "${ECHO_T}$ac_header_preproc" >&6
17238 # So? What about this header?
17239 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17245 ac_header_preproc
=yes
17248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17252 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17254 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17255 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17258 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17262 ## ----------------------------------------- ##
17263 ## Report this to wx-dev@lists.wxwidgets.org ##
17264 ## ----------------------------------------- ##
17267 sed "s/^/$as_me: WARNING: /" >&2
17270 echo "$as_me:$LINENO: checking for $ac_header" >&5
17271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 eval "$as_ac_Header=\$ac_header_preproc"
17277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17282 cat >>confdefs.h
<<_ACEOF
17283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17292 *-pc-os2_emx | *-pc-os2-emx )
17293 if test $ac_cv_header_langinfo_h = "yes" \
17294 -a \
( "$wx_cv_gccversion" = "EMX2" \
17295 -o "$wx_cv_gccversion" = "EMX3" \
17296 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17297 LIBS
="$LIBS -lintl"
17303 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17304 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17305 if test "${ac_cv_c_const+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 cat >conftest.
$ac_ext <<_ACEOF
17311 cat confdefs.h
>>conftest.
$ac_ext
17312 cat >>conftest.
$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17318 /* FIXME: Include the comments suggested by Paul. */
17319 #ifndef __cplusplus
17320 /* Ultrix mips cc rejects this. */
17321 typedef int charset[2];
17323 /* SunOS 4.1.1 cc rejects this. */
17324 char const *const *ccp;
17326 /* NEC SVR4.0.2 mips cc rejects this. */
17327 struct point {int x, y;};
17328 static struct point const zero = {0,0};
17329 /* AIX XL C 1.02.0.0 rejects this.
17330 It does not let you subtract one const X* pointer from another in
17331 an arm of an if-expression whose if-part is not a constant
17333 const char *g = "string";
17334 ccp = &g + (g ? g-g : 0);
17335 /* HPUX 7.0 cc rejects these. */
17338 ccp = (char const *const *) p;
17339 { /* SCO 3.2v4 cc rejects this. */
17341 char const *s = 0 ? (char *) 0 : (char const *) 0;
17345 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17346 int x[] = {25, 17};
17347 const int *foo = &x[0];
17350 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17351 typedef const int *iptr;
17355 { /* AIX XL C 1.02.0.0 rejects this saying
17356 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17357 struct s { int j; const int *ap[3]; };
17358 struct s *b; b->j = 5;
17360 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17361 const int foo = 10;
17369 rm -f conftest.
$ac_objext
17370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17371 (eval $ac_compile) 2>conftest.er1
17373 grep -v '^ *+' conftest.er1
>conftest.err
17375 cat conftest.err
>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); } &&
17378 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; } &&
17384 { ac_try
='test -s conftest.$ac_objext'
17385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17386 (eval $ac_try) 2>&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); }; }; then
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.
$ac_ext >&5
17397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17399 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17400 echo "${ECHO_T}$ac_cv_c_const" >&6
17401 if test $ac_cv_c_const = no
; then
17403 cat >>confdefs.h
<<\_ACEOF
17409 echo "$as_me:$LINENO: checking for inline" >&5
17410 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17411 if test "${ac_cv_c_inline+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 for ac_kw
in inline __inline__ __inline
; do
17416 cat >conftest.
$ac_ext <<_ACEOF
17419 cat confdefs.h
>>conftest.
$ac_ext
17420 cat >>conftest.
$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422 #ifndef __cplusplus
17424 static $ac_kw foo_t static_foo () {return 0; }
17425 $ac_kw foo_t foo () {return 0; }
17429 rm -f conftest.
$ac_objext
17430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17431 (eval $ac_compile) 2>conftest.er1
17433 grep -v '^ *+' conftest.er1
>conftest.err
17435 cat conftest.err
>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } &&
17438 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; } &&
17444 { ac_try
='test -s conftest.$ac_objext'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; }; then
17450 ac_cv_c_inline
=$ac_kw; break
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.
$ac_ext >&5
17456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17460 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17461 echo "${ECHO_T}$ac_cv_c_inline" >&6
17464 case $ac_cv_c_inline in
17467 case $ac_cv_c_inline in
17469 *) ac_val
=$ac_cv_c_inline;;
17471 cat >>confdefs.h
<<_ACEOF
17472 #ifndef __cplusplus
17473 #define inline $ac_val
17480 echo "$as_me:$LINENO: checking for char" >&5
17481 echo $ECHO_N "checking for char... $ECHO_C" >&6
17482 if test "${ac_cv_type_char+set}" = set; then
17483 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 cat >conftest.
$ac_ext <<_ACEOF
17488 cat confdefs.h
>>conftest.
$ac_ext
17489 cat >>conftest.
$ac_ext <<_ACEOF
17490 /* end confdefs.h. */
17491 $ac_includes_default
17503 rm -f conftest.
$ac_objext
17504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17505 (eval $ac_compile) 2>conftest.er1
17507 grep -v '^ *+' conftest.er1
>conftest.err
17509 cat conftest.err
>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; } &&
17518 { ac_try
='test -s conftest.$ac_objext'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; }; then
17524 ac_cv_type_char
=yes
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.
$ac_ext >&5
17531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17533 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17534 echo "${ECHO_T}$ac_cv_type_char" >&6
17536 echo "$as_me:$LINENO: checking size of char" >&5
17537 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17538 if test "${ac_cv_sizeof_char+set}" = set; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17541 if test "$ac_cv_type_char" = yes; then
17542 # The cast to unsigned long works around a bug in the HP C Compiler
17543 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17544 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17545 # This bug is HP SR number 8606223364.
17546 if test "$cross_compiling" = yes; then
17547 # Depending upon the size, compute the lo and hi bounds.
17548 cat >conftest.
$ac_ext <<_ACEOF
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554 $ac_includes_default
17558 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17565 rm -f conftest.
$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17569 grep -v '^ *+' conftest.er1
>conftest.err
17571 cat conftest.err
>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try
='test -s conftest.$ac_objext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17588 cat >conftest.
$ac_ext <<_ACEOF
17591 cat confdefs.h
>>conftest.
$ac_ext
17592 cat >>conftest.
$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 $ac_includes_default
17598 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17605 rm -f conftest.
$ac_objext
17606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17607 (eval $ac_compile) 2>conftest.er1
17609 grep -v '^ *+' conftest.er1
>conftest.err
17611 cat conftest.err
>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); } &&
17614 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; } &&
17620 { ac_try
='test -s conftest.$ac_objext'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; }; then
17626 ac_hi
=$ac_mid; break
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.
$ac_ext >&5
17631 ac_lo
=`expr $ac_mid + 1`
17632 if test $ac_lo -le $ac_mid; then
17636 ac_mid
=`expr 2 '*' $ac_mid + 1`
17638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.
$ac_ext >&5
17644 cat >conftest.
$ac_ext <<_ACEOF
17647 cat confdefs.h
>>conftest.
$ac_ext
17648 cat >>conftest.
$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650 $ac_includes_default
17654 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17661 rm -f conftest.
$ac_objext
17662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17663 (eval $ac_compile) 2>conftest.er1
17665 grep -v '^ *+' conftest.er1
>conftest.err
17667 cat conftest.err
>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } &&
17670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; } &&
17676 { ac_try
='test -s conftest.$ac_objext'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; }; then
17684 cat >conftest.
$ac_ext <<_ACEOF
17687 cat confdefs.h
>>conftest.
$ac_ext
17688 cat >>conftest.
$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690 $ac_includes_default
17694 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17701 rm -f conftest.
$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17705 grep -v '^ *+' conftest.er1
>conftest.err
17707 cat conftest.err
>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try
='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_lo
=$ac_mid; break
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.
$ac_ext >&5
17727 ac_hi
=`expr '(' $ac_mid ')' - 1`
17728 if test $ac_mid -le $ac_hi; then
17732 ac_mid
=`expr 2 '*' $ac_mid`
17734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17737 echo "$as_me: failed program was:" >&5
17738 sed 's/^/| /' conftest.
$ac_ext >&5
17742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17745 # Binary search between lo and hi bounds.
17746 while test "x$ac_lo" != "x$ac_hi"; do
17747 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17748 cat >conftest.
$ac_ext <<_ACEOF
17751 cat confdefs.h
>>conftest.
$ac_ext
17752 cat >>conftest.
$ac_ext <<_ACEOF
17753 /* end confdefs.h. */
17754 $ac_includes_default
17758 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17765 rm -f conftest.
$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17769 grep -v '^ *+' conftest.er1
>conftest.err
17771 cat conftest.err
>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try
='test -s conftest.$ac_objext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.
$ac_ext >&5
17791 ac_lo
=`expr '(' $ac_mid ')' + 1`
17793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17796 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17797 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17798 See \`config.log' for more details." >&5
17799 echo "$as_me: error: cannot compute sizeof (char), 77
17800 See \`config.log' for more details." >&2;}
17801 { (exit 1); exit 1; }; } ;;
17804 if test "$cross_compiling" = yes; then
17805 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17806 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17807 { (exit 1); exit 1; }; }
17809 cat >conftest.
$ac_ext <<_ACEOF
17812 cat confdefs.h
>>conftest.
$ac_ext
17813 cat >>conftest.
$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815 $ac_includes_default
17816 long longval () { return (long) (sizeof (char)); }
17817 unsigned long ulongval () { return (long) (sizeof (char)); }
17819 #include <stdlib.h>
17824 FILE *f = fopen ("conftest.val", "w");
17827 if (((long) (sizeof (char))) < 0)
17829 long i = longval ();
17830 if (i != ((long) (sizeof (char))))
17832 fprintf (f, "%ld\n", i);
17836 unsigned long i = ulongval ();
17837 if (i != ((long) (sizeof (char))))
17839 fprintf (f, "%lu\n", i);
17841 exit (ferror (f) || fclose (f) != 0);
17847 rm -f conftest
$ac_exeext
17848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17849 (eval $ac_link) 2>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 ac_cv_sizeof_char
=`cat conftest.val`
17860 echo "$as_me: program exited with status $ac_status" >&5
17861 echo "$as_me: failed program was:" >&5
17862 sed 's/^/| /' conftest.
$ac_ext >&5
17864 ( exit $ac_status )
17865 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17866 See \`config.log' for more details." >&5
17867 echo "$as_me: error: cannot compute sizeof (char), 77
17868 See \`config.log' for more details." >&2;}
17869 { (exit 1); exit 1; }; }
17871 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17876 ac_cv_sizeof_char
=0
17879 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17880 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17881 cat >>confdefs.h
<<_ACEOF
17882 #define SIZEOF_CHAR $ac_cv_sizeof_char
17886 echo "$as_me:$LINENO: checking for short" >&5
17887 echo $ECHO_N "checking for short... $ECHO_C" >&6
17888 if test "${ac_cv_type_short+set}" = set; then
17889 echo $ECHO_N "(cached) $ECHO_C" >&6
17891 cat >conftest.
$ac_ext <<_ACEOF
17894 cat confdefs.h
>>conftest.
$ac_ext
17895 cat >>conftest.
$ac_ext <<_ACEOF
17896 /* end confdefs.h. */
17897 $ac_includes_default
17903 if (sizeof (short))
17909 rm -f conftest.
$ac_objext
17910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17911 (eval $ac_compile) 2>conftest.er1
17913 grep -v '^ *+' conftest.er1
>conftest.err
17915 cat conftest.err
>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } &&
17918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; } &&
17924 { ac_try
='test -s conftest.$ac_objext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930 ac_cv_type_short
=yes
17932 echo "$as_me: failed program was:" >&5
17933 sed 's/^/| /' conftest.
$ac_ext >&5
17935 ac_cv_type_short
=no
17937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17939 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17940 echo "${ECHO_T}$ac_cv_type_short" >&6
17942 echo "$as_me:$LINENO: checking size of short" >&5
17943 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17944 if test "${ac_cv_sizeof_short+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 if test "$ac_cv_type_short" = yes; then
17948 # The cast to unsigned long works around a bug in the HP C Compiler
17949 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17950 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17951 # This bug is HP SR number 8606223364.
17952 if test "$cross_compiling" = yes; then
17953 # Depending upon the size, compute the lo and hi bounds.
17954 cat >conftest.
$ac_ext <<_ACEOF
17957 cat confdefs.h
>>conftest.
$ac_ext
17958 cat >>conftest.
$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17960 $ac_includes_default
17964 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17971 rm -f conftest.
$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973 (eval $ac_compile) 2>conftest.er1
17975 grep -v '^ *+' conftest.er1
>conftest.err
17977 cat conftest.err
>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try
='test -s conftest.$ac_objext'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17994 cat >conftest.
$ac_ext <<_ACEOF
17997 cat confdefs.h
>>conftest.
$ac_ext
17998 cat >>conftest.
$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 $ac_includes_default
18004 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18011 rm -f conftest.
$ac_objext
18012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18013 (eval $ac_compile) 2>conftest.er1
18015 grep -v '^ *+' conftest.er1
>conftest.err
18017 cat conftest.err
>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } &&
18020 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; } &&
18026 { ac_try
='test -s conftest.$ac_objext'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; }; then
18032 ac_hi
=$ac_mid; break
18034 echo "$as_me: failed program was:" >&5
18035 sed 's/^/| /' conftest.
$ac_ext >&5
18037 ac_lo
=`expr $ac_mid + 1`
18038 if test $ac_lo -le $ac_mid; then
18042 ac_mid
=`expr 2 '*' $ac_mid + 1`
18044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.
$ac_ext >&5
18050 cat >conftest.
$ac_ext <<_ACEOF
18053 cat confdefs.h
>>conftest.
$ac_ext
18054 cat >>conftest.
$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18056 $ac_includes_default
18060 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18067 rm -f conftest.
$ac_objext
18068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18069 (eval $ac_compile) 2>conftest.er1
18071 grep -v '^ *+' conftest.er1
>conftest.err
18073 cat conftest.err
>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } &&
18076 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; } &&
18082 { ac_try
='test -s conftest.$ac_objext'
18083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18084 (eval $ac_try) 2>&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); }; }; then
18090 cat >conftest.
$ac_ext <<_ACEOF
18093 cat confdefs.h
>>conftest.
$ac_ext
18094 cat >>conftest.
$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18100 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18107 rm -f conftest.
$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18111 grep -v '^ *+' conftest.er1
>conftest.err
18113 cat conftest.err
>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; } &&
18122 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18128 ac_lo
=$ac_mid; break
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.
$ac_ext >&5
18133 ac_hi
=`expr '(' $ac_mid ')' - 1`
18134 if test $ac_mid -le $ac_hi; then
18138 ac_mid
=`expr 2 '*' $ac_mid`
18140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18143 echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.
$ac_ext >&5
18148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18151 # Binary search between lo and hi bounds.
18152 while test "x$ac_lo" != "x$ac_hi"; do
18153 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18154 cat >conftest.
$ac_ext <<_ACEOF
18157 cat confdefs.h
>>conftest.
$ac_ext
18158 cat >>conftest.
$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160 $ac_includes_default
18164 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18171 rm -f conftest.
$ac_objext
18172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18173 (eval $ac_compile) 2>conftest.er1
18175 grep -v '^ *+' conftest.er1
>conftest.err
18177 cat conftest.err
>&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); } &&
18180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; } &&
18186 { ac_try
='test -s conftest.$ac_objext'
18187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18188 (eval $ac_try) 2>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); }; }; then
18194 echo "$as_me: failed program was:" >&5
18195 sed 's/^/| /' conftest.
$ac_ext >&5
18197 ac_lo
=`expr '(' $ac_mid ')' + 1`
18199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18202 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18203 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18204 See \`config.log' for more details." >&5
18205 echo "$as_me: error: cannot compute sizeof (short), 77
18206 See \`config.log' for more details." >&2;}
18207 { (exit 1); exit 1; }; } ;;
18210 if test "$cross_compiling" = yes; then
18211 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18212 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18213 { (exit 1); exit 1; }; }
18215 cat >conftest.
$ac_ext <<_ACEOF
18218 cat confdefs.h
>>conftest.
$ac_ext
18219 cat >>conftest.
$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18221 $ac_includes_default
18222 long longval () { return (long) (sizeof (short)); }
18223 unsigned long ulongval () { return (long) (sizeof (short)); }
18225 #include <stdlib.h>
18230 FILE *f = fopen ("conftest.val", "w");
18233 if (((long) (sizeof (short))) < 0)
18235 long i = longval ();
18236 if (i != ((long) (sizeof (short))))
18238 fprintf (f, "%ld\n", i);
18242 unsigned long i = ulongval ();
18243 if (i != ((long) (sizeof (short))))
18245 fprintf (f, "%lu\n", i);
18247 exit (ferror (f) || fclose (f) != 0);
18253 rm -f conftest
$ac_exeext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18255 (eval $ac_link) 2>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; }; then
18264 ac_cv_sizeof_short
=`cat conftest.val`
18266 echo "$as_me: program exited with status $ac_status" >&5
18267 echo "$as_me: failed program was:" >&5
18268 sed 's/^/| /' conftest.
$ac_ext >&5
18270 ( exit $ac_status )
18271 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18272 See \`config.log' for more details." >&5
18273 echo "$as_me: error: cannot compute sizeof (short), 77
18274 See \`config.log' for more details." >&2;}
18275 { (exit 1); exit 1; }; }
18277 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18282 ac_cv_sizeof_short
=0
18285 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18286 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18287 cat >>confdefs.h
<<_ACEOF
18288 #define SIZEOF_SHORT $ac_cv_sizeof_short
18292 echo "$as_me:$LINENO: checking for void *" >&5
18293 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18294 if test "${ac_cv_type_void_p+set}" = set; then
18295 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 cat >conftest.
$ac_ext <<_ACEOF
18300 cat confdefs.h
>>conftest.
$ac_ext
18301 cat >>conftest.
$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 $ac_includes_default
18309 if (sizeof (void *))
18315 rm -f conftest.
$ac_objext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18317 (eval $ac_compile) 2>conftest.er1
18319 grep -v '^ *+' conftest.er1
>conftest.err
18321 cat conftest.err
>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; } &&
18330 { ac_try
='test -s conftest.$ac_objext'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18336 ac_cv_type_void_p
=yes
18338 echo "$as_me: failed program was:" >&5
18339 sed 's/^/| /' conftest.
$ac_ext >&5
18341 ac_cv_type_void_p
=no
18343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18345 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18346 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18348 echo "$as_me:$LINENO: checking size of void *" >&5
18349 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18350 if test "${ac_cv_sizeof_void_p+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 if test "$ac_cv_type_void_p" = yes; then
18354 # The cast to unsigned long works around a bug in the HP C Compiler
18355 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18356 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18357 # This bug is HP SR number 8606223364.
18358 if test "$cross_compiling" = yes; then
18359 # Depending upon the size, compute the lo and hi bounds.
18360 cat >conftest.
$ac_ext <<_ACEOF
18363 cat confdefs.h
>>conftest.
$ac_ext
18364 cat >>conftest.
$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 $ac_includes_default
18370 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18377 rm -f conftest.
$ac_objext
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>conftest.er1
18381 grep -v '^ *+' conftest.er1
>conftest.err
18383 cat conftest.err
>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } &&
18386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; } &&
18392 { ac_try
='test -s conftest.$ac_objext'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18400 cat >conftest.
$ac_ext <<_ACEOF
18403 cat confdefs.h
>>conftest.
$ac_ext
18404 cat >>conftest.
$ac_ext <<_ACEOF
18405 /* end confdefs.h. */
18406 $ac_includes_default
18410 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18417 rm -f conftest.
$ac_objext
18418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419 (eval $ac_compile) 2>conftest.er1
18421 grep -v '^ *+' conftest.er1
>conftest.err
18423 cat conftest.err
>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } &&
18426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18438 ac_hi
=$ac_mid; break
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.
$ac_ext >&5
18443 ac_lo
=`expr $ac_mid + 1`
18444 if test $ac_lo -le $ac_mid; then
18448 ac_mid
=`expr 2 '*' $ac_mid + 1`
18450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.
$ac_ext >&5
18456 cat >conftest.
$ac_ext <<_ACEOF
18459 cat confdefs.h
>>conftest.
$ac_ext
18460 cat >>conftest.
$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 $ac_includes_default
18466 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18473 rm -f conftest.
$ac_objext
18474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18475 (eval $ac_compile) 2>conftest.er1
18477 grep -v '^ *+' conftest.er1
>conftest.err
18479 cat conftest.err
>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } &&
18482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; } &&
18488 { ac_try
='test -s conftest.$ac_objext'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; }; then
18496 cat >conftest.
$ac_ext <<_ACEOF
18499 cat confdefs.h
>>conftest.
$ac_ext
18500 cat >>conftest.
$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 $ac_includes_default
18506 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18513 rm -f conftest.
$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18517 grep -v '^ *+' conftest.er1
>conftest.err
18519 cat conftest.err
>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try
='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18534 ac_lo
=$ac_mid; break
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.
$ac_ext >&5
18539 ac_hi
=`expr '(' $ac_mid ')' - 1`
18540 if test $ac_mid -le $ac_hi; then
18544 ac_mid
=`expr 2 '*' $ac_mid`
18546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.
$ac_ext >&5
18554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18557 # Binary search between lo and hi bounds.
18558 while test "x$ac_lo" != "x$ac_hi"; do
18559 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18560 cat >conftest.
$ac_ext <<_ACEOF
18563 cat confdefs.h
>>conftest.
$ac_ext
18564 cat >>conftest.
$ac_ext <<_ACEOF
18565 /* end confdefs.h. */
18566 $ac_includes_default
18570 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18577 rm -f conftest.
$ac_objext
18578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18579 (eval $ac_compile) 2>conftest.er1
18581 grep -v '^ *+' conftest.er1
>conftest.err
18583 cat conftest.err
>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } &&
18586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18588 (eval $ac_try) 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); }; } &&
18592 { ac_try
='test -s conftest.$ac_objext'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; }; then
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.
$ac_ext >&5
18603 ac_lo
=`expr '(' $ac_mid ')' + 1`
18605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18608 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18609 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18610 See \`config.log' for more details." >&5
18611 echo "$as_me: error: cannot compute sizeof (void *), 77
18612 See \`config.log' for more details." >&2;}
18613 { (exit 1); exit 1; }; } ;;
18616 if test "$cross_compiling" = yes; then
18617 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18618 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18619 { (exit 1); exit 1; }; }
18621 cat >conftest.
$ac_ext <<_ACEOF
18624 cat confdefs.h
>>conftest.
$ac_ext
18625 cat >>conftest.
$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18627 $ac_includes_default
18628 long longval () { return (long) (sizeof (void *)); }
18629 unsigned long ulongval () { return (long) (sizeof (void *)); }
18631 #include <stdlib.h>
18636 FILE *f = fopen ("conftest.val", "w");
18639 if (((long) (sizeof (void *))) < 0)
18641 long i = longval ();
18642 if (i != ((long) (sizeof (void *))))
18644 fprintf (f, "%ld\n", i);
18648 unsigned long i = ulongval ();
18649 if (i != ((long) (sizeof (void *))))
18651 fprintf (f, "%lu\n", i);
18653 exit (ferror (f) || fclose (f) != 0);
18659 rm -f conftest
$ac_exeext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18661 (eval $ac_link) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_cv_sizeof_void_p
=`cat conftest.val`
18672 echo "$as_me: program exited with status $ac_status" >&5
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.
$ac_ext >&5
18676 ( exit $ac_status )
18677 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18678 See \`config.log' for more details." >&5
18679 echo "$as_me: error: cannot compute sizeof (void *), 77
18680 See \`config.log' for more details." >&2;}
18681 { (exit 1); exit 1; }; }
18683 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18688 ac_cv_sizeof_void_p
=0
18691 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18692 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18693 cat >>confdefs.h
<<_ACEOF
18694 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18698 echo "$as_me:$LINENO: checking for int" >&5
18699 echo $ECHO_N "checking for int... $ECHO_C" >&6
18700 if test "${ac_cv_type_int+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 cat >conftest.
$ac_ext <<_ACEOF
18706 cat confdefs.h
>>conftest.
$ac_ext
18707 cat >>conftest.
$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709 $ac_includes_default
18721 rm -f conftest.
$ac_objext
18722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>conftest.er1
18725 grep -v '^ *+' conftest.er1
>conftest.err
18727 cat conftest.err
>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); } &&
18730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; } &&
18736 { ac_try
='test -s conftest.$ac_objext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.
$ac_ext >&5
18749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18751 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18752 echo "${ECHO_T}$ac_cv_type_int" >&6
18754 echo "$as_me:$LINENO: checking size of int" >&5
18755 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18756 if test "${ac_cv_sizeof_int+set}" = set; then
18757 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 if test "$ac_cv_type_int" = yes; then
18760 # The cast to unsigned long works around a bug in the HP C Compiler
18761 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18762 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18763 # This bug is HP SR number 8606223364.
18764 if test "$cross_compiling" = yes; then
18765 # Depending upon the size, compute the lo and hi bounds.
18766 cat >conftest.
$ac_ext <<_ACEOF
18769 cat confdefs.h
>>conftest.
$ac_ext
18770 cat >>conftest.
$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 $ac_includes_default
18776 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18783 rm -f conftest.
$ac_objext
18784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18785 (eval $ac_compile) 2>conftest.er1
18787 grep -v '^ *+' conftest.er1
>conftest.err
18789 cat conftest.err
>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } &&
18792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; } &&
18798 { ac_try
='test -s conftest.$ac_objext'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; }; then
18806 cat >conftest.
$ac_ext <<_ACEOF
18809 cat confdefs.h
>>conftest.
$ac_ext
18810 cat >>conftest.
$ac_ext <<_ACEOF
18811 /* end confdefs.h. */
18812 $ac_includes_default
18816 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18823 rm -f conftest.
$ac_objext
18824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18825 (eval $ac_compile) 2>conftest.er1
18827 grep -v '^ *+' conftest.er1
>conftest.err
18829 cat conftest.err
>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); } &&
18832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18834 (eval $ac_try) 2>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; } &&
18838 { ac_try
='test -s conftest.$ac_objext'
18839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18840 (eval $ac_try) 2>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); }; }; then
18844 ac_hi
=$ac_mid; break
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.
$ac_ext >&5
18849 ac_lo
=`expr $ac_mid + 1`
18850 if test $ac_lo -le $ac_mid; then
18854 ac_mid
=`expr 2 '*' $ac_mid + 1`
18856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.
$ac_ext >&5
18862 cat >conftest.
$ac_ext <<_ACEOF
18865 cat confdefs.h
>>conftest.
$ac_ext
18866 cat >>conftest.
$ac_ext <<_ACEOF
18867 /* end confdefs.h. */
18868 $ac_includes_default
18872 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18879 rm -f conftest.
$ac_objext
18880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18881 (eval $ac_compile) 2>conftest.er1
18883 grep -v '^ *+' conftest.er1
>conftest.err
18885 cat conftest.err
>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
18888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try
='test -s conftest.$ac_objext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18902 cat >conftest.
$ac_ext <<_ACEOF
18905 cat confdefs.h
>>conftest.
$ac_ext
18906 cat >>conftest.
$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 $ac_includes_default
18912 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18919 rm -f conftest.
$ac_objext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 (eval $ac_compile) 2>conftest.er1
18923 grep -v '^ *+' conftest.er1
>conftest.err
18925 cat conftest.err
>&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; } &&
18934 { ac_try
='test -s conftest.$ac_objext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18940 ac_lo
=$ac_mid; break
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.
$ac_ext >&5
18945 ac_hi
=`expr '(' $ac_mid ')' - 1`
18946 if test $ac_mid -le $ac_hi; then
18950 ac_mid
=`expr 2 '*' $ac_mid`
18952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.
$ac_ext >&5
18960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18963 # Binary search between lo and hi bounds.
18964 while test "x$ac_lo" != "x$ac_hi"; do
18965 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18966 cat >conftest.
$ac_ext <<_ACEOF
18969 cat confdefs.h
>>conftest.
$ac_ext
18970 cat >>conftest.
$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18976 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18983 rm -f conftest.
$ac_objext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18985 (eval $ac_compile) 2>conftest.er1
18987 grep -v '^ *+' conftest.er1
>conftest.err
18989 cat conftest.err
>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } &&
18992 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18994 (eval $ac_try) 2>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; } &&
18998 { ac_try
='test -s conftest.$ac_objext'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; }; then
19006 echo "$as_me: failed program was:" >&5
19007 sed 's/^/| /' conftest.
$ac_ext >&5
19009 ac_lo
=`expr '(' $ac_mid ')' + 1`
19011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19014 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19015 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19016 See \`config.log' for more details." >&5
19017 echo "$as_me: error: cannot compute sizeof (int), 77
19018 See \`config.log' for more details." >&2;}
19019 { (exit 1); exit 1; }; } ;;
19022 if test "$cross_compiling" = yes; then
19023 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19024 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19025 { (exit 1); exit 1; }; }
19027 cat >conftest.
$ac_ext <<_ACEOF
19030 cat confdefs.h
>>conftest.
$ac_ext
19031 cat >>conftest.
$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 $ac_includes_default
19034 long longval () { return (long) (sizeof (int)); }
19035 unsigned long ulongval () { return (long) (sizeof (int)); }
19037 #include <stdlib.h>
19042 FILE *f = fopen ("conftest.val", "w");
19045 if (((long) (sizeof (int))) < 0)
19047 long i = longval ();
19048 if (i != ((long) (sizeof (int))))
19050 fprintf (f, "%ld\n", i);
19054 unsigned long i = ulongval ();
19055 if (i != ((long) (sizeof (int))))
19057 fprintf (f, "%lu\n", i);
19059 exit (ferror (f) || fclose (f) != 0);
19065 rm -f conftest
$ac_exeext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19067 (eval $ac_link) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19076 ac_cv_sizeof_int
=`cat conftest.val`
19078 echo "$as_me: program exited with status $ac_status" >&5
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.
$ac_ext >&5
19082 ( exit $ac_status )
19083 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19084 See \`config.log' for more details." >&5
19085 echo "$as_me: error: cannot compute sizeof (int), 77
19086 See \`config.log' for more details." >&2;}
19087 { (exit 1); exit 1; }; }
19089 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19097 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19098 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19099 cat >>confdefs.h
<<_ACEOF
19100 #define SIZEOF_INT $ac_cv_sizeof_int
19104 echo "$as_me:$LINENO: checking for long" >&5
19105 echo $ECHO_N "checking for long... $ECHO_C" >&6
19106 if test "${ac_cv_type_long+set}" = set; then
19107 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 cat >conftest.
$ac_ext <<_ACEOF
19112 cat confdefs.h
>>conftest.
$ac_ext
19113 cat >>conftest.
$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19127 rm -f conftest.
$ac_objext
19128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19129 (eval $ac_compile) 2>conftest.er1
19131 grep -v '^ *+' conftest.er1
>conftest.err
19133 cat conftest.err
>&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } &&
19136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; } &&
19142 { ac_try
='test -s conftest.$ac_objext'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; }; then
19148 ac_cv_type_long
=yes
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.
$ac_ext >&5
19155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19157 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19158 echo "${ECHO_T}$ac_cv_type_long" >&6
19160 echo "$as_me:$LINENO: checking size of long" >&5
19161 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19162 if test "${ac_cv_sizeof_long+set}" = set; then
19163 echo $ECHO_N "(cached) $ECHO_C" >&6
19165 if test "$ac_cv_type_long" = yes; then
19166 # The cast to unsigned long works around a bug in the HP C Compiler
19167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19169 # This bug is HP SR number 8606223364.
19170 if test "$cross_compiling" = yes; then
19171 # Depending upon the size, compute the lo and hi bounds.
19172 cat >conftest.
$ac_ext <<_ACEOF
19175 cat confdefs.h
>>conftest.
$ac_ext
19176 cat >>conftest.
$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 $ac_includes_default
19182 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19189 rm -f conftest.
$ac_objext
19190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19191 (eval $ac_compile) 2>conftest.er1
19193 grep -v '^ *+' conftest.er1
>conftest.err
19195 cat conftest.err
>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; } &&
19204 { ac_try
='test -s conftest.$ac_objext'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; }; then
19212 cat >conftest.
$ac_ext <<_ACEOF
19215 cat confdefs.h
>>conftest.
$ac_ext
19216 cat >>conftest.
$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 $ac_includes_default
19222 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19229 rm -f conftest.
$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>conftest.er1
19233 grep -v '^ *+' conftest.er1
>conftest.err
19235 cat conftest.err
>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 (eval $ac_try) 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; } &&
19244 { ac_try
='test -s conftest.$ac_objext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19250 ac_hi
=$ac_mid; break
19252 echo "$as_me: failed program was:" >&5
19253 sed 's/^/| /' conftest.
$ac_ext >&5
19255 ac_lo
=`expr $ac_mid + 1`
19256 if test $ac_lo -le $ac_mid; then
19260 ac_mid
=`expr 2 '*' $ac_mid + 1`
19262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.
$ac_ext >&5
19268 cat >conftest.
$ac_ext <<_ACEOF
19271 cat confdefs.h
>>conftest.
$ac_ext
19272 cat >>conftest.
$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 $ac_includes_default
19278 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19285 rm -f conftest.
$ac_objext
19286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19287 (eval $ac_compile) 2>conftest.er1
19289 grep -v '^ *+' conftest.er1
>conftest.err
19291 cat conftest.err
>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } &&
19294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try
='test -s conftest.$ac_objext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19308 cat >conftest.
$ac_ext <<_ACEOF
19311 cat confdefs.h
>>conftest.
$ac_ext
19312 cat >>conftest.
$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19318 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19325 rm -f conftest.
$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19329 grep -v '^ *+' conftest.er1
>conftest.err
19331 cat conftest.err
>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_lo
=$ac_mid; break
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.
$ac_ext >&5
19351 ac_hi
=`expr '(' $ac_mid ')' - 1`
19352 if test $ac_mid -le $ac_hi; then
19356 ac_mid
=`expr 2 '*' $ac_mid`
19358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.
$ac_ext >&5
19366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19369 # Binary search between lo and hi bounds.
19370 while test "x$ac_lo" != "x$ac_hi"; do
19371 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19372 cat >conftest.
$ac_ext <<_ACEOF
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19382 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19389 rm -f conftest.
$ac_objext
19390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19391 (eval $ac_compile) 2>conftest.er1
19393 grep -v '^ *+' conftest.er1
>conftest.err
19395 cat conftest.err
>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } &&
19398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; } &&
19404 { ac_try
='test -s conftest.$ac_objext'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; }; then
19412 echo "$as_me: failed program was:" >&5
19413 sed 's/^/| /' conftest.
$ac_ext >&5
19415 ac_lo
=`expr '(' $ac_mid ')' + 1`
19417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19420 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19421 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19422 See \`config.log' for more details." >&5
19423 echo "$as_me: error: cannot compute sizeof (long), 77
19424 See \`config.log' for more details." >&2;}
19425 { (exit 1); exit 1; }; } ;;
19428 if test "$cross_compiling" = yes; then
19429 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19430 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19431 { (exit 1); exit 1; }; }
19433 cat >conftest.
$ac_ext <<_ACEOF
19436 cat confdefs.h
>>conftest.
$ac_ext
19437 cat >>conftest.
$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19439 $ac_includes_default
19440 long longval () { return (long) (sizeof (long)); }
19441 unsigned long ulongval () { return (long) (sizeof (long)); }
19443 #include <stdlib.h>
19448 FILE *f = fopen ("conftest.val", "w");
19451 if (((long) (sizeof (long))) < 0)
19453 long i = longval ();
19454 if (i != ((long) (sizeof (long))))
19456 fprintf (f, "%ld\n", i);
19460 unsigned long i = ulongval ();
19461 if (i != ((long) (sizeof (long))))
19463 fprintf (f, "%lu\n", i);
19465 exit (ferror (f) || fclose (f) != 0);
19471 rm -f conftest
$ac_exeext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19473 (eval $ac_link) 2>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_sizeof_long
=`cat conftest.val`
19484 echo "$as_me: program exited with status $ac_status" >&5
19485 echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.
$ac_ext >&5
19488 ( exit $ac_status )
19489 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19490 See \`config.log' for more details." >&5
19491 echo "$as_me: error: cannot compute sizeof (long), 77
19492 See \`config.log' for more details." >&2;}
19493 { (exit 1); exit 1; }; }
19495 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19500 ac_cv_sizeof_long
=0
19503 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19504 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19505 cat >>confdefs.h
<<_ACEOF
19506 #define SIZEOF_LONG $ac_cv_sizeof_long
19510 echo "$as_me:$LINENO: checking for size_t" >&5
19511 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19512 if test "${ac_cv_type_size_t+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 cat >conftest.
$ac_ext <<_ACEOF
19518 cat confdefs.h
>>conftest.
$ac_ext
19519 cat >>conftest.
$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 $ac_includes_default
19527 if (sizeof (size_t))
19533 rm -f conftest.
$ac_objext
19534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19535 (eval $ac_compile) 2>conftest.er1
19537 grep -v '^ *+' conftest.er1
>conftest.err
19539 cat conftest.err
>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } &&
19542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; } &&
19548 { ac_try
='test -s conftest.$ac_objext'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; }; then
19554 ac_cv_type_size_t
=yes
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.
$ac_ext >&5
19559 ac_cv_type_size_t
=no
19561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19563 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19564 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19566 echo "$as_me:$LINENO: checking size of size_t" >&5
19567 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19568 if test "${ac_cv_sizeof_size_t+set}" = set; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 if test "$ac_cv_type_size_t" = yes; then
19572 # The cast to unsigned long works around a bug in the HP C Compiler
19573 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19574 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19575 # This bug is HP SR number 8606223364.
19576 if test "$cross_compiling" = yes; then
19577 # Depending upon the size, compute the lo and hi bounds.
19578 cat >conftest.
$ac_ext <<_ACEOF
19581 cat confdefs.h
>>conftest.
$ac_ext
19582 cat >>conftest.
$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 $ac_includes_default
19588 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19595 rm -f conftest.
$ac_objext
19596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19597 (eval $ac_compile) 2>conftest.er1
19599 grep -v '^ *+' conftest.er1
>conftest.err
19601 cat conftest.err
>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); } &&
19604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; } &&
19610 { ac_try
='test -s conftest.$ac_objext'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; }; then
19618 cat >conftest.
$ac_ext <<_ACEOF
19621 cat confdefs.h
>>conftest.
$ac_ext
19622 cat >>conftest.
$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19624 $ac_includes_default
19628 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19635 rm -f conftest.
$ac_objext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19637 (eval $ac_compile) 2>conftest.er1
19639 grep -v '^ *+' conftest.er1
>conftest.err
19641 cat conftest.err
>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } &&
19644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646 (eval $ac_try) 2>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); }; } &&
19650 { ac_try
='test -s conftest.$ac_objext'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; }; then
19656 ac_hi
=$ac_mid; break
19658 echo "$as_me: failed program was:" >&5
19659 sed 's/^/| /' conftest.
$ac_ext >&5
19661 ac_lo
=`expr $ac_mid + 1`
19662 if test $ac_lo -le $ac_mid; then
19666 ac_mid
=`expr 2 '*' $ac_mid + 1`
19668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.
$ac_ext >&5
19674 cat >conftest.
$ac_ext <<_ACEOF
19677 cat confdefs.h
>>conftest.
$ac_ext
19678 cat >>conftest.
$ac_ext <<_ACEOF
19679 /* end confdefs.h. */
19680 $ac_includes_default
19684 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19691 rm -f conftest.
$ac_objext
19692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19693 (eval $ac_compile) 2>conftest.er1
19695 grep -v '^ *+' conftest.er1
>conftest.err
19697 cat conftest.err
>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); } &&
19700 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; } &&
19706 { ac_try
='test -s conftest.$ac_objext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19724 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19731 rm -f conftest.
$ac_objext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19733 (eval $ac_compile) 2>conftest.er1
19735 grep -v '^ *+' conftest.er1
>conftest.err
19737 cat conftest.err
>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try
='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 ac_lo
=$ac_mid; break
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.
$ac_ext >&5
19757 ac_hi
=`expr '(' $ac_mid ')' - 1`
19758 if test $ac_mid -le $ac_hi; then
19762 ac_mid
=`expr 2 '*' $ac_mid`
19764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.
$ac_ext >&5
19772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19775 # Binary search between lo and hi bounds.
19776 while test "x$ac_lo" != "x$ac_hi"; do
19777 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19778 cat >conftest.
$ac_ext <<_ACEOF
19781 cat confdefs.h
>>conftest.
$ac_ext
19782 cat >>conftest.
$ac_ext <<_ACEOF
19783 /* end confdefs.h. */
19784 $ac_includes_default
19788 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19795 rm -f conftest.
$ac_objext
19796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19797 (eval $ac_compile) 2>conftest.er1
19799 grep -v '^ *+' conftest.er1
>conftest.err
19801 cat conftest.err
>&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); } &&
19804 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; } &&
19810 { ac_try
='test -s conftest.$ac_objext'
19811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19812 (eval $ac_try) 2>&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); }; }; then
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.
$ac_ext >&5
19821 ac_lo
=`expr '(' $ac_mid ')' + 1`
19823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19826 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19827 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19828 See \`config.log' for more details." >&5
19829 echo "$as_me: error: cannot compute sizeof (size_t), 77
19830 See \`config.log' for more details." >&2;}
19831 { (exit 1); exit 1; }; } ;;
19834 if test "$cross_compiling" = yes; then
19835 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19836 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19837 { (exit 1); exit 1; }; }
19839 cat >conftest.
$ac_ext <<_ACEOF
19842 cat confdefs.h
>>conftest.
$ac_ext
19843 cat >>conftest.
$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19845 $ac_includes_default
19846 long longval () { return (long) (sizeof (size_t)); }
19847 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19849 #include <stdlib.h>
19854 FILE *f = fopen ("conftest.val", "w");
19857 if (((long) (sizeof (size_t))) < 0)
19859 long i = longval ();
19860 if (i != ((long) (sizeof (size_t))))
19862 fprintf (f, "%ld\n", i);
19866 unsigned long i = ulongval ();
19867 if (i != ((long) (sizeof (size_t))))
19869 fprintf (f, "%lu\n", i);
19871 exit (ferror (f) || fclose (f) != 0);
19877 rm -f conftest
$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879 (eval $ac_link) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_cv_sizeof_size_t
=`cat conftest.val`
19890 echo "$as_me: program exited with status $ac_status" >&5
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.
$ac_ext >&5
19894 ( exit $ac_status )
19895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19896 See \`config.log' for more details." >&5
19897 echo "$as_me: error: cannot compute sizeof (size_t), 77
19898 See \`config.log' for more details." >&2;}
19899 { (exit 1); exit 1; }; }
19901 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19906 ac_cv_sizeof_size_t
=0
19909 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19910 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19911 cat >>confdefs.h
<<_ACEOF
19912 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19919 echo "$as_me:$LINENO: checking for long long" >&5
19920 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19921 if test "${ac_cv_type_long_long+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 cat >conftest.
$ac_ext <<_ACEOF
19927 cat confdefs.h
>>conftest.
$ac_ext
19928 cat >>conftest.
$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 $ac_includes_default
19934 if ((long long *) 0)
19936 if (sizeof (long long))
19942 rm -f conftest.
$ac_objext
19943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19944 (eval $ac_compile) 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } &&
19951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try
='test -s conftest.$ac_objext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 ac_cv_type_long_long
=yes
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.
$ac_ext >&5
19968 ac_cv_type_long_long
=no
19970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19972 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19973 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19975 echo "$as_me:$LINENO: checking size of long long" >&5
19976 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19977 if test "${ac_cv_sizeof_long_long+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 if test "$ac_cv_type_long_long" = yes; then
19981 # The cast to unsigned long works around a bug in the HP C Compiler
19982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19984 # This bug is HP SR number 8606223364.
19985 if test "$cross_compiling" = yes; then
19986 # Depending upon the size, compute the lo and hi bounds.
19987 cat >conftest.
$ac_ext <<_ACEOF
19990 cat confdefs.h
>>conftest.
$ac_ext
19991 cat >>conftest.
$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 $ac_includes_default
19997 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20004 rm -f conftest.
$ac_objext
20005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20006 (eval $ac_compile) 2>conftest.er1
20008 grep -v '^ *+' conftest.er1
>conftest.err
20010 cat conftest.err
>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } &&
20013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; } &&
20019 { ac_try
='test -s conftest.$ac_objext'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; }; then
20027 cat >conftest.
$ac_ext <<_ACEOF
20030 cat confdefs.h
>>conftest.
$ac_ext
20031 cat >>conftest.
$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 $ac_includes_default
20037 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20044 rm -f conftest.
$ac_objext
20045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20046 (eval $ac_compile) 2>conftest.er1
20048 grep -v '^ *+' conftest.er1
>conftest.err
20050 cat conftest.err
>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); } &&
20053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20055 (eval $ac_try) 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; } &&
20059 { ac_try
='test -s conftest.$ac_objext'
20060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20061 (eval $ac_try) 2>&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); }; }; then
20065 ac_hi
=$ac_mid; break
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.
$ac_ext >&5
20070 ac_lo
=`expr $ac_mid + 1`
20071 if test $ac_lo -le $ac_mid; then
20075 ac_mid
=`expr 2 '*' $ac_mid + 1`
20077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.
$ac_ext >&5
20083 cat >conftest.
$ac_ext <<_ACEOF
20086 cat confdefs.h
>>conftest.
$ac_ext
20087 cat >>conftest.
$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20093 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20100 rm -f conftest.
$ac_objext
20101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20102 (eval $ac_compile) 2>conftest.er1
20104 grep -v '^ *+' conftest.er1
>conftest.err
20106 cat conftest.err
>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } &&
20109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111 (eval $ac_try) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; } &&
20115 { ac_try
='test -s conftest.$ac_objext'
20116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117 (eval $ac_try) 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; }; then
20123 cat >conftest.
$ac_ext <<_ACEOF
20126 cat confdefs.h
>>conftest.
$ac_ext
20127 cat >>conftest.
$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 $ac_includes_default
20133 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20140 rm -f conftest.
$ac_objext
20141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20142 (eval $ac_compile) 2>conftest.er1
20144 grep -v '^ *+' conftest.er1
>conftest.err
20146 cat conftest.err
>&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; } &&
20155 { ac_try
='test -s conftest.$ac_objext'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 ac_lo
=$ac_mid; break
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.
$ac_ext >&5
20166 ac_hi
=`expr '(' $ac_mid ')' - 1`
20167 if test $ac_mid -le $ac_hi; then
20171 ac_mid
=`expr 2 '*' $ac_mid`
20173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.
$ac_ext >&5
20181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20184 # Binary search between lo and hi bounds.
20185 while test "x$ac_lo" != "x$ac_hi"; do
20186 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20187 cat >conftest.
$ac_ext <<_ACEOF
20190 cat confdefs.h
>>conftest.
$ac_ext
20191 cat >>conftest.
$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 $ac_includes_default
20197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20204 rm -f conftest.
$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>conftest.er1
20208 grep -v '^ *+' conftest.er1
>conftest.err
20210 cat conftest.err
>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } &&
20213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; } &&
20219 { ac_try
='test -s conftest.$ac_objext'
20220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20221 (eval $ac_try) 2>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); }; }; then
20227 echo "$as_me: failed program was:" >&5
20228 sed 's/^/| /' conftest.
$ac_ext >&5
20230 ac_lo
=`expr '(' $ac_mid ')' + 1`
20232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20235 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20236 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20237 See \`config.log' for more details." >&5
20238 echo "$as_me: error: cannot compute sizeof (long long), 77
20239 See \`config.log' for more details." >&2;}
20240 { (exit 1); exit 1; }; } ;;
20243 if test "$cross_compiling" = yes; then
20244 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20245 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20246 { (exit 1); exit 1; }; }
20248 cat >conftest.
$ac_ext <<_ACEOF
20251 cat confdefs.h
>>conftest.
$ac_ext
20252 cat >>conftest.
$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 long longval () { return (long) (sizeof (long long)); }
20256 unsigned long ulongval () { return (long) (sizeof (long long)); }
20258 #include <stdlib.h>
20263 FILE *f = fopen ("conftest.val", "w");
20266 if (((long) (sizeof (long long))) < 0)
20268 long i = longval ();
20269 if (i != ((long) (sizeof (long long))))
20271 fprintf (f, "%ld\n", i);
20275 unsigned long i = ulongval ();
20276 if (i != ((long) (sizeof (long long))))
20278 fprintf (f, "%lu\n", i);
20280 exit (ferror (f) || fclose (f) != 0);
20286 rm -f conftest
$ac_exeext
20287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20288 (eval $ac_link) 2>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 ac_cv_sizeof_long_long
=`cat conftest.val`
20299 echo "$as_me: program exited with status $ac_status" >&5
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.
$ac_ext >&5
20303 ( exit $ac_status )
20304 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20305 See \`config.log' for more details." >&5
20306 echo "$as_me: error: cannot compute sizeof (long long), 77
20307 See \`config.log' for more details." >&2;}
20308 { (exit 1); exit 1; }; }
20310 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20315 ac_cv_sizeof_long_long
=0
20318 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20319 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20320 cat >>confdefs.h
<<_ACEOF
20321 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20327 echo "$as_me:$LINENO: checking for long long" >&5
20328 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20329 if test "${ac_cv_type_long_long+set}" = set; then
20330 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 cat >conftest.
$ac_ext <<_ACEOF
20335 cat confdefs.h
>>conftest.
$ac_ext
20336 cat >>conftest.
$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20342 if ((long long *) 0)
20344 if (sizeof (long long))
20350 rm -f conftest.
$ac_objext
20351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20352 (eval $ac_compile) 2>conftest.er1
20354 grep -v '^ *+' conftest.er1
>conftest.err
20356 cat conftest.err
>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); } &&
20359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20361 (eval $ac_try) 2>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; } &&
20365 { ac_try
='test -s conftest.$ac_objext'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; }; then
20371 ac_cv_type_long_long
=yes
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.
$ac_ext >&5
20376 ac_cv_type_long_long
=no
20378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20380 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20381 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20383 echo "$as_me:$LINENO: checking size of long long" >&5
20384 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20385 if test "${ac_cv_sizeof_long_long+set}" = set; then
20386 echo $ECHO_N "(cached) $ECHO_C" >&6
20388 if test "$ac_cv_type_long_long" = yes; then
20389 # The cast to unsigned long works around a bug in the HP C Compiler
20390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20392 # This bug is HP SR number 8606223364.
20393 if test "$cross_compiling" = yes; then
20394 # Depending upon the size, compute the lo and hi bounds.
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
20405 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20412 rm -f conftest.
$ac_objext
20413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20414 (eval $ac_compile) 2>conftest.er1
20416 grep -v '^ *+' conftest.er1
>conftest.err
20418 cat conftest.err
>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } &&
20421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; } &&
20427 { ac_try
='test -s conftest.$ac_objext'
20428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429 (eval $ac_try) 2>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); }; }; then
20435 cat >conftest.
$ac_ext <<_ACEOF
20438 cat confdefs.h
>>conftest.
$ac_ext
20439 cat >>conftest.
$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 $ac_includes_default
20445 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20452 rm -f conftest.
$ac_objext
20453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20454 (eval $ac_compile) 2>conftest.er1
20456 grep -v '^ *+' conftest.er1
>conftest.err
20458 cat conftest.err
>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } &&
20461 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; } &&
20467 { ac_try
='test -s conftest.$ac_objext'
20468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20469 (eval $ac_try) 2>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); }; }; then
20473 ac_hi
=$ac_mid; break
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.
$ac_ext >&5
20478 ac_lo
=`expr $ac_mid + 1`
20479 if test $ac_lo -le $ac_mid; then
20483 ac_mid
=`expr 2 '*' $ac_mid + 1`
20485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.
$ac_ext >&5
20491 cat >conftest.
$ac_ext <<_ACEOF
20494 cat confdefs.h
>>conftest.
$ac_ext
20495 cat >>conftest.
$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 $ac_includes_default
20501 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20508 rm -f conftest.
$ac_objext
20509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20510 (eval $ac_compile) 2>conftest.er1
20512 grep -v '^ *+' conftest.er1
>conftest.err
20514 cat conftest.err
>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } &&
20517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20519 (eval $ac_try) 2>&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); }; } &&
20523 { ac_try
='test -s conftest.$ac_objext'
20524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525 (eval $ac_try) 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; }; then
20531 cat >conftest.
$ac_ext <<_ACEOF
20534 cat confdefs.h
>>conftest.
$ac_ext
20535 cat >>conftest.
$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20541 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20548 rm -f conftest.
$ac_objext
20549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20550 (eval $ac_compile) 2>conftest.er1
20552 grep -v '^ *+' conftest.er1
>conftest.err
20554 cat conftest.err
>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } &&
20557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20559 (eval $ac_try) 2>&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); }; } &&
20563 { ac_try
='test -s conftest.$ac_objext'
20564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20565 (eval $ac_try) 2>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; }; then
20569 ac_lo
=$ac_mid; break
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.
$ac_ext >&5
20574 ac_hi
=`expr '(' $ac_mid ')' - 1`
20575 if test $ac_mid -le $ac_hi; then
20579 ac_mid
=`expr 2 '*' $ac_mid`
20581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.
$ac_ext >&5
20589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20592 # Binary search between lo and hi bounds.
20593 while test "x$ac_lo" != "x$ac_hi"; do
20594 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20595 cat >conftest.
$ac_ext <<_ACEOF
20598 cat confdefs.h
>>conftest.
$ac_ext
20599 cat >>conftest.
$ac_ext <<_ACEOF
20600 /* end confdefs.h. */
20601 $ac_includes_default
20605 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20612 rm -f conftest.
$ac_objext
20613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20614 (eval $ac_compile) 2>conftest.er1
20616 grep -v '^ *+' conftest.er1
>conftest.err
20618 cat conftest.err
>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); } &&
20621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; } &&
20627 { ac_try
='test -s conftest.$ac_objext'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; }; then
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.
$ac_ext >&5
20638 ac_lo
=`expr '(' $ac_mid ')' + 1`
20640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20643 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20644 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20645 See \`config.log' for more details." >&5
20646 echo "$as_me: error: cannot compute sizeof (long long), 77
20647 See \`config.log' for more details." >&2;}
20648 { (exit 1); exit 1; }; } ;;
20651 if test "$cross_compiling" = yes; then
20652 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20653 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20654 { (exit 1); exit 1; }; }
20656 cat >conftest.
$ac_ext <<_ACEOF
20659 cat confdefs.h
>>conftest.
$ac_ext
20660 cat >>conftest.
$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20662 $ac_includes_default
20663 long longval () { return (long) (sizeof (long long)); }
20664 unsigned long ulongval () { return (long) (sizeof (long long)); }
20666 #include <stdlib.h>
20671 FILE *f = fopen ("conftest.val", "w");
20674 if (((long) (sizeof (long long))) < 0)
20676 long i = longval ();
20677 if (i != ((long) (sizeof (long long))))
20679 fprintf (f, "%ld\n", i);
20683 unsigned long i = ulongval ();
20684 if (i != ((long) (sizeof (long long))))
20686 fprintf (f, "%lu\n", i);
20688 exit (ferror (f) || fclose (f) != 0);
20694 rm -f conftest
$ac_exeext
20695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20696 (eval $ac_link) 2>&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 ac_cv_sizeof_long_long
=`cat conftest.val`
20707 echo "$as_me: program exited with status $ac_status" >&5
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.
$ac_ext >&5
20711 ( exit $ac_status )
20712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20713 See \`config.log' for more details." >&5
20714 echo "$as_me: error: cannot compute sizeof (long long), 77
20715 See \`config.log' for more details." >&2;}
20716 { (exit 1); exit 1; }; }
20718 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20723 ac_cv_sizeof_long_long
=0
20726 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20727 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20728 cat >>confdefs.h
<<_ACEOF
20729 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20733 if test "$ac_cv_sizeof_long_long" != "0"; then
20734 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20738 echo "$as_me:$LINENO: checking for long long" >&5
20739 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20740 if test "${ac_cv_type_long_long+set}" = set; then
20741 echo $ECHO_N "(cached) $ECHO_C" >&6
20743 cat >conftest.
$ac_ext <<_ACEOF
20746 cat confdefs.h
>>conftest.
$ac_ext
20747 cat >>conftest.
$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 $ac_includes_default
20753 if ((long long *) 0)
20755 if (sizeof (long long))
20761 rm -f conftest.
$ac_objext
20762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20763 (eval $ac_compile) 2>conftest.er1
20765 grep -v '^ *+' conftest.er1
>conftest.err
20767 cat conftest.err
>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try
='test -s conftest.$ac_objext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_cv_type_long_long
=yes
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.
$ac_ext >&5
20787 ac_cv_type_long_long
=no
20789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20791 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20792 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20794 echo "$as_me:$LINENO: checking size of long long" >&5
20795 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20796 if test "${ac_cv_sizeof_long_long+set}" = set; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20799 if test "$ac_cv_type_long_long" = yes; then
20800 # The cast to unsigned long works around a bug in the HP C Compiler
20801 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20802 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20803 # This bug is HP SR number 8606223364.
20804 if test "$cross_compiling" = yes; then
20805 # Depending upon the size, compute the lo and hi bounds.
20806 cat >conftest.
$ac_ext <<_ACEOF
20809 cat confdefs.h
>>conftest.
$ac_ext
20810 cat >>conftest.
$ac_ext <<_ACEOF
20811 /* end confdefs.h. */
20812 $ac_includes_default
20816 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20823 rm -f conftest.
$ac_objext
20824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20825 (eval $ac_compile) 2>conftest.er1
20827 grep -v '^ *+' conftest.er1
>conftest.err
20829 cat conftest.err
>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } &&
20832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; } &&
20838 { ac_try
='test -s conftest.$ac_objext'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; }; then
20846 cat >conftest.
$ac_ext <<_ACEOF
20849 cat confdefs.h
>>conftest.
$ac_ext
20850 cat >>conftest.
$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20852 $ac_includes_default
20856 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20863 rm -f conftest.
$ac_objext
20864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20865 (eval $ac_compile) 2>conftest.er1
20867 grep -v '^ *+' conftest.er1
>conftest.err
20869 cat conftest.err
>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } &&
20872 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; } &&
20878 { ac_try
='test -s conftest.$ac_objext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884 ac_hi
=$ac_mid; break
20886 echo "$as_me: failed program was:" >&5
20887 sed 's/^/| /' conftest.
$ac_ext >&5
20889 ac_lo
=`expr $ac_mid + 1`
20890 if test $ac_lo -le $ac_mid; then
20894 ac_mid
=`expr 2 '*' $ac_mid + 1`
20896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.
$ac_ext >&5
20902 cat >conftest.
$ac_ext <<_ACEOF
20905 cat confdefs.h
>>conftest.
$ac_ext
20906 cat >>conftest.
$ac_ext <<_ACEOF
20907 /* end confdefs.h. */
20908 $ac_includes_default
20912 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20919 rm -f conftest.
$ac_objext
20920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20921 (eval $ac_compile) 2>conftest.er1
20923 grep -v '^ *+' conftest.er1
>conftest.err
20925 cat conftest.err
>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } &&
20928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; } &&
20934 { ac_try
='test -s conftest.$ac_objext'
20935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20936 (eval $ac_try) 2>&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20942 cat >conftest.
$ac_ext <<_ACEOF
20945 cat confdefs.h
>>conftest.
$ac_ext
20946 cat >>conftest.
$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20952 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20959 rm -f conftest.
$ac_objext
20960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20961 (eval $ac_compile) 2>conftest.er1
20963 grep -v '^ *+' conftest.er1
>conftest.err
20965 cat conftest.err
>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); } &&
20968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; } &&
20974 { ac_try
='test -s conftest.$ac_objext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 ac_lo
=$ac_mid; break
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.
$ac_ext >&5
20985 ac_hi
=`expr '(' $ac_mid ')' - 1`
20986 if test $ac_mid -le $ac_hi; then
20990 ac_mid
=`expr 2 '*' $ac_mid`
20992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.
$ac_ext >&5
21000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21003 # Binary search between lo and hi bounds.
21004 while test "x$ac_lo" != "x$ac_hi"; do
21005 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21006 cat >conftest.
$ac_ext <<_ACEOF
21009 cat confdefs.h
>>conftest.
$ac_ext
21010 cat >>conftest.
$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 $ac_includes_default
21016 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21023 rm -f conftest.
$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025 (eval $ac_compile) 2>conftest.er1
21027 grep -v '^ *+' conftest.er1
>conftest.err
21029 cat conftest.err
>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try
='test -s conftest.$ac_objext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.
$ac_ext >&5
21049 ac_lo
=`expr '(' $ac_mid ')' + 1`
21051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21054 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21055 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21056 See \`config.log' for more details." >&5
21057 echo "$as_me: error: cannot compute sizeof (long long), 77
21058 See \`config.log' for more details." >&2;}
21059 { (exit 1); exit 1; }; } ;;
21062 if test "$cross_compiling" = yes; then
21063 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21064 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21065 { (exit 1); exit 1; }; }
21067 cat >conftest.
$ac_ext <<_ACEOF
21070 cat confdefs.h
>>conftest.
$ac_ext
21071 cat >>conftest.
$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 long longval () { return (long) (sizeof (long long)); }
21075 unsigned long ulongval () { return (long) (sizeof (long long)); }
21077 #include <stdlib.h>
21082 FILE *f = fopen ("conftest.val", "w");
21085 if (((long) (sizeof (long long))) < 0)
21087 long i = longval ();
21088 if (i != ((long) (sizeof (long long))))
21090 fprintf (f, "%ld\n", i);
21094 unsigned long i = ulongval ();
21095 if (i != ((long) (sizeof (long long))))
21097 fprintf (f, "%lu\n", i);
21099 exit (ferror (f) || fclose (f) != 0);
21105 rm -f conftest
$ac_exeext
21106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21107 (eval $ac_link) 2>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; }; then
21116 ac_cv_sizeof_long_long
=`cat conftest.val`
21118 echo "$as_me: program exited with status $ac_status" >&5
21119 echo "$as_me: failed program was:" >&5
21120 sed 's/^/| /' conftest.
$ac_ext >&5
21122 ( exit $ac_status )
21123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21124 See \`config.log' for more details." >&5
21125 echo "$as_me: error: cannot compute sizeof (long long), 77
21126 See \`config.log' for more details." >&2;}
21127 { (exit 1); exit 1; }; }
21129 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21134 ac_cv_sizeof_long_long
=0
21137 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21138 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21139 cat >>confdefs.h
<<_ACEOF
21140 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21146 echo "$as_me:$LINENO: checking for wchar_t" >&5
21147 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21148 if test "${ac_cv_type_wchar_t+set}" = set; then
21149 echo $ECHO_N "(cached) $ECHO_C" >&6
21151 cat >conftest.
$ac_ext <<_ACEOF
21154 cat confdefs.h
>>conftest.
$ac_ext
21155 cat >>conftest.
$ac_ext <<_ACEOF
21156 /* end confdefs.h. */
21158 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21159 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21160 # error "fake wchar_t"
21162 #ifdef HAVE_WCHAR_H
21164 # include <stddef.h>
21166 # include <wchar.h>
21168 #ifdef HAVE_STDLIB_H
21169 # include <stdlib.h>
21180 if (sizeof (wchar_t))
21186 rm -f conftest.
$ac_objext
21187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21188 (eval $ac_compile) 2>conftest.er1
21190 grep -v '^ *+' conftest.er1
>conftest.err
21192 cat conftest.err
>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } &&
21195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; } &&
21201 { ac_try
='test -s conftest.$ac_objext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21207 ac_cv_type_wchar_t
=yes
21209 echo "$as_me: failed program was:" >&5
21210 sed 's/^/| /' conftest.
$ac_ext >&5
21212 ac_cv_type_wchar_t
=no
21214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21216 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21217 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21219 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21220 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21221 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21222 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 if test "$ac_cv_type_wchar_t" = yes; then
21225 # The cast to unsigned long works around a bug in the HP C Compiler
21226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21228 # This bug is HP SR number 8606223364.
21229 if test "$cross_compiling" = yes; then
21230 # Depending upon the size, compute the lo and hi bounds.
21231 cat >conftest.
$ac_ext <<_ACEOF
21234 cat confdefs.h
>>conftest.
$ac_ext
21235 cat >>conftest.
$ac_ext <<_ACEOF
21236 /* end confdefs.h. */
21238 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21239 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21240 # error "fake wchar_t"
21242 #ifdef HAVE_WCHAR_H
21244 # include <stddef.h>
21246 # include <wchar.h>
21248 #ifdef HAVE_STDLIB_H
21249 # include <stdlib.h>
21258 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21265 rm -f conftest.
$ac_objext
21266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21267 (eval $ac_compile) 2>conftest.er1
21269 grep -v '^ *+' conftest.er1
>conftest.err
21271 cat conftest.err
>&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } &&
21274 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276 (eval $ac_try) 2>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); }; } &&
21280 { ac_try
='test -s conftest.$ac_objext'
21281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21282 (eval $ac_try) 2>&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); }; }; then
21288 cat >conftest.
$ac_ext <<_ACEOF
21291 cat confdefs.h
>>conftest.
$ac_ext
21292 cat >>conftest.
$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21295 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21296 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21297 # error "fake wchar_t"
21299 #ifdef HAVE_WCHAR_H
21301 # include <stddef.h>
21303 # include <wchar.h>
21305 #ifdef HAVE_STDLIB_H
21306 # include <stdlib.h>
21315 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21322 rm -f conftest.
$ac_objext
21323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21324 (eval $ac_compile) 2>conftest.er1
21326 grep -v '^ *+' conftest.er1
>conftest.err
21328 cat conftest.err
>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } &&
21331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21333 (eval $ac_try) 2>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); }; } &&
21337 { ac_try
='test -s conftest.$ac_objext'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 ac_hi
=$ac_mid; break
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.
$ac_ext >&5
21348 ac_lo
=`expr $ac_mid + 1`
21349 if test $ac_lo -le $ac_mid; then
21353 ac_mid
=`expr 2 '*' $ac_mid + 1`
21355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.
$ac_ext >&5
21361 cat >conftest.
$ac_ext <<_ACEOF
21364 cat confdefs.h
>>conftest.
$ac_ext
21365 cat >>conftest.
$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21368 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21369 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21370 # error "fake wchar_t"
21372 #ifdef HAVE_WCHAR_H
21374 # include <stddef.h>
21376 # include <wchar.h>
21378 #ifdef HAVE_STDLIB_H
21379 # include <stdlib.h>
21388 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21395 rm -f conftest.
$ac_objext
21396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21397 (eval $ac_compile) 2>conftest.er1
21399 grep -v '^ *+' conftest.er1
>conftest.err
21401 cat conftest.err
>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); } &&
21404 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406 (eval $ac_try) 2>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); }; } &&
21410 { ac_try
='test -s conftest.$ac_objext'
21411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21412 (eval $ac_try) 2>&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); }; }; then
21418 cat >conftest.
$ac_ext <<_ACEOF
21421 cat confdefs.h
>>conftest.
$ac_ext
21422 cat >>conftest.
$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21425 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21426 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21427 # error "fake wchar_t"
21429 #ifdef HAVE_WCHAR_H
21431 # include <stddef.h>
21433 # include <wchar.h>
21435 #ifdef HAVE_STDLIB_H
21436 # include <stdlib.h>
21445 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21452 rm -f conftest.
$ac_objext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21454 (eval $ac_compile) 2>conftest.er1
21456 grep -v '^ *+' conftest.er1
>conftest.err
21458 cat conftest.err
>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; } &&
21467 { ac_try
='test -s conftest.$ac_objext'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; }; then
21473 ac_lo
=$ac_mid; break
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.
$ac_ext >&5
21478 ac_hi
=`expr '(' $ac_mid ')' - 1`
21479 if test $ac_mid -le $ac_hi; then
21483 ac_mid
=`expr 2 '*' $ac_mid`
21485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.
$ac_ext >&5
21493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21496 # Binary search between lo and hi bounds.
21497 while test "x$ac_lo" != "x$ac_hi"; do
21498 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21499 cat >conftest.
$ac_ext <<_ACEOF
21502 cat confdefs.h
>>conftest.
$ac_ext
21503 cat >>conftest.
$ac_ext <<_ACEOF
21504 /* end confdefs.h. */
21506 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21507 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21508 # error "fake wchar_t"
21510 #ifdef HAVE_WCHAR_H
21512 # include <stddef.h>
21514 # include <wchar.h>
21516 #ifdef HAVE_STDLIB_H
21517 # include <stdlib.h>
21526 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21533 rm -f conftest.
$ac_objext
21534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21535 (eval $ac_compile) 2>conftest.er1
21537 grep -v '^ *+' conftest.er1
>conftest.err
21539 cat conftest.err
>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; } &&
21548 { ac_try
='test -s conftest.$ac_objext'
21549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21550 (eval $ac_try) 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; }; then
21556 echo "$as_me: failed program was:" >&5
21557 sed 's/^/| /' conftest.
$ac_ext >&5
21559 ac_lo
=`expr '(' $ac_mid ')' + 1`
21561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21564 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21565 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21566 See \`config.log' for more details." >&5
21567 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21568 See \`config.log' for more details." >&2;}
21569 { (exit 1); exit 1; }; } ;;
21572 if test "$cross_compiling" = yes; then
21573 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21574 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21575 { (exit 1); exit 1; }; }
21577 cat >conftest.
$ac_ext <<_ACEOF
21580 cat confdefs.h
>>conftest.
$ac_ext
21581 cat >>conftest.
$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21584 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21585 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21586 # error "fake wchar_t"
21588 #ifdef HAVE_WCHAR_H
21590 # include <stddef.h>
21592 # include <wchar.h>
21594 #ifdef HAVE_STDLIB_H
21595 # include <stdlib.h>
21601 long longval () { return (long) (sizeof (wchar_t)); }
21602 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21604 #include <stdlib.h>
21609 FILE *f = fopen ("conftest.val", "w");
21612 if (((long) (sizeof (wchar_t))) < 0)
21614 long i = longval ();
21615 if (i != ((long) (sizeof (wchar_t))))
21617 fprintf (f, "%ld\n", i);
21621 unsigned long i = ulongval ();
21622 if (i != ((long) (sizeof (wchar_t))))
21624 fprintf (f, "%lu\n", i);
21626 exit (ferror (f) || fclose (f) != 0);
21632 rm -f conftest
$ac_exeext
21633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21634 (eval $ac_link) 2>&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639 (eval $ac_try) 2>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); }; }; then
21643 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21645 echo "$as_me: program exited with status $ac_status" >&5
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.
$ac_ext >&5
21649 ( exit $ac_status )
21650 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21651 See \`config.log' for more details." >&5
21652 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21653 See \`config.log' for more details." >&2;}
21654 { (exit 1); exit 1; }; }
21656 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21661 ac_cv_sizeof_wchar_t
=0
21664 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21665 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21666 cat >>confdefs.h
<<_ACEOF
21667 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21671 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21677 echo "$as_me:$LINENO: checking for va_copy" >&5
21678 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21679 if test "${wx_cv_func_va_copy+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21683 cat >conftest.
$ac_ext <<_ACEOF
21685 #include <stdarg.h>
21686 void foo(char *f, ...)
21700 rm -f conftest.
$ac_objext conftest
$ac_exeext
21701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21702 (eval $ac_link) 2>conftest.er1
21704 grep -v '^ *+' conftest.er1
>conftest.err
21706 cat conftest.err
>&5
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); } &&
21709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try
='test -s conftest$ac_exeext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21721 wx_cv_func_va_copy
=yes
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.
$ac_ext >&5
21726 wx_cv_func_va_copy
=no
21729 rm -f conftest.err conftest.
$ac_objext \
21730 conftest
$ac_exeext conftest.
$ac_ext
21734 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21735 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21737 if test $wx_cv_func_va_copy = "yes"; then
21738 cat >>confdefs.h
<<\_ACEOF
21739 #define HAVE_VA_COPY 1
21743 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21744 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21745 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21746 echo $ECHO_N "(cached) $ECHO_C" >&6
21749 if test "$cross_compiling" = yes; then
21750 wx_cv_type_va_list_lvalue
=yes
21753 cat >conftest.
$ac_ext <<_ACEOF
21755 #include <stdarg.h>
21756 int foo(char *f, ...)
21761 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21769 return foo("hi", 17);
21772 rm -f conftest
$ac_exeext
21773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21774 (eval $ac_link) 2>&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21779 (eval $ac_try) 2>&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); }; }; then
21783 wx_cv_type_va_list_lvalue
=yes
21785 echo "$as_me: program exited with status $ac_status" >&5
21786 echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.
$ac_ext >&5
21789 ( exit $ac_status )
21790 wx_cv_type_va_list_lvalue
=no
21792 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21797 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21798 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21800 if test $wx_cv_type_va_list_lvalue != "yes"; then
21801 cat >>confdefs.h
<<\_ACEOF
21802 #define VA_LIST_IS_ARRAY 1
21808 # Check whether --enable-largefile or --disable-largefile was given.
21809 if test "${enable_largefile+set}" = set; then
21810 enableval
="$enable_largefile"
21813 if test "$enable_largefile" != no
; then
21816 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21817 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21818 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21819 echo $ECHO_N "(cached) $ECHO_C" >&6
21822 cat >conftest.
$ac_ext <<_ACEOF
21825 cat confdefs.h
>>conftest.
$ac_ext
21826 cat >>conftest.
$ac_ext <<_ACEOF
21827 /* end confdefs.h. */
21828 #define _FILE_OFFSET_BITS 64
21829 #include <sys/types.h>
21834 unsigned int field: sizeof(off_t) == 8;
21841 rm -f conftest.
$ac_objext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21843 (eval $ac_compile) 2>conftest.er1
21845 grep -v '^ *+' conftest.er1
>conftest.err
21847 cat conftest.err
>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } &&
21850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; } &&
21856 { ac_try
='test -s conftest.$ac_objext'
21857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 (eval $ac_try) 2>&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; }; then
21862 ac_cv_sys_file_offset_bits
=64
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.
$ac_ext >&5
21867 ac_cv_sys_file_offset_bits
=no
21869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21873 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21874 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21876 if test "$ac_cv_sys_file_offset_bits" != no
; then
21878 cat >>confdefs.h
<<_ACEOF
21879 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21884 if test "x$wx_largefile" != "xyes"; then
21886 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21887 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21888 if test "${ac_cv_sys_large_files+set}" = set; then
21889 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 cat >conftest.
$ac_ext <<_ACEOF
21895 cat confdefs.h
>>conftest.
$ac_ext
21896 cat >>conftest.
$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898 #define _LARGE_FILES 1
21899 #include <sys/types.h>
21904 unsigned int field: sizeof(off_t) == 8;
21911 rm -f conftest.
$ac_objext
21912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21913 (eval $ac_compile) 2>conftest.er1
21915 grep -v '^ *+' conftest.er1
>conftest.err
21917 cat conftest.err
>&5
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); } &&
21920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; } &&
21926 { ac_try
='test -s conftest.$ac_objext'
21927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21928 (eval $ac_try) 2>&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); }; }; then
21932 ac_cv_sys_large_files
=1
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.
$ac_ext >&5
21937 ac_cv_sys_large_files
=no
21939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21943 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21944 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21946 if test "$ac_cv_sys_large_files" != no
; then
21948 cat >>confdefs.h
<<_ACEOF
21949 #define _LARGE_FILES $ac_cv_sys_large_files
21956 echo "$as_me:$LINENO: checking if large file support is available" >&5
21957 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21958 if test "x$wx_largefile" = "xyes"; then
21959 cat >>confdefs.h
<<\_ACEOF
21960 #define HAVE_LARGEFILE_SUPPORT 1
21964 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21965 echo "${ECHO_T}$wx_largefile" >&6
21969 if test "x$wx_largefile" = "xyes"; then
21970 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21971 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21973 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21974 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21975 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21976 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 cat >conftest.
$ac_ext <<_ACEOF
21983 cat confdefs.h
>>conftest.
$ac_ext
21984 cat >>conftest.
$ac_ext <<_ACEOF
21985 /* end confdefs.h. */
21991 #ifndef __STDC_EXT__
21999 rm -f conftest.
$ac_objext
22000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22001 (eval $ac_compile) 2>conftest.er1
22003 grep -v '^ *+' conftest.er1
>conftest.err
22005 cat conftest.err
>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } &&
22008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; } &&
22014 { ac_try
='test -s conftest.$ac_objext'
22015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22016 (eval $ac_try) 2>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); }; }; then
22020 wx_cv_STDC_EXT_required
=no
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.
$ac_ext >&5
22025 wx_cv_STDC_EXT_required
=yes
22028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22032 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22033 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22034 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22035 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22039 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22041 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22042 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22043 if test "${ac_cv_sys_largefile_source+set}" = set; then
22044 echo $ECHO_N "(cached) $ECHO_C" >&6
22047 ac_cv_sys_largefile_source
=no
22048 cat >conftest.
$ac_ext <<_ACEOF
22051 cat confdefs.h
>>conftest.
$ac_ext
22052 cat >>conftest.
$ac_ext <<_ACEOF
22053 /* end confdefs.h. */
22063 rm -f conftest.
$ac_objext
22064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22065 (eval $ac_compile) 2>conftest.er1
22067 grep -v '^ *+' conftest.er1
>conftest.err
22069 cat conftest.err
>&5
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); } &&
22072 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22074 (eval $ac_try) 2>&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); }; } &&
22078 { ac_try
='test -s conftest.$ac_objext'
22079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080 (eval $ac_try) 2>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); }; }; then
22086 echo "$as_me: failed program was:" >&5
22087 sed 's/^/| /' conftest.
$ac_ext >&5
22090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22091 cat >conftest.
$ac_ext <<_ACEOF
22094 cat confdefs.h
>>conftest.
$ac_ext
22095 cat >>conftest.
$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097 #define _LARGEFILE_SOURCE 1
22107 rm -f conftest.
$ac_objext
22108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22109 (eval $ac_compile) 2>conftest.er1
22111 grep -v '^ *+' conftest.er1
>conftest.err
22113 cat conftest.err
>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); } &&
22116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118 (eval $ac_try) 2>&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); }; } &&
22122 { ac_try
='test -s conftest.$ac_objext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_sys_largefile_source
=1; break
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.
$ac_ext >&5
22134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22138 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22139 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22140 if test "$ac_cv_sys_largefile_source" != no
; then
22142 cat >>confdefs.h
<<_ACEOF
22143 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22149 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22150 # in glibc 2.1.3, but that breaks too many other things.
22151 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22152 echo "$as_me:$LINENO: checking for fseeko" >&5
22153 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22154 if test "${ac_cv_func_fseeko+set}" = set; then
22155 echo $ECHO_N "(cached) $ECHO_C" >&6
22157 cat >conftest.
$ac_ext <<_ACEOF
22160 cat confdefs.h
>>conftest.
$ac_ext
22161 cat >>conftest.
$ac_ext <<_ACEOF
22162 /* end confdefs.h. */
22167 return fseeko && fseeko (stdin, 0, 0);
22172 rm -f conftest.
$ac_objext conftest
$ac_exeext
22173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22174 (eval $ac_link) 2>conftest.er1
22176 grep -v '^ *+' conftest.er1
>conftest.err
22178 cat conftest.err
>&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; } &&
22187 { ac_try
='test -s conftest$ac_exeext'
22188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22189 (eval $ac_try) 2>&5
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); }; }; then
22193 ac_cv_func_fseeko
=yes
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.
$ac_ext >&5
22198 ac_cv_func_fseeko
=no
22200 rm -f conftest.err conftest.
$ac_objext \
22201 conftest
$ac_exeext conftest.
$ac_ext
22203 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22204 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22205 if test $ac_cv_func_fseeko = yes; then
22207 cat >>confdefs.h
<<\_ACEOF
22208 #define HAVE_FSEEKO 1
22213 if test "$ac_cv_sys_largefile_source" != no
; then
22214 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22218 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22219 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22220 if test "${ac_cv_c_bigendian+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 ac_cv_c_bigendian
=unknown
22224 # See if sys/param.h defines the BYTE_ORDER macro.
22225 cat >conftest.
$ac_ext <<_ACEOF
22228 cat confdefs.h
>>conftest.
$ac_ext
22229 cat >>conftest.
$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 #include <sys/types.h>
22232 #include <sys/param.h>
22237 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22238 bogus endian macros
22244 rm -f conftest.
$ac_objext
22245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22246 (eval $ac_compile) 2>conftest.er1
22248 grep -v '^ *+' conftest.er1
>conftest.err
22250 cat conftest.err
>&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); } &&
22253 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; } &&
22259 { ac_try
='test -s conftest.$ac_objext'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; }; then
22265 # It does; now see whether it defined to BIG_ENDIAN or not.
22266 cat >conftest.
$ac_ext <<_ACEOF
22269 cat confdefs.h
>>conftest.
$ac_ext
22270 cat >>conftest.
$ac_ext <<_ACEOF
22271 /* end confdefs.h. */
22272 #include <sys/types.h>
22273 #include <sys/param.h>
22278 #if BYTE_ORDER != BIG_ENDIAN
22285 rm -f conftest.
$ac_objext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22287 (eval $ac_compile) 2>conftest.er1
22289 grep -v '^ *+' conftest.er1
>conftest.err
22291 cat conftest.err
>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } &&
22294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; } &&
22300 { ac_try
='test -s conftest.$ac_objext'
22301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302 (eval $ac_try) 2>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; }; then
22306 ac_cv_c_bigendian
=yes
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.
$ac_ext >&5
22311 ac_cv_c_bigendian
=no
22313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22315 echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.
$ac_ext >&5
22319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22320 if test $ac_cv_c_bigendian = unknown
; then
22321 if test "$cross_compiling" = yes; then
22322 ac_cv_c_bigendian
=unknown
22324 cat >conftest.
$ac_ext <<_ACEOF
22327 cat confdefs.h
>>conftest.
$ac_ext
22328 cat >>conftest.
$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22331 /* Are we little or big endian? From Harbison&Steele. */
22335 char c[sizeof (long)];
22338 exit (u.c[sizeof (long) - 1] == 1);
22341 rm -f conftest
$ac_exeext
22342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22343 (eval $ac_link) 2>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22352 ac_cv_c_bigendian
=no
22354 echo "$as_me: program exited with status $ac_status" >&5
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.
$ac_ext >&5
22358 ( exit $ac_status )
22359 ac_cv_c_bigendian
=yes
22361 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22365 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22366 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22367 if test $ac_cv_c_bigendian = unknown
; then
22368 { 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
22369 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;}
22371 if test $ac_cv_c_bigendian = yes; then
22372 cat >>confdefs.h
<<\_ACEOF
22373 #define WORDS_BIGENDIAN 1
22383 ac_cpp
='$CXXCPP $CPPFLAGS'
22384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22390 for ac_header
in iostream
22392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22394 echo "$as_me:$LINENO: checking for $ac_header" >&5
22395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22397 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22402 # Is the header compilable?
22403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22405 cat >conftest.
$ac_ext <<_ACEOF
22408 cat confdefs.h
>>conftest.
$ac_ext
22409 cat >>conftest.
$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22411 $ac_includes_default
22412 #include <$ac_header>
22414 rm -f conftest.
$ac_objext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22416 (eval $ac_compile) 2>conftest.er1
22418 grep -v '^ *+' conftest.er1
>conftest.err
22420 cat conftest.err
>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try
='test -s conftest.$ac_objext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_header_compiler
=yes
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.
$ac_ext >&5
22440 ac_header_compiler
=no
22442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22444 echo "${ECHO_T}$ac_header_compiler" >&6
22446 # Is the header present?
22447 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22449 cat >conftest.
$ac_ext <<_ACEOF
22452 cat confdefs.h
>>conftest.
$ac_ext
22453 cat >>conftest.
$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22455 #include <$ac_header>
22457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22460 grep -v '^ *+' conftest.er1
>conftest.err
22462 cat conftest.err
>&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); } >/dev
/null
; then
22465 if test -s conftest.err
; then
22466 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22467 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22474 if test -z "$ac_cpp_err"; then
22475 ac_header_preproc
=yes
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.
$ac_ext >&5
22480 ac_header_preproc
=no
22482 rm -f conftest.err conftest.
$ac_ext
22483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22484 echo "${ECHO_T}$ac_header_preproc" >&6
22486 # So? What about this header?
22487 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22493 ac_header_preproc
=yes
22496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22500 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22502 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22503 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22506 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22510 ## ----------------------------------------- ##
22511 ## Report this to wx-dev@lists.wxwidgets.org ##
22512 ## ----------------------------------------- ##
22515 sed "s/^/$as_me: WARNING: /" >&2
22518 echo "$as_me:$LINENO: checking for $ac_header" >&5
22519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22521 echo $ECHO_N "(cached) $ECHO_C" >&6
22523 eval "$as_ac_Header=\$ac_header_preproc"
22525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22530 cat >>confdefs.h
<<_ACEOF
22531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22539 if test "$ac_cv_header_iostream" = "yes" ; then
22542 cat >>confdefs.h
<<\_ACEOF
22543 #define wxUSE_IOSTREAMH 1
22549 ac_cpp
='$CXXCPP $CPPFLAGS'
22550 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22551 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22552 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22557 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22558 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22559 if test "${wx_cv_cpp_bool+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22566 ac_cpp
='$CXXCPP $CPPFLAGS'
22567 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22572 cat >conftest.
$ac_ext <<_ACEOF
22575 cat confdefs.h
>>conftest.
$ac_ext
22576 cat >>conftest.
$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22592 rm -f conftest.
$ac_objext
22593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22594 (eval $ac_compile) 2>conftest.er1
22596 grep -v '^ *+' conftest.er1
>conftest.err
22598 cat conftest.err
>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } &&
22601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603 (eval $ac_try) 2>&5
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; } &&
22607 { ac_try
='test -s conftest.$ac_objext'
22608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); }; }; then
22617 echo "$as_me: failed program was:" >&5
22618 sed 's/^/| /' conftest.
$ac_ext >&5
22625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22628 ac_cpp
='$CXXCPP $CPPFLAGS'
22629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22635 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22636 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22638 if test "$wx_cv_cpp_bool" = "yes"; then
22639 cat >>confdefs.h
<<\_ACEOF
22640 #define HAVE_BOOL 1
22647 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22648 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22649 if test "${wx_cv_explicit+set}" = set; then
22650 echo $ECHO_N "(cached) $ECHO_C" >&6
22656 ac_cpp
='$CXXCPP $CPPFLAGS'
22657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22662 cat >conftest.
$ac_ext <<_ACEOF
22665 cat confdefs.h
>>conftest.
$ac_ext
22666 cat >>conftest.
$ac_ext <<_ACEOF
22667 /* end confdefs.h. */
22669 class Foo { public: explicit Foo(int) {} };
22681 rm -f conftest.
$ac_objext
22682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22683 (eval $ac_compile) 2>conftest.er1
22685 grep -v '^ *+' conftest.er1
>conftest.err
22687 cat conftest.err
>&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } &&
22690 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; } &&
22696 { ac_try
='test -s conftest.$ac_objext'
22697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22698 (eval $ac_try) 2>&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); }; }; then
22703 cat >conftest.
$ac_ext <<_ACEOF
22706 cat confdefs.h
>>conftest.
$ac_ext
22707 cat >>conftest.
$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22710 class Foo { public: explicit Foo(int) {} };
22711 static void TakeFoo(const Foo& foo) { }
22724 rm -f conftest.
$ac_objext
22725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22726 (eval $ac_compile) 2>conftest.er1
22728 grep -v '^ *+' conftest.er1
>conftest.err
22730 cat conftest.err
>&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } &&
22733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22735 (eval $ac_try) 2>&5
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); }; } &&
22739 { ac_try
='test -s conftest.$ac_objext'
22740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22741 (eval $ac_try) 2>&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); }; }; then
22747 echo "$as_me: failed program was:" >&5
22748 sed 's/^/| /' conftest.
$ac_ext >&5
22753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22756 echo "$as_me: failed program was:" >&5
22757 sed 's/^/| /' conftest.
$ac_ext >&5
22762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22765 ac_cpp
='$CXXCPP $CPPFLAGS'
22766 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22767 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22768 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22772 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22773 echo "${ECHO_T}$wx_cv_explicit" >&6
22775 if test "$wx_cv_explicit" = "yes"; then
22776 cat >>confdefs.h
<<\_ACEOF
22777 #define HAVE_EXPLICIT 1
22783 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22784 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22785 if test "${ac_cv_cxx_const_cast+set}" = set; then
22786 echo $ECHO_N "(cached) $ECHO_C" >&6
22791 ac_cpp
='$CXXCPP $CPPFLAGS'
22792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22796 cat >conftest.
$ac_ext <<_ACEOF
22799 cat confdefs.h
>>conftest.
$ac_ext
22800 cat >>conftest.
$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22806 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22811 rm -f conftest.
$ac_objext
22812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22813 (eval $ac_compile) 2>conftest.er1
22815 grep -v '^ *+' conftest.er1
>conftest.err
22817 cat conftest.err
>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } &&
22820 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; } &&
22826 { ac_try
='test -s conftest.$ac_objext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22832 ac_cv_cxx_const_cast
=yes
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.
$ac_ext >&5
22837 ac_cv_cxx_const_cast
=no
22839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22841 ac_cpp
='$CXXCPP $CPPFLAGS'
22842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22848 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22849 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22850 if test "$ac_cv_cxx_const_cast" = yes; then
22852 cat >>confdefs.h
<<\_ACEOF
22853 #define HAVE_CONST_CAST
22858 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22859 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22860 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22866 ac_cpp
='$CXXCPP $CPPFLAGS'
22867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22871 cat >conftest.
$ac_ext <<_ACEOF
22874 cat confdefs.h
>>conftest.
$ac_ext
22875 cat >>conftest.
$ac_ext <<_ACEOF
22876 /* end confdefs.h. */
22877 #include <typeinfo>
22878 class Base { public : Base () {} virtual void f () = 0;};
22879 class Derived : public Base { public : Derived () {} virtual void f () {} };
22880 class Unrelated { public : Unrelated () {} };
22881 int g (Unrelated&) { return 0; }
22886 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22891 rm -f conftest.
$ac_objext
22892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22893 (eval $ac_compile) 2>conftest.er1
22895 grep -v '^ *+' conftest.er1
>conftest.err
22897 cat conftest.err
>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } &&
22900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; } &&
22906 { ac_try
='test -s conftest.$ac_objext'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; }; then
22912 ac_cv_cxx_reinterpret_cast
=yes
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.
$ac_ext >&5
22917 ac_cv_cxx_reinterpret_cast
=no
22919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22921 ac_cpp
='$CXXCPP $CPPFLAGS'
22922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22928 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22929 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22930 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22932 cat >>confdefs.h
<<\_ACEOF
22933 #define HAVE_REINTERPRET_CAST
22938 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22939 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22940 if test "${ac_cv_cxx_static_cast+set}" = set; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22946 ac_cpp
='$CXXCPP $CPPFLAGS'
22947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22951 cat >conftest.
$ac_ext <<_ACEOF
22954 cat confdefs.h
>>conftest.
$ac_ext
22955 cat >>conftest.
$ac_ext <<_ACEOF
22956 /* end confdefs.h. */
22957 #include <typeinfo>
22958 class Base { public : Base () {} virtual void f () = 0; };
22959 class Derived : public Base { public : Derived () {} virtual void f () {} };
22960 int g (Derived&) { return 0; }
22965 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22970 rm -f conftest.
$ac_objext
22971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22972 (eval $ac_compile) 2>conftest.er1
22974 grep -v '^ *+' conftest.er1
>conftest.err
22976 cat conftest.err
>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); } &&
22979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; } &&
22985 { ac_try
='test -s conftest.$ac_objext'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; }; then
22991 ac_cv_cxx_static_cast
=yes
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.
$ac_ext >&5
22996 ac_cv_cxx_static_cast
=no
22998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23000 ac_cpp
='$CXXCPP $CPPFLAGS'
23001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23007 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23008 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23009 if test "$ac_cv_cxx_static_cast" = yes; then
23011 cat >>confdefs.h
<<\_ACEOF
23012 #define HAVE_STATIC_CAST
23018 if test "x$SUNCXX" = xyes
; then
23019 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23022 if test "x$SUNCC" = xyes
; then
23023 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23026 if test "x$SGICC" = "xyes"; then
23027 CFLAGS
="-woff 3970 $CFLAGS"
23029 if test "x$SGICXX" = "xyes"; then
23030 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23033 if test "x$HPCC" = "xyes"; then
23034 CFLAGS
="+W 2011,2450 $CFLAGS"
23036 if test "x$HPCXX" = "xyes"; then
23037 CXXFLAGS
="+W 2340 $CXXFLAGS"
23040 if test "x$COMPAQCXX" = "xyes"; then
23041 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23044 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23045 if test "$wxUSE_UNICODE" = "yes"; then
23046 std_string
="std::wstring"
23047 char_type
="wchar_t"
23049 std_string
="std::string"
23053 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23054 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23055 cat >conftest.
$ac_ext <<_ACEOF
23058 cat confdefs.h
>>conftest.
$ac_ext
23059 cat >>conftest.
$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23070 rm -f conftest.
$ac_objext
23071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23072 (eval $ac_compile) 2>conftest.er1
23074 grep -v '^ *+' conftest.er1
>conftest.err
23076 cat conftest.err
>&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); } &&
23079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; } &&
23085 { ac_try
='test -s conftest.$ac_objext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 echo "$as_me:$LINENO: result: yes" >&5
23092 echo "${ECHO_T}yes" >&6
23093 cat >>confdefs.h
<<\_ACEOF
23094 #define HAVE_STD_WSTRING 1
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.
$ac_ext >&5
23101 echo "$as_me:$LINENO: result: no" >&5
23102 echo "${ECHO_T}no" >&6
23103 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23104 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23105 cat >conftest.
$ac_ext <<_ACEOF
23108 cat confdefs.h
>>conftest.
$ac_ext
23109 cat >>conftest.
$ac_ext <<_ACEOF
23110 /* end confdefs.h. */
23112 #ifdef HAVE_WCHAR_H
23114 # include <stddef.h>
23116 # include <wchar.h>
23118 #ifdef HAVE_STDLIB_H
23119 # include <stdlib.h>
23127 std::basic_string<$char_type> foo;
23128 const $char_type* dummy = foo.c_str();
23133 rm -f conftest.
$ac_objext
23134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23135 (eval $ac_compile) 2>conftest.er1
23137 grep -v '^ *+' conftest.er1
>conftest.err
23139 cat conftest.err
>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } &&
23142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; } &&
23148 { ac_try
='test -s conftest.$ac_objext'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; }; then
23154 echo "$as_me:$LINENO: result: yes" >&5
23155 echo "${ECHO_T}yes" >&6
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.
$ac_ext >&5
23160 echo "$as_me:$LINENO: result: no" >&5
23161 echo "${ECHO_T}no" >&6
23162 if test "$wxUSE_STL" = "yes"; then
23163 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23164 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23165 { (exit 1); exit 1; }; }
23166 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23167 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23168 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23169 { (exit 1); exit 1; }; }
23171 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23172 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23173 wxUSE_STD_STRING
=no
23178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23184 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23185 echo "$as_me:$LINENO: checking for std::istream" >&5
23186 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23187 if test "${ac_cv_type_std__istream+set}" = set; then
23188 echo $ECHO_N "(cached) $ECHO_C" >&6
23190 cat >conftest.
$ac_ext <<_ACEOF
23193 cat confdefs.h
>>conftest.
$ac_ext
23194 cat >>conftest.
$ac_ext <<_ACEOF
23195 /* end confdefs.h. */
23196 #include <iostream>
23201 if ((std::istream *) 0)
23203 if (sizeof (std::istream))
23209 rm -f conftest.
$ac_objext
23210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23211 (eval $ac_compile) 2>conftest.er1
23213 grep -v '^ *+' conftest.er1
>conftest.err
23215 cat conftest.err
>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } &&
23218 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try
='test -s conftest.$ac_objext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 ac_cv_type_std__istream
=yes
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.
$ac_ext >&5
23235 ac_cv_type_std__istream
=no
23237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23239 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23240 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23241 if test $ac_cv_type_std__istream = yes; then
23243 cat >>confdefs.h
<<_ACEOF
23244 #define HAVE_STD__ISTREAM 1
23249 wxUSE_STD_IOSTREAM
=no
23251 echo "$as_me:$LINENO: checking for std::ostream" >&5
23252 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23253 if test "${ac_cv_type_std__ostream+set}" = set; then
23254 echo $ECHO_N "(cached) $ECHO_C" >&6
23256 cat >conftest.
$ac_ext <<_ACEOF
23259 cat confdefs.h
>>conftest.
$ac_ext
23260 cat >>conftest.
$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23262 #include <iostream>
23267 if ((std::ostream *) 0)
23269 if (sizeof (std::ostream))
23275 rm -f conftest.
$ac_objext
23276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23277 (eval $ac_compile) 2>conftest.er1
23279 grep -v '^ *+' conftest.er1
>conftest.err
23281 cat conftest.err
>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } &&
23284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; } &&
23290 { ac_try
='test -s conftest.$ac_objext'
23291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23292 (eval $ac_try) 2>&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); }; }; then
23296 ac_cv_type_std__ostream
=yes
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.
$ac_ext >&5
23301 ac_cv_type_std__ostream
=no
23303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23305 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23306 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23307 if test $ac_cv_type_std__ostream = yes; then
23309 cat >>confdefs.h
<<_ACEOF
23310 #define HAVE_STD__OSTREAM 1
23315 wxUSE_STD_IOSTREAM
=no
23319 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23320 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23321 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23322 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23323 { (exit 1); exit 1; }; }
23325 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23326 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23331 if test "$wxUSE_STL" = "yes"; then
23332 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23333 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23334 cat >conftest.
$ac_ext <<_ACEOF
23337 cat confdefs.h
>>conftest.
$ac_ext
23338 cat >>conftest.
$ac_ext <<_ACEOF
23339 /* end confdefs.h. */
23341 #include <functional>
23342 #include <algorithm>
23348 std::vector<int> moo;
23349 std::list<int> foo;
23350 std::vector<int>::iterator it =
23351 std::find_if(moo.begin(), moo.end(),
23352 std::bind2nd(std::less<int>(), 3));
23357 rm -f conftest.
$ac_objext
23358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23359 (eval $ac_compile) 2>conftest.er1
23361 grep -v '^ *+' conftest.er1
>conftest.err
23363 cat conftest.err
>&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); } &&
23366 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368 (eval $ac_try) 2>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; } &&
23372 { ac_try
='test -s conftest.$ac_objext'
23373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374 (eval $ac_try) 2>&5
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); }; }; then
23378 echo "$as_me:$LINENO: result: yes" >&5
23379 echo "${ECHO_T}yes" >&6
23381 echo "$as_me: failed program was:" >&5
23382 sed 's/^/| /' conftest.
$ac_ext >&5
23384 echo "$as_me:$LINENO: result: no" >&5
23385 echo "${ECHO_T}no" >&6
23386 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23387 echo "$as_me: error: Basic STL functionality missing" >&2;}
23388 { (exit 1); exit 1; }; }
23390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23392 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23393 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23394 cat >conftest.
$ac_ext <<_ACEOF
23397 cat confdefs.h
>>conftest.
$ac_ext
23398 cat >>conftest.
$ac_ext <<_ACEOF
23399 /* end confdefs.h. */
23404 std::string foo, bar;
23406 foo.compare(1, 1, bar);
23407 foo.compare(1, 1, bar, 1, 1);
23409 foo.compare(1, 1, "");
23410 foo.compare(1, 1, "", 2);
23415 rm -f conftest.
$ac_objext
23416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23417 (eval $ac_compile) 2>conftest.er1
23419 grep -v '^ *+' conftest.er1
>conftest.err
23421 cat conftest.err
>&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } &&
23424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; } &&
23430 { ac_try
='test -s conftest.$ac_objext'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; }; then
23436 echo "$as_me:$LINENO: result: yes" >&5
23437 echo "${ECHO_T}yes" >&6
23438 cat >>confdefs.h
<<\_ACEOF
23439 #define HAVE_STD_STRING_COMPARE 1
23443 echo "$as_me: failed program was:" >&5
23444 sed 's/^/| /' conftest.
$ac_ext >&5
23446 echo "$as_me:$LINENO: result: no" >&5
23447 echo "${ECHO_T}no" >&6
23449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23451 if test "${ac_cv_header_hash_map+set}" = set; then
23452 echo "$as_me:$LINENO: checking for hash_map" >&5
23453 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23454 if test "${ac_cv_header_hash_map+set}" = set; then
23455 echo $ECHO_N "(cached) $ECHO_C" >&6
23457 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23458 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23460 # Is the header compilable?
23461 echo "$as_me:$LINENO: checking hash_map usability" >&5
23462 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23463 cat >conftest.
$ac_ext <<_ACEOF
23466 cat confdefs.h
>>conftest.
$ac_ext
23467 cat >>conftest.
$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23469 $ac_includes_default
23470 #include <hash_map>
23472 rm -f conftest.
$ac_objext
23473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23474 (eval $ac_compile) 2>conftest.er1
23476 grep -v '^ *+' conftest.er1
>conftest.err
23478 cat conftest.err
>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); } &&
23481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23487 { ac_try
='test -s conftest.$ac_objext'
23488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23489 (eval $ac_try) 2>&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); }; }; then
23493 ac_header_compiler
=yes
23495 echo "$as_me: failed program was:" >&5
23496 sed 's/^/| /' conftest.
$ac_ext >&5
23498 ac_header_compiler
=no
23500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23502 echo "${ECHO_T}$ac_header_compiler" >&6
23504 # Is the header present?
23505 echo "$as_me:$LINENO: checking hash_map presence" >&5
23506 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23507 cat >conftest.
$ac_ext <<_ACEOF
23510 cat confdefs.h
>>conftest.
$ac_ext
23511 cat >>conftest.
$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23513 #include <hash_map>
23515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23518 grep -v '^ *+' conftest.er1
>conftest.err
23520 cat conftest.err
>&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } >/dev
/null
; then
23523 if test -s conftest.err
; then
23524 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23525 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23532 if test -z "$ac_cpp_err"; then
23533 ac_header_preproc
=yes
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.
$ac_ext >&5
23538 ac_header_preproc
=no
23540 rm -f conftest.err conftest.
$ac_ext
23541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23542 echo "${ECHO_T}$ac_header_preproc" >&6
23544 # So? What about this header?
23545 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23547 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23548 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23549 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23550 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23551 ac_header_preproc
=yes
23554 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23555 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23556 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23557 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23558 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23559 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23560 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23561 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23562 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23563 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23564 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23565 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23568 ## ----------------------------------------- ##
23569 ## Report this to wx-dev@lists.wxwidgets.org ##
23570 ## ----------------------------------------- ##
23573 sed "s/^/$as_me: WARNING: /" >&2
23576 echo "$as_me:$LINENO: checking for hash_map" >&5
23577 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23578 if test "${ac_cv_header_hash_map+set}" = set; then
23579 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 ac_cv_header_hash_map
=$ac_header_preproc
23583 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23584 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23587 if test $ac_cv_header_hash_map = yes; then
23588 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23589 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23590 cat >conftest.
$ac_ext <<_ACEOF
23593 cat confdefs.h
>>conftest.
$ac_ext
23594 cat >>conftest.
$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23596 #include <hash_map>
23597 #include <hash_set>
23601 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23602 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
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" || test ! -s conftest.err'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; } &&
23622 { ac_try
='test -s conftest.$ac_objext'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; }; then
23628 echo "$as_me:$LINENO: result: yes" >&5
23629 echo "${ECHO_T}yes" >&6
23630 cat >>confdefs.h
<<\_ACEOF
23631 #define HAVE_HASH_MAP 1
23634 cat >>confdefs.h
<<\_ACEOF
23635 #define HAVE_STD_HASH_MAP 1
23639 echo "$as_me: failed program was:" >&5
23640 sed 's/^/| /' conftest.
$ac_ext >&5
23642 echo "$as_me:$LINENO: result: no" >&5
23643 echo "${ECHO_T}no" >&6
23645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23651 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23652 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23653 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23654 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23655 echo $ECHO_N "(cached) $ECHO_C" >&6
23657 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23658 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23660 # Is the header compilable?
23661 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23662 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23663 cat >conftest.
$ac_ext <<_ACEOF
23666 cat confdefs.h
>>conftest.
$ac_ext
23667 cat >>conftest.
$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 $ac_includes_default
23670 #include <ext/hash_map>
23672 rm -f conftest.
$ac_objext
23673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23674 (eval $ac_compile) 2>conftest.er1
23676 grep -v '^ *+' conftest.er1
>conftest.err
23678 cat conftest.err
>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23687 { ac_try
='test -s conftest.$ac_objext'
23688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23689 (eval $ac_try) 2>&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); }; }; then
23693 ac_header_compiler
=yes
23695 echo "$as_me: failed program was:" >&5
23696 sed 's/^/| /' conftest.
$ac_ext >&5
23698 ac_header_compiler
=no
23700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23702 echo "${ECHO_T}$ac_header_compiler" >&6
23704 # Is the header present?
23705 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23706 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23707 cat >conftest.
$ac_ext <<_ACEOF
23710 cat confdefs.h
>>conftest.
$ac_ext
23711 cat >>conftest.
$ac_ext <<_ACEOF
23712 /* end confdefs.h. */
23713 #include <ext/hash_map>
23715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23718 grep -v '^ *+' conftest.er1
>conftest.err
23720 cat conftest.err
>&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } >/dev
/null
; then
23723 if test -s conftest.err
; then
23724 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23725 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23732 if test -z "$ac_cpp_err"; then
23733 ac_header_preproc
=yes
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.
$ac_ext >&5
23738 ac_header_preproc
=no
23740 rm -f conftest.err conftest.
$ac_ext
23741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23742 echo "${ECHO_T}$ac_header_preproc" >&6
23744 # So? What about this header?
23745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23747 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23748 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23749 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23750 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23751 ac_header_preproc
=yes
23754 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23755 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23756 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23757 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23758 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23759 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23760 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23761 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23762 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23763 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23764 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23765 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23768 ## ----------------------------------------- ##
23769 ## Report this to wx-dev@lists.wxwidgets.org ##
23770 ## ----------------------------------------- ##
23773 sed "s/^/$as_me: WARNING: /" >&2
23776 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23777 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23778 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23779 echo $ECHO_N "(cached) $ECHO_C" >&6
23781 ac_cv_header_ext_hash_map
=$ac_header_preproc
23783 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23784 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23787 if test $ac_cv_header_ext_hash_map = yes; then
23788 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23789 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23790 cat >conftest.
$ac_ext <<_ACEOF
23793 cat confdefs.h
>>conftest.
$ac_ext
23794 cat >>conftest.
$ac_ext <<_ACEOF
23795 /* end confdefs.h. */
23796 #include <ext/hash_map>
23797 #include <ext/hash_set>
23801 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23802 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23807 rm -f conftest.
$ac_objext
23808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23809 (eval $ac_compile) 2>conftest.er1
23811 grep -v '^ *+' conftest.er1
>conftest.err
23813 cat conftest.err
>&5
23814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23815 (exit $ac_status); } &&
23816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23818 (eval $ac_try) 2>&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); }; } &&
23822 { ac_try
='test -s conftest.$ac_objext'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; }; then
23828 echo "$as_me:$LINENO: result: yes" >&5
23829 echo "${ECHO_T}yes" >&6
23830 cat >>confdefs.h
<<\_ACEOF
23831 #define HAVE_EXT_HASH_MAP 1
23834 cat >>confdefs.h
<<\_ACEOF
23835 #define HAVE_GNU_CXX_HASH_MAP 1
23839 echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.
$ac_ext >&5
23842 echo "$as_me:$LINENO: result: no" >&5
23843 echo "${ECHO_T}no" >&6
23845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23854 /usr/local/include \
23856 /usr/Motif-2.1/include \
23857 /usr/Motif-1.2/include \
23858 /usr/include/Motif1.2 \
23861 /usr/openwin/include \
23865 /usr/X11R6/include \
23866 /usr/X11R6.4/include \
23867 /usr/X11R5/include \
23868 /usr/X11R4/include \
23870 /usr/include/X11R6 \
23871 /usr/include/X11R5 \
23872 /usr/include/X11R4 \
23874 /usr/local/X11R6/include \
23875 /usr/local/X11R5/include \
23876 /usr/local/X11R4/include \
23878 /usr/local/include/X11R6 \
23879 /usr/local/include/X11R5 \
23880 /usr/local/include/X11R4 \
23884 /usr/local/X11/include \
23885 /usr/local/include/X11 \
23887 /usr/XFree86/include/X11 \
23890 /usr/openwin/share/include"
23892 echo "$as_me:$LINENO: checking for libraries directory" >&5
23893 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23897 if test "${wx_cv_std_libpath+set}" = set; then
23898 echo $ECHO_N "(cached) $ECHO_C" >&6
23901 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23902 for e
in a so sl dylib dll.a
; do
23904 if test -f $libc; then
23907 cat >conftest.
$ac_ext <<_ACEOF
23908 int main() { return 0; }
23910 rm -f conftest.
$ac_objext conftest
$ac_exeext
23911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23912 (eval $ac_link) 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); } &&
23919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23921 (eval $ac_try) 2>&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); }; } &&
23925 { ac_try
='test -s conftest$ac_exeext'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; }; then
23931 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.
$ac_ext >&5
23937 rm -f conftest.err conftest.
$ac_objext \
23938 conftest
$ac_exeext conftest.
$ac_ext
23940 if test "x$wx_cv_std_libpath" != "x"; then
23946 if test "x$wx_cv_std_libpath" = "x"; then
23947 wx_cv_std_libpath
="lib"
23956 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23957 wx_cv_std_libpath
="lib/64"
23959 wx_cv_std_libpath
="lib"
23964 if test "$ac_cv_sizeof_void_p" = 8 -a \
23965 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23966 wx_cv_std_libpath
="lib64"
23968 wx_cv_std_libpath
="lib"
23973 wx_cv_std_libpath
="lib";
23977 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23978 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23980 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23982 if test "$build" != "$host" -a "$GCC" = yes; then
23983 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23984 cross_root
=`dirname $cross_root`
23985 cross_root
=`dirname $cross_root`
23987 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23988 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23989 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23991 if test -z "$PKG_CONFIG_PATH"; then
23992 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23993 export PKG_CONFIG_PATH
23996 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23999 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24001 if test -f "$ac_dir/X11/Intrinsic.h"; then
24002 ac_find_includes
=$ac_dir
24007 x_includes
=$ac_find_includes
24009 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24012 for ac_dir
in $SEARCH_LIB;
24014 for ac_extension
in a so sl dylib dll.a
; do
24015 if test -f "$ac_dir/libXt.$ac_extension"; then
24016 ac_find_libraries
=$ac_dir
24022 x_libraries
=$ac_find_libraries
24028 cat >confcache
<<\_ACEOF
24029 # This file is a shell script that caches the results of configure
24030 # tests run on this system so they can be shared between configure
24031 # scripts and configure runs, see configure's option --config-cache.
24032 # It is not useful on other systems. If it contains results you don't
24033 # want to keep, you may remove or edit it.
24035 # config.status only pays attention to the cache file if you give it
24036 # the --recheck option to rerun configure.
24038 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24039 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24040 # following values.
24044 # The following way of writing the cache mishandles newlines in values,
24045 # but we know of no workaround that is simple, portable, and efficient.
24046 # So, don't put newlines in cache variables' values.
24047 # Ultrix sh set writes to stderr and can't be redirected directly,
24048 # and sets the high bit in the cache file unless we assign to the vars.
24051 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24053 # `set' does not quote correctly, so add quotes (double-quote
24054 # substitution turns \\\\ into \\, and sed turns \\ into \).
24057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24060 # `set' quotes correctly as required by POSIX, so do not add quotes.
24062 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24069 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24071 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24073 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24074 if test -w $cache_file; then
24075 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24076 cat confcache
>$cache_file
24078 echo "not updating unwritable cache $cache_file"
24083 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24084 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24085 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24086 if test "${wx_cv_lib_glibc21+set}" = set; then
24087 echo $ECHO_N "(cached) $ECHO_C" >&6
24090 cat >conftest.
$ac_ext <<_ACEOF
24093 cat confdefs.h
>>conftest.
$ac_ext
24094 cat >>conftest.
$ac_ext <<_ACEOF
24095 /* end confdefs.h. */
24096 #include <features.h>
24101 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24109 rm -f conftest.
$ac_objext
24110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24111 (eval $ac_compile) 2>conftest.er1
24113 grep -v '^ *+' conftest.er1
>conftest.err
24115 cat conftest.err
>&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } &&
24118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24120 (eval $ac_try) 2>&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); }; } &&
24124 { ac_try
='test -s conftest.$ac_objext'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; }; then
24131 wx_cv_lib_glibc21
=yes
24134 echo "$as_me: failed program was:" >&5
24135 sed 's/^/| /' conftest.
$ac_ext >&5
24138 wx_cv_lib_glibc21
=no
24142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24145 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24146 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24147 if test "$wx_cv_lib_glibc21" = "yes"; then
24148 cat >>confdefs.h
<<\_ACEOF
24149 #define wxHAVE_GLIBC2 1
24155 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24156 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24157 cat >>confdefs.h
<<\_ACEOF
24158 #define _GNU_SOURCE 1
24169 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24170 echo "$as_me:$LINENO: checking for $ac_func" >&5
24171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24172 if eval "test \"\${$as_ac_var+set}\" = set"; then
24173 echo $ECHO_N "(cached) $ECHO_C" >&6
24175 cat >conftest.
$ac_ext <<_ACEOF
24178 cat confdefs.h
>>conftest.
$ac_ext
24179 cat >>conftest.
$ac_ext <<_ACEOF
24180 /* end confdefs.h. */
24181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24183 #define $ac_func innocuous_$ac_func
24185 /* System header to define __stub macros and hopefully few prototypes,
24186 which can conflict with char $ac_func (); below.
24187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24188 <limits.h> exists even on freestanding compilers. */
24191 # include <limits.h>
24193 # include <assert.h>
24198 /* Override any gcc2 internal prototype to avoid an error. */
24203 /* We use char because int might match the return type of a gcc2
24204 builtin and then its argument prototype would still apply. */
24206 /* The GNU C library defines this for functions which it implements
24207 to always fail with ENOSYS. Some functions are actually named
24208 something starting with __ and the normal name is an alias. */
24209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24212 char (*f) () = $ac_func;
24221 return f != $ac_func;
24226 rm -f conftest.
$ac_objext conftest
$ac_exeext
24227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24228 (eval $ac_link) 2>conftest.er1
24230 grep -v '^ *+' conftest.er1
>conftest.err
24232 cat conftest.err
>&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } &&
24235 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24237 (eval $ac_try) 2>&5
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); }; } &&
24241 { ac_try
='test -s conftest$ac_exeext'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; }; then
24247 eval "$as_ac_var=yes"
24249 echo "$as_me: failed program was:" >&5
24250 sed 's/^/| /' conftest.
$ac_ext >&5
24252 eval "$as_ac_var=no"
24254 rm -f conftest.err conftest.
$ac_objext \
24255 conftest
$ac_exeext conftest.
$ac_ext
24257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24259 if test `eval echo '${'$as_ac_var'}'` = yes; then
24260 cat >>confdefs.h
<<_ACEOF
24261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24268 for ac_func
in floor
24270 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24271 echo "$as_me:$LINENO: checking for $ac_func" >&5
24272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24273 if eval "test \"\${$as_ac_var+set}\" = set"; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24276 cat >conftest.
$ac_ext <<_ACEOF
24279 cat confdefs.h
>>conftest.
$ac_ext
24280 cat >>conftest.
$ac_ext <<_ACEOF
24281 /* end confdefs.h. */
24282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24284 #define $ac_func innocuous_$ac_func
24286 /* System header to define __stub macros and hopefully few prototypes,
24287 which can conflict with char $ac_func (); below.
24288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24289 <limits.h> exists even on freestanding compilers. */
24292 # include <limits.h>
24294 # include <assert.h>
24299 /* Override any gcc2 internal prototype to avoid an error. */
24304 /* We use char because int might match the return type of a gcc2
24305 builtin and then its argument prototype would still apply. */
24307 /* The GNU C library defines this for functions which it implements
24308 to always fail with ENOSYS. Some functions are actually named
24309 something starting with __ and the normal name is an alias. */
24310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24313 char (*f) () = $ac_func;
24322 return f != $ac_func;
24327 rm -f conftest.
$ac_objext conftest
$ac_exeext
24328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24329 (eval $ac_link) 2>conftest.er1
24331 grep -v '^ *+' conftest.er1
>conftest.err
24333 cat conftest.err
>&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } &&
24336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; } &&
24342 { ac_try
='test -s conftest$ac_exeext'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; }; then
24348 eval "$as_ac_var=yes"
24350 echo "$as_me: failed program was:" >&5
24351 sed 's/^/| /' conftest.
$ac_ext >&5
24353 eval "$as_ac_var=no"
24355 rm -f conftest.err conftest.
$ac_objext \
24356 conftest
$ac_exeext conftest.
$ac_ext
24358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24360 if test `eval echo '${'$as_ac_var'}'` = yes; then
24361 cat >>confdefs.h
<<_ACEOF
24362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24368 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24369 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24370 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24371 echo "$as_me:$LINENO: result: yes" >&5
24372 echo "${ECHO_T}yes" >&6
24374 echo "$as_me:$LINENO: result: no" >&5
24375 echo "${ECHO_T}no" >&6
24377 # use different functions to avoid configure caching
24383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24384 echo "$as_me:$LINENO: checking for $ac_func" >&5
24385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24386 if eval "test \"\${$as_ac_var+set}\" = set"; then
24387 echo $ECHO_N "(cached) $ECHO_C" >&6
24389 cat >conftest.
$ac_ext <<_ACEOF
24392 cat confdefs.h
>>conftest.
$ac_ext
24393 cat >>conftest.
$ac_ext <<_ACEOF
24394 /* end confdefs.h. */
24395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24397 #define $ac_func innocuous_$ac_func
24399 /* System header to define __stub macros and hopefully few prototypes,
24400 which can conflict with char $ac_func (); below.
24401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24402 <limits.h> exists even on freestanding compilers. */
24405 # include <limits.h>
24407 # include <assert.h>
24412 /* Override any gcc2 internal prototype to avoid an error. */
24417 /* We use char because int might match the return type of a gcc2
24418 builtin and then its argument prototype would still apply. */
24420 /* The GNU C library defines this for functions which it implements
24421 to always fail with ENOSYS. Some functions are actually named
24422 something starting with __ and the normal name is an alias. */
24423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24426 char (*f) () = $ac_func;
24435 return f != $ac_func;
24440 rm -f conftest.
$ac_objext conftest
$ac_exeext
24441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24442 (eval $ac_link) 2>conftest.er1
24444 grep -v '^ *+' conftest.er1
>conftest.err
24446 cat conftest.err
>&5
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); } &&
24449 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24451 (eval $ac_try) 2>&5
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); }; } &&
24455 { ac_try
='test -s conftest$ac_exeext'
24456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24457 (eval $ac_try) 2>&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); }; }; then
24461 eval "$as_ac_var=yes"
24463 echo "$as_me: failed program was:" >&5
24464 sed 's/^/| /' conftest.
$ac_ext >&5
24466 eval "$as_ac_var=no"
24468 rm -f conftest.err conftest.
$ac_objext \
24469 conftest
$ac_exeext conftest.
$ac_ext
24471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24473 if test `eval echo '${'$as_ac_var'}'` = yes; then
24474 cat >>confdefs.h
<<_ACEOF
24475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24482 for ac_func
in ceil
24484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24485 echo "$as_me:$LINENO: checking for $ac_func" >&5
24486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24487 if eval "test \"\${$as_ac_var+set}\" = set"; then
24488 echo $ECHO_N "(cached) $ECHO_C" >&6
24490 cat >conftest.
$ac_ext <<_ACEOF
24493 cat confdefs.h
>>conftest.
$ac_ext
24494 cat >>conftest.
$ac_ext <<_ACEOF
24495 /* end confdefs.h. */
24496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24498 #define $ac_func innocuous_$ac_func
24500 /* System header to define __stub macros and hopefully few prototypes,
24501 which can conflict with char $ac_func (); below.
24502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24503 <limits.h> exists even on freestanding compilers. */
24506 # include <limits.h>
24508 # include <assert.h>
24513 /* Override any gcc2 internal prototype to avoid an error. */
24518 /* We use char because int might match the return type of a gcc2
24519 builtin and then its argument prototype would still apply. */
24521 /* The GNU C library defines this for functions which it implements
24522 to always fail with ENOSYS. Some functions are actually named
24523 something starting with __ and the normal name is an alias. */
24524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24527 char (*f) () = $ac_func;
24536 return f != $ac_func;
24541 rm -f conftest.
$ac_objext conftest
$ac_exeext
24542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24543 (eval $ac_link) 2>conftest.er1
24545 grep -v '^ *+' conftest.er1
>conftest.err
24547 cat conftest.err
>&5
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); } &&
24550 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; } &&
24556 { ac_try
='test -s conftest$ac_exeext'
24557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24558 (eval $ac_try) 2>&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); }; }; then
24562 eval "$as_ac_var=yes"
24564 echo "$as_me: failed program was:" >&5
24565 sed 's/^/| /' conftest.
$ac_ext >&5
24567 eval "$as_ac_var=no"
24569 rm -f conftest.err conftest.
$ac_objext \
24570 conftest
$ac_exeext conftest.
$ac_ext
24572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24574 if test `eval echo '${'$as_ac_var'}'` = yes; then
24575 cat >>confdefs.h
<<_ACEOF
24576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24582 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24583 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24584 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24585 echo "$as_me:$LINENO: result: yes" >&5
24586 echo "${ECHO_T}yes" >&6
24588 echo "$as_me:$LINENO: result: no" >&5
24589 echo "${ECHO_T}no" >&6
24590 # not sure we should warn the user, crash, etc.
24596 if test "$wxUSE_REGEX" != "no"; then
24597 cat >>confdefs.h
<<\_ACEOF
24598 #define wxUSE_REGEX 1
24602 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24603 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24604 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24605 wxUSE_REGEX
=builtin
24608 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24609 if test "${ac_cv_header_regex_h+set}" = set; then
24610 echo "$as_me:$LINENO: checking for regex.h" >&5
24611 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24612 if test "${ac_cv_header_regex_h+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24616 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24618 # Is the header compilable?
24619 echo "$as_me:$LINENO: checking regex.h usability" >&5
24620 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24621 cat >conftest.
$ac_ext <<_ACEOF
24624 cat confdefs.h
>>conftest.
$ac_ext
24625 cat >>conftest.
$ac_ext <<_ACEOF
24626 /* end confdefs.h. */
24627 $ac_includes_default
24630 rm -f conftest.
$ac_objext
24631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24632 (eval $ac_compile) 2>conftest.er1
24634 grep -v '^ *+' conftest.er1
>conftest.err
24636 cat conftest.err
>&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); } &&
24639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24641 (eval $ac_try) 2>&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); }; } &&
24645 { ac_try
='test -s conftest.$ac_objext'
24646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24647 (eval $ac_try) 2>&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); }; }; then
24651 ac_header_compiler
=yes
24653 echo "$as_me: failed program was:" >&5
24654 sed 's/^/| /' conftest.
$ac_ext >&5
24656 ac_header_compiler
=no
24658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24660 echo "${ECHO_T}$ac_header_compiler" >&6
24662 # Is the header present?
24663 echo "$as_me:$LINENO: checking regex.h presence" >&5
24664 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24665 cat >conftest.
$ac_ext <<_ACEOF
24668 cat confdefs.h
>>conftest.
$ac_ext
24669 cat >>conftest.
$ac_ext <<_ACEOF
24670 /* end confdefs.h. */
24673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24676 grep -v '^ *+' conftest.er1
>conftest.err
24678 cat conftest.err
>&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); } >/dev
/null
; then
24681 if test -s conftest.err
; then
24682 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24683 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24690 if test -z "$ac_cpp_err"; then
24691 ac_header_preproc
=yes
24693 echo "$as_me: failed program was:" >&5
24694 sed 's/^/| /' conftest.
$ac_ext >&5
24696 ac_header_preproc
=no
24698 rm -f conftest.err conftest.
$ac_ext
24699 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24700 echo "${ECHO_T}$ac_header_preproc" >&6
24702 # So? What about this header?
24703 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24705 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24706 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24707 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24708 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24709 ac_header_preproc
=yes
24712 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24713 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24714 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24715 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24716 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24717 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24718 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24719 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24720 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24721 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24722 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24723 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24726 ## ----------------------------------------- ##
24727 ## Report this to wx-dev@lists.wxwidgets.org ##
24728 ## ----------------------------------------- ##
24731 sed "s/^/$as_me: WARNING: /" >&2
24734 echo "$as_me:$LINENO: checking for regex.h" >&5
24735 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24736 if test "${ac_cv_header_regex_h+set}" = set; then
24737 echo $ECHO_N "(cached) $ECHO_C" >&6
24739 ac_cv_header_regex_h
=$ac_header_preproc
24741 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24742 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24745 if test $ac_cv_header_regex_h = yes; then
24748 for ac_func
in regcomp re_search
24750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24751 echo "$as_me:$LINENO: checking for $ac_func" >&5
24752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24753 if eval "test \"\${$as_ac_var+set}\" = set"; then
24754 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 cat >conftest.
$ac_ext <<_ACEOF
24759 cat confdefs.h
>>conftest.
$ac_ext
24760 cat >>conftest.
$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24764 #define $ac_func innocuous_$ac_func
24766 /* System header to define __stub macros and hopefully few prototypes,
24767 which can conflict with char $ac_func (); below.
24768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24769 <limits.h> exists even on freestanding compilers. */
24772 # include <limits.h>
24774 # include <assert.h>
24779 /* Override any gcc2 internal prototype to avoid an error. */
24784 /* We use char because int might match the return type of a gcc2
24785 builtin and then its argument prototype would still apply. */
24787 /* The GNU C library defines this for functions which it implements
24788 to always fail with ENOSYS. Some functions are actually named
24789 something starting with __ and the normal name is an alias. */
24790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24793 char (*f) () = $ac_func;
24802 return f != $ac_func;
24807 rm -f conftest.
$ac_objext conftest
$ac_exeext
24808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24809 (eval $ac_link) 2>conftest.er1
24811 grep -v '^ *+' conftest.er1
>conftest.err
24813 cat conftest.err
>&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); } &&
24816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; } &&
24822 { ac_try
='test -s conftest$ac_exeext'
24823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24824 (eval $ac_try) 2>&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); }; }; then
24828 eval "$as_ac_var=yes"
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.
$ac_ext >&5
24833 eval "$as_ac_var=no"
24835 rm -f conftest.err conftest.
$ac_objext \
24836 conftest
$ac_exeext conftest.
$ac_ext
24838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24840 if test `eval echo '${'$as_ac_var'}'` = yes; then
24841 cat >>confdefs.h
<<_ACEOF
24842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24852 if test "x$ac_cv_func_regcomp" != "xyes"; then
24853 if test "$wxUSE_REGEX" = "sys" ; then
24854 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24855 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24856 { (exit 1); exit 1; }; }
24858 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24859 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24860 wxUSE_REGEX
=builtin
24864 cat >>confdefs.h
<<\_ACEOF
24865 #define WX_NO_REGEX_ADVANCED 1
24874 if test "$wxUSE_ZLIB" != "no" ; then
24875 cat >>confdefs.h
<<\_ACEOF
24876 #define wxUSE_ZLIB 1
24880 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24881 if test "$USE_DARWIN" = 1; then
24882 system_zlib_h_ok
="yes"
24884 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24885 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24886 if test "${ac_cv_header_zlib_h+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24889 if test "$cross_compiling" = yes; then
24890 unset ac_cv_header_zlib_h
24893 cat >conftest.
$ac_ext <<_ACEOF
24896 cat confdefs.h
>>conftest.
$ac_ext
24897 cat >>conftest.
$ac_ext <<_ACEOF
24898 /* end confdefs.h. */
24905 FILE *f=fopen("conftestval", "w");
24908 ZLIB_VERSION[0] == '1' &&
24909 (ZLIB_VERSION[2] > '1' ||
24910 (ZLIB_VERSION[2] == '1' &&
24911 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24916 rm -f conftest
$ac_exeext
24917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24918 (eval $ac_link) 2>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24923 (eval $ac_try) 2>&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); }; }; then
24927 ac_cv_header_zlib_h
=`cat conftestval`
24929 echo "$as_me: program exited with status $ac_status" >&5
24930 echo "$as_me: failed program was:" >&5
24931 sed 's/^/| /' conftest.
$ac_ext >&5
24933 ( exit $ac_status )
24934 ac_cv_header_zlib_h
=no
24936 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24940 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24941 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24942 if test "${ac_cv_header_zlib_h+set}" = set; then
24943 echo "$as_me:$LINENO: checking for zlib.h" >&5
24944 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24945 if test "${ac_cv_header_zlib_h+set}" = set; then
24946 echo $ECHO_N "(cached) $ECHO_C" >&6
24948 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24949 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24951 # Is the header compilable?
24952 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24953 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24954 cat >conftest.
$ac_ext <<_ACEOF
24957 cat confdefs.h
>>conftest.
$ac_ext
24958 cat >>conftest.
$ac_ext <<_ACEOF
24959 /* end confdefs.h. */
24960 $ac_includes_default
24963 rm -f conftest.
$ac_objext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24965 (eval $ac_compile) 2>conftest.er1
24967 grep -v '^ *+' conftest.er1
>conftest.err
24969 cat conftest.err
>&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } &&
24972 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24974 (eval $ac_try) 2>&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); }; } &&
24978 { ac_try
='test -s conftest.$ac_objext'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; }; then
24984 ac_header_compiler
=yes
24986 echo "$as_me: failed program was:" >&5
24987 sed 's/^/| /' conftest.
$ac_ext >&5
24989 ac_header_compiler
=no
24991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24993 echo "${ECHO_T}$ac_header_compiler" >&6
24995 # Is the header present?
24996 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24997 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24998 cat >conftest.
$ac_ext <<_ACEOF
25001 cat confdefs.h
>>conftest.
$ac_ext
25002 cat >>conftest.
$ac_ext <<_ACEOF
25003 /* end confdefs.h. */
25006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25009 grep -v '^ *+' conftest.er1
>conftest.err
25011 cat conftest.err
>&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } >/dev
/null
; then
25014 if test -s conftest.err
; then
25015 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25016 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25023 if test -z "$ac_cpp_err"; then
25024 ac_header_preproc
=yes
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.
$ac_ext >&5
25029 ac_header_preproc
=no
25031 rm -f conftest.err conftest.
$ac_ext
25032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25033 echo "${ECHO_T}$ac_header_preproc" >&6
25035 # So? What about this header?
25036 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25038 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25039 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25040 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25041 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25042 ac_header_preproc
=yes
25045 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25046 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25047 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25048 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25049 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25050 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25051 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25052 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25053 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25054 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25055 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25056 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25059 ## ----------------------------------------- ##
25060 ## Report this to wx-dev@lists.wxwidgets.org ##
25061 ## ----------------------------------------- ##
25064 sed "s/^/$as_me: WARNING: /" >&2
25067 echo "$as_me:$LINENO: checking for zlib.h" >&5
25068 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25069 if test "${ac_cv_header_zlib_h+set}" = set; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25072 ac_cv_header_zlib_h
=$ac_header_preproc
25074 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25075 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25081 system_zlib_h_ok
=$ac_cv_header_zlib_h
25084 if test "$system_zlib_h_ok" = "yes"; then
25085 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25086 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25087 if test "${ac_cv_lib_z_deflate+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25090 ac_check_lib_save_LIBS
=$LIBS
25092 cat >conftest.
$ac_ext <<_ACEOF
25095 cat confdefs.h
>>conftest.
$ac_ext
25096 cat >>conftest.
$ac_ext <<_ACEOF
25097 /* end confdefs.h. */
25099 /* Override any gcc2 internal prototype to avoid an error. */
25103 /* We use char because int might match the return type of a gcc2
25104 builtin and then its argument prototype would still apply. */
25114 rm -f conftest.
$ac_objext conftest
$ac_exeext
25115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25116 (eval $ac_link) 2>conftest.er1
25118 grep -v '^ *+' conftest.er1
>conftest.err
25120 cat conftest.err
>&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); } &&
25123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try
='test -s conftest$ac_exeext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 ac_cv_lib_z_deflate
=yes
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.
$ac_ext >&5
25140 ac_cv_lib_z_deflate
=no
25142 rm -f conftest.err conftest.
$ac_objext \
25143 conftest
$ac_exeext conftest.
$ac_ext
25144 LIBS
=$ac_check_lib_save_LIBS
25146 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25147 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25148 if test $ac_cv_lib_z_deflate = yes; then
25154 if test "x$ZLIB_LINK" = "x" ; then
25155 if test "$wxUSE_ZLIB" = "sys" ; then
25156 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25157 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25158 { (exit 1); exit 1; }; }
25160 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25161 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25172 if test "$wxUSE_LIBPNG" != "no" ; then
25173 cat >>confdefs.h
<<\_ACEOF
25174 #define wxUSE_LIBPNG 1
25178 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25179 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25180 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25184 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25185 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25186 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25187 wxUSE_LIBPNG
=builtin
25190 if test "$wxUSE_MGL" != 1 ; then
25191 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25192 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25193 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25194 if test "${ac_cv_header_png_h+set}" = set; then
25195 echo $ECHO_N "(cached) $ECHO_C" >&6
25197 if test "$cross_compiling" = yes; then
25198 unset ac_cv_header_png_h
25201 cat >conftest.
$ac_ext <<_ACEOF
25204 cat confdefs.h
>>conftest.
$ac_ext
25205 cat >>conftest.
$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25213 FILE *f=fopen("conftestval", "w");
25216 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25221 rm -f conftest
$ac_exeext
25222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25223 (eval $ac_link) 2>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25228 (eval $ac_try) 2>&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); }; }; then
25232 ac_cv_header_png_h
=`cat conftestval`
25234 echo "$as_me: program exited with status $ac_status" >&5
25235 echo "$as_me: failed program was:" >&5
25236 sed 's/^/| /' conftest.
$ac_ext >&5
25238 ( exit $ac_status )
25239 ac_cv_header_png_h
=no
25241 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25245 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25246 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25247 if test "${ac_cv_header_png_h+set}" = set; then
25248 echo "$as_me:$LINENO: checking for png.h" >&5
25249 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25250 if test "${ac_cv_header_png_h+set}" = set; then
25251 echo $ECHO_N "(cached) $ECHO_C" >&6
25253 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25254 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25256 # Is the header compilable?
25257 echo "$as_me:$LINENO: checking png.h usability" >&5
25258 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25259 cat >conftest.
$ac_ext <<_ACEOF
25262 cat confdefs.h
>>conftest.
$ac_ext
25263 cat >>conftest.
$ac_ext <<_ACEOF
25264 /* end confdefs.h. */
25265 $ac_includes_default
25268 rm -f conftest.
$ac_objext
25269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25270 (eval $ac_compile) 2>conftest.er1
25272 grep -v '^ *+' conftest.er1
>conftest.err
25274 cat conftest.err
>&5
25275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276 (exit $ac_status); } &&
25277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279 (eval $ac_try) 2>&5
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); }; } &&
25283 { ac_try
='test -s conftest.$ac_objext'
25284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285 (eval $ac_try) 2>&5
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); }; }; then
25289 ac_header_compiler
=yes
25291 echo "$as_me: failed program was:" >&5
25292 sed 's/^/| /' conftest.
$ac_ext >&5
25294 ac_header_compiler
=no
25296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25298 echo "${ECHO_T}$ac_header_compiler" >&6
25300 # Is the header present?
25301 echo "$as_me:$LINENO: checking png.h presence" >&5
25302 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25303 cat >conftest.
$ac_ext <<_ACEOF
25306 cat confdefs.h
>>conftest.
$ac_ext
25307 cat >>conftest.
$ac_ext <<_ACEOF
25308 /* end confdefs.h. */
25311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25314 grep -v '^ *+' conftest.er1
>conftest.err
25316 cat conftest.err
>&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); } >/dev
/null
; then
25319 if test -s conftest.err
; then
25320 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25321 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25328 if test -z "$ac_cpp_err"; then
25329 ac_header_preproc
=yes
25331 echo "$as_me: failed program was:" >&5
25332 sed 's/^/| /' conftest.
$ac_ext >&5
25334 ac_header_preproc
=no
25336 rm -f conftest.err conftest.
$ac_ext
25337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25338 echo "${ECHO_T}$ac_header_preproc" >&6
25340 # So? What about this header?
25341 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25343 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25344 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25345 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25346 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25347 ac_header_preproc
=yes
25350 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25351 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25352 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25353 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25354 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25355 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25356 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25357 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25358 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25359 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25360 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25361 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25364 ## ----------------------------------------- ##
25365 ## Report this to wx-dev@lists.wxwidgets.org ##
25366 ## ----------------------------------------- ##
25369 sed "s/^/$as_me: WARNING: /" >&2
25372 echo "$as_me:$LINENO: checking for png.h" >&5
25373 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25374 if test "${ac_cv_header_png_h+set}" = set; then
25375 echo $ECHO_N "(cached) $ECHO_C" >&6
25377 ac_cv_header_png_h
=$ac_header_preproc
25379 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25380 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25386 if test "$ac_cv_header_png_h" = "yes"; then
25387 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25388 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25389 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25392 ac_check_lib_save_LIBS
=$LIBS
25393 LIBS
="-lpng -lz -lm $LIBS"
25394 cat >conftest.
$ac_ext <<_ACEOF
25397 cat confdefs.h
>>conftest.
$ac_ext
25398 cat >>conftest.
$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25401 /* Override any gcc2 internal prototype to avoid an error. */
25405 /* We use char because int might match the return type of a gcc2
25406 builtin and then its argument prototype would still apply. */
25407 char png_check_sig ();
25416 rm -f conftest.
$ac_objext conftest
$ac_exeext
25417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25418 (eval $ac_link) 2>conftest.er1
25420 grep -v '^ *+' conftest.er1
>conftest.err
25422 cat conftest.err
>&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } &&
25425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; } &&
25431 { ac_try
='test -s conftest$ac_exeext'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; }; then
25437 ac_cv_lib_png_png_check_sig
=yes
25439 echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.
$ac_ext >&5
25442 ac_cv_lib_png_png_check_sig
=no
25444 rm -f conftest.err conftest.
$ac_objext \
25445 conftest
$ac_exeext conftest.
$ac_ext
25446 LIBS
=$ac_check_lib_save_LIBS
25448 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25449 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25450 if test $ac_cv_lib_png_png_check_sig = yes; then
25451 PNG_LINK
=" -lpng -lz"
25456 if test "x$PNG_LINK" = "x" ; then
25457 if test "$wxUSE_LIBPNG" = "sys" ; then
25458 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25459 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25460 { (exit 1); exit 1; }; }
25462 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25463 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25464 wxUSE_LIBPNG
=builtin
25472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25477 if test "$wxUSE_LIBJPEG" != "no" ; then
25478 cat >>confdefs.h
<<\_ACEOF
25479 #define wxUSE_LIBJPEG 1
25483 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25484 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25485 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25489 if test "$wxUSE_MGL" != 1 ; then
25490 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25491 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25492 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25493 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25494 echo $ECHO_N "(cached) $ECHO_C" >&6
25496 cat >conftest.
$ac_ext <<_ACEOF
25499 cat confdefs.h
>>conftest.
$ac_ext
25500 cat >>conftest.
$ac_ext <<_ACEOF
25501 /* end confdefs.h. */
25503 #undef HAVE_STDLIB_H
25505 #include <jpeglib.h>
25516 rm -f conftest.
$ac_objext
25517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25518 (eval $ac_compile) 2>conftest.er1
25520 grep -v '^ *+' conftest.er1
>conftest.err
25522 cat conftest.err
>&5
25523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25524 (exit $ac_status); } &&
25525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25527 (eval $ac_try) 2>&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); }; } &&
25531 { ac_try
='test -s conftest.$ac_objext'
25532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25533 (eval $ac_try) 2>&5
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); }; }; then
25537 ac_cv_header_jpeglib_h
=yes
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.
$ac_ext >&5
25542 ac_cv_header_jpeglib_h
=no
25545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25549 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25550 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25552 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25553 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25554 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25555 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25558 ac_check_lib_save_LIBS
=$LIBS
25559 LIBS
="-ljpeg $LIBS"
25560 cat >conftest.
$ac_ext <<_ACEOF
25563 cat confdefs.h
>>conftest.
$ac_ext
25564 cat >>conftest.
$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25567 /* Override any gcc2 internal prototype to avoid an error. */
25571 /* We use char because int might match the return type of a gcc2
25572 builtin and then its argument prototype would still apply. */
25573 char jpeg_read_header ();
25577 jpeg_read_header ();
25582 rm -f conftest.
$ac_objext conftest
$ac_exeext
25583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25584 (eval $ac_link) 2>conftest.er1
25586 grep -v '^ *+' conftest.er1
>conftest.err
25588 cat conftest.err
>&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); } &&
25591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; } &&
25597 { ac_try
='test -s conftest$ac_exeext'
25598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25599 (eval $ac_try) 2>&5
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); }; }; then
25603 ac_cv_lib_jpeg_jpeg_read_header
=yes
25605 echo "$as_me: failed program was:" >&5
25606 sed 's/^/| /' conftest.
$ac_ext >&5
25608 ac_cv_lib_jpeg_jpeg_read_header
=no
25610 rm -f conftest.err conftest.
$ac_objext \
25611 conftest
$ac_exeext conftest.
$ac_ext
25612 LIBS
=$ac_check_lib_save_LIBS
25614 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25615 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25616 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25617 JPEG_LINK
=" -ljpeg"
25622 if test "x$JPEG_LINK" = "x" ; then
25623 if test "$wxUSE_LIBJPEG" = "sys" ; then
25624 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25625 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25626 { (exit 1); exit 1; }; }
25628 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25629 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25630 wxUSE_LIBJPEG
=builtin
25641 TIFF_PREREQ_LINKS
=-lm
25642 if test "$wxUSE_LIBTIFF" != "no" ; then
25643 cat >>confdefs.h
<<\_ACEOF
25644 #define wxUSE_LIBTIFF 1
25648 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25649 if test "$wxUSE_LIBJPEG" = "sys"; then
25650 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25652 if test "$wxUSE_ZLIB" = "sys"; then
25653 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25655 if test "${ac_cv_header_tiffio_h+set}" = set; then
25656 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25657 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25658 if test "${ac_cv_header_tiffio_h+set}" = set; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25662 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25664 # Is the header compilable?
25665 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25666 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25667 cat >conftest.
$ac_ext <<_ACEOF
25670 cat confdefs.h
>>conftest.
$ac_ext
25671 cat >>conftest.
$ac_ext <<_ACEOF
25672 /* end confdefs.h. */
25673 $ac_includes_default
25674 #include <tiffio.h>
25676 rm -f conftest.
$ac_objext
25677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25678 (eval $ac_compile) 2>conftest.er1
25680 grep -v '^ *+' conftest.er1
>conftest.err
25682 cat conftest.err
>&5
25683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684 (exit $ac_status); } &&
25685 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25687 (eval $ac_try) 2>&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); }; } &&
25691 { ac_try
='test -s conftest.$ac_objext'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; }; then
25697 ac_header_compiler
=yes
25699 echo "$as_me: failed program was:" >&5
25700 sed 's/^/| /' conftest.
$ac_ext >&5
25702 ac_header_compiler
=no
25704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25706 echo "${ECHO_T}$ac_header_compiler" >&6
25708 # Is the header present?
25709 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25710 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25711 cat >conftest.
$ac_ext <<_ACEOF
25714 cat confdefs.h
>>conftest.
$ac_ext
25715 cat >>conftest.
$ac_ext <<_ACEOF
25716 /* end confdefs.h. */
25717 #include <tiffio.h>
25719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25722 grep -v '^ *+' conftest.er1
>conftest.err
25724 cat conftest.err
>&5
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); } >/dev
/null
; then
25727 if test -s conftest.err
; then
25728 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25729 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25736 if test -z "$ac_cpp_err"; then
25737 ac_header_preproc
=yes
25739 echo "$as_me: failed program was:" >&5
25740 sed 's/^/| /' conftest.
$ac_ext >&5
25742 ac_header_preproc
=no
25744 rm -f conftest.err conftest.
$ac_ext
25745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25746 echo "${ECHO_T}$ac_header_preproc" >&6
25748 # So? What about this header?
25749 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25751 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25752 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25753 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25754 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25755 ac_header_preproc
=yes
25758 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25759 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25760 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25761 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25762 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25763 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25765 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25766 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25767 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25768 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25769 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25772 ## ----------------------------------------- ##
25773 ## Report this to wx-dev@lists.wxwidgets.org ##
25774 ## ----------------------------------------- ##
25777 sed "s/^/$as_me: WARNING: /" >&2
25780 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25781 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25782 if test "${ac_cv_header_tiffio_h+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 ac_cv_header_tiffio_h
=$ac_header_preproc
25787 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25788 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25791 if test $ac_cv_header_tiffio_h = yes; then
25793 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25794 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25795 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 ac_check_lib_save_LIBS
=$LIBS
25799 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25800 cat >conftest.
$ac_ext <<_ACEOF
25803 cat confdefs.h
>>conftest.
$ac_ext
25804 cat >>conftest.
$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25807 /* Override any gcc2 internal prototype to avoid an error. */
25811 /* We use char because int might match the return type of a gcc2
25812 builtin and then its argument prototype would still apply. */
25822 rm -f conftest.
$ac_objext conftest
$ac_exeext
25823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25824 (eval $ac_link) 2>conftest.er1
25826 grep -v '^ *+' conftest.er1
>conftest.err
25828 cat conftest.err
>&5
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); } &&
25831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25833 (eval $ac_try) 2>&5
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); }; } &&
25837 { ac_try
='test -s conftest$ac_exeext'
25838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25839 (eval $ac_try) 2>&5
25841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842 (exit $ac_status); }; }; then
25843 ac_cv_lib_tiff_TIFFError
=yes
25845 echo "$as_me: failed program was:" >&5
25846 sed 's/^/| /' conftest.
$ac_ext >&5
25848 ac_cv_lib_tiff_TIFFError
=no
25850 rm -f conftest.err conftest.
$ac_objext \
25851 conftest
$ac_exeext conftest.
$ac_ext
25852 LIBS
=$ac_check_lib_save_LIBS
25854 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25855 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25856 if test $ac_cv_lib_tiff_TIFFError = yes; then
25857 TIFF_LINK
=" -ltiff"
25866 if test "x$TIFF_LINK" = "x" ; then
25867 if test "$wxUSE_LIBTIFF" = "sys" ; then
25868 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25869 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25870 { (exit 1); exit 1; }; }
25872 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25873 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25874 wxUSE_LIBTIFF
=builtin
25883 if test "$wxUSE_WCHAR_T" != "yes"; then
25884 if test "$wxUSE_EXPAT" != "no"; then
25885 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25886 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25889 if test "$wxUSE_XML" != "no"; then
25890 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25891 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25896 if test "$wxUSE_EXPAT" != "no"; then
25898 cat >>confdefs.h
<<\_ACEOF
25899 #define wxUSE_EXPAT 1
25902 cat >>confdefs.h
<<\_ACEOF
25903 #define wxUSE_XML 1
25907 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25908 if test "${ac_cv_header_expat_h+set}" = set; then
25909 echo "$as_me:$LINENO: checking for expat.h" >&5
25910 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25911 if test "${ac_cv_header_expat_h+set}" = set; then
25912 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25915 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25917 # Is the header compilable?
25918 echo "$as_me:$LINENO: checking expat.h usability" >&5
25919 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25920 cat >conftest.
$ac_ext <<_ACEOF
25923 cat confdefs.h
>>conftest.
$ac_ext
25924 cat >>conftest.
$ac_ext <<_ACEOF
25925 /* end confdefs.h. */
25926 $ac_includes_default
25929 rm -f conftest.
$ac_objext
25930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25931 (eval $ac_compile) 2>conftest.er1
25933 grep -v '^ *+' conftest.er1
>conftest.err
25935 cat conftest.err
>&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } &&
25938 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; } &&
25944 { ac_try
='test -s conftest.$ac_objext'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; }; then
25950 ac_header_compiler
=yes
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.
$ac_ext >&5
25955 ac_header_compiler
=no
25957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25959 echo "${ECHO_T}$ac_header_compiler" >&6
25961 # Is the header present?
25962 echo "$as_me:$LINENO: checking expat.h presence" >&5
25963 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25964 cat >conftest.
$ac_ext <<_ACEOF
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25973 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25975 grep -v '^ *+' conftest.er1
>conftest.err
25977 cat conftest.err
>&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } >/dev
/null
; then
25980 if test -s conftest.err
; then
25981 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25982 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25989 if test -z "$ac_cpp_err"; then
25990 ac_header_preproc
=yes
25992 echo "$as_me: failed program was:" >&5
25993 sed 's/^/| /' conftest.
$ac_ext >&5
25995 ac_header_preproc
=no
25997 rm -f conftest.err conftest.
$ac_ext
25998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25999 echo "${ECHO_T}$ac_header_preproc" >&6
26001 # So? What about this header?
26002 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26004 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26005 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26006 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26007 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26008 ac_header_preproc
=yes
26011 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26012 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26013 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26014 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26015 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26016 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26017 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26018 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26019 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26020 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26021 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26022 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26025 ## ----------------------------------------- ##
26026 ## Report this to wx-dev@lists.wxwidgets.org ##
26027 ## ----------------------------------------- ##
26030 sed "s/^/$as_me: WARNING: /" >&2
26033 echo "$as_me:$LINENO: checking for expat.h" >&5
26034 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26035 if test "${ac_cv_header_expat_h+set}" = set; then
26036 echo $ECHO_N "(cached) $ECHO_C" >&6
26038 ac_cv_header_expat_h
=$ac_header_preproc
26040 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26041 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26044 if test $ac_cv_header_expat_h = yes; then
26049 if test "x$found_expat_h" = "x1"; then
26050 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26051 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26052 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26053 echo $ECHO_N "(cached) $ECHO_C" >&6
26056 cat >conftest.
$ac_ext <<_ACEOF
26059 cat confdefs.h
>>conftest.
$ac_ext
26060 cat >>conftest.
$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26071 rm -f conftest.
$ac_objext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26073 (eval $ac_compile) 2>conftest.er1
26075 grep -v '^ *+' conftest.er1
>conftest.err
26077 cat conftest.err
>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; } &&
26086 { ac_try
='test -s conftest.$ac_objext'
26087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26088 (eval $ac_try) 2>&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); }; }; then
26092 wx_cv_expat_is_not_broken
=yes
26094 echo "$as_me: failed program was:" >&5
26095 sed 's/^/| /' conftest.
$ac_ext >&5
26097 wx_cv_expat_is_not_broken
=no
26100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26104 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26105 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26106 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26107 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26108 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26109 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 ac_check_lib_save_LIBS
=$LIBS
26113 LIBS
="-lexpat $LIBS"
26114 cat >conftest.
$ac_ext <<_ACEOF
26117 cat confdefs.h
>>conftest.
$ac_ext
26118 cat >>conftest.
$ac_ext <<_ACEOF
26119 /* end confdefs.h. */
26121 /* Override any gcc2 internal prototype to avoid an error. */
26125 /* We use char because int might match the return type of a gcc2
26126 builtin and then its argument prototype would still apply. */
26127 char XML_ParserCreate ();
26131 XML_ParserCreate ();
26136 rm -f conftest.
$ac_objext conftest
$ac_exeext
26137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26138 (eval $ac_link) 2>conftest.er1
26140 grep -v '^ *+' conftest.er1
>conftest.err
26142 cat conftest.err
>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; } &&
26151 { ac_try
='test -s conftest$ac_exeext'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; }; then
26157 ac_cv_lib_expat_XML_ParserCreate
=yes
26159 echo "$as_me: failed program was:" >&5
26160 sed 's/^/| /' conftest.
$ac_ext >&5
26162 ac_cv_lib_expat_XML_ParserCreate
=no
26164 rm -f conftest.err conftest.
$ac_objext \
26165 conftest
$ac_exeext conftest.
$ac_ext
26166 LIBS
=$ac_check_lib_save_LIBS
26168 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26169 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26170 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26171 EXPAT_LINK
=" -lexpat"
26176 if test "x$EXPAT_LINK" = "x" ; then
26177 if test "$wxUSE_EXPAT" = "sys" ; then
26178 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26179 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26180 { (exit 1); exit 1; }; }
26182 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26183 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26184 wxUSE_EXPAT
=builtin
26190 if test "$wxUSE_EXPAT" = "builtin" ; then
26193 subdirs
="$subdirs src/expat"
26200 if test "$wxUSE_LIBMSPACK" != "no"; then
26201 if test "${ac_cv_header_mspack_h+set}" = set; then
26202 echo "$as_me:$LINENO: checking for mspack.h" >&5
26203 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26204 if test "${ac_cv_header_mspack_h+set}" = set; then
26205 echo $ECHO_N "(cached) $ECHO_C" >&6
26207 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26208 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26210 # Is the header compilable?
26211 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26212 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26213 cat >conftest.
$ac_ext <<_ACEOF
26216 cat confdefs.h
>>conftest.
$ac_ext
26217 cat >>conftest.
$ac_ext <<_ACEOF
26218 /* end confdefs.h. */
26219 $ac_includes_default
26220 #include <mspack.h>
26222 rm -f conftest.
$ac_objext
26223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26224 (eval $ac_compile) 2>conftest.er1
26226 grep -v '^ *+' conftest.er1
>conftest.err
26228 cat conftest.err
>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } &&
26231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; } &&
26237 { ac_try
='test -s conftest.$ac_objext'
26238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26239 (eval $ac_try) 2>&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); }; }; then
26243 ac_header_compiler
=yes
26245 echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.
$ac_ext >&5
26248 ac_header_compiler
=no
26250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26252 echo "${ECHO_T}$ac_header_compiler" >&6
26254 # Is the header present?
26255 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26256 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26257 cat >conftest.
$ac_ext <<_ACEOF
26260 cat confdefs.h
>>conftest.
$ac_ext
26261 cat >>conftest.
$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26263 #include <mspack.h>
26265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26268 grep -v '^ *+' conftest.er1
>conftest.err
26270 cat conftest.err
>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); } >/dev
/null
; then
26273 if test -s conftest.err
; then
26274 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26275 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26282 if test -z "$ac_cpp_err"; then
26283 ac_header_preproc
=yes
26285 echo "$as_me: failed program was:" >&5
26286 sed 's/^/| /' conftest.
$ac_ext >&5
26288 ac_header_preproc
=no
26290 rm -f conftest.err conftest.
$ac_ext
26291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26292 echo "${ECHO_T}$ac_header_preproc" >&6
26294 # So? What about this header?
26295 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26297 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26298 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26299 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26300 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26301 ac_header_preproc
=yes
26304 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26305 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26306 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26307 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26308 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26309 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26310 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26311 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26312 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26313 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26314 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26315 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26318 ## ----------------------------------------- ##
26319 ## Report this to wx-dev@lists.wxwidgets.org ##
26320 ## ----------------------------------------- ##
26323 sed "s/^/$as_me: WARNING: /" >&2
26326 echo "$as_me:$LINENO: checking for mspack.h" >&5
26327 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26328 if test "${ac_cv_header_mspack_h+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26331 ac_cv_header_mspack_h
=$ac_header_preproc
26333 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26334 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26337 if test $ac_cv_header_mspack_h = yes; then
26342 if test "x$found_mspack_h" = "x1"; then
26343 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26344 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26345 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26346 echo $ECHO_N "(cached) $ECHO_C" >&6
26348 ac_check_lib_save_LIBS
=$LIBS
26349 LIBS
="-lmspack $LIBS"
26350 cat >conftest.
$ac_ext <<_ACEOF
26353 cat confdefs.h
>>conftest.
$ac_ext
26354 cat >>conftest.
$ac_ext <<_ACEOF
26355 /* end confdefs.h. */
26357 /* Override any gcc2 internal prototype to avoid an error. */
26361 /* We use char because int might match the return type of a gcc2
26362 builtin and then its argument prototype would still apply. */
26363 char mspack_create_chm_decompressor ();
26367 mspack_create_chm_decompressor ();
26372 rm -f conftest.
$ac_objext conftest
$ac_exeext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26374 (eval $ac_link) 2>conftest.er1
26376 grep -v '^ *+' conftest.er1
>conftest.err
26378 cat conftest.err
>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } &&
26381 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; } &&
26387 { ac_try
='test -s conftest$ac_exeext'
26388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26389 (eval $ac_try) 2>&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); }; }; then
26393 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26395 echo "$as_me: failed program was:" >&5
26396 sed 's/^/| /' conftest.
$ac_ext >&5
26398 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26400 rm -f conftest.err conftest.
$ac_objext \
26401 conftest
$ac_exeext conftest.
$ac_ext
26402 LIBS
=$ac_check_lib_save_LIBS
26404 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26405 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26406 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26407 MSPACK_LINK
=" -lmspack"
26411 if test "x$MSPACK_LINK" = "x" ; then
26416 if test "$wxUSE_LIBMSPACK" != "no"; then
26417 cat >>confdefs.h
<<\_ACEOF
26418 #define wxUSE_LIBMSPACK 1
26432 if test "$USE_WIN32" = 1 ; then
26434 for ac_header
in w32api.h
26436 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26438 echo "$as_me:$LINENO: checking for $ac_header" >&5
26439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26441 echo $ECHO_N "(cached) $ECHO_C" >&6
26443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26446 # Is the header compilable?
26447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26449 cat >conftest.
$ac_ext <<_ACEOF
26452 cat confdefs.h
>>conftest.
$ac_ext
26453 cat >>conftest.
$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 $ac_includes_default
26456 #include <$ac_header>
26458 rm -f conftest.
$ac_objext
26459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26460 (eval $ac_compile) 2>conftest.er1
26462 grep -v '^ *+' conftest.er1
>conftest.err
26464 cat conftest.err
>&5
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); } &&
26467 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26469 (eval $ac_try) 2>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); }; } &&
26473 { ac_try
='test -s conftest.$ac_objext'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; }; then
26479 ac_header_compiler
=yes
26481 echo "$as_me: failed program was:" >&5
26482 sed 's/^/| /' conftest.
$ac_ext >&5
26484 ac_header_compiler
=no
26486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26488 echo "${ECHO_T}$ac_header_compiler" >&6
26490 # Is the header present?
26491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26493 cat >conftest.
$ac_ext <<_ACEOF
26496 cat confdefs.h
>>conftest.
$ac_ext
26497 cat >>conftest.
$ac_ext <<_ACEOF
26498 /* end confdefs.h. */
26499 #include <$ac_header>
26501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26502 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26504 grep -v '^ *+' conftest.er1
>conftest.err
26506 cat conftest.err
>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } >/dev
/null
; then
26509 if test -s conftest.err
; then
26510 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26511 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26518 if test -z "$ac_cpp_err"; then
26519 ac_header_preproc
=yes
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.
$ac_ext >&5
26524 ac_header_preproc
=no
26526 rm -f conftest.err conftest.
$ac_ext
26527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26528 echo "${ECHO_T}$ac_header_preproc" >&6
26530 # So? What about this header?
26531 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26537 ac_header_preproc
=yes
26540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26554 ## ----------------------------------------- ##
26555 ## Report this to wx-dev@lists.wxwidgets.org ##
26556 ## ----------------------------------------- ##
26559 sed "s/^/$as_me: WARNING: /" >&2
26562 echo "$as_me:$LINENO: checking for $ac_header" >&5
26563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26565 echo $ECHO_N "(cached) $ECHO_C" >&6
26567 eval "$as_ac_Header=\$ac_header_preproc"
26569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26574 cat >>confdefs.h
<<_ACEOF
26575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26582 if test "${ac_cv_header_windows_h+set}" = set; then
26583 echo "$as_me:$LINENO: checking for windows.h" >&5
26584 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26585 if test "${ac_cv_header_windows_h+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26588 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26589 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26591 # Is the header compilable?
26592 echo "$as_me:$LINENO: checking windows.h usability" >&5
26593 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26594 cat >conftest.
$ac_ext <<_ACEOF
26597 cat confdefs.h
>>conftest.
$ac_ext
26598 cat >>conftest.
$ac_ext <<_ACEOF
26599 /* end confdefs.h. */
26600 $ac_includes_default
26601 #include <windows.h>
26603 rm -f conftest.
$ac_objext
26604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26605 (eval $ac_compile) 2>conftest.er1
26607 grep -v '^ *+' conftest.er1
>conftest.err
26609 cat conftest.err
>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } &&
26612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try
='test -s conftest.$ac_objext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 ac_header_compiler
=yes
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.
$ac_ext >&5
26629 ac_header_compiler
=no
26631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26633 echo "${ECHO_T}$ac_header_compiler" >&6
26635 # Is the header present?
26636 echo "$as_me:$LINENO: checking windows.h presence" >&5
26637 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26638 cat >conftest.
$ac_ext <<_ACEOF
26641 cat confdefs.h
>>conftest.
$ac_ext
26642 cat >>conftest.
$ac_ext <<_ACEOF
26643 /* end confdefs.h. */
26644 #include <windows.h>
26646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26649 grep -v '^ *+' conftest.er1
>conftest.err
26651 cat conftest.err
>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } >/dev
/null
; then
26654 if test -s conftest.err
; then
26655 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26656 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26663 if test -z "$ac_cpp_err"; then
26664 ac_header_preproc
=yes
26666 echo "$as_me: failed program was:" >&5
26667 sed 's/^/| /' conftest.
$ac_ext >&5
26669 ac_header_preproc
=no
26671 rm -f conftest.err conftest.
$ac_ext
26672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26673 echo "${ECHO_T}$ac_header_preproc" >&6
26675 # So? What about this header?
26676 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26678 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26679 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26680 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26681 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26682 ac_header_preproc
=yes
26685 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26686 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26687 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26688 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26689 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26690 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26691 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26692 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26693 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26694 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26695 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26696 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26699 ## ----------------------------------------- ##
26700 ## Report this to wx-dev@lists.wxwidgets.org ##
26701 ## ----------------------------------------- ##
26704 sed "s/^/$as_me: WARNING: /" >&2
26707 echo "$as_me:$LINENO: checking for windows.h" >&5
26708 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26709 if test "${ac_cv_header_windows_h+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26712 ac_cv_header_windows_h
=$ac_header_preproc
26714 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26715 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26718 if test $ac_cv_header_windows_h = yes; then
26722 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26723 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26724 { (exit 1); exit 1; }; }
26730 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26732 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26733 LIBS
="$LIBS -loleacc"
26738 LIBS
="$LIBS -lkernel32 -luser32"
26741 if test "$wxUSE_ODBC" = "sys" ; then
26744 if test "$wxUSE_ODBC" = "yes" ; then
26745 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26746 cat >>confdefs.h
<<\_ACEOF
26747 #define wxUSE_ODBC 1
26752 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26753 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26755 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26757 WIN32INSTALL
=win32install
26760 if test "$wxUSE_GUI" = "yes"; then
26770 if test "$wxUSE_COCOA" = 1 ; then
26771 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26772 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26773 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26774 wxUSE_PRINTING_ARCHITECTURE
=no
26776 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26777 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26778 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26779 wxUSE_DRAG_AND_DROP
=no
26781 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26782 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26783 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26788 if test "$wxUSE_MSW" = 1 ; then
26794 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26798 if test "$wxUSE_GTK" = 1; then
26800 ac_cpp
='$CPP $CPPFLAGS'
26801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26806 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26807 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26809 gtk_version_cached
=1
26810 if test "${wx_cv_lib_gtk+set}" = set; then
26811 echo $ECHO_N "(cached) $ECHO_C" >&6
26814 gtk_version_cached
=0
26815 echo "$as_me:$LINENO: result: " >&5
26816 echo "${ECHO_T}" >&6
26819 if test "$wxUSE_THREADS" = "yes"; then
26820 GTK_MODULES
=gthread
26824 if test "x$wxGTK_VERSION" != "x1"
26828 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26833 # Check whether --enable-gtktest or --disable-gtktest was given.
26834 if test "${enable_gtktest+set}" = set; then
26835 enableval
="$enable_gtktest"
26841 pkg_config_args
=gtk
+-2.0
26842 for module
in .
$GTK_MODULES
26846 pkg_config_args
="$pkg_config_args gthread-2.0"
26853 # Extract the first word of "pkg-config", so it can be a program name with args.
26854 set dummy pkg
-config; ac_word
=$2
26855 echo "$as_me:$LINENO: checking for $ac_word" >&5
26856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26857 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 case $PKG_CONFIG in
26862 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26866 for as_dir
in $PATH
26869 test -z "$as_dir" && as_dir
=.
26870 for ac_exec_ext
in '' $ac_executable_extensions; do
26871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26872 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26879 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26883 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26885 if test -n "$PKG_CONFIG"; then
26886 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26887 echo "${ECHO_T}$PKG_CONFIG" >&6
26889 echo "$as_me:$LINENO: result: no" >&5
26890 echo "${ECHO_T}no" >&6
26894 if test x
$PKG_CONFIG != xno
; then
26895 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26898 echo "*** pkg-config too old; version 0.7 or better required."
26906 min_gtk_version
=2.0.0
26907 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26908 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26910 if test x
$PKG_CONFIG != xno
; then
26911 ## don't try to run the test against uninstalled libtool libs
26912 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26913 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26917 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26924 if test x
"$no_gtk" = x
; then
26925 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26926 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26927 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26929 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26931 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26933 if test "x$enable_gtktest" = "xyes" ; then
26934 ac_save_CFLAGS
="$CFLAGS"
26935 ac_save_LIBS
="$LIBS"
26936 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26937 LIBS
="$GTK_LIBS $LIBS"
26939 if test "$cross_compiling" = yes; then
26940 echo $ac_n "cross compiling; assumed OK... $ac_c"
26942 cat >conftest.
$ac_ext <<_ACEOF
26945 cat confdefs.h
>>conftest.
$ac_ext
26946 cat >>conftest.
$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26949 #include <gtk/gtk.h>
26951 #include <stdlib.h>
26956 int major, minor, micro;
26959 system ("touch conf.gtktest");
26961 /* HP/UX 9 (%@#!) writes to sscanf strings */
26962 tmp_version = g_strdup("$min_gtk_version");
26963 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26964 printf("%s, bad version string\n", "$min_gtk_version");
26968 if ((gtk_major_version != $gtk_config_major_version) ||
26969 (gtk_minor_version != $gtk_config_minor_version) ||
26970 (gtk_micro_version != $gtk_config_micro_version))
26972 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26973 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26974 gtk_major_version, gtk_minor_version, gtk_micro_version);
26975 printf ("*** was found! If pkg-config was correct, then it is best\n");
26976 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26977 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26978 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26979 printf("*** required on your system.\n");
26980 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26981 printf("*** to point to the correct configuration files\n");
26983 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26984 (gtk_minor_version != GTK_MINOR_VERSION) ||
26985 (gtk_micro_version != GTK_MICRO_VERSION))
26987 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26988 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26989 printf("*** library (version %d.%d.%d)\n",
26990 gtk_major_version, gtk_minor_version, gtk_micro_version);
26994 if ((gtk_major_version > major) ||
26995 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26996 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27002 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27003 gtk_major_version, gtk_minor_version, gtk_micro_version);
27004 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27005 major, minor, micro);
27006 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27008 printf("*** If you have already installed a sufficiently new version, this error\n");
27009 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27010 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27011 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27012 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27013 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27014 printf("*** so that the correct libraries are found at run-time))\n");
27021 rm -f conftest
$ac_exeext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27023 (eval $ac_link) 2>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27028 (eval $ac_try) 2>&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); }; }; then
27034 echo "$as_me: program exited with status $ac_status" >&5
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.
$ac_ext >&5
27038 ( exit $ac_status )
27041 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27043 CFLAGS
="$ac_save_CFLAGS"
27044 LIBS
="$ac_save_LIBS"
27047 if test "x$no_gtk" = x
; then
27048 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27049 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27052 echo "$as_me:$LINENO: result: no" >&5
27053 echo "${ECHO_T}no" >&6
27054 if test "$PKG_CONFIG" = "no" ; then
27055 echo "*** A new enough version of pkg-config was not found."
27056 echo "*** See http://pkgconfig.sourceforge.net"
27058 if test -f conf.gtktest
; then
27061 echo "*** Could not run GTK+ test program, checking why..."
27062 ac_save_CFLAGS
="$CFLAGS"
27063 ac_save_LIBS
="$LIBS"
27064 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27065 LIBS
="$LIBS $GTK_LIBS"
27066 cat >conftest.
$ac_ext <<_ACEOF
27069 cat confdefs.h
>>conftest.
$ac_ext
27070 cat >>conftest.
$ac_ext <<_ACEOF
27071 /* end confdefs.h. */
27073 #include <gtk/gtk.h>
27079 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27084 rm -f conftest.
$ac_objext conftest
$ac_exeext
27085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27086 (eval $ac_link) 2>conftest.er1
27088 grep -v '^ *+' conftest.er1
>conftest.err
27090 cat conftest.err
>&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); } &&
27093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27095 (eval $ac_try) 2>&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; } &&
27099 { ac_try
='test -s conftest$ac_exeext'
27100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27101 (eval $ac_try) 2>&5
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); }; }; then
27105 echo "*** The test program compiled, but did not run. This usually means"
27106 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27107 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27108 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27109 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27110 echo "*** is required on your system"
27112 echo "*** If you have an old version installed, it is best to remove it, although"
27113 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27115 echo "$as_me: failed program was:" >&5
27116 sed 's/^/| /' conftest.
$ac_ext >&5
27118 echo "*** The test program failed to compile or link. See the file config.log for the"
27119 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27121 rm -f conftest.err conftest.
$ac_objext \
27122 conftest
$ac_exeext conftest.
$ac_ext
27123 CFLAGS
="$ac_save_CFLAGS"
27124 LIBS
="$ac_save_LIBS"
27138 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27139 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27140 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27142 if test "$wxUSE_SHARED" != "yes"; then
27143 GTK_LIBS
="$GTK_LIBS -lX11"
27148 if test -z "$wx_cv_lib_gtk"; then
27149 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27151 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27152 if test "${with_gtk_prefix+set}" = set; then
27153 withval
="$with_gtk_prefix"
27154 gtk_config_prefix
="$withval"
27156 gtk_config_prefix
=""
27159 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27160 if test "${with_gtk_exec_prefix+set}" = set; then
27161 withval
="$with_gtk_exec_prefix"
27162 gtk_config_exec_prefix
="$withval"
27164 gtk_config_exec_prefix
=""
27166 # Check whether --enable-gtktest or --disable-gtktest was given.
27167 if test "${enable_gtktest+set}" = set; then
27168 enableval
="$enable_gtktest"
27174 for module
in .
$GTK_MODULES
27178 gtk_config_args
="$gtk_config_args gthread"
27183 if test x
$gtk_config_exec_prefix != x
; then
27184 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27185 if test x
${GTK_CONFIG+set} != xset
; then
27186 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27189 if test x
$gtk_config_prefix != x
; then
27190 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27191 if test x
${GTK_CONFIG+set} != xset
; then
27192 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27196 # Extract the first word of "gtk-config", so it can be a program name with args.
27197 set dummy gtk
-config; ac_word
=$2
27198 echo "$as_me:$LINENO: checking for $ac_word" >&5
27199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27200 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 case $GTK_CONFIG in
27205 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27209 for as_dir
in $PATH
27212 test -z "$as_dir" && as_dir
=.
27213 for ac_exec_ext
in '' $ac_executable_extensions; do
27214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27215 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27222 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27226 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27228 if test -n "$GTK_CONFIG"; then
27229 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27230 echo "${ECHO_T}$GTK_CONFIG" >&6
27232 echo "$as_me:$LINENO: result: no" >&5
27233 echo "${ECHO_T}no" >&6
27236 min_gtk_version
=1.2.7
27237 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27238 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27240 if test "$GTK_CONFIG" = "no" ; then
27243 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27244 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27245 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27247 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27249 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27251 if test "x$enable_gtktest" = "xyes" ; then
27252 ac_save_CFLAGS
="$CFLAGS"
27253 ac_save_LIBS
="$LIBS"
27254 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27255 LIBS
="$GTK_LIBS $LIBS"
27257 if test "$cross_compiling" = yes; then
27258 echo $ac_n "cross compiling; assumed OK... $ac_c"
27260 cat >conftest.
$ac_ext <<_ACEOF
27263 cat confdefs.h
>>conftest.
$ac_ext
27264 cat >>conftest.
$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27267 #include <gtk/gtk.h>
27269 #include <stdlib.h>
27274 int major, minor, micro;
27277 system ("touch conf.gtktest");
27279 /* HP/UX 9 (%@#!) writes to sscanf strings */
27280 tmp_version = g_strdup("$min_gtk_version");
27281 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27282 printf("%s, bad version string\n", "$min_gtk_version");
27286 if ((gtk_major_version != $gtk_config_major_version) ||
27287 (gtk_minor_version != $gtk_config_minor_version) ||
27288 (gtk_micro_version != $gtk_config_micro_version))
27290 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27291 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27292 gtk_major_version, gtk_minor_version, gtk_micro_version);
27293 printf ("*** was found! If gtk-config was correct, then it is best\n");
27294 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27295 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27296 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27297 printf("*** required on your system.\n");
27298 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27299 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27300 printf("*** before re-running configure\n");
27302 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27303 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27304 (gtk_minor_version != GTK_MINOR_VERSION) ||
27305 (gtk_micro_version != GTK_MICRO_VERSION))
27307 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27308 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27309 printf("*** library (version %d.%d.%d)\n",
27310 gtk_major_version, gtk_minor_version, gtk_micro_version);
27312 #endif /* defined (GTK_MAJOR_VERSION) ... */
27315 if ((gtk_major_version > major) ||
27316 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27317 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27323 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27324 gtk_major_version, gtk_minor_version, gtk_micro_version);
27325 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27326 major, minor, micro);
27327 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27329 printf("*** If you have already installed a sufficiently new version, this error\n");
27330 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27331 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27332 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27333 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27334 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27335 printf("*** so that the correct libraries are found at run-time))\n");
27342 rm -f conftest
$ac_exeext
27343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27344 (eval $ac_link) 2>&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; }; then
27355 echo "$as_me: program exited with status $ac_status" >&5
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.
$ac_ext >&5
27359 ( exit $ac_status )
27362 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27364 CFLAGS
="$ac_save_CFLAGS"
27365 LIBS
="$ac_save_LIBS"
27368 if test "x$no_gtk" = x
; then
27369 echo "$as_me:$LINENO: result: yes" >&5
27370 echo "${ECHO_T}yes" >&6
27371 wx_cv_lib_gtk
=1.2.7
27373 echo "$as_me:$LINENO: result: no" >&5
27374 echo "${ECHO_T}no" >&6
27375 if test "$GTK_CONFIG" = "no" ; then
27376 echo "*** The gtk-config script installed by GTK could not be found"
27377 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27378 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27379 echo "*** full path to gtk-config."
27381 if test -f conf.gtktest
; then
27384 echo "*** Could not run GTK test program, checking why..."
27385 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27386 LIBS
="$LIBS $GTK_LIBS"
27387 cat >conftest.
$ac_ext <<_ACEOF
27390 cat confdefs.h
>>conftest.
$ac_ext
27391 cat >>conftest.
$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27394 #include <gtk/gtk.h>
27400 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27405 rm -f conftest.
$ac_objext conftest
$ac_exeext
27406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27407 (eval $ac_link) 2>conftest.er1
27409 grep -v '^ *+' conftest.er1
>conftest.err
27411 cat conftest.err
>&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); } &&
27414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27416 (eval $ac_try) 2>&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); }; } &&
27420 { ac_try
='test -s conftest$ac_exeext'
27421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27422 (eval $ac_try) 2>&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); }; }; then
27426 echo "*** The test program compiled, but did not run. This usually means"
27427 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27428 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27429 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27430 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27431 echo "*** is required on your system"
27433 echo "*** If you have an old version installed, it is best to remove it, although"
27434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27436 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27437 echo "*** came with the system with the command"
27439 echo "*** rpm --erase --nodeps gtk gtk-devel"
27441 echo "$as_me: failed program was:" >&5
27442 sed 's/^/| /' conftest.
$ac_ext >&5
27444 echo "*** The test program failed to compile or link. See the file config.log for the"
27445 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27446 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27447 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27449 rm -f conftest.err conftest.
$ac_objext \
27450 conftest
$ac_exeext conftest.
$ac_ext
27451 CFLAGS
="$ac_save_CFLAGS"
27452 LIBS
="$ac_save_LIBS"
27464 if test -z "$wx_cv_lib_gtk"; then
27466 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27467 if test "${with_gtk_prefix+set}" = set; then
27468 withval
="$with_gtk_prefix"
27469 gtk_config_prefix
="$withval"
27471 gtk_config_prefix
=""
27474 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27475 if test "${with_gtk_exec_prefix+set}" = set; then
27476 withval
="$with_gtk_exec_prefix"
27477 gtk_config_exec_prefix
="$withval"
27479 gtk_config_exec_prefix
=""
27481 # Check whether --enable-gtktest or --disable-gtktest was given.
27482 if test "${enable_gtktest+set}" = set; then
27483 enableval
="$enable_gtktest"
27489 for module
in .
$GTK_MODULES
27493 gtk_config_args
="$gtk_config_args gthread"
27498 if test x
$gtk_config_exec_prefix != x
; then
27499 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27500 if test x
${GTK_CONFIG+set} != xset
; then
27501 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27504 if test x
$gtk_config_prefix != x
; then
27505 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27506 if test x
${GTK_CONFIG+set} != xset
; then
27507 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27511 # Extract the first word of "gtk-config", so it can be a program name with args.
27512 set dummy gtk
-config; ac_word
=$2
27513 echo "$as_me:$LINENO: checking for $ac_word" >&5
27514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27515 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27518 case $GTK_CONFIG in
27520 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27524 for as_dir
in $PATH
27527 test -z "$as_dir" && as_dir
=.
27528 for ac_exec_ext
in '' $ac_executable_extensions; do
27529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27530 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27537 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27541 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27543 if test -n "$GTK_CONFIG"; then
27544 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27545 echo "${ECHO_T}$GTK_CONFIG" >&6
27547 echo "$as_me:$LINENO: result: no" >&5
27548 echo "${ECHO_T}no" >&6
27551 min_gtk_version
=1.2.3
27552 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27553 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27555 if test "$GTK_CONFIG" = "no" ; then
27558 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27559 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27560 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27561 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27562 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27564 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27566 if test "x$enable_gtktest" = "xyes" ; then
27567 ac_save_CFLAGS
="$CFLAGS"
27568 ac_save_LIBS
="$LIBS"
27569 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27570 LIBS
="$GTK_LIBS $LIBS"
27572 if test "$cross_compiling" = yes; then
27573 echo $ac_n "cross compiling; assumed OK... $ac_c"
27575 cat >conftest.
$ac_ext <<_ACEOF
27578 cat confdefs.h
>>conftest.
$ac_ext
27579 cat >>conftest.
$ac_ext <<_ACEOF
27580 /* end confdefs.h. */
27582 #include <gtk/gtk.h>
27584 #include <stdlib.h>
27589 int major, minor, micro;
27592 system ("touch conf.gtktest");
27594 /* HP/UX 9 (%@#!) writes to sscanf strings */
27595 tmp_version = g_strdup("$min_gtk_version");
27596 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27597 printf("%s, bad version string\n", "$min_gtk_version");
27601 if ((gtk_major_version != $gtk_config_major_version) ||
27602 (gtk_minor_version != $gtk_config_minor_version) ||
27603 (gtk_micro_version != $gtk_config_micro_version))
27605 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27606 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27607 gtk_major_version, gtk_minor_version, gtk_micro_version);
27608 printf ("*** was found! If gtk-config was correct, then it is best\n");
27609 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27610 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27611 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27612 printf("*** required on your system.\n");
27613 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27614 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27615 printf("*** before re-running configure\n");
27617 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27618 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27619 (gtk_minor_version != GTK_MINOR_VERSION) ||
27620 (gtk_micro_version != GTK_MICRO_VERSION))
27622 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27623 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27624 printf("*** library (version %d.%d.%d)\n",
27625 gtk_major_version, gtk_minor_version, gtk_micro_version);
27627 #endif /* defined (GTK_MAJOR_VERSION) ... */
27630 if ((gtk_major_version > major) ||
27631 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27632 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27638 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27639 gtk_major_version, gtk_minor_version, gtk_micro_version);
27640 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27641 major, minor, micro);
27642 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27644 printf("*** If you have already installed a sufficiently new version, this error\n");
27645 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27646 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27647 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27648 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27649 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27650 printf("*** so that the correct libraries are found at run-time))\n");
27657 rm -f conftest
$ac_exeext
27658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27659 (eval $ac_link) 2>&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27664 (eval $ac_try) 2>&5
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); }; }; then
27670 echo "$as_me: program exited with status $ac_status" >&5
27671 echo "$as_me: failed program was:" >&5
27672 sed 's/^/| /' conftest.
$ac_ext >&5
27674 ( exit $ac_status )
27677 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27679 CFLAGS
="$ac_save_CFLAGS"
27680 LIBS
="$ac_save_LIBS"
27683 if test "x$no_gtk" = x
; then
27684 echo "$as_me:$LINENO: result: yes" >&5
27685 echo "${ECHO_T}yes" >&6
27686 wx_cv_lib_gtk
=1.2.3
27688 echo "$as_me:$LINENO: result: no" >&5
27689 echo "${ECHO_T}no" >&6
27690 if test "$GTK_CONFIG" = "no" ; then
27691 echo "*** The gtk-config script installed by GTK could not be found"
27692 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27693 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27694 echo "*** full path to gtk-config."
27696 if test -f conf.gtktest
; then
27699 echo "*** Could not run GTK test program, checking why..."
27700 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27701 LIBS
="$LIBS $GTK_LIBS"
27702 cat >conftest.
$ac_ext <<_ACEOF
27705 cat confdefs.h
>>conftest.
$ac_ext
27706 cat >>conftest.
$ac_ext <<_ACEOF
27707 /* end confdefs.h. */
27709 #include <gtk/gtk.h>
27715 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27720 rm -f conftest.
$ac_objext conftest
$ac_exeext
27721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27722 (eval $ac_link) 2>conftest.er1
27724 grep -v '^ *+' conftest.er1
>conftest.err
27726 cat conftest.err
>&5
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); } &&
27729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; } &&
27735 { ac_try
='test -s conftest$ac_exeext'
27736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27737 (eval $ac_try) 2>&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; }; then
27741 echo "*** The test program compiled, but did not run. This usually means"
27742 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27743 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27744 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27745 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27746 echo "*** is required on your system"
27748 echo "*** If you have an old version installed, it is best to remove it, although"
27749 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27751 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27752 echo "*** came with the system with the command"
27754 echo "*** rpm --erase --nodeps gtk gtk-devel"
27756 echo "$as_me: failed program was:" >&5
27757 sed 's/^/| /' conftest.
$ac_ext >&5
27759 echo "*** The test program failed to compile or link. See the file config.log for the"
27760 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27761 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27762 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27764 rm -f conftest.err conftest.
$ac_objext \
27765 conftest
$ac_exeext conftest.
$ac_ext
27766 CFLAGS
="$ac_save_CFLAGS"
27767 LIBS
="$ac_save_LIBS"
27782 if test -z "$wx_cv_lib_gtk"; then
27785 wx_cv_cflags_gtk
=$GTK_CFLAGS
27786 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27793 if test "$gtk_version_cached" = 1; then
27794 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27795 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27798 case "$wx_cv_lib_gtk" in
27807 *) { { echo "$as_me:$LINENO: error:
27808 The development files for GTK+ were not found. For GTK+ 2, please
27809 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27810 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27811 and that the version is 1.2.3 or above. Also check that the
27812 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27813 --libs' are in the LD_LIBRARY_PATH or equivalent.
27815 echo "$as_me: error:
27816 The development files for GTK+ were not found. For GTK+ 2, please
27817 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27818 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27819 and that the version is 1.2.3 or above. Also check that the
27820 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27821 --libs' are in the LD_LIBRARY_PATH or equivalent.
27823 { (exit 1); exit 1; }; }
27827 if test "$WXGTK20" = 1; then
27828 save_CFLAGS
="$CFLAGS"
27830 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27831 LIBS
="$LIBS $wx_cv_libs_gtk"
27833 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27834 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27835 cat >conftest.
$ac_ext <<_ACEOF
27838 cat confdefs.h
>>conftest.
$ac_ext
27839 cat >>conftest.
$ac_ext <<_ACEOF
27840 /* end confdefs.h. */
27842 #include <gtk/gtk.h>
27848 void *f = gtk_icon_size_lookup;
27854 rm -f conftest.
$ac_objext
27855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27856 (eval $ac_compile) 2>conftest.er1
27858 grep -v '^ *+' conftest.er1
>conftest.err
27860 cat conftest.err
>&5
27861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862 (exit $ac_status); } &&
27863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27865 (eval $ac_try) 2>&5
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); }; } &&
27869 { ac_try
='test -s conftest.$ac_objext'
27870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27871 (eval $ac_try) 2>&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); }; }; then
27876 echo "$as_me:$LINENO: result: no" >&5
27877 echo "${ECHO_T}no" >&6
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.
$ac_ext >&5
27884 cat >>confdefs.h
<<\_ACEOF
27885 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27888 echo "$as_me:$LINENO: result: yes" >&5
27889 echo "${ECHO_T}yes" >&6
27892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27894 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27895 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27896 cat >conftest.
$ac_ext <<_ACEOF
27899 cat confdefs.h
>>conftest.
$ac_ext
27900 cat >>conftest.
$ac_ext <<_ACEOF
27901 /* end confdefs.h. */
27903 #include <gtk/gtk.h>
27909 #if !GTK_CHECK_VERSION(2,6,0)
27917 rm -f conftest.
$ac_objext
27918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27919 (eval $ac_compile) 2>conftest.er1
27921 grep -v '^ *+' conftest.er1
>conftest.err
27923 cat conftest.err
>&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } &&
27926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27928 (eval $ac_try) 2>&5
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); }; } &&
27932 { ac_try
='test -s conftest.$ac_objext'
27933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27934 (eval $ac_try) 2>&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); }; }; then
27939 cat >>confdefs.h
<<\_ACEOF
27940 #define __WXGTK26__ 1
27943 cat >>confdefs.h
<<\_ACEOF
27944 #define __WXGTK24__ 1
27947 echo "$as_me:$LINENO: result: yes" >&5
27948 echo "${ECHO_T}yes" >&6
27952 echo "$as_me: failed program was:" >&5
27953 sed 's/^/| /' conftest.
$ac_ext >&5
27956 echo "$as_me:$LINENO: result: no" >&5
27957 echo "${ECHO_T}no" >&6
27961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27963 if test "$ac_wxgtk26" = 0; then
27964 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27965 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27966 cat >conftest.
$ac_ext <<_ACEOF
27969 cat confdefs.h
>>conftest.
$ac_ext
27970 cat >>conftest.
$ac_ext <<_ACEOF
27971 /* end confdefs.h. */
27973 #include <gtk/gtk.h>
27979 #if !GTK_CHECK_VERSION(2,4,0)
27987 rm -f conftest.
$ac_objext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27989 (eval $ac_compile) 2>conftest.er1
27991 grep -v '^ *+' conftest.er1
>conftest.err
27993 cat conftest.err
>&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } &&
27996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27998 (eval $ac_try) 2>&5
28000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28001 (exit $ac_status); }; } &&
28002 { ac_try
='test -s conftest.$ac_objext'
28003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004 (eval $ac_try) 2>&5
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); }; }; then
28009 cat >>confdefs.h
<<\_ACEOF
28010 #define __WXGTK24__ 1
28013 echo "$as_me:$LINENO: result: yes" >&5
28014 echo "${ECHO_T}yes" >&6
28017 echo "$as_me: failed program was:" >&5
28018 sed 's/^/| /' conftest.
$ac_ext >&5
28021 echo "$as_me:$LINENO: result: no" >&5
28022 echo "${ECHO_T}no" >&6
28025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28028 CFLAGS
="$save_CFLAGS"
28031 if test "$wxUSE_UNICODE" = "yes"; then
28032 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28033 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28039 ac_cpp
='$CXXCPP $CPPFLAGS'
28040 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28045 if test "$USE_DARWIN" != 1; then
28047 for ac_func
in poll
28049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28050 echo "$as_me:$LINENO: checking for $ac_func" >&5
28051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28052 if eval "test \"\${$as_ac_var+set}\" = set"; then
28053 echo $ECHO_N "(cached) $ECHO_C" >&6
28055 cat >conftest.
$ac_ext <<_ACEOF
28058 cat confdefs.h
>>conftest.
$ac_ext
28059 cat >>conftest.
$ac_ext <<_ACEOF
28060 /* end confdefs.h. */
28061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28063 #define $ac_func innocuous_$ac_func
28065 /* System header to define __stub macros and hopefully few prototypes,
28066 which can conflict with char $ac_func (); below.
28067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28068 <limits.h> exists even on freestanding compilers. */
28071 # include <limits.h>
28073 # include <assert.h>
28078 /* Override any gcc2 internal prototype to avoid an error. */
28083 /* We use char because int might match the return type of a gcc2
28084 builtin and then its argument prototype would still apply. */
28086 /* The GNU C library defines this for functions which it implements
28087 to always fail with ENOSYS. Some functions are actually named
28088 something starting with __ and the normal name is an alias. */
28089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28092 char (*f) () = $ac_func;
28101 return f != $ac_func;
28106 rm -f conftest.
$ac_objext conftest
$ac_exeext
28107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28108 (eval $ac_link) 2>conftest.er1
28110 grep -v '^ *+' conftest.er1
>conftest.err
28112 cat conftest.err
>&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } &&
28115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28117 (eval $ac_try) 2>&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); }; } &&
28121 { ac_try
='test -s conftest$ac_exeext'
28122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28123 (eval $ac_try) 2>&5
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); }; }; then
28127 eval "$as_ac_var=yes"
28129 echo "$as_me: failed program was:" >&5
28130 sed 's/^/| /' conftest.
$ac_ext >&5
28132 eval "$as_ac_var=no"
28134 rm -f conftest.err conftest.
$ac_objext \
28135 conftest
$ac_exeext conftest.
$ac_ext
28137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28139 if test `eval echo '${'$as_ac_var'}'` = yes; then
28140 cat >>confdefs.h
<<_ACEOF
28141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28149 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28150 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28152 AFMINSTALL
=afminstall
28156 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28157 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28158 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28159 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 ac_check_lib_save_LIBS
=$LIBS
28163 cat >conftest.
$ac_ext <<_ACEOF
28166 cat confdefs.h
>>conftest.
$ac_ext
28167 cat >>conftest.
$ac_ext <<_ACEOF
28168 /* end confdefs.h. */
28170 /* Override any gcc2 internal prototype to avoid an error. */
28174 /* We use char because int might match the return type of a gcc2
28175 builtin and then its argument prototype would still apply. */
28176 char gdk_im_open ();
28185 rm -f conftest.
$ac_objext conftest
$ac_exeext
28186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28187 (eval $ac_link) 2>conftest.er1
28189 grep -v '^ *+' conftest.er1
>conftest.err
28191 cat conftest.err
>&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); } &&
28194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28196 (eval $ac_try) 2>&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); }; } &&
28200 { ac_try
='test -s conftest$ac_exeext'
28201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202 (eval $ac_try) 2>&5
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; }; then
28206 ac_cv_lib_gdk_gdk_im_open
=yes
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.
$ac_ext >&5
28211 ac_cv_lib_gdk_gdk_im_open
=no
28213 rm -f conftest.err conftest.
$ac_objext \
28214 conftest
$ac_exeext conftest.
$ac_ext
28215 LIBS
=$ac_check_lib_save_LIBS
28217 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28218 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28219 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28220 cat >>confdefs.h
<<\_ACEOF
28228 if test "$wxUSE_GPE" = "yes"; then
28229 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28230 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28233 for ac_dir
in $SEARCH_LIB;
28235 for ac_extension
in a so sl dylib dll.a
; do
28236 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28237 ac_find_libraries
=$ac_dir
28243 if test "$ac_find_libraries" != "" ; then
28245 if test "$ac_find_libraries" = "default location"; then
28248 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28250 if test $result = 0; then
28253 ac_path_to_link
=" -L$ac_find_libraries"
28257 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28259 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28260 echo "${ECHO_T}found in $ac_find_libraries" >&6
28262 echo "$as_me:$LINENO: result: not found" >&5
28263 echo "${ECHO_T}not found" >&6
28269 if test "$wxUSE_MGL" = 1; then
28270 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28271 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28272 if test "x$MGL_ROOT" = x
; then
28273 echo "$as_me:$LINENO: result: not found" >&5
28274 echo "${ECHO_T}not found" >&6
28275 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28276 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28277 { (exit 1); exit 1; }; }
28279 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28280 echo "${ECHO_T}$MGL_ROOT" >&6
28283 echo "$as_me:$LINENO: checking for libmgl location" >&5
28284 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28287 if test "x$wxUSE_SHARED" = xyes
; then
28288 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28290 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28294 mgl_os_candidates
="dos32/dj2"
28297 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28298 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28299 { (exit 1); exit 1; }; }
28305 for mgl_os_i
in $mgl_os_candidates ; do
28306 if test "x$mgl_os" = x
; then
28307 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28308 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28309 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28314 if test "x$mgl_lib_type" = x
; then
28315 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28316 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28317 mgl_lib_type
=release
28324 if test "x$mgl_os" = x
; then
28325 echo "$as_me:$LINENO: result: not found" >&5
28326 echo "${ECHO_T}not found" >&6
28327 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28328 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28329 { (exit 1); exit 1; }; }
28331 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28332 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28334 wxUSE_UNIVERSAL
="yes"
28336 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28337 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28339 AFMINSTALL
=afminstall
28344 if test "$wxUSE_MICROWIN" = 1; then
28345 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28346 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28347 if test "x$MICROWINDOWS" = x
; then
28348 echo "$as_me:$LINENO: result: not found" >&5
28349 echo "${ECHO_T}not found" >&6
28350 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28351 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28352 { (exit 1); exit 1; }; }
28354 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28355 echo "${ECHO_T}$MICROWINDOWS" >&6
28358 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28359 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28360 echo "${ECHO_T}MicroWindows' libraries found." >&6
28362 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28363 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28364 { (exit 1); exit 1; }; }
28367 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28368 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28370 wxUSE_UNIVERSAL
="yes"
28372 AFMINSTALL
=afminstall
28374 GUIDIST
=MICROWIN_DIST
28376 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28379 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28381 if test "x$ac_path_x_has_been_run" != xyes
; then
28382 echo "$as_me:$LINENO: checking for X" >&5
28383 echo $ECHO_N "checking for X... $ECHO_C" >&6
28385 ac_path_x_has_been_run
=yes
28387 # Check whether --with-x or --without-x was given.
28388 if test "${with_x+set}" = set; then
28392 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28393 if test "x$with_x" = xno
; then
28394 # The user explicitly disabled X.
28397 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28398 # Both variables are already set.
28401 if test "${ac_cv_have_x+set}" = set; then
28402 echo $ECHO_N "(cached) $ECHO_C" >&6
28404 # One or both of the vars are not set, and there is no cached value.
28405 ac_x_includes
=no ac_x_libraries
=no
28406 rm -fr conftest.dir
28407 if mkdir conftest.dir
; then
28409 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28410 cat >Imakefile
<<'_ACEOF'
28412 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28414 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28415 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28416 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28417 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28418 for ac_extension
in a so sl
; do
28419 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28420 test -f $ac_im_libdir/libX11.
$ac_extension; then
28421 ac_im_usrlibdir
=$ac_im_libdir; break
28424 # Screen out bogus values from the imake configuration. They are
28425 # bogus both because they are the default anyway, and because
28426 # using them would break gcc on systems where it needs fixed includes.
28427 case $ac_im_incroot in
28429 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28431 case $ac_im_usrlibdir in
28432 /usr
/lib
| /lib
) ;;
28433 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28437 rm -fr conftest.dir
28440 # Standard set of common directories for X headers.
28441 # Check X11 before X11Rn because it is often a symlink to the current release.
28453 /usr/local/X11/include
28454 /usr/local/X11R6/include
28455 /usr/local/X11R5/include
28456 /usr/local/X11R4/include
28458 /usr/local/include/X11
28459 /usr/local/include/X11R6
28460 /usr/local/include/X11R5
28461 /usr/local/include/X11R4
28465 /usr/XFree86/include/X11
28469 /usr/unsupported/include
28470 /usr/athena/include
28471 /usr/local/x11r5/include
28472 /usr/lpp/Xamples/include
28474 /usr/openwin/include
28475 /usr/openwin/share/include'
28477 if test "$ac_x_includes" = no
; then
28478 # Guess where to find include files, by looking for a specified header file.
28479 # First, try using that file with no special directory specified.
28480 cat >conftest.
$ac_ext <<_ACEOF
28483 cat confdefs.h
>>conftest.
$ac_ext
28484 cat >>conftest.
$ac_ext <<_ACEOF
28485 /* end confdefs.h. */
28486 #include <X11/Intrinsic.h>
28488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28489 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28491 grep -v '^ *+' conftest.er1
>conftest.err
28493 cat conftest.err
>&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } >/dev
/null
; then
28496 if test -s conftest.err
; then
28497 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28498 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28505 if test -z "$ac_cpp_err"; then
28506 # We can compile using X headers with no special include directory.
28509 echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.
$ac_ext >&5
28512 for ac_dir
in $ac_x_header_dirs; do
28513 if test -r "$ac_dir/X11/Intrinsic.h"; then
28514 ac_x_includes
=$ac_dir
28519 rm -f conftest.err conftest.
$ac_ext
28520 fi # $ac_x_includes = no
28522 if test "$ac_x_libraries" = no
; then
28523 # Check for the libraries.
28524 # See if we find them without any special options.
28525 # Don't add to $LIBS permanently.
28528 cat >conftest.
$ac_ext <<_ACEOF
28531 cat confdefs.h
>>conftest.
$ac_ext
28532 cat >>conftest.
$ac_ext <<_ACEOF
28533 /* end confdefs.h. */
28534 #include <X11/Intrinsic.h>
28543 rm -f conftest.
$ac_objext conftest
$ac_exeext
28544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28545 (eval $ac_link) 2>conftest.er1
28547 grep -v '^ *+' conftest.er1
>conftest.err
28549 cat conftest.err
>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); } &&
28552 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554 (eval $ac_try) 2>&5
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); }; } &&
28558 { ac_try
='test -s conftest$ac_exeext'
28559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28560 (eval $ac_try) 2>&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); }; }; then
28565 # We can link X programs with no special library path.
28568 echo "$as_me: failed program was:" >&5
28569 sed 's/^/| /' conftest.
$ac_ext >&5
28572 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28574 # Don't even attempt the hair of trying to link an X program!
28575 for ac_extension
in a so sl
; do
28576 if test -r $ac_dir/libXt.
$ac_extension; then
28577 ac_x_libraries
=$ac_dir
28583 rm -f conftest.err conftest.
$ac_objext \
28584 conftest
$ac_exeext conftest.
$ac_ext
28585 fi # $ac_x_libraries = no
28587 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28588 # Didn't find X anywhere. Cache the known absence of X.
28589 ac_cv_have_x
="have_x=no"
28591 # Record where we found X for the cache.
28592 ac_cv_have_x
="have_x=yes \
28593 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28598 eval "$ac_cv_have_x"
28601 if test "$have_x" != yes; then
28602 echo "$as_me:$LINENO: result: $have_x" >&5
28603 echo "${ECHO_T}$have_x" >&6
28606 # If each of the values was on the command line, it overrides each guess.
28607 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28608 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28609 # Update the cache value to reflect the command line values.
28610 ac_cv_have_x
="have_x=yes \
28611 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28612 # It might be that x_includes is empty (headers are found in the
28613 # standard search path. Then output the corresponding message
28614 ac_out_x_includes
=$x_includes
28615 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
28616 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28617 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28621 if test "$no_x" = yes; then
28622 # Not all programs may use this symbol, but it does not hurt to define it.
28624 cat >>confdefs.h
<<\_ACEOF
28625 #define X_DISPLAY_MISSING 1
28628 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28630 if test -n "$x_includes"; then
28631 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28634 # It would also be nice to do this for all -L options, not just this one.
28635 if test -n "$x_libraries"; then
28636 X_LIBS
="$X_LIBS -L$x_libraries"
28637 # For Solaris; some versions of Sun CC require a space after -R and
28638 # others require no space. Words are not sufficient . . . .
28639 case `(uname -sr) 2>/dev/null` in
28641 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28642 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28643 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28644 cat >conftest.
$ac_ext <<_ACEOF
28647 cat confdefs.h
>>conftest.
$ac_ext
28648 cat >>conftest.
$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28659 rm -f conftest.
$ac_objext conftest
$ac_exeext
28660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28661 (eval $ac_link) 2>conftest.er1
28663 grep -v '^ *+' conftest.er1
>conftest.err
28665 cat conftest.err
>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); } &&
28668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28670 (eval $ac_try) 2>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); }; } &&
28674 { ac_try
='test -s conftest$ac_exeext'
28675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28676 (eval $ac_try) 2>&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); }; }; then
28682 echo "$as_me: failed program was:" >&5
28683 sed 's/^/| /' conftest.
$ac_ext >&5
28687 rm -f conftest.err conftest.
$ac_objext \
28688 conftest
$ac_exeext conftest.
$ac_ext
28689 if test $ac_R_nospace = yes; then
28690 echo "$as_me:$LINENO: result: no" >&5
28691 echo "${ECHO_T}no" >&6
28692 X_LIBS
="$X_LIBS -R$x_libraries"
28694 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28695 cat >conftest.
$ac_ext <<_ACEOF
28698 cat confdefs.h
>>conftest.
$ac_ext
28699 cat >>conftest.
$ac_ext <<_ACEOF
28700 /* end confdefs.h. */
28710 rm -f conftest.
$ac_objext conftest
$ac_exeext
28711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28712 (eval $ac_link) 2>conftest.er1
28714 grep -v '^ *+' conftest.er1
>conftest.err
28716 cat conftest.err
>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); } &&
28719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; } &&
28725 { ac_try
='test -s conftest$ac_exeext'
28726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727 (eval $ac_try) 2>&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; }; then
28733 echo "$as_me: failed program was:" >&5
28734 sed 's/^/| /' conftest.
$ac_ext >&5
28738 rm -f conftest.err conftest.
$ac_objext \
28739 conftest
$ac_exeext conftest.
$ac_ext
28740 if test $ac_R_space = yes; then
28741 echo "$as_me:$LINENO: result: yes" >&5
28742 echo "${ECHO_T}yes" >&6
28743 X_LIBS
="$X_LIBS -R $x_libraries"
28745 echo "$as_me:$LINENO: result: neither works" >&5
28746 echo "${ECHO_T}neither works" >&6
28749 LIBS
=$ac_xsave_LIBS
28753 # Check for system-dependent libraries X programs must link with.
28754 # Do this before checking for the system-independent R6 libraries
28755 # (-lICE), since we may need -lsocket or whatever for X linking.
28757 if test "$ISC" = yes; then
28758 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28760 # Martyn Johnson says this is needed for Ultrix, if the X
28761 # libraries were built with DECnet support. And Karl Berry says
28762 # the Alpha needs dnet_stub (dnet does not exist).
28763 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28764 cat >conftest.
$ac_ext <<_ACEOF
28767 cat confdefs.h
>>conftest.
$ac_ext
28768 cat >>conftest.
$ac_ext <<_ACEOF
28769 /* end confdefs.h. */
28771 /* Override any gcc2 internal prototype to avoid an error. */
28775 /* We use char because int might match the return type of a gcc2
28776 builtin and then its argument prototype would still apply. */
28777 char XOpenDisplay ();
28786 rm -f conftest.
$ac_objext conftest
$ac_exeext
28787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28788 (eval $ac_link) 2>conftest.er1
28790 grep -v '^ *+' conftest.er1
>conftest.err
28792 cat conftest.err
>&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); } &&
28795 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28797 (eval $ac_try) 2>&5
28799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28800 (exit $ac_status); }; } &&
28801 { ac_try
='test -s conftest$ac_exeext'
28802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28803 (eval $ac_try) 2>&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); }; }; then
28809 echo "$as_me: failed program was:" >&5
28810 sed 's/^/| /' conftest.
$ac_ext >&5
28812 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28813 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28814 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28815 echo $ECHO_N "(cached) $ECHO_C" >&6
28817 ac_check_lib_save_LIBS
=$LIBS
28818 LIBS
="-ldnet $LIBS"
28819 cat >conftest.
$ac_ext <<_ACEOF
28822 cat confdefs.h
>>conftest.
$ac_ext
28823 cat >>conftest.
$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28826 /* Override any gcc2 internal prototype to avoid an error. */
28830 /* We use char because int might match the return type of a gcc2
28831 builtin and then its argument prototype would still apply. */
28841 rm -f conftest.
$ac_objext conftest
$ac_exeext
28842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28843 (eval $ac_link) 2>conftest.er1
28845 grep -v '^ *+' conftest.er1
>conftest.err
28847 cat conftest.err
>&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); } &&
28850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28852 (eval $ac_try) 2>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; } &&
28856 { ac_try
='test -s conftest$ac_exeext'
28857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28858 (eval $ac_try) 2>&5
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); }; }; then
28862 ac_cv_lib_dnet_dnet_ntoa
=yes
28864 echo "$as_me: failed program was:" >&5
28865 sed 's/^/| /' conftest.
$ac_ext >&5
28867 ac_cv_lib_dnet_dnet_ntoa
=no
28869 rm -f conftest.err conftest.
$ac_objext \
28870 conftest
$ac_exeext conftest.
$ac_ext
28871 LIBS
=$ac_check_lib_save_LIBS
28873 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28874 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28875 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28876 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28879 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28880 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28881 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28882 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28883 echo $ECHO_N "(cached) $ECHO_C" >&6
28885 ac_check_lib_save_LIBS
=$LIBS
28886 LIBS
="-ldnet_stub $LIBS"
28887 cat >conftest.
$ac_ext <<_ACEOF
28890 cat confdefs.h
>>conftest.
$ac_ext
28891 cat >>conftest.
$ac_ext <<_ACEOF
28892 /* end confdefs.h. */
28894 /* Override any gcc2 internal prototype to avoid an error. */
28898 /* We use char because int might match the return type of a gcc2
28899 builtin and then its argument prototype would still apply. */
28909 rm -f conftest.
$ac_objext conftest
$ac_exeext
28910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28911 (eval $ac_link) 2>conftest.er1
28913 grep -v '^ *+' conftest.er1
>conftest.err
28915 cat conftest.err
>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); } &&
28918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; } &&
28924 { ac_try
='test -s conftest$ac_exeext'
28925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28926 (eval $ac_try) 2>&5
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); }; }; then
28930 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28932 echo "$as_me: failed program was:" >&5
28933 sed 's/^/| /' conftest.
$ac_ext >&5
28935 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28937 rm -f conftest.err conftest.
$ac_objext \
28938 conftest
$ac_exeext conftest.
$ac_ext
28939 LIBS
=$ac_check_lib_save_LIBS
28941 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28942 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28943 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28944 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28949 rm -f conftest.err conftest.
$ac_objext \
28950 conftest
$ac_exeext conftest.
$ac_ext
28951 LIBS
="$ac_xsave_LIBS"
28953 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28954 # to get the SysV transport functions.
28955 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28957 # The nsl library prevents programs from opening the X display
28958 # on Irix 5.2, according to T.E. Dickey.
28959 # The functions gethostbyname, getservbyname, and inet_addr are
28960 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28961 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28962 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28963 if test "${ac_cv_func_gethostbyname+set}" = set; then
28964 echo $ECHO_N "(cached) $ECHO_C" >&6
28966 cat >conftest.
$ac_ext <<_ACEOF
28969 cat confdefs.h
>>conftest.
$ac_ext
28970 cat >>conftest.
$ac_ext <<_ACEOF
28971 /* end confdefs.h. */
28972 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28974 #define gethostbyname innocuous_gethostbyname
28976 /* System header to define __stub macros and hopefully few prototypes,
28977 which can conflict with char gethostbyname (); below.
28978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28979 <limits.h> exists even on freestanding compilers. */
28982 # include <limits.h>
28984 # include <assert.h>
28987 #undef gethostbyname
28989 /* Override any gcc2 internal prototype to avoid an error. */
28994 /* We use char because int might match the return type of a gcc2
28995 builtin and then its argument prototype would still apply. */
28996 char gethostbyname ();
28997 /* The GNU C library defines this for functions which it implements
28998 to always fail with ENOSYS. Some functions are actually named
28999 something starting with __ and the normal name is an alias. */
29000 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29003 char (*f) () = gethostbyname;
29012 return f != gethostbyname;
29017 rm -f conftest.
$ac_objext conftest
$ac_exeext
29018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29019 (eval $ac_link) 2>conftest.er1
29021 grep -v '^ *+' conftest.er1
>conftest.err
29023 cat conftest.err
>&5
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); } &&
29026 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29028 (eval $ac_try) 2>&5
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); }; } &&
29032 { ac_try
='test -s conftest$ac_exeext'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; }; then
29038 ac_cv_func_gethostbyname
=yes
29040 echo "$as_me: failed program was:" >&5
29041 sed 's/^/| /' conftest.
$ac_ext >&5
29043 ac_cv_func_gethostbyname
=no
29045 rm -f conftest.err conftest.
$ac_objext \
29046 conftest
$ac_exeext conftest.
$ac_ext
29048 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29049 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29051 if test $ac_cv_func_gethostbyname = no
; then
29052 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29053 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29054 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29055 echo $ECHO_N "(cached) $ECHO_C" >&6
29057 ac_check_lib_save_LIBS
=$LIBS
29059 cat >conftest.
$ac_ext <<_ACEOF
29062 cat confdefs.h
>>conftest.
$ac_ext
29063 cat >>conftest.
$ac_ext <<_ACEOF
29064 /* end confdefs.h. */
29066 /* Override any gcc2 internal prototype to avoid an error. */
29070 /* We use char because int might match the return type of a gcc2
29071 builtin and then its argument prototype would still apply. */
29072 char gethostbyname ();
29081 rm -f conftest.
$ac_objext conftest
$ac_exeext
29082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29083 (eval $ac_link) 2>conftest.er1
29085 grep -v '^ *+' conftest.er1
>conftest.err
29087 cat conftest.err
>&5
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); } &&
29090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29092 (eval $ac_try) 2>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; } &&
29096 { ac_try
='test -s conftest$ac_exeext'
29097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29098 (eval $ac_try) 2>&5
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); }; }; then
29102 ac_cv_lib_nsl_gethostbyname
=yes
29104 echo "$as_me: failed program was:" >&5
29105 sed 's/^/| /' conftest.
$ac_ext >&5
29107 ac_cv_lib_nsl_gethostbyname
=no
29109 rm -f conftest.err conftest.
$ac_objext \
29110 conftest
$ac_exeext conftest.
$ac_ext
29111 LIBS
=$ac_check_lib_save_LIBS
29113 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29114 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29115 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29116 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29119 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29120 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29121 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29122 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29123 echo $ECHO_N "(cached) $ECHO_C" >&6
29125 ac_check_lib_save_LIBS
=$LIBS
29127 cat >conftest.
$ac_ext <<_ACEOF
29130 cat confdefs.h
>>conftest.
$ac_ext
29131 cat >>conftest.
$ac_ext <<_ACEOF
29132 /* end confdefs.h. */
29134 /* Override any gcc2 internal prototype to avoid an error. */
29138 /* We use char because int might match the return type of a gcc2
29139 builtin and then its argument prototype would still apply. */
29140 char gethostbyname ();
29149 rm -f conftest.
$ac_objext conftest
$ac_exeext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29151 (eval $ac_link) 2>conftest.er1
29153 grep -v '^ *+' conftest.er1
>conftest.err
29155 cat conftest.err
>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; } &&
29164 { ac_try
='test -s conftest$ac_exeext'
29165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166 (eval $ac_try) 2>&5
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); }; }; then
29170 ac_cv_lib_bsd_gethostbyname
=yes
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.
$ac_ext >&5
29175 ac_cv_lib_bsd_gethostbyname
=no
29177 rm -f conftest.err conftest.
$ac_objext \
29178 conftest
$ac_exeext conftest.
$ac_ext
29179 LIBS
=$ac_check_lib_save_LIBS
29181 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29182 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29183 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29184 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29190 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29191 # socket/setsockopt and other routines are undefined under SCO ODT
29192 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29193 # on later versions), says Simon Leinen: it contains gethostby*
29194 # variants that don't use the name server (or something). -lsocket
29195 # must be given before -lnsl if both are needed. We assume that
29196 # if connect needs -lnsl, so does gethostbyname.
29197 echo "$as_me:$LINENO: checking for connect" >&5
29198 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29199 if test "${ac_cv_func_connect+set}" = set; then
29200 echo $ECHO_N "(cached) $ECHO_C" >&6
29202 cat >conftest.
$ac_ext <<_ACEOF
29205 cat confdefs.h
>>conftest.
$ac_ext
29206 cat >>conftest.
$ac_ext <<_ACEOF
29207 /* end confdefs.h. */
29208 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29210 #define connect innocuous_connect
29212 /* System header to define __stub macros and hopefully few prototypes,
29213 which can conflict with char connect (); below.
29214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29215 <limits.h> exists even on freestanding compilers. */
29218 # include <limits.h>
29220 # include <assert.h>
29225 /* Override any gcc2 internal prototype to avoid an error. */
29230 /* We use char because int might match the return type of a gcc2
29231 builtin and then its argument prototype would still apply. */
29233 /* The GNU C library defines this for functions which it implements
29234 to always fail with ENOSYS. Some functions are actually named
29235 something starting with __ and the normal name is an alias. */
29236 #if defined (__stub_connect) || defined (__stub___connect)
29239 char (*f) () = connect;
29248 return f != connect;
29253 rm -f conftest.
$ac_objext conftest
$ac_exeext
29254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29255 (eval $ac_link) 2>conftest.er1
29257 grep -v '^ *+' conftest.er1
>conftest.err
29259 cat conftest.err
>&5
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); } &&
29262 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264 (eval $ac_try) 2>&5
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); }; } &&
29268 { ac_try
='test -s conftest$ac_exeext'
29269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29270 (eval $ac_try) 2>&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); }; }; then
29274 ac_cv_func_connect
=yes
29276 echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.
$ac_ext >&5
29279 ac_cv_func_connect
=no
29281 rm -f conftest.err conftest.
$ac_objext \
29282 conftest
$ac_exeext conftest.
$ac_ext
29284 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29285 echo "${ECHO_T}$ac_cv_func_connect" >&6
29287 if test $ac_cv_func_connect = no
; then
29288 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29289 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29290 if test "${ac_cv_lib_socket_connect+set}" = set; then
29291 echo $ECHO_N "(cached) $ECHO_C" >&6
29293 ac_check_lib_save_LIBS
=$LIBS
29294 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29295 cat >conftest.
$ac_ext <<_ACEOF
29298 cat confdefs.h
>>conftest.
$ac_ext
29299 cat >>conftest.
$ac_ext <<_ACEOF
29300 /* end confdefs.h. */
29302 /* Override any gcc2 internal prototype to avoid an error. */
29306 /* We use char because int might match the return type of a gcc2
29307 builtin and then its argument prototype would still apply. */
29317 rm -f conftest.
$ac_objext conftest
$ac_exeext
29318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29319 (eval $ac_link) 2>conftest.er1
29321 grep -v '^ *+' conftest.er1
>conftest.err
29323 cat conftest.err
>&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29328 (eval $ac_try) 2>&5
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); }; } &&
29332 { ac_try
='test -s conftest$ac_exeext'
29333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29334 (eval $ac_try) 2>&5
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); }; }; then
29338 ac_cv_lib_socket_connect
=yes
29340 echo "$as_me: failed program was:" >&5
29341 sed 's/^/| /' conftest.
$ac_ext >&5
29343 ac_cv_lib_socket_connect
=no
29345 rm -f conftest.err conftest.
$ac_objext \
29346 conftest
$ac_exeext conftest.
$ac_ext
29347 LIBS
=$ac_check_lib_save_LIBS
29349 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29350 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29351 if test $ac_cv_lib_socket_connect = yes; then
29352 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29357 # Guillermo Gomez says -lposix is necessary on A/UX.
29358 echo "$as_me:$LINENO: checking for remove" >&5
29359 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29360 if test "${ac_cv_func_remove+set}" = set; then
29361 echo $ECHO_N "(cached) $ECHO_C" >&6
29363 cat >conftest.
$ac_ext <<_ACEOF
29366 cat confdefs.h
>>conftest.
$ac_ext
29367 cat >>conftest.
$ac_ext <<_ACEOF
29368 /* end confdefs.h. */
29369 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29371 #define remove innocuous_remove
29373 /* System header to define __stub macros and hopefully few prototypes,
29374 which can conflict with char remove (); below.
29375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29376 <limits.h> exists even on freestanding compilers. */
29379 # include <limits.h>
29381 # include <assert.h>
29386 /* Override any gcc2 internal prototype to avoid an error. */
29391 /* We use char because int might match the return type of a gcc2
29392 builtin and then its argument prototype would still apply. */
29394 /* The GNU C library defines this for functions which it implements
29395 to always fail with ENOSYS. Some functions are actually named
29396 something starting with __ and the normal name is an alias. */
29397 #if defined (__stub_remove) || defined (__stub___remove)
29400 char (*f) () = remove;
29409 return f != remove;
29414 rm -f conftest.
$ac_objext conftest
$ac_exeext
29415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29416 (eval $ac_link) 2>conftest.er1
29418 grep -v '^ *+' conftest.er1
>conftest.err
29420 cat conftest.err
>&5
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); } &&
29423 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29425 (eval $ac_try) 2>&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); }; } &&
29429 { ac_try
='test -s conftest$ac_exeext'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; }; then
29435 ac_cv_func_remove
=yes
29437 echo "$as_me: failed program was:" >&5
29438 sed 's/^/| /' conftest.
$ac_ext >&5
29440 ac_cv_func_remove
=no
29442 rm -f conftest.err conftest.
$ac_objext \
29443 conftest
$ac_exeext conftest.
$ac_ext
29445 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29446 echo "${ECHO_T}$ac_cv_func_remove" >&6
29448 if test $ac_cv_func_remove = no
; then
29449 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29450 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29451 if test "${ac_cv_lib_posix_remove+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 ac_check_lib_save_LIBS
=$LIBS
29455 LIBS
="-lposix $LIBS"
29456 cat >conftest.
$ac_ext <<_ACEOF
29459 cat confdefs.h
>>conftest.
$ac_ext
29460 cat >>conftest.
$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29463 /* Override any gcc2 internal prototype to avoid an error. */
29467 /* We use char because int might match the return type of a gcc2
29468 builtin and then its argument prototype would still apply. */
29478 rm -f conftest.
$ac_objext conftest
$ac_exeext
29479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29480 (eval $ac_link) 2>conftest.er1
29482 grep -v '^ *+' conftest.er1
>conftest.err
29484 cat conftest.err
>&5
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); } &&
29487 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29489 (eval $ac_try) 2>&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); }; } &&
29493 { ac_try
='test -s conftest$ac_exeext'
29494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29495 (eval $ac_try) 2>&5
29497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29498 (exit $ac_status); }; }; then
29499 ac_cv_lib_posix_remove
=yes
29501 echo "$as_me: failed program was:" >&5
29502 sed 's/^/| /' conftest.
$ac_ext >&5
29504 ac_cv_lib_posix_remove
=no
29506 rm -f conftest.err conftest.
$ac_objext \
29507 conftest
$ac_exeext conftest.
$ac_ext
29508 LIBS
=$ac_check_lib_save_LIBS
29510 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29511 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29512 if test $ac_cv_lib_posix_remove = yes; then
29513 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29518 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29519 echo "$as_me:$LINENO: checking for shmat" >&5
29520 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29521 if test "${ac_cv_func_shmat+set}" = set; then
29522 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 cat >conftest.
$ac_ext <<_ACEOF
29527 cat confdefs.h
>>conftest.
$ac_ext
29528 cat >>conftest.
$ac_ext <<_ACEOF
29529 /* end confdefs.h. */
29530 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29532 #define shmat innocuous_shmat
29534 /* System header to define __stub macros and hopefully few prototypes,
29535 which can conflict with char shmat (); below.
29536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29537 <limits.h> exists even on freestanding compilers. */
29540 # include <limits.h>
29542 # include <assert.h>
29547 /* Override any gcc2 internal prototype to avoid an error. */
29552 /* We use char because int might match the return type of a gcc2
29553 builtin and then its argument prototype would still apply. */
29555 /* The GNU C library defines this for functions which it implements
29556 to always fail with ENOSYS. Some functions are actually named
29557 something starting with __ and the normal name is an alias. */
29558 #if defined (__stub_shmat) || defined (__stub___shmat)
29561 char (*f) () = shmat;
29575 rm -f conftest.
$ac_objext conftest
$ac_exeext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29577 (eval $ac_link) 2>conftest.er1
29579 grep -v '^ *+' conftest.er1
>conftest.err
29581 cat conftest.err
>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; } &&
29590 { ac_try
='test -s conftest$ac_exeext'
29591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29592 (eval $ac_try) 2>&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); }; }; then
29596 ac_cv_func_shmat
=yes
29598 echo "$as_me: failed program was:" >&5
29599 sed 's/^/| /' conftest.
$ac_ext >&5
29601 ac_cv_func_shmat
=no
29603 rm -f conftest.err conftest.
$ac_objext \
29604 conftest
$ac_exeext conftest.
$ac_ext
29606 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29607 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29609 if test $ac_cv_func_shmat = no
; then
29610 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29611 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29612 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29613 echo $ECHO_N "(cached) $ECHO_C" >&6
29615 ac_check_lib_save_LIBS
=$LIBS
29617 cat >conftest.
$ac_ext <<_ACEOF
29620 cat confdefs.h
>>conftest.
$ac_ext
29621 cat >>conftest.
$ac_ext <<_ACEOF
29622 /* end confdefs.h. */
29624 /* Override any gcc2 internal prototype to avoid an error. */
29628 /* We use char because int might match the return type of a gcc2
29629 builtin and then its argument prototype would still apply. */
29639 rm -f conftest.
$ac_objext conftest
$ac_exeext
29640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29641 (eval $ac_link) 2>conftest.er1
29643 grep -v '^ *+' conftest.er1
>conftest.err
29645 cat conftest.err
>&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); } &&
29648 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29650 (eval $ac_try) 2>&5
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); }; } &&
29654 { ac_try
='test -s conftest$ac_exeext'
29655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29656 (eval $ac_try) 2>&5
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); }; }; then
29660 ac_cv_lib_ipc_shmat
=yes
29662 echo "$as_me: failed program was:" >&5
29663 sed 's/^/| /' conftest.
$ac_ext >&5
29665 ac_cv_lib_ipc_shmat
=no
29667 rm -f conftest.err conftest.
$ac_objext \
29668 conftest
$ac_exeext conftest.
$ac_ext
29669 LIBS
=$ac_check_lib_save_LIBS
29671 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29672 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29673 if test $ac_cv_lib_ipc_shmat = yes; then
29674 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29680 # Check for libraries that X11R6 Xt/Xaw programs need.
29681 ac_save_LDFLAGS
=$LDFLAGS
29682 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29683 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29684 # check for ICE first), but we must link in the order -lSM -lICE or
29685 # we get undefined symbols. So assume we have SM if we have ICE.
29686 # These have to be linked with before -lX11, unlike the other
29687 # libraries we check for below, so use a different variable.
29688 # John Interrante, Karl Berry
29689 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29690 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29691 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29692 echo $ECHO_N "(cached) $ECHO_C" >&6
29694 ac_check_lib_save_LIBS
=$LIBS
29695 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29696 cat >conftest.
$ac_ext <<_ACEOF
29699 cat confdefs.h
>>conftest.
$ac_ext
29700 cat >>conftest.
$ac_ext <<_ACEOF
29701 /* end confdefs.h. */
29703 /* Override any gcc2 internal prototype to avoid an error. */
29707 /* We use char because int might match the return type of a gcc2
29708 builtin and then its argument prototype would still apply. */
29709 char IceConnectionNumber ();
29713 IceConnectionNumber ();
29718 rm -f conftest.
$ac_objext conftest
$ac_exeext
29719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29720 (eval $ac_link) 2>conftest.er1
29722 grep -v '^ *+' conftest.er1
>conftest.err
29724 cat conftest.err
>&5
29725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29726 (exit $ac_status); } &&
29727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29729 (eval $ac_try) 2>&5
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); }; } &&
29733 { ac_try
='test -s conftest$ac_exeext'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; }; then
29739 ac_cv_lib_ICE_IceConnectionNumber
=yes
29741 echo "$as_me: failed program was:" >&5
29742 sed 's/^/| /' conftest.
$ac_ext >&5
29744 ac_cv_lib_ICE_IceConnectionNumber
=no
29746 rm -f conftest.err conftest.
$ac_objext \
29747 conftest
$ac_exeext conftest.
$ac_ext
29748 LIBS
=$ac_check_lib_save_LIBS
29750 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29751 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29752 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29753 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29756 LDFLAGS
=$ac_save_LDFLAGS
29761 if test "$no_x" = "yes"; then
29762 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29763 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29764 { (exit 1); exit 1; }; }
29767 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29768 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29769 AFMINSTALL
=afminstall
29770 COMPILED_X_PROGRAM
=0
29774 if test "$wxUSE_X11" = 1; then
29775 if test "$wxUSE_NANOX" = "yes"; then
29776 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29777 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29778 if test "x$MICROWIN" = x
; then
29779 echo "$as_me:$LINENO: result: not found" >&5
29780 echo "${ECHO_T}not found" >&6
29781 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29782 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29783 { (exit 1); exit 1; }; }
29785 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29786 echo "${ECHO_T}$MICROWIN" >&6
29787 cat >>confdefs.h
<<\_ACEOF
29788 #define wxUSE_NANOX 1
29794 if test "$wxUSE_UNICODE" = "yes"; then
29798 if test -z "$PKG_CONFIG"; then
29799 # Extract the first word of "pkg-config", so it can be a program name with args.
29800 set dummy pkg
-config; ac_word
=$2
29801 echo "$as_me:$LINENO: checking for $ac_word" >&5
29802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29803 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29804 echo $ECHO_N "(cached) $ECHO_C" >&6
29806 case $PKG_CONFIG in
29808 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29812 for as_dir
in $PATH
29815 test -z "$as_dir" && as_dir
=.
29816 for ac_exec_ext
in '' $ac_executable_extensions; do
29817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29818 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29825 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29829 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29831 if test -n "$PKG_CONFIG"; then
29832 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29833 echo "${ECHO_T}$PKG_CONFIG" >&6
29835 echo "$as_me:$LINENO: result: no" >&5
29836 echo "${ECHO_T}no" >&6
29841 if test "$PKG_CONFIG" = "no" ; then
29842 echo "*** The pkg-config script could not be found. Make sure it is"
29843 echo "*** in your path, or set the PKG_CONFIG environment variable"
29844 echo "*** to the full path to pkg-config."
29845 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29847 PKG_CONFIG_MIN_VERSION
=0.9.0
29848 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29849 echo "$as_me:$LINENO: checking for pangox" >&5
29850 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29852 if $PKG_CONFIG --exists "pangox" ; then
29853 echo "$as_me:$LINENO: result: yes" >&5
29854 echo "${ECHO_T}yes" >&6
29857 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29858 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29859 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29860 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29861 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29863 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29864 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29865 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29866 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29867 echo "${ECHO_T}$PANGOX_LIBS" >&6
29871 ## If we have a custom action on failure, don't print errors, but
29872 ## do set a variable so people can do so.
29873 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29880 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29881 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29885 if test $succeeded = yes; then
29887 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29888 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29892 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29893 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29894 { (exit 1); exit 1; }; }
29902 if test -z "$PKG_CONFIG"; then
29903 # Extract the first word of "pkg-config", so it can be a program name with args.
29904 set dummy pkg
-config; ac_word
=$2
29905 echo "$as_me:$LINENO: checking for $ac_word" >&5
29906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29907 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29908 echo $ECHO_N "(cached) $ECHO_C" >&6
29910 case $PKG_CONFIG in
29912 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29916 for as_dir
in $PATH
29919 test -z "$as_dir" && as_dir
=.
29920 for ac_exec_ext
in '' $ac_executable_extensions; do
29921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29922 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29929 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29933 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29935 if test -n "$PKG_CONFIG"; then
29936 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29937 echo "${ECHO_T}$PKG_CONFIG" >&6
29939 echo "$as_me:$LINENO: result: no" >&5
29940 echo "${ECHO_T}no" >&6
29945 if test "$PKG_CONFIG" = "no" ; then
29946 echo "*** The pkg-config script could not be found. Make sure it is"
29947 echo "*** in your path, or set the PKG_CONFIG environment variable"
29948 echo "*** to the full path to pkg-config."
29949 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29951 PKG_CONFIG_MIN_VERSION
=0.9.0
29952 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29953 echo "$as_me:$LINENO: checking for pangoft2" >&5
29954 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29956 if $PKG_CONFIG --exists "pangoft2" ; then
29957 echo "$as_me:$LINENO: result: yes" >&5
29958 echo "${ECHO_T}yes" >&6
29961 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29962 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29963 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29964 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29965 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29967 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29968 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29969 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29970 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29971 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29975 ## If we have a custom action on failure, don't print errors, but
29976 ## do set a variable so people can do so.
29977 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29984 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29985 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29989 if test $succeeded = yes; then
29991 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29992 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29996 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29997 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29998 wxUSE_PRINTING_ARCHITECTURE
="no"
30006 if test -z "$PKG_CONFIG"; then
30007 # Extract the first word of "pkg-config", so it can be a program name with args.
30008 set dummy pkg
-config; ac_word
=$2
30009 echo "$as_me:$LINENO: checking for $ac_word" >&5
30010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30011 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30012 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 case $PKG_CONFIG in
30016 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30020 for as_dir
in $PATH
30023 test -z "$as_dir" && as_dir
=.
30024 for ac_exec_ext
in '' $ac_executable_extensions; do
30025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30026 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30033 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30037 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30039 if test -n "$PKG_CONFIG"; then
30040 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30041 echo "${ECHO_T}$PKG_CONFIG" >&6
30043 echo "$as_me:$LINENO: result: no" >&5
30044 echo "${ECHO_T}no" >&6
30049 if test "$PKG_CONFIG" = "no" ; then
30050 echo "*** The pkg-config script could not be found. Make sure it is"
30051 echo "*** in your path, or set the PKG_CONFIG environment variable"
30052 echo "*** to the full path to pkg-config."
30053 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30055 PKG_CONFIG_MIN_VERSION
=0.9.0
30056 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30057 echo "$as_me:$LINENO: checking for pangoxft" >&5
30058 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
30060 if $PKG_CONFIG --exists "pangoxft" ; then
30061 echo "$as_me:$LINENO: result: yes" >&5
30062 echo "${ECHO_T}yes" >&6
30065 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
30066 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
30067 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
30068 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
30069 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
30071 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
30072 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
30073 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
30074 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
30075 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
30079 ## If we have a custom action on failure, don't print errors, but
30080 ## do set a variable so people can do so.
30081 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30088 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30089 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30093 if test $succeeded = yes; then
30095 cat >>confdefs.h
<<\_ACEOF
30096 #define HAVE_PANGO_XFT 1
30099 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30100 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30104 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30105 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30110 save_CXXFLAGS
="$CXXFLAGS"
30112 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30113 LIBS
="$LIBS $PANGOX_LIBS"
30115 for ac_func
in pango_font_family_is_monospace
30117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30118 echo "$as_me:$LINENO: checking for $ac_func" >&5
30119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30120 if eval "test \"\${$as_ac_var+set}\" = set"; then
30121 echo $ECHO_N "(cached) $ECHO_C" >&6
30123 cat >conftest.
$ac_ext <<_ACEOF
30126 cat confdefs.h
>>conftest.
$ac_ext
30127 cat >>conftest.
$ac_ext <<_ACEOF
30128 /* end confdefs.h. */
30129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30131 #define $ac_func innocuous_$ac_func
30133 /* System header to define __stub macros and hopefully few prototypes,
30134 which can conflict with char $ac_func (); below.
30135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30136 <limits.h> exists even on freestanding compilers. */
30139 # include <limits.h>
30141 # include <assert.h>
30146 /* Override any gcc2 internal prototype to avoid an error. */
30151 /* We use char because int might match the return type of a gcc2
30152 builtin and then its argument prototype would still apply. */
30154 /* The GNU C library defines this for functions which it implements
30155 to always fail with ENOSYS. Some functions are actually named
30156 something starting with __ and the normal name is an alias. */
30157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30160 char (*f) () = $ac_func;
30169 return f != $ac_func;
30174 rm -f conftest.
$ac_objext conftest
$ac_exeext
30175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30176 (eval $ac_link) 2>conftest.er1
30178 grep -v '^ *+' conftest.er1
>conftest.err
30180 cat conftest.err
>&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); } &&
30183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; } &&
30189 { ac_try
='test -s conftest$ac_exeext'
30190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30191 (eval $ac_try) 2>&5
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); }; }; then
30195 eval "$as_ac_var=yes"
30197 echo "$as_me: failed program was:" >&5
30198 sed 's/^/| /' conftest.
$ac_ext >&5
30200 eval "$as_ac_var=no"
30202 rm -f conftest.err conftest.
$ac_objext \
30203 conftest
$ac_exeext conftest.
$ac_ext
30205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30207 if test `eval echo '${'$as_ac_var'}'` = yes; then
30208 cat >>confdefs.h
<<_ACEOF
30209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30215 CXXFLAGS
="$save_CXXFLAGS"
30219 wxUSE_UNIVERSAL
="yes"
30221 if test "$wxUSE_NANOX" = "yes"; then
30222 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30223 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"
30224 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30226 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
30233 if test "$wxUSE_MOTIF" = 1; then
30234 if test "$wxUSE_UNICODE" = "yes"; then
30235 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30236 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30237 { (exit 1); exit 1; }; }
30240 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30241 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30244 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30246 if test -f "$ac_dir/Xm/Xm.h"; then
30247 ac_find_includes
=$ac_dir
30252 if test "$ac_find_includes" != "" ; then
30253 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30254 echo "${ECHO_T}found in $ac_find_includes" >&6
30256 if test "x$ac_find_includes" = "x/usr/include"; then
30257 ac_path_to_include
=""
30259 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30261 if test $result = 0; then
30262 ac_path_to_include
=""
30264 ac_path_to_include
=" -I$ac_find_includes"
30268 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30270 save_CXXFLAGS
=$CXXFLAGS
30271 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30273 cat >conftest.
$ac_ext <<_ACEOF
30276 cat confdefs.h
>>conftest.
$ac_ext
30277 cat >>conftest.
$ac_ext <<_ACEOF
30278 /* end confdefs.h. */
30287 version = xmUseVersion;
30293 rm -f conftest.
$ac_objext
30294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30295 (eval $ac_compile) 2>conftest.er1
30297 grep -v '^ *+' conftest.er1
>conftest.err
30299 cat conftest.err
>&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } &&
30302 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30304 (eval $ac_try) 2>&5
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); }; } &&
30308 { ac_try
='test -s conftest.$ac_objext'
30309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30310 (eval $ac_try) 2>&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); }; }; then
30315 echo "$as_me:$LINENO: result: found in default search path" >&5
30316 echo "${ECHO_T}found in default search path" >&6
30317 COMPILED_X_PROGRAM
=1
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.
$ac_ext >&5
30324 echo "$as_me:$LINENO: result: no" >&5
30325 echo "${ECHO_T}no" >&6
30326 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30327 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30328 { (exit 1); exit 1; }; }
30332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30334 CXXFLAGS
=$save_CXXFLAGS
30338 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30339 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30342 for ac_dir
in $SEARCH_LIB;
30344 for ac_extension
in a so sl dylib dll.a
; do
30345 if test -f "$ac_dir/libXm.$ac_extension"; then
30346 ac_find_libraries
=$ac_dir
30353 if test "x$ac_find_libraries" != "x" ; then
30354 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30355 echo "${ECHO_T}found in $ac_find_libraries" >&6
30358 if test "$ac_find_libraries" = "default location"; then
30361 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30363 if test $result = 0; then
30366 ac_path_to_link
=" -L$ac_find_libraries"
30370 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30372 save_CXXFLAGS
=$CXXFLAGS
30373 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30375 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30377 cat >conftest.
$ac_ext <<_ACEOF
30380 cat confdefs.h
>>conftest.
$ac_ext
30381 cat >>conftest.
$ac_ext <<_ACEOF
30382 /* end confdefs.h. */
30391 version = xmUseVersion;
30397 rm -f conftest.
$ac_objext conftest
$ac_exeext
30398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30399 (eval $ac_link) 2>conftest.er1
30401 grep -v '^ *+' conftest.er1
>conftest.err
30403 cat conftest.err
>&5
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); } &&
30406 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30408 (eval $ac_try) 2>&5
30410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411 (exit $ac_status); }; } &&
30412 { ac_try
='test -s conftest$ac_exeext'
30413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30414 (eval $ac_try) 2>&5
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); }; }; then
30419 echo "$as_me:$LINENO: result: found in default search path" >&5
30420 echo "${ECHO_T}found in default search path" >&6
30421 COMPILED_X_PROGRAM
=1
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.
$ac_ext >&5
30428 echo "$as_me:$LINENO: result: no" >&5
30429 echo "${ECHO_T}no" >&6
30430 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30431 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30432 { (exit 1); exit 1; }; }
30436 rm -f conftest.err conftest.
$ac_objext \
30437 conftest
$ac_exeext conftest.
$ac_ext
30439 CXXFLAGS
=$save_CXXFLAGS
30443 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30444 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30448 for libp
in "" " -lXp"; do
30449 if test "$libs_found" = "0"; then
30450 for libsm_ice
in "" " -lSM -lICE"; do
30451 if test "$libs_found" = "0"; then
30453 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30454 save_CXXFLAGS
=$CXXFLAGS
30455 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30457 cat >conftest.
$ac_ext <<_ACEOF
30460 cat confdefs.h
>>conftest.
$ac_ext
30461 cat >>conftest.
$ac_ext <<_ACEOF
30462 /* end confdefs.h. */
30465 #include <Xm/List.h>
30471 XmString string = NULL;
30474 XmListAddItem(w, string, position);
30480 rm -f conftest.
$ac_objext conftest
$ac_exeext
30481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30482 (eval $ac_link) 2>conftest.er1
30484 grep -v '^ *+' conftest.er1
>conftest.err
30486 cat conftest.err
>&5
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); } &&
30489 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491 (eval $ac_try) 2>&5
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; } &&
30495 { ac_try
='test -s conftest$ac_exeext'
30496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30497 (eval $ac_try) 2>&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); }; }; then
30503 libsm_ice_link
="$libsm_ice"
30504 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30505 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30509 echo "$as_me: failed program was:" >&5
30510 sed 's/^/| /' conftest.
$ac_ext >&5
30515 rm -f conftest.err conftest.
$ac_objext \
30516 conftest
$ac_exeext conftest.
$ac_ext
30519 CXXFLAGS
=$save_CXXFLAGS
30525 if test "$libs_found" = "0"; then
30526 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30527 echo "${ECHO_T}can't find the right libraries" >&6
30528 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30529 echo "$as_me: error: can't link a simple motif program" >&2;}
30530 { (exit 1); exit 1; }; }
30533 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30534 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30535 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30536 echo $ECHO_N "(cached) $ECHO_C" >&6
30538 ac_check_lib_save_LIBS
=$LIBS
30540 cat >conftest.
$ac_ext <<_ACEOF
30543 cat confdefs.h
>>conftest.
$ac_ext
30544 cat >>conftest.
$ac_ext <<_ACEOF
30545 /* end confdefs.h. */
30547 /* Override any gcc2 internal prototype to avoid an error. */
30551 /* We use char because int might match the return type of a gcc2
30552 builtin and then its argument prototype would still apply. */
30553 char SgCreateList ();
30562 rm -f conftest.
$ac_objext conftest
$ac_exeext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30564 (eval $ac_link) 2>conftest.er1
30566 grep -v '^ *+' conftest.er1
>conftest.err
30568 cat conftest.err
>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } &&
30571 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; } &&
30577 { ac_try
='test -s conftest$ac_exeext'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; }; then
30583 ac_cv_lib_Sgm_SgCreateList
=yes
30585 echo "$as_me: failed program was:" >&5
30586 sed 's/^/| /' conftest.
$ac_ext >&5
30588 ac_cv_lib_Sgm_SgCreateList
=no
30590 rm -f conftest.err conftest.
$ac_objext \
30591 conftest
$ac_exeext conftest.
$ac_ext
30592 LIBS
=$ac_check_lib_save_LIBS
30594 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30595 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30596 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30597 libsgm_link
=" -lSgm"
30601 save_CXXFLAGS
=$CXXFLAGS
30602 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30604 echo "$as_me:$LINENO: checking for Motif 2" >&5
30605 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30606 if test "${wx_cv_lib_motif2+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 cat >conftest.
$ac_ext <<_ACEOF
30612 cat confdefs.h
>>conftest.
$ac_ext
30613 cat >>conftest.
$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30622 #if XmVersion < 2000
30630 rm -f conftest.
$ac_objext
30631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30632 (eval $ac_compile) 2>conftest.er1
30634 grep -v '^ *+' conftest.er1
>conftest.err
30636 cat conftest.err
>&5
30637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30638 (exit $ac_status); } &&
30639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30641 (eval $ac_try) 2>&5
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); }; } &&
30645 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
30651 wx_cv_lib_motif2
="yes"
30653 echo "$as_me: failed program was:" >&5
30654 sed 's/^/| /' conftest.
$ac_ext >&5
30656 wx_cv_lib_motif2
="no"
30658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30660 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30661 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30662 if test "$wx_cv_lib_motif2" = "yes"; then
30663 cat >>confdefs.h
<<\_ACEOF
30664 #define __WXMOTIF20__ 1
30668 cat >>confdefs.h
<<\_ACEOF
30669 #define __WXMOTIF20__ 0
30674 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30675 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30676 if test "${wx_cv_lib_lesstif+set}" = set; then
30677 echo $ECHO_N "(cached) $ECHO_C" >&6
30679 cat >conftest.
$ac_ext <<_ACEOF
30682 cat confdefs.h
>>conftest.
$ac_ext
30683 cat >>conftest.
$ac_ext <<_ACEOF
30684 /* end confdefs.h. */
30692 #if !defined(LesstifVersion) || LesstifVersion <= 0
30700 rm -f conftest.
$ac_objext
30701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30702 (eval $ac_compile) 2>conftest.er1
30704 grep -v '^ *+' conftest.er1
>conftest.err
30706 cat conftest.err
>&5
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); } &&
30709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711 (eval $ac_try) 2>&5
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); }; } &&
30715 { ac_try
='test -s conftest.$ac_objext'
30716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30717 (eval $ac_try) 2>&5
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); }; }; then
30721 wx_cv_lib_lesstif
="yes"
30723 echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.
$ac_ext >&5
30726 wx_cv_lib_lesstif
="no"
30728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30731 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30732 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30733 if test "$wx_cv_lib_lesstif" = "yes"; then
30734 cat >>confdefs.h
<<\_ACEOF
30735 #define __WXLESSTIF__ 1
30739 cat >>confdefs.h
<<\_ACEOF
30740 #define __WXLESSTIF__ 0
30745 CXXFLAGS
=$save_CXXFLAGS
30747 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30752 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30753 if test "$wxUSE_LIBXPM" = "sys"; then
30754 echo "$as_me:$LINENO: checking for Xpm library" >&5
30755 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30758 for ac_dir
in $SEARCH_LIB;
30760 for ac_extension
in a so sl dylib dll.a
; do
30761 if test -f "$ac_dir/libXpm.$ac_extension"; then
30762 ac_find_libraries
=$ac_dir
30768 if test "$ac_find_libraries" != "" ; then
30770 if test "$ac_find_libraries" = "default location"; then
30773 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30775 if test $result = 0; then
30778 ac_path_to_link
=" -L$ac_find_libraries"
30782 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30783 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30784 echo "${ECHO_T}found in $ac_find_libraries" >&6
30786 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30787 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30788 if test "${wx_cv_x11_xpm_h+set}" = set; then
30789 echo $ECHO_N "(cached) $ECHO_C" >&6
30792 save_CXXFLAGS
=$CXXFLAGS
30793 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30795 cat >conftest.
$ac_ext <<_ACEOF
30798 cat confdefs.h
>>conftest.
$ac_ext
30799 cat >>conftest.
$ac_ext <<_ACEOF
30800 /* end confdefs.h. */
30802 #include <X11/xpm.h>
30809 version = XpmLibraryVersion();
30815 rm -f conftest.
$ac_objext
30816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30817 (eval $ac_compile) 2>conftest.er1
30819 grep -v '^ *+' conftest.er1
>conftest.err
30821 cat conftest.err
>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); } &&
30824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30826 (eval $ac_try) 2>&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); }; } &&
30830 { ac_try
='test -s conftest.$ac_objext'
30831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30832 (eval $ac_try) 2>&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; }; then
30836 wx_cv_x11_xpm_h
=yes
30838 echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.
$ac_ext >&5
30844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30846 CXXFLAGS
=$save_CXXFLAGS
30850 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30851 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30853 if test $wx_cv_x11_xpm_h = "yes"; then
30854 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30855 cat >>confdefs.h
<<\_ACEOF
30856 #define wxHAVE_LIB_XPM 1
30860 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30861 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30867 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30868 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30869 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30870 echo $ECHO_N "(cached) $ECHO_C" >&6
30872 ac_check_lib_save_LIBS
=$LIBS
30873 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30874 cat >conftest.
$ac_ext <<_ACEOF
30877 cat confdefs.h
>>conftest.
$ac_ext
30878 cat >>conftest.
$ac_ext <<_ACEOF
30879 /* end confdefs.h. */
30881 /* Override any gcc2 internal prototype to avoid an error. */
30885 /* We use char because int might match the return type of a gcc2
30886 builtin and then its argument prototype would still apply. */
30887 char XShapeQueryExtension ();
30891 XShapeQueryExtension ();
30896 rm -f conftest.
$ac_objext conftest
$ac_exeext
30897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30898 (eval $ac_link) 2>conftest.er1
30900 grep -v '^ *+' conftest.er1
>conftest.err
30902 cat conftest.err
>&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); } &&
30905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try
='test -s conftest$ac_exeext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.
$ac_ext >&5
30922 ac_cv_lib_Xext_XShapeQueryExtension
=no
30924 rm -f conftest.err conftest.
$ac_objext \
30925 conftest
$ac_exeext conftest.
$ac_ext
30926 LIBS
=$ac_check_lib_save_LIBS
30928 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30929 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30930 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30932 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30938 if test "$wxHAVE_XEXT_LIB" = 1; then
30939 save_CXXFLAGS
="$CXXFLAGS"
30940 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30942 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30943 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30944 cat >conftest.
$ac_ext <<_ACEOF
30947 cat confdefs.h
>>conftest.
$ac_ext
30948 cat >>conftest.
$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30951 #include <X11/Xlib.h>
30952 #include <X11/extensions/shape.h>
30958 int dummy1, dummy2;
30959 XShapeQueryExtension((Display*)NULL,
30960 (int*)NULL, (int*)NULL);
30966 rm -f conftest.
$ac_objext
30967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30968 (eval $ac_compile) 2>conftest.er1
30970 grep -v '^ *+' conftest.er1
>conftest.err
30972 cat conftest.err
>&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } &&
30975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 (eval $ac_try) 2>&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; } &&
30981 { ac_try
='test -s conftest.$ac_objext'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; }; then
30988 cat >>confdefs.h
<<\_ACEOF
30989 #define HAVE_XSHAPE 1
30992 echo "$as_me:$LINENO: result: found" >&5
30993 echo "${ECHO_T}found" >&6
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.
$ac_ext >&5
31000 echo "$as_me:$LINENO: result: not found" >&5
31001 echo "${ECHO_T}not found" >&6
31004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31005 CXXFLAGS
="$save_CXXFLAGS"
31010 if test "$wxUSE_MAC" = 1; then
31011 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31012 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31013 if test "$GCC" = yes; then
31014 echo "$as_me:$LINENO: result: gcc" >&5
31015 echo "${ECHO_T}gcc" >&6
31016 CPPFLAGS_PASCAL
="-fpascal-strings"
31017 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31018 echo "$as_me:$LINENO: result: xlc" >&5
31019 echo "${ECHO_T}xlc" >&6
31020 CPPFLAGS_PASCAL
="-qmacpstr"
31022 echo "$as_me:$LINENO: result: none" >&5
31023 echo "${ECHO_T}none" >&6
31026 if test "x$wxUSE_UNIX" = "xyes"; then
31027 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31029 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31034 WXBASEPORT
="_carbon"
31037 if test "$wxUSE_COCOA" = 1; then
31042 if test "$wxUSE_PM" = 1; then
31045 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31046 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31047 if test "${wx_cv_spbcdata+set}" = set; then
31048 echo $ECHO_N "(cached) $ECHO_C" >&6
31051 cat >conftest.
$ac_ext <<_ACEOF
31054 cat confdefs.h
>>conftest.
$ac_ext
31055 cat >>conftest.
$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31071 rm -f conftest.
$ac_objext
31072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31073 (eval $ac_compile) 2>conftest.er1
31075 grep -v '^ *+' conftest.er1
>conftest.err
31077 cat conftest.err
>&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } &&
31080 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31082 (eval $ac_try) 2>&5
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); }; } &&
31086 { ac_try
='test -s conftest.$ac_objext'
31087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31088 (eval $ac_try) 2>&5
31090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31091 (exit $ac_status); }; }; then
31094 echo "$as_me: failed program was:" >&5
31095 sed 's/^/| /' conftest.
$ac_ext >&5
31100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31104 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31105 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31107 if test $wx_cv_spbcdata = "yes"; then
31108 cat >>confdefs.h
<<\_ACEOF
31109 #define HAVE_SPBCDATA 1
31115 if test "$TOOLKIT" = "PM" ; then
31118 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31121 if test "$wxUSE_UNIVERSAL" = "yes"; then
31122 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31126 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31127 DISTDIR
="wx\$(TOOLKIT)"
31133 if test "$USE_WIN32" = 1 ; then
31137 GUIDIST
="BASE_DIST"
31142 if test "$wxUSE_GUI" = "yes"; then
31143 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31145 for ac_header
in X
11/Xlib.h
31147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31149 echo "$as_me:$LINENO: checking for $ac_header" >&5
31150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31152 echo $ECHO_N "(cached) $ECHO_C" >&6
31154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31157 # Is the header compilable?
31158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31160 cat >conftest.
$ac_ext <<_ACEOF
31163 cat confdefs.h
>>conftest.
$ac_ext
31164 cat >>conftest.
$ac_ext <<_ACEOF
31165 /* end confdefs.h. */
31166 $ac_includes_default
31167 #include <$ac_header>
31169 rm -f conftest.
$ac_objext
31170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31171 (eval $ac_compile) 2>conftest.er1
31173 grep -v '^ *+' conftest.er1
>conftest.err
31175 cat conftest.err
>&5
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); } &&
31178 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31180 (eval $ac_try) 2>&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); }; } &&
31184 { ac_try
='test -s conftest.$ac_objext'
31185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31186 (eval $ac_try) 2>&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); }; }; then
31190 ac_header_compiler
=yes
31192 echo "$as_me: failed program was:" >&5
31193 sed 's/^/| /' conftest.
$ac_ext >&5
31195 ac_header_compiler
=no
31197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31199 echo "${ECHO_T}$ac_header_compiler" >&6
31201 # Is the header present?
31202 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31203 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31204 cat >conftest.
$ac_ext <<_ACEOF
31207 cat confdefs.h
>>conftest.
$ac_ext
31208 cat >>conftest.
$ac_ext <<_ACEOF
31209 /* end confdefs.h. */
31210 #include <$ac_header>
31212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31213 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
31220 if test -s conftest.err
; then
31221 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31222 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31229 if test -z "$ac_cpp_err"; then
31230 ac_header_preproc
=yes
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.
$ac_ext >&5
31235 ac_header_preproc
=no
31237 rm -f conftest.err conftest.
$ac_ext
31238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31239 echo "${ECHO_T}$ac_header_preproc" >&6
31241 # So? What about this header?
31242 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31244 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31245 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31247 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31248 ac_header_preproc
=yes
31251 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31252 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31253 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31254 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31255 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31256 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31257 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31258 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31260 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31261 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31262 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31265 ## ----------------------------------------- ##
31266 ## Report this to wx-dev@lists.wxwidgets.org ##
31267 ## ----------------------------------------- ##
31270 sed "s/^/$as_me: WARNING: /" >&2
31273 echo "$as_me:$LINENO: checking for $ac_header" >&5
31274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31276 echo $ECHO_N "(cached) $ECHO_C" >&6
31278 eval "$as_ac_Header=\$ac_header_preproc"
31280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31285 cat >>confdefs.h
<<_ACEOF
31286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31294 for ac_header
in X
11/XKBlib.h
31296 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31297 echo "$as_me:$LINENO: checking for $ac_header" >&5
31298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31300 echo $ECHO_N "(cached) $ECHO_C" >&6
31302 cat >conftest.
$ac_ext <<_ACEOF
31305 cat confdefs.h
>>conftest.
$ac_ext
31306 cat >>conftest.
$ac_ext <<_ACEOF
31307 /* end confdefs.h. */
31309 #if HAVE_X11_XLIB_H
31310 #include <X11/Xlib.h>
31314 #include <$ac_header>
31316 rm -f conftest.
$ac_objext
31317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31318 (eval $ac_compile) 2>conftest.er1
31320 grep -v '^ *+' conftest.er1
>conftest.err
31322 cat conftest.err
>&5
31323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31324 (exit $ac_status); } &&
31325 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31327 (eval $ac_try) 2>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); }; } &&
31331 { ac_try
='test -s conftest.$ac_objext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31337 eval "$as_ac_Header=yes"
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.
$ac_ext >&5
31342 eval "$as_ac_Header=no"
31344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31349 cat >>confdefs.h
<<_ACEOF
31350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31365 if test "$TOOLKIT" != "MSW" ; then
31367 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31369 if test "${ac_cv_header_sql_h+set}" = set; then
31370 echo "$as_me:$LINENO: checking for sql.h" >&5
31371 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31372 if test "${ac_cv_header_sql_h+set}" = set; then
31373 echo $ECHO_N "(cached) $ECHO_C" >&6
31375 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31376 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31378 # Is the header compilable?
31379 echo "$as_me:$LINENO: checking sql.h usability" >&5
31380 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31381 cat >conftest.
$ac_ext <<_ACEOF
31384 cat confdefs.h
>>conftest.
$ac_ext
31385 cat >>conftest.
$ac_ext <<_ACEOF
31386 /* end confdefs.h. */
31387 $ac_includes_default
31390 rm -f conftest.
$ac_objext
31391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31392 (eval $ac_compile) 2>conftest.er1
31394 grep -v '^ *+' conftest.er1
>conftest.err
31396 cat conftest.err
>&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } &&
31399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401 (eval $ac_try) 2>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; } &&
31405 { ac_try
='test -s conftest.$ac_objext'
31406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31407 (eval $ac_try) 2>&5
31409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410 (exit $ac_status); }; }; then
31411 ac_header_compiler
=yes
31413 echo "$as_me: failed program was:" >&5
31414 sed 's/^/| /' conftest.
$ac_ext >&5
31416 ac_header_compiler
=no
31418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31420 echo "${ECHO_T}$ac_header_compiler" >&6
31422 # Is the header present?
31423 echo "$as_me:$LINENO: checking sql.h presence" >&5
31424 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31425 cat >conftest.
$ac_ext <<_ACEOF
31428 cat confdefs.h
>>conftest.
$ac_ext
31429 cat >>conftest.
$ac_ext <<_ACEOF
31430 /* end confdefs.h. */
31433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31436 grep -v '^ *+' conftest.er1
>conftest.err
31438 cat conftest.err
>&5
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); } >/dev
/null
; then
31441 if test -s conftest.err
; then
31442 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31443 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31450 if test -z "$ac_cpp_err"; then
31451 ac_header_preproc
=yes
31453 echo "$as_me: failed program was:" >&5
31454 sed 's/^/| /' conftest.
$ac_ext >&5
31456 ac_header_preproc
=no
31458 rm -f conftest.err conftest.
$ac_ext
31459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31460 echo "${ECHO_T}$ac_header_preproc" >&6
31462 # So? What about this header?
31463 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31465 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31466 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31467 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31468 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31469 ac_header_preproc
=yes
31472 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31473 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31474 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31475 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31476 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31477 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31478 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31479 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31480 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31481 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31482 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31483 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31486 ## ----------------------------------------- ##
31487 ## Report this to wx-dev@lists.wxwidgets.org ##
31488 ## ----------------------------------------- ##
31491 sed "s/^/$as_me: WARNING: /" >&2
31494 echo "$as_me:$LINENO: checking for sql.h" >&5
31495 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31496 if test "${ac_cv_header_sql_h+set}" = set; then
31497 echo $ECHO_N "(cached) $ECHO_C" >&6
31499 ac_cv_header_sql_h
=$ac_header_preproc
31501 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31502 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31505 if test $ac_cv_header_sql_h = yes; then
31510 if test "x$found_sql_h" = "x1" ; then
31511 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31512 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31513 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31514 echo $ECHO_N "(cached) $ECHO_C" >&6
31516 ac_check_lib_save_LIBS
=$LIBS
31517 LIBS
="-liodbc $LIBS"
31518 cat >conftest.
$ac_ext <<_ACEOF
31521 cat confdefs.h
>>conftest.
$ac_ext
31522 cat >>conftest.
$ac_ext <<_ACEOF
31523 /* end confdefs.h. */
31525 /* Override any gcc2 internal prototype to avoid an error. */
31529 /* We use char because int might match the return type of a gcc2
31530 builtin and then its argument prototype would still apply. */
31531 char SQLAllocEnv ();
31540 rm -f conftest.
$ac_objext conftest
$ac_exeext
31541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31542 (eval $ac_link) 2>conftest.er1
31544 grep -v '^ *+' conftest.er1
>conftest.err
31546 cat conftest.err
>&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } &&
31549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try
='test -s conftest$ac_exeext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.
$ac_ext >&5
31566 ac_cv_lib_iodbc_SQLAllocEnv
=no
31568 rm -f conftest.err conftest.
$ac_objext \
31569 conftest
$ac_exeext conftest.
$ac_ext
31570 LIBS
=$ac_check_lib_save_LIBS
31572 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31573 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31574 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31575 ODBC_LINK
=" -liodbc"
31578 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31579 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31580 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31581 echo $ECHO_N "(cached) $ECHO_C" >&6
31583 ac_check_lib_save_LIBS
=$LIBS
31584 LIBS
="-lunixodbc $LIBS"
31585 cat >conftest.
$ac_ext <<_ACEOF
31588 cat confdefs.h
>>conftest.
$ac_ext
31589 cat >>conftest.
$ac_ext <<_ACEOF
31590 /* end confdefs.h. */
31592 /* Override any gcc2 internal prototype to avoid an error. */
31596 /* We use char because int might match the return type of a gcc2
31597 builtin and then its argument prototype would still apply. */
31598 char SQLAllocEnv ();
31607 rm -f conftest.
$ac_objext conftest
$ac_exeext
31608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31609 (eval $ac_link) 2>conftest.er1
31611 grep -v '^ *+' conftest.er1
>conftest.err
31613 cat conftest.err
>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); } &&
31616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31618 (eval $ac_try) 2>&5
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); }; } &&
31622 { ac_try
='test -s conftest$ac_exeext'
31623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31624 (eval $ac_try) 2>&5
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; }; then
31628 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31630 echo "$as_me: failed program was:" >&5
31631 sed 's/^/| /' conftest.
$ac_ext >&5
31633 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31635 rm -f conftest.err conftest.
$ac_objext \
31636 conftest
$ac_exeext conftest.
$ac_ext
31637 LIBS
=$ac_check_lib_save_LIBS
31639 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31640 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31641 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31642 ODBC_LINK
=" -lunixodbc"
31645 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31646 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31647 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 ac_check_lib_save_LIBS
=$LIBS
31651 LIBS
="-lodbc $LIBS"
31652 cat >conftest.
$ac_ext <<_ACEOF
31655 cat confdefs.h
>>conftest.
$ac_ext
31656 cat >>conftest.
$ac_ext <<_ACEOF
31657 /* end confdefs.h. */
31659 /* Override any gcc2 internal prototype to avoid an error. */
31663 /* We use char because int might match the return type of a gcc2
31664 builtin and then its argument prototype would still apply. */
31665 char SQLAllocEnv ();
31674 rm -f conftest.
$ac_objext conftest
$ac_exeext
31675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31676 (eval $ac_link) 2>conftest.er1
31678 grep -v '^ *+' conftest.er1
>conftest.err
31680 cat conftest.err
>&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); } &&
31683 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31685 (eval $ac_try) 2>&5
31687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31688 (exit $ac_status); }; } &&
31689 { ac_try
='test -s conftest$ac_exeext'
31690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31691 (eval $ac_try) 2>&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); }; }; then
31695 ac_cv_lib_odbc_SQLAllocEnv
=yes
31697 echo "$as_me: failed program was:" >&5
31698 sed 's/^/| /' conftest.
$ac_ext >&5
31700 ac_cv_lib_odbc_SQLAllocEnv
=no
31702 rm -f conftest.err conftest.
$ac_objext \
31703 conftest
$ac_exeext conftest.
$ac_ext
31704 LIBS
=$ac_check_lib_save_LIBS
31706 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31707 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31708 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31709 ODBC_LINK
=" -lodbc"
31719 if test "x$ODBC_LINK" = "x" ; then
31720 if test "$wxUSE_ODBC" = "sys" ; then
31721 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31722 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31723 { (exit 1); exit 1; }; }
31725 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31726 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31734 if test "$wxUSE_ODBC" = "builtin" ; then
31735 cat >>confdefs.h
<<\_ACEOF
31736 #define wxUSE_BUILTIN_IODBC 1
31742 if test "$wxUSE_ODBC" != "no" ; then
31743 cat >>confdefs.h
<<\_ACEOF
31744 #define wxUSE_ODBC 1
31747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31749 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31753 if test "$wxUSE_DISPLAY" = "yes"; then
31754 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31755 echo "$as_me:$LINENO: checking for Xinerama" >&5
31756 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31759 for ac_dir
in $SEARCH_LIB;
31761 for ac_extension
in a so sl dylib dll.a
; do
31762 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31763 ac_find_libraries
=$ac_dir
31769 if test "$ac_find_libraries" != "" ; then
31771 if test "$ac_find_libraries" = "default location"; then
31774 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31776 if test $result = 0; then
31779 ac_path_to_link
=" -L$ac_find_libraries"
31783 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31784 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31786 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31787 echo "$as_me:$LINENO: result: yes" >&5
31788 echo "${ECHO_T}yes" >&6
31790 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31791 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31794 for ac_dir
in $SEARCH_LIB;
31796 for ac_extension
in a so sl dylib dll.a
; do
31797 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31798 ac_find_libraries
=$ac_dir
31804 if test "$ac_find_libraries" != "" ; then
31805 echo "$as_me:$LINENO: result: yes" >&5
31806 echo "${ECHO_T}yes" >&6
31808 for ac_header
in X
11/extensions
/xf86vmode.h
31810 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31811 echo "$as_me:$LINENO: checking for $ac_header" >&5
31812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31814 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 cat >conftest.
$ac_ext <<_ACEOF
31819 cat confdefs.h
>>conftest.
$ac_ext
31820 cat >>conftest.
$ac_ext <<_ACEOF
31821 /* end confdefs.h. */
31823 #if HAVE_X11_XLIB_H
31824 #include <X11/Xlib.h>
31828 #include <$ac_header>
31830 rm -f conftest.
$ac_objext
31831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31832 (eval $ac_compile) 2>conftest.er1
31834 grep -v '^ *+' conftest.er1
>conftest.err
31836 cat conftest.err
>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } &&
31839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31841 (eval $ac_try) 2>&5
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); }; } &&
31845 { ac_try
='test -s conftest.$ac_objext'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; }; then
31851 eval "$as_ac_Header=yes"
31853 echo "$as_me: failed program was:" >&5
31854 sed 's/^/| /' conftest.
$ac_ext >&5
31856 eval "$as_ac_Header=no"
31858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31863 cat >>confdefs.h
<<_ACEOF
31864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31867 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31874 echo "$as_me:$LINENO: result: no" >&5
31875 echo "${ECHO_T}no" >&6
31879 echo "$as_me:$LINENO: result: no" >&5
31880 echo "${ECHO_T}no" >&6
31881 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31882 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31885 elif test "$wxUSE_MSW" = 1; then
31887 for ac_header
in ddraw.h
31889 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31890 echo "$as_me:$LINENO: checking for $ac_header" >&5
31891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 cat >conftest.
$ac_ext <<_ACEOF
31898 cat confdefs.h
>>conftest.
$ac_ext
31899 cat >>conftest.
$ac_ext <<_ACEOF
31900 /* end confdefs.h. */
31901 #include <windows.h>
31903 #include <$ac_header>
31905 rm -f conftest.
$ac_objext
31906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31907 (eval $ac_compile) 2>conftest.er1
31909 grep -v '^ *+' conftest.er1
>conftest.err
31911 cat conftest.err
>&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } &&
31914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31916 (eval $ac_try) 2>&5
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); }; } &&
31920 { ac_try
='test -s conftest.$ac_objext'
31921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31922 (eval $ac_try) 2>&5
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); }; }; then
31926 eval "$as_ac_Header=yes"
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.
$ac_ext >&5
31931 eval "$as_ac_Header=no"
31933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31938 cat >>confdefs.h
<<_ACEOF
31939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31951 if test "$wxUSE_OPENGL" = "yes"; then
31952 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31953 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31954 elif test "$wxUSE_MSW" = 1; then
31955 OPENGL_LIBS
="-lopengl32 -lglu32"
31960 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31962 if test -f "$ac_dir/GL/gl.h"; then
31963 ac_find_includes
=$ac_dir
31968 if test "$ac_find_includes" != "" ; then
31969 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31970 echo "${ECHO_T}found in $ac_find_includes" >&6
31972 if test "x$ac_find_includes" = "x/usr/include"; then
31973 ac_path_to_include
=""
31975 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31977 if test $result = 0; then
31978 ac_path_to_include
=""
31980 ac_path_to_include
=" -I$ac_find_includes"
31984 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31987 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31988 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31989 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31990 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31991 echo $ECHO_N "(cached) $ECHO_C" >&6
31993 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31994 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31996 # Is the header compilable?
31997 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31998 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31999 cat >conftest.
$ac_ext <<_ACEOF
32002 cat confdefs.h
>>conftest.
$ac_ext
32003 cat >>conftest.
$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 $ac_includes_default
32008 rm -f conftest.
$ac_objext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32010 (eval $ac_compile) 2>conftest.er1
32012 grep -v '^ *+' conftest.er1
>conftest.err
32014 cat conftest.err
>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } &&
32017 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32019 (eval $ac_try) 2>&5
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); }; } &&
32023 { ac_try
='test -s conftest.$ac_objext'
32024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32025 (eval $ac_try) 2>&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); }; }; then
32029 ac_header_compiler
=yes
32031 echo "$as_me: failed program was:" >&5
32032 sed 's/^/| /' conftest.
$ac_ext >&5
32034 ac_header_compiler
=no
32036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32037 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32038 echo "${ECHO_T}$ac_header_compiler" >&6
32040 # Is the header present?
32041 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32042 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32043 cat >conftest.
$ac_ext <<_ACEOF
32046 cat confdefs.h
>>conftest.
$ac_ext
32047 cat >>conftest.
$ac_ext <<_ACEOF
32048 /* end confdefs.h. */
32051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32052 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32054 grep -v '^ *+' conftest.er1
>conftest.err
32056 cat conftest.err
>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } >/dev
/null
; then
32059 if test -s conftest.err
; then
32060 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32061 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32068 if test -z "$ac_cpp_err"; then
32069 ac_header_preproc
=yes
32071 echo "$as_me: failed program was:" >&5
32072 sed 's/^/| /' conftest.
$ac_ext >&5
32074 ac_header_preproc
=no
32076 rm -f conftest.err conftest.
$ac_ext
32077 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32078 echo "${ECHO_T}$ac_header_preproc" >&6
32080 # So? What about this header?
32081 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32083 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32084 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32085 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32086 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32087 ac_header_preproc
=yes
32090 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32091 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32092 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32093 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32094 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32095 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32096 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32097 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32098 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32099 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32100 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32101 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32104 ## ----------------------------------------- ##
32105 ## Report this to wx-dev@lists.wxwidgets.org ##
32106 ## ----------------------------------------- ##
32109 sed "s/^/$as_me: WARNING: /" >&2
32112 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32113 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32114 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32115 echo $ECHO_N "(cached) $ECHO_C" >&6
32117 ac_cv_header_GL_gl_h
=$ac_header_preproc
32119 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32120 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32123 if test $ac_cv_header_GL_gl_h = yes; then
32127 echo "$as_me:$LINENO: checking for -lGL" >&5
32128 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32131 for ac_dir
in $SEARCH_LIB;
32133 for ac_extension
in a so sl dylib dll.a
; do
32134 if test -f "$ac_dir/libGL.$ac_extension"; then
32135 ac_find_libraries
=$ac_dir
32141 if test "$ac_find_libraries" != "" ; then
32142 echo "$as_me:$LINENO: result: yes" >&5
32143 echo "${ECHO_T}yes" >&6
32146 if test "$ac_find_libraries" = "default location"; then
32149 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32151 if test $result = 0; then
32154 ac_path_to_link
=" -L$ac_find_libraries"
32158 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32159 LDFLAGS_GL
="$ac_path_to_link"
32162 echo "$as_me:$LINENO: checking for -lGLU" >&5
32163 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32166 for ac_dir
in $SEARCH_LIB;
32168 for ac_extension
in a so sl dylib dll.a
; do
32169 if test -f "$ac_dir/libGLU.$ac_extension"; then
32170 ac_find_libraries
=$ac_dir
32176 if test "$ac_find_libraries" != "" ; then
32178 if test "$ac_find_libraries" = "default location"; then
32181 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32183 if test $result = 0; then
32186 ac_path_to_link
=" -L$ac_find_libraries"
32190 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32191 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32192 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32196 OPENGL_LIBS
="-lGL -lGLU"
32197 echo "$as_me:$LINENO: result: yes" >&5
32198 echo "${ECHO_T}yes" >&6
32200 echo "$as_me:$LINENO: result: no" >&5
32201 echo "${ECHO_T}no" >&6
32204 echo "$as_me:$LINENO: result: no" >&5
32205 echo "${ECHO_T}no" >&6
32208 if test "$found_gl" != 1; then
32209 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32210 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32213 for ac_dir
in $SEARCH_LIB;
32215 for ac_extension
in a so sl dylib dll.a
; do
32216 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32217 ac_find_libraries
=$ac_dir
32223 if test "$ac_find_libraries" != "" ; then
32225 if test "$ac_find_libraries" = "default location"; then
32228 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32230 if test $result = 0; then
32233 ac_path_to_link
=" -L$ac_find_libraries"
32237 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32238 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32239 echo "$as_me:$LINENO: result: yes" >&5
32240 echo "${ECHO_T}yes" >&6
32242 echo "$as_me:$LINENO: result: no" >&5
32243 echo "${ECHO_T}no" >&6
32251 if test "x$OPENGL_LIBS" = "x"; then
32252 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32253 echo "$as_me: error: OpenGL libraries not available" >&2;}
32254 { (exit 1); exit 1; }; }
32258 if test "$wxUSE_OPENGL" = "yes"; then
32260 cat >>confdefs.h
<<\_ACEOF
32261 #define wxUSE_OPENGL 1
32264 cat >>confdefs.h
<<\_ACEOF
32265 #define wxUSE_GLCANVAS 1
32268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32273 if test -n "$TOOLKIT" ; then
32274 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32279 if test "$wxUSE_SHARED" = "yes"; then
32283 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32284 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32289 if test "$wxUSE_SHARED" = "yes"; then
32292 found_versioning
=no
32295 if test $found_versioning = no
; then
32296 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32297 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32298 if test "${wx_cv_version_script+set}" = set; then
32299 echo $ECHO_N "(cached) $ECHO_C" >&6
32302 echo "VER_1 { *; };" >conftest.sym
32303 echo "int main() { return 0; }" >conftest.cpp
32306 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32307 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; } ; then
32313 if test -s conftest.stderr
; then
32314 wx_cv_version_script
=no
32316 wx_cv_version_script
=yes
32319 wx_cv_version_script
=no
32322 if test $wx_cv_version_script = yes
32324 echo "struct B { virtual ~B() { } }; \
32325 struct D : public B { }; \
32326 void F() { D d; }" > conftest.cpp
32329 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32330 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32332 (eval $ac_try) 2>&5
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); }; } &&
32337 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32338 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32340 (eval $ac_try) 2>&5
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); }; }
32346 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32347 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32349 (eval $ac_try) 2>&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); }; }
32354 wx_cv_version_script
=yes
32356 wx_cv_version_script
=no
32361 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32362 rm -f conftest1.output conftest2.output conftest3.output
32365 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32366 echo "${ECHO_T}$wx_cv_version_script" >&6
32367 if test $wx_cv_version_script = yes ; then
32368 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32374 *-*-linux* | *-*-gnu* )
32375 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32376 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32380 if test "$GCC" = yes ; then
32381 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32383 saveLdflags
="$LDFLAGS"
32384 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32385 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32386 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32387 cat >conftest.
$ac_ext <<_ACEOF
32390 cat confdefs.h
>>conftest.
$ac_ext
32391 cat >>conftest.
$ac_ext <<_ACEOF
32392 /* end confdefs.h. */
32402 rm -f conftest.
$ac_objext conftest
$ac_exeext
32403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32404 (eval $ac_link) 2>conftest.er1
32406 grep -v '^ *+' conftest.er1
>conftest.err
32408 cat conftest.err
>&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } &&
32411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32413 (eval $ac_try) 2>&5
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; } &&
32417 { ac_try
='test -s conftest$ac_exeext'
32418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32419 (eval $ac_try) 2>&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); }; }; then
32424 echo "$as_me:$LINENO: result: yes" >&5
32425 echo "${ECHO_T}yes" >&6
32426 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32427 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.
$ac_ext >&5
32434 echo "$as_me:$LINENO: result: no" >&5
32435 echo "${ECHO_T}no" >&6
32436 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32437 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32438 LDFLAGS
="$saveLdflags -Wl,-R,/"
32439 cat >conftest.
$ac_ext <<_ACEOF
32442 cat confdefs.h
>>conftest.
$ac_ext
32443 cat >>conftest.
$ac_ext <<_ACEOF
32444 /* end confdefs.h. */
32454 rm -f conftest.
$ac_objext conftest
$ac_exeext
32455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32456 (eval $ac_link) 2>conftest.er1
32458 grep -v '^ *+' conftest.er1
>conftest.err
32460 cat conftest.err
>&5
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); } &&
32463 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; } &&
32469 { ac_try
='test -s conftest$ac_exeext'
32470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32471 (eval $ac_try) 2>&5
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); }; }; then
32476 echo "$as_me:$LINENO: result: yes" >&5
32477 echo "${ECHO_T}yes" >&6
32478 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32479 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.
$ac_ext >&5
32486 echo "$as_me:$LINENO: result: no" >&5
32487 echo "${ECHO_T}no" >&6
32490 rm -f conftest.err conftest.
$ac_objext \
32491 conftest
$ac_exeext conftest.
$ac_ext
32494 rm -f conftest.err conftest.
$ac_objext \
32495 conftest
$ac_exeext conftest.
$ac_ext
32496 LDFLAGS
="$saveLdflags"
32498 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32499 WXCONFIG_RPATH
="-R\$libdir"
32504 install_name_tool
=`which install_name_tool`
32505 if test "$install_name_tool" -a -x "$install_name_tool"; then
32506 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32507 cat <<EOF >change-install-names
32509 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32510 inst_cmd="install_name_tool "
32511 for i in \${libnames} ; do
32512 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32516 chmod +x change
-install-names
32520 *-*-cygwin* | *-*-mingw32* )
32521 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32525 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32526 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32531 if test $wxUSE_RPATH = "no"; then
32532 SAMPLES_RPATH_FLAG
=''
32533 SAMPLES_RPATH_POSTLINK
=''
32541 config_linkage_component
="-static"
32548 lib_unicode_suffix
=
32550 if test "$wxUSE_UNICODE" = "yes"; then
32551 lib_unicode_suffix
=u
32552 WX_CHARTYPE
="unicode"
32557 WX_DEBUGTYPE
="release"
32559 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32561 WX_DEBUGTYPE
="debug"
32565 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32566 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32569 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32573 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32575 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32577 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32579 if test "$cross_compiling" = "yes"; then
32580 HOST_SUFFIX
="-$host_alias"
32581 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32582 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32585 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32586 if test "${TOOLKIT_DIR}" = "os2"; then
32587 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32589 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32594 if test "$wxUSE_COCOA" = 1; then
32598 ac_cpp
='$CPP $CPPFLAGS'
32599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32605 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32606 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32607 cat >conftest.
$ac_ext <<_ACEOF
32610 cat confdefs.h
>>conftest.
$ac_ext
32611 cat >>conftest.
$ac_ext <<_ACEOF
32612 /* end confdefs.h. */
32613 #include <AppKit/NSEvent.h>
32614 #include <CoreFoundation/CoreFoundation.h>
32624 rm -f conftest.
$ac_objext
32625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32626 (eval $ac_compile) 2>conftest.er1
32628 grep -v '^ *+' conftest.er1
>conftest.err
32630 cat conftest.err
>&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } &&
32633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32635 (eval $ac_try) 2>&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; } &&
32639 { ac_try
='test -s conftest.$ac_objext'
32640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32641 (eval $ac_try) 2>&5
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); }; }; then
32645 echo "$as_me:$LINENO: result: no" >&5
32646 echo "${ECHO_T}no" >&6
32648 echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.
$ac_ext >&5
32651 echo "$as_me:$LINENO: result: yes" >&5
32652 echo "${ECHO_T}yes" >&6
32653 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32654 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32655 cat >conftest.
$ac_ext <<_ACEOF
32658 cat confdefs.h
>>conftest.
$ac_ext
32659 cat >>conftest.
$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32661 #define __Point__ 1
32662 #include <AppKit/NSEvent.h>
32663 #include <CoreFoundation/CoreFoundation.h>
32673 rm -f conftest.
$ac_objext
32674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32675 (eval $ac_compile) 2>conftest.er1
32677 grep -v '^ *+' conftest.er1
>conftest.err
32679 cat conftest.err
>&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } &&
32682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32684 (eval $ac_try) 2>&5
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); }; } &&
32688 { ac_try
='test -s conftest.$ac_objext'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; }; then
32694 echo "$as_me:$LINENO: result: yes" >&5
32695 echo "${ECHO_T}yes" >&6
32696 cat >>confdefs.h
<<\_ACEOF
32697 #define __Point__ 1
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.
$ac_ext >&5
32705 { { echo "$as_me:$LINENO: error: no
32706 See \`config.log' for more details." >&5
32707 echo "$as_me: error: no
32708 See \`config.log' for more details." >&2;}
32709 { (exit 1); exit 1; }; }
32712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32717 ac_cpp
='$CXXCPP $CPPFLAGS'
32718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32724 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32725 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32726 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32728 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32730 # Extract the first word of "Rez", so it can be a program name with args.
32731 set dummy Rez
; ac_word
=$2
32732 echo "$as_me:$LINENO: checking for $ac_word" >&5
32733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32734 if test "${ac_cv_prog_REZ+set}" = set; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32737 if test -n "$REZ"; then
32738 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32741 for as_dir
in $PATH
32744 test -z "$as_dir" && as_dir
=.
32745 for ac_exec_ext
in '' $ac_executable_extensions; do
32746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32747 ac_cv_prog_REZ
="Rez"
32748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32754 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32757 REZ
=$ac_cv_prog_REZ
32758 if test -n "$REZ"; then
32759 echo "$as_me:$LINENO: result: $REZ" >&5
32760 echo "${ECHO_T}$REZ" >&6
32762 echo "$as_me:$LINENO: result: no" >&5
32763 echo "${ECHO_T}no" >&6
32766 # Extract the first word of "DeRez", so it can be a program name with args.
32767 set dummy DeRez
; ac_word
=$2
32768 echo "$as_me:$LINENO: checking for $ac_word" >&5
32769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32770 if test "${ac_cv_prog_DEREZ+set}" = set; then
32771 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 if test -n "$DEREZ"; then
32774 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32777 for as_dir
in $PATH
32780 test -z "$as_dir" && as_dir
=.
32781 for ac_exec_ext
in '' $ac_executable_extensions; do
32782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32783 ac_cv_prog_DEREZ
="DeRez"
32784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32790 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32793 DEREZ
=$ac_cv_prog_DEREZ
32794 if test -n "$DEREZ"; then
32795 echo "$as_me:$LINENO: result: $DEREZ" >&5
32796 echo "${ECHO_T}$DEREZ" >&6
32798 echo "$as_me:$LINENO: result: no" >&5
32799 echo "${ECHO_T}no" >&6
32802 # Extract the first word of "SetFile", so it can be a program name with args.
32803 set dummy SetFile
; ac_word
=$2
32804 echo "$as_me:$LINENO: checking for $ac_word" >&5
32805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32806 if test "${ac_cv_prog_SETFILE+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32809 if test -n "$SETFILE"; then
32810 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32813 for as_dir
in $PATH
32816 test -z "$as_dir" && as_dir
=.
32817 for ac_exec_ext
in '' $ac_executable_extensions; do
32818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32819 ac_cv_prog_SETFILE
="SetFile"
32820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32826 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32829 SETFILE
=$ac_cv_prog_SETFILE
32830 if test -n "$SETFILE"; then
32831 echo "$as_me:$LINENO: result: $SETFILE" >&5
32832 echo "${ECHO_T}$SETFILE" >&6
32834 echo "$as_me:$LINENO: result: no" >&5
32835 echo "${ECHO_T}no" >&6
32839 MACSETFILE
="\$(SETFILE)"
32841 if test "$wxUSE_MAC" = 1; then
32842 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32844 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32846 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32847 RESCOMP
="echo -n \| $REZ"
32848 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32854 if test "$wxUSE_PM" = 1; then
32856 WXCONFIG_RESFLAGS
="-ep"
32858 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32860 POSTLINK_COMMAND
="@true"
32867 echo "$as_me:$LINENO: checking for mode_t" >&5
32868 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32869 if test "${ac_cv_type_mode_t+set}" = set; then
32870 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 cat >conftest.
$ac_ext <<_ACEOF
32875 cat confdefs.h
>>conftest.
$ac_ext
32876 cat >>conftest.
$ac_ext <<_ACEOF
32877 /* end confdefs.h. */
32878 $ac_includes_default
32884 if (sizeof (mode_t))
32890 rm -f conftest.
$ac_objext
32891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32892 (eval $ac_compile) 2>conftest.er1
32894 grep -v '^ *+' conftest.er1
>conftest.err
32896 cat conftest.err
>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); } &&
32899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32901 (eval $ac_try) 2>&5
32903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904 (exit $ac_status); }; } &&
32905 { ac_try
='test -s conftest.$ac_objext'
32906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32907 (eval $ac_try) 2>&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; }; then
32911 ac_cv_type_mode_t
=yes
32913 echo "$as_me: failed program was:" >&5
32914 sed 's/^/| /' conftest.
$ac_ext >&5
32916 ac_cv_type_mode_t
=no
32918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32920 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32921 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32922 if test $ac_cv_type_mode_t = yes; then
32926 cat >>confdefs.h
<<_ACEOF
32932 echo "$as_me:$LINENO: checking for off_t" >&5
32933 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32934 if test "${ac_cv_type_off_t+set}" = set; then
32935 echo $ECHO_N "(cached) $ECHO_C" >&6
32937 cat >conftest.
$ac_ext <<_ACEOF
32940 cat confdefs.h
>>conftest.
$ac_ext
32941 cat >>conftest.
$ac_ext <<_ACEOF
32942 /* end confdefs.h. */
32943 $ac_includes_default
32949 if (sizeof (off_t))
32955 rm -f conftest.
$ac_objext
32956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32957 (eval $ac_compile) 2>conftest.er1
32959 grep -v '^ *+' conftest.er1
>conftest.err
32961 cat conftest.err
>&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } &&
32964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32966 (eval $ac_try) 2>&5
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); }; } &&
32970 { ac_try
='test -s conftest.$ac_objext'
32971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32972 (eval $ac_try) 2>&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); }; }; then
32976 ac_cv_type_off_t
=yes
32978 echo "$as_me: failed program was:" >&5
32979 sed 's/^/| /' conftest.
$ac_ext >&5
32981 ac_cv_type_off_t
=no
32983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32985 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32986 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32987 if test $ac_cv_type_off_t = yes; then
32991 cat >>confdefs.h
<<_ACEOF
32997 echo "$as_me:$LINENO: checking for pid_t" >&5
32998 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32999 if test "${ac_cv_type_pid_t+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33002 cat >conftest.
$ac_ext <<_ACEOF
33005 cat confdefs.h
>>conftest.
$ac_ext
33006 cat >>conftest.
$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33008 $ac_includes_default
33014 if (sizeof (pid_t))
33020 rm -f conftest.
$ac_objext
33021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33022 (eval $ac_compile) 2>conftest.er1
33024 grep -v '^ *+' conftest.er1
>conftest.err
33026 cat conftest.err
>&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } &&
33029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33031 (eval $ac_try) 2>&5
33033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034 (exit $ac_status); }; } &&
33035 { ac_try
='test -s conftest.$ac_objext'
33036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33037 (eval $ac_try) 2>&5
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); }; }; then
33041 ac_cv_type_pid_t
=yes
33043 echo "$as_me: failed program was:" >&5
33044 sed 's/^/| /' conftest.
$ac_ext >&5
33046 ac_cv_type_pid_t
=no
33048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33050 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33051 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33052 if test $ac_cv_type_pid_t = yes; then
33056 cat >>confdefs.h
<<_ACEOF
33062 echo "$as_me:$LINENO: checking for size_t" >&5
33063 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33064 if test "${ac_cv_type_size_t+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 cat >conftest.
$ac_ext <<_ACEOF
33070 cat confdefs.h
>>conftest.
$ac_ext
33071 cat >>conftest.
$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33073 $ac_includes_default
33079 if (sizeof (size_t))
33085 rm -f conftest.
$ac_objext
33086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33087 (eval $ac_compile) 2>conftest.er1
33089 grep -v '^ *+' conftest.er1
>conftest.err
33091 cat conftest.err
>&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } &&
33094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33096 (eval $ac_try) 2>&5
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); }; } &&
33100 { ac_try
='test -s conftest.$ac_objext'
33101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33102 (eval $ac_try) 2>&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); }; }; then
33106 ac_cv_type_size_t
=yes
33108 echo "$as_me: failed program was:" >&5
33109 sed 's/^/| /' conftest.
$ac_ext >&5
33111 ac_cv_type_size_t
=no
33113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33115 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33116 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33117 if test $ac_cv_type_size_t = yes; then
33121 cat >>confdefs.h
<<_ACEOF
33122 #define size_t unsigned
33127 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33128 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33129 if test "${ac_cv_type_uid_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 #include <sys/types.h>
33141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33142 $EGREP "uid_t" >/dev
/null
2>&1; then
33143 ac_cv_type_uid_t
=yes
33145 ac_cv_type_uid_t
=no
33150 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33151 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33152 if test $ac_cv_type_uid_t = no
; then
33154 cat >>confdefs.h
<<\_ACEOF
33159 cat >>confdefs.h
<<\_ACEOF
33166 echo "$as_me:$LINENO: checking for ssize_t" >&5
33167 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33168 if test "${ac_cv_type_ssize_t+set}" = set; then
33169 echo $ECHO_N "(cached) $ECHO_C" >&6
33171 cat >conftest.
$ac_ext <<_ACEOF
33174 cat confdefs.h
>>conftest.
$ac_ext
33175 cat >>conftest.
$ac_ext <<_ACEOF
33176 /* end confdefs.h. */
33177 $ac_includes_default
33183 if (sizeof (ssize_t))
33189 rm -f conftest.
$ac_objext
33190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33191 (eval $ac_compile) 2>conftest.er1
33193 grep -v '^ *+' conftest.er1
>conftest.err
33195 cat conftest.err
>&5
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); } &&
33198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33200 (eval $ac_try) 2>&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); }; } &&
33204 { ac_try
='test -s conftest.$ac_objext'
33205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33206 (eval $ac_try) 2>&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); }; }; then
33210 ac_cv_type_ssize_t
=yes
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.
$ac_ext >&5
33215 ac_cv_type_ssize_t
=no
33217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33219 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33220 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33221 if test $ac_cv_type_ssize_t = yes; then
33223 cat >>confdefs.h
<<_ACEOF
33224 #define HAVE_SSIZE_T 1
33231 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33232 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33233 if test "${wx_cv_size_t_is_uint+set}" = set; then
33234 echo $ECHO_N "(cached) $ECHO_C" >&6
33237 cat >conftest.
$ac_ext <<_ACEOF
33240 cat confdefs.h
>>conftest.
$ac_ext
33241 cat >>conftest.
$ac_ext <<_ACEOF
33242 /* end confdefs.h. */
33243 #include <stddef.h>
33250 struct Foo { void foo(size_t); void foo(unsigned int); };
33258 rm -f conftest.
$ac_objext
33259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33260 (eval $ac_compile) 2>conftest.er1
33262 grep -v '^ *+' conftest.er1
>conftest.err
33264 cat conftest.err
>&5
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); } &&
33267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33269 (eval $ac_try) 2>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); }; } &&
33273 { ac_try
='test -s conftest.$ac_objext'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; }; then
33279 wx_cv_size_t_is_uint
=no
33281 echo "$as_me: failed program was:" >&5
33282 sed 's/^/| /' conftest.
$ac_ext >&5
33284 wx_cv_size_t_is_uint
=yes
33287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33291 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33292 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33294 if test "$wx_cv_size_t_is_uint" = "yes"; then
33295 cat >>confdefs.h
<<\_ACEOF
33296 #define wxSIZE_T_IS_UINT 1
33300 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33301 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33302 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33303 echo $ECHO_N "(cached) $ECHO_C" >&6
33305 cat >conftest.
$ac_ext <<_ACEOF
33308 cat confdefs.h
>>conftest.
$ac_ext
33309 cat >>conftest.
$ac_ext <<_ACEOF
33310 /* end confdefs.h. */
33311 #include <stddef.h>
33318 struct Foo { void foo(size_t); void foo(unsigned long); };
33326 rm -f conftest.
$ac_objext
33327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33328 (eval $ac_compile) 2>conftest.er1
33330 grep -v '^ *+' conftest.er1
>conftest.err
33332 cat conftest.err
>&5
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); } &&
33335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33337 (eval $ac_try) 2>&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); }; } &&
33341 { ac_try
='test -s conftest.$ac_objext'
33342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33343 (eval $ac_try) 2>&5
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; }; then
33347 wx_cv_size_t_is_ulong
=no
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.
$ac_ext >&5
33352 wx_cv_size_t_is_ulong
=yes
33355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33358 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33359 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33361 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33362 cat >>confdefs.h
<<\_ACEOF
33363 #define wxSIZE_T_IS_ULONG 1
33370 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33371 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33372 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33376 cat >conftest.
$ac_ext <<_ACEOF
33379 cat confdefs.h
>>conftest.
$ac_ext
33380 cat >>conftest.
$ac_ext <<_ACEOF
33381 /* end confdefs.h. */
33395 rm -f conftest.
$ac_objext
33396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33397 (eval $ac_compile) 2>conftest.er1
33399 grep -v '^ *+' conftest.er1
>conftest.err
33401 cat conftest.err
>&5
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); } &&
33404 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; } &&
33410 { ac_try
='test -s conftest.$ac_objext'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; }; then
33417 wx_cv_struct_pw_gecos
=yes
33420 echo "$as_me: failed program was:" >&5
33421 sed 's/^/| /' conftest.
$ac_ext >&5
33424 wx_cv_struct_pw_gecos
=no
33428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33432 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33433 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33435 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33436 cat >>confdefs.h
<<\_ACEOF
33437 #define HAVE_PW_GECOS 1
33443 if test "$wxUSE_WCHAR_T" = "yes"; then
33444 cat >>confdefs.h
<<\_ACEOF
33445 #define wxUSE_WCHAR_T 1
33452 for ac_func
in wcslen
33454 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33455 echo "$as_me:$LINENO: checking for $ac_func" >&5
33456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33457 if eval "test \"\${$as_ac_var+set}\" = set"; then
33458 echo $ECHO_N "(cached) $ECHO_C" >&6
33460 cat >conftest.
$ac_ext <<_ACEOF
33463 cat confdefs.h
>>conftest.
$ac_ext
33464 cat >>conftest.
$ac_ext <<_ACEOF
33465 /* end confdefs.h. */
33466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33468 #define $ac_func innocuous_$ac_func
33470 /* System header to define __stub macros and hopefully few prototypes,
33471 which can conflict with char $ac_func (); below.
33472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33473 <limits.h> exists even on freestanding compilers. */
33476 # include <limits.h>
33478 # include <assert.h>
33483 /* Override any gcc2 internal prototype to avoid an error. */
33488 /* We use char because int might match the return type of a gcc2
33489 builtin and then its argument prototype would still apply. */
33491 /* The GNU C library defines this for functions which it implements
33492 to always fail with ENOSYS. Some functions are actually named
33493 something starting with __ and the normal name is an alias. */
33494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33497 char (*f) () = $ac_func;
33506 return f != $ac_func;
33511 rm -f conftest.
$ac_objext conftest
$ac_exeext
33512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33513 (eval $ac_link) 2>conftest.er1
33515 grep -v '^ *+' conftest.er1
>conftest.err
33517 cat conftest.err
>&5
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); } &&
33520 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33522 (eval $ac_try) 2>&5
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); }; } &&
33526 { ac_try
='test -s conftest$ac_exeext'
33527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33528 (eval $ac_try) 2>&5
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); }; }; then
33532 eval "$as_ac_var=yes"
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.
$ac_ext >&5
33537 eval "$as_ac_var=no"
33539 rm -f conftest.err conftest.
$ac_objext \
33540 conftest
$ac_exeext conftest.
$ac_ext
33542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33544 if test `eval echo '${'$as_ac_var'}'` = yes; then
33545 cat >>confdefs.h
<<_ACEOF
33546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33553 if test "$WCSLEN_FOUND" = 0; then
33554 if test "$TOOLKIT" = "MSW"; then
33555 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33556 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33557 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33558 echo $ECHO_N "(cached) $ECHO_C" >&6
33560 ac_check_lib_save_LIBS
=$LIBS
33561 LIBS
="-lmsvcrt $LIBS"
33562 cat >conftest.
$ac_ext <<_ACEOF
33565 cat confdefs.h
>>conftest.
$ac_ext
33566 cat >>conftest.
$ac_ext <<_ACEOF
33567 /* end confdefs.h. */
33569 /* Override any gcc2 internal prototype to avoid an error. */
33573 /* We use char because int might match the return type of a gcc2
33574 builtin and then its argument prototype would still apply. */
33584 rm -f conftest.
$ac_objext conftest
$ac_exeext
33585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33586 (eval $ac_link) 2>conftest.er1
33588 grep -v '^ *+' conftest.er1
>conftest.err
33590 cat conftest.err
>&5
33591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33592 (exit $ac_status); } &&
33593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33595 (eval $ac_try) 2>&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); }; } &&
33599 { ac_try
='test -s conftest$ac_exeext'
33600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33601 (eval $ac_try) 2>&5
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); }; }; then
33605 ac_cv_lib_msvcrt_wcslen
=yes
33607 echo "$as_me: failed program was:" >&5
33608 sed 's/^/| /' conftest.
$ac_ext >&5
33610 ac_cv_lib_msvcrt_wcslen
=no
33612 rm -f conftest.err conftest.
$ac_objext \
33613 conftest
$ac_exeext conftest.
$ac_ext
33614 LIBS
=$ac_check_lib_save_LIBS
33616 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33617 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33618 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33623 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33624 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33625 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33626 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 ac_check_lib_save_LIBS
=$LIBS
33630 cat >conftest.
$ac_ext <<_ACEOF
33633 cat confdefs.h
>>conftest.
$ac_ext
33634 cat >>conftest.
$ac_ext <<_ACEOF
33635 /* end confdefs.h. */
33637 /* Override any gcc2 internal prototype to avoid an error. */
33641 /* We use char because int might match the return type of a gcc2
33642 builtin and then its argument prototype would still apply. */
33652 rm -f conftest.
$ac_objext conftest
$ac_exeext
33653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33654 (eval $ac_link) 2>conftest.er1
33656 grep -v '^ *+' conftest.er1
>conftest.err
33658 cat conftest.err
>&5
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); } &&
33661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663 (eval $ac_try) 2>&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); }; } &&
33667 { ac_try
='test -s conftest$ac_exeext'
33668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33669 (eval $ac_try) 2>&5
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); }; }; then
33673 ac_cv_lib_w_wcslen
=yes
33675 echo "$as_me: failed program was:" >&5
33676 sed 's/^/| /' conftest.
$ac_ext >&5
33678 ac_cv_lib_w_wcslen
=no
33680 rm -f conftest.err conftest.
$ac_objext \
33681 conftest
$ac_exeext conftest.
$ac_ext
33682 LIBS
=$ac_check_lib_save_LIBS
33684 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33685 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33686 if test $ac_cv_lib_w_wcslen = yes; then
33696 if test "$WCSLEN_FOUND" = 1; then
33697 cat >>confdefs.h
<<\_ACEOF
33698 #define HAVE_WCSLEN 1
33703 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33704 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33707 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33708 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33709 if test "${ac_cv_type_mbstate_t+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33712 cat >conftest.
$ac_ext <<_ACEOF
33715 cat confdefs.h
>>conftest.
$ac_ext
33716 cat >>conftest.
$ac_ext <<_ACEOF
33717 /* end confdefs.h. */
33723 if ((mbstate_t *) 0)
33725 if (sizeof (mbstate_t))
33731 rm -f conftest.
$ac_objext
33732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33733 (eval $ac_compile) 2>conftest.er1
33735 grep -v '^ *+' conftest.er1
>conftest.err
33737 cat conftest.err
>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); } &&
33740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33742 (eval $ac_try) 2>&5
33744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745 (exit $ac_status); }; } &&
33746 { ac_try
='test -s conftest.$ac_objext'
33747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33748 (eval $ac_try) 2>&5
33750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33751 (exit $ac_status); }; }; then
33752 ac_cv_type_mbstate_t
=yes
33754 echo "$as_me: failed program was:" >&5
33755 sed 's/^/| /' conftest.
$ac_ext >&5
33757 ac_cv_type_mbstate_t
=no
33759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33761 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33762 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33763 if test $ac_cv_type_mbstate_t = yes; then
33765 cat >>confdefs.h
<<_ACEOF
33766 #define HAVE_MBSTATE_T 1
33770 for ac_func
in wcsrtombs
33772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33773 echo "$as_me:$LINENO: checking for $ac_func" >&5
33774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33775 if eval "test \"\${$as_ac_var+set}\" = set"; then
33776 echo $ECHO_N "(cached) $ECHO_C" >&6
33778 cat >conftest.
$ac_ext <<_ACEOF
33781 cat confdefs.h
>>conftest.
$ac_ext
33782 cat >>conftest.
$ac_ext <<_ACEOF
33783 /* end confdefs.h. */
33784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33786 #define $ac_func innocuous_$ac_func
33788 /* System header to define __stub macros and hopefully few prototypes,
33789 which can conflict with char $ac_func (); below.
33790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33791 <limits.h> exists even on freestanding compilers. */
33794 # include <limits.h>
33796 # include <assert.h>
33801 /* Override any gcc2 internal prototype to avoid an error. */
33806 /* We use char because int might match the return type of a gcc2
33807 builtin and then its argument prototype would still apply. */
33809 /* The GNU C library defines this for functions which it implements
33810 to always fail with ENOSYS. Some functions are actually named
33811 something starting with __ and the normal name is an alias. */
33812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33815 char (*f) () = $ac_func;
33824 return f != $ac_func;
33829 rm -f conftest.
$ac_objext conftest
$ac_exeext
33830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33831 (eval $ac_link) 2>conftest.er1
33833 grep -v '^ *+' conftest.er1
>conftest.err
33835 cat conftest.err
>&5
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); } &&
33838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33840 (eval $ac_try) 2>&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); }; } &&
33844 { ac_try
='test -s conftest$ac_exeext'
33845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33846 (eval $ac_try) 2>&5
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); }; }; then
33850 eval "$as_ac_var=yes"
33852 echo "$as_me: failed program was:" >&5
33853 sed 's/^/| /' conftest.
$ac_ext >&5
33855 eval "$as_ac_var=no"
33857 rm -f conftest.err conftest.
$ac_objext \
33858 conftest
$ac_exeext conftest.
$ac_ext
33860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33862 if test `eval echo '${'$as_ac_var'}'` = yes; then
33863 cat >>confdefs.h
<<_ACEOF
33864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33873 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33874 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33879 for ac_func
in snprintf vsnprintf
33881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33882 echo "$as_me:$LINENO: checking for $ac_func" >&5
33883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33884 if eval "test \"\${$as_ac_var+set}\" = set"; then
33885 echo $ECHO_N "(cached) $ECHO_C" >&6
33887 cat >conftest.
$ac_ext <<_ACEOF
33890 cat confdefs.h
>>conftest.
$ac_ext
33891 cat >>conftest.
$ac_ext <<_ACEOF
33892 /* end confdefs.h. */
33893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33895 #define $ac_func innocuous_$ac_func
33897 /* System header to define __stub macros and hopefully few prototypes,
33898 which can conflict with char $ac_func (); below.
33899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33900 <limits.h> exists even on freestanding compilers. */
33903 # include <limits.h>
33905 # include <assert.h>
33910 /* Override any gcc2 internal prototype to avoid an error. */
33915 /* We use char because int might match the return type of a gcc2
33916 builtin and then its argument prototype would still apply. */
33918 /* The GNU C library defines this for functions which it implements
33919 to always fail with ENOSYS. Some functions are actually named
33920 something starting with __ and the normal name is an alias. */
33921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33924 char (*f) () = $ac_func;
33933 return f != $ac_func;
33938 rm -f conftest.
$ac_objext conftest
$ac_exeext
33939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33940 (eval $ac_link) 2>conftest.er1
33942 grep -v '^ *+' conftest.er1
>conftest.err
33944 cat conftest.err
>&5
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); } &&
33947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949 (eval $ac_try) 2>&5
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); }; } &&
33953 { ac_try
='test -s conftest$ac_exeext'
33954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33955 (eval $ac_try) 2>&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); }; }; then
33959 eval "$as_ac_var=yes"
33961 echo "$as_me: failed program was:" >&5
33962 sed 's/^/| /' conftest.
$ac_ext >&5
33964 eval "$as_ac_var=no"
33966 rm -f conftest.err conftest.
$ac_objext \
33967 conftest
$ac_exeext conftest.
$ac_ext
33969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33971 if test `eval echo '${'$as_ac_var'}'` = yes; then
33972 cat >>confdefs.h
<<_ACEOF
33973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33980 if test "$ac_cv_func_vsnprintf" = "yes"; then
33981 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33982 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33983 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33984 echo $ECHO_N "(cached) $ECHO_C" >&6
33987 cat >conftest.
$ac_ext <<_ACEOF
33990 cat confdefs.h
>>conftest.
$ac_ext
33991 cat >>conftest.
$ac_ext <<_ACEOF
33992 /* end confdefs.h. */
33995 #include <stdarg.h>
33997 #if __MSL__ >= 0x6000
33999 using namespace std;
34009 vsnprintf(buf, 10u, "%s", ap);
34015 rm -f conftest.
$ac_objext
34016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34017 (eval $ac_compile) 2>conftest.er1
34019 grep -v '^ *+' conftest.er1
>conftest.err
34021 cat conftest.err
>&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); } &&
34024 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34026 (eval $ac_try) 2>&5
34028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029 (exit $ac_status); }; } &&
34030 { ac_try
='test -s conftest.$ac_objext'
34031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34032 (eval $ac_try) 2>&5
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); }; }; then
34036 wx_cv_func_vsnprintf_decl
=yes
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.
$ac_ext >&5
34041 wx_cv_func_vsnprintf_decl
=no
34044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34048 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34049 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34051 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34052 cat >>confdefs.h
<<\_ACEOF
34053 #define HAVE_VSNPRINTF_DECL 1
34057 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34058 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34059 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34060 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 cat >conftest.
$ac_ext <<_ACEOF
34066 cat confdefs.h
>>conftest.
$ac_ext
34067 cat >>conftest.
$ac_ext <<_ACEOF
34068 /* end confdefs.h. */
34071 #include <stdarg.h>
34073 #if __MSL__ >= 0x6000
34075 using namespace std;
34085 const char *fmt = "%s";
34086 vsnprintf(buf, 10u, fmt, ap);
34092 rm -f conftest.
$ac_objext
34093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34094 (eval $ac_compile) 2>conftest.er1
34096 grep -v '^ *+' conftest.er1
>conftest.err
34098 cat conftest.err
>&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); } &&
34101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; } &&
34107 { ac_try
='test -s conftest.$ac_objext'
34108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109 (eval $ac_try) 2>&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); }; }; then
34113 wx_cv_func_broken_vsnprintf_decl
=no
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.
$ac_ext >&5
34118 wx_cv_func_broken_vsnprintf_decl
=yes
34121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34125 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34126 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34128 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34129 cat >>confdefs.h
<<\_ACEOF
34130 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34137 if test "$ac_cv_func_snprintf" = "yes"; then
34138 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34139 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34140 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34141 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 cat >conftest.
$ac_ext <<_ACEOF
34147 cat confdefs.h
>>conftest.
$ac_ext
34148 cat >>conftest.
$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34152 #include <stdarg.h>
34154 #if __MSL__ >= 0x6000
34156 using namespace std;
34165 snprintf(buf, 10u, "%s", "wx");
34171 rm -f conftest.
$ac_objext
34172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34173 (eval $ac_compile) 2>conftest.er1
34175 grep -v '^ *+' conftest.er1
>conftest.err
34177 cat conftest.err
>&5
34178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179 (exit $ac_status); } &&
34180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34182 (eval $ac_try) 2>&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); }; } &&
34186 { ac_try
='test -s conftest.$ac_objext'
34187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34188 (eval $ac_try) 2>&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); }; }; then
34192 wx_cv_func_snprintf_decl
=yes
34194 echo "$as_me: failed program was:" >&5
34195 sed 's/^/| /' conftest.
$ac_ext >&5
34197 wx_cv_func_snprintf_decl
=no
34200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34204 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34205 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34207 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34208 cat >>confdefs.h
<<\_ACEOF
34209 #define HAVE_SNPRINTF_DECL 1
34213 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34214 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34215 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34216 echo $ECHO_N "(cached) $ECHO_C" >&6
34219 cat >conftest.
$ac_ext <<_ACEOF
34222 cat confdefs.h
>>conftest.
$ac_ext
34223 cat >>conftest.
$ac_ext <<_ACEOF
34224 /* end confdefs.h. */
34227 #include <stdarg.h>
34229 #if __MSL__ >= 0x6000
34231 using namespace std;
34240 const char *fmt = "%s";
34241 snprintf(buf, 10u, fmt, "wx");
34247 rm -f conftest.
$ac_objext
34248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34249 (eval $ac_compile) 2>conftest.er1
34251 grep -v '^ *+' conftest.er1
>conftest.err
34253 cat conftest.err
>&5
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); } &&
34256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34258 (eval $ac_try) 2>&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); }; } &&
34262 { ac_try
='test -s conftest.$ac_objext'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; }; then
34268 wx_cv_func_broken_snprintf_decl
=no
34270 echo "$as_me: failed program was:" >&5
34271 sed 's/^/| /' conftest.
$ac_ext >&5
34273 wx_cv_func_broken_snprintf_decl
=yes
34276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34280 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34281 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34283 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34284 cat >>confdefs.h
<<\_ACEOF
34285 #define HAVE_BROKEN_SNPRINTF_DECL 1
34292 if test "$wxUSE_UNICODE" = yes; then
34299 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34302 echo "$as_me:$LINENO: checking for $ac_func" >&5
34303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34304 if eval "test \"\${$as_ac_var+set}\" = set"; then
34305 echo $ECHO_N "(cached) $ECHO_C" >&6
34307 cat >conftest.
$ac_ext <<_ACEOF
34310 cat confdefs.h
>>conftest.
$ac_ext
34311 cat >>conftest.
$ac_ext <<_ACEOF
34312 /* end confdefs.h. */
34313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34315 #define $ac_func innocuous_$ac_func
34317 /* System header to define __stub macros and hopefully few prototypes,
34318 which can conflict with char $ac_func (); below.
34319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34320 <limits.h> exists even on freestanding compilers. */
34323 # include <limits.h>
34325 # include <assert.h>
34330 /* Override any gcc2 internal prototype to avoid an error. */
34335 /* We use char because int might match the return type of a gcc2
34336 builtin and then its argument prototype would still apply. */
34338 /* The GNU C library defines this for functions which it implements
34339 to always fail with ENOSYS. Some functions are actually named
34340 something starting with __ and the normal name is an alias. */
34341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34344 char (*f) () = $ac_func;
34353 return f != $ac_func;
34358 rm -f conftest.
$ac_objext conftest
$ac_exeext
34359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34360 (eval $ac_link) 2>conftest.er1
34362 grep -v '^ *+' conftest.er1
>conftest.err
34364 cat conftest.err
>&5
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); } &&
34367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34369 (eval $ac_try) 2>&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); }; } &&
34373 { ac_try
='test -s conftest$ac_exeext'
34374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34375 (eval $ac_try) 2>&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); }; }; then
34379 eval "$as_ac_var=yes"
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.
$ac_ext >&5
34384 eval "$as_ac_var=no"
34386 rm -f conftest.err conftest.
$ac_objext \
34387 conftest
$ac_exeext conftest.
$ac_ext
34389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34391 if test `eval echo '${'$as_ac_var'}'` = yes; then
34392 cat >>confdefs.h
<<_ACEOF
34393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34400 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34401 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34402 cat >conftest.
$ac_ext <<_ACEOF
34405 cat confdefs.h
>>conftest.
$ac_ext
34406 cat >>conftest.
$ac_ext <<_ACEOF
34407 /* end confdefs.h. */
34417 rm -f conftest.
$ac_objext
34418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34419 (eval $ac_compile) 2>conftest.er1
34421 grep -v '^ *+' conftest.er1
>conftest.err
34423 cat conftest.err
>&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); } &&
34426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34428 (eval $ac_try) 2>&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); }; } &&
34432 { ac_try
='test -s conftest.$ac_objext'
34433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34434 (eval $ac_try) 2>&5
34436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437 (exit $ac_status); }; }; then
34438 echo "$as_me:$LINENO: result: yes" >&5
34439 echo "${ECHO_T}yes" >&6
34440 cat >>confdefs.h
<<\_ACEOF
34441 #define HAVE__VSNWPRINTF 1
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.
$ac_ext >&5
34448 echo "$as_me:$LINENO: result: no" >&5
34449 echo "${ECHO_T}no" >&6
34451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34454 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34456 for ac_func
in fnmatch
34458 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34459 echo "$as_me:$LINENO: checking for $ac_func" >&5
34460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34461 if eval "test \"\${$as_ac_var+set}\" = set"; then
34462 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 cat >conftest.
$ac_ext <<_ACEOF
34467 cat confdefs.h
>>conftest.
$ac_ext
34468 cat >>conftest.
$ac_ext <<_ACEOF
34469 /* end confdefs.h. */
34470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34472 #define $ac_func innocuous_$ac_func
34474 /* System header to define __stub macros and hopefully few prototypes,
34475 which can conflict with char $ac_func (); below.
34476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34477 <limits.h> exists even on freestanding compilers. */
34480 # include <limits.h>
34482 # include <assert.h>
34487 /* Override any gcc2 internal prototype to avoid an error. */
34492 /* We use char because int might match the return type of a gcc2
34493 builtin and then its argument prototype would still apply. */
34495 /* The GNU C library defines this for functions which it implements
34496 to always fail with ENOSYS. Some functions are actually named
34497 something starting with __ and the normal name is an alias. */
34498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34501 char (*f) () = $ac_func;
34510 return f != $ac_func;
34515 rm -f conftest.
$ac_objext conftest
$ac_exeext
34516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34517 (eval $ac_link) 2>conftest.er1
34519 grep -v '^ *+' conftest.er1
>conftest.err
34521 cat conftest.err
>&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } &&
34524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34526 (eval $ac_try) 2>&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); }; } &&
34530 { ac_try
='test -s conftest$ac_exeext'
34531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34532 (eval $ac_try) 2>&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); }; }; then
34536 eval "$as_ac_var=yes"
34538 echo "$as_me: failed program was:" >&5
34539 sed 's/^/| /' conftest.
$ac_ext >&5
34541 eval "$as_ac_var=no"
34543 rm -f conftest.err conftest.
$ac_objext \
34544 conftest
$ac_exeext conftest.
$ac_ext
34546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34548 if test `eval echo '${'$as_ac_var'}'` = yes; then
34549 cat >>confdefs.h
<<_ACEOF
34550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34558 if test "$wxUSE_FILE" = "yes"; then
34560 for ac_func
in fsync
34562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34563 echo "$as_me:$LINENO: checking for $ac_func" >&5
34564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34565 if eval "test \"\${$as_ac_var+set}\" = set"; then
34566 echo $ECHO_N "(cached) $ECHO_C" >&6
34568 cat >conftest.
$ac_ext <<_ACEOF
34571 cat confdefs.h
>>conftest.
$ac_ext
34572 cat >>conftest.
$ac_ext <<_ACEOF
34573 /* end confdefs.h. */
34574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34576 #define $ac_func innocuous_$ac_func
34578 /* System header to define __stub macros and hopefully few prototypes,
34579 which can conflict with char $ac_func (); below.
34580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34581 <limits.h> exists even on freestanding compilers. */
34584 # include <limits.h>
34586 # include <assert.h>
34591 /* Override any gcc2 internal prototype to avoid an error. */
34596 /* We use char because int might match the return type of a gcc2
34597 builtin and then its argument prototype would still apply. */
34599 /* The GNU C library defines this for functions which it implements
34600 to always fail with ENOSYS. Some functions are actually named
34601 something starting with __ and the normal name is an alias. */
34602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34605 char (*f) () = $ac_func;
34614 return f != $ac_func;
34619 rm -f conftest.
$ac_objext conftest
$ac_exeext
34620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34621 (eval $ac_link) 2>conftest.er1
34623 grep -v '^ *+' conftest.er1
>conftest.err
34625 cat conftest.err
>&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); } &&
34628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; } &&
34634 { ac_try
='test -s conftest$ac_exeext'
34635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34636 (eval $ac_try) 2>&5
34638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639 (exit $ac_status); }; }; then
34640 eval "$as_ac_var=yes"
34642 echo "$as_me: failed program was:" >&5
34643 sed 's/^/| /' conftest.
$ac_ext >&5
34645 eval "$as_ac_var=no"
34647 rm -f conftest.err conftest.
$ac_objext \
34648 conftest
$ac_exeext conftest.
$ac_ext
34650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34652 if test `eval echo '${'$as_ac_var'}'` = yes; then
34653 cat >>confdefs.h
<<_ACEOF
34654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34663 if test "$TOOLKIT" != "MSW"; then
34669 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34670 if test "${with_libiconv_prefix+set}" = set; then
34671 withval
="$with_libiconv_prefix"
34673 for dir
in `echo "$withval" | tr : ' '`; do
34674 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34675 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34680 echo "$as_me:$LINENO: checking for iconv" >&5
34681 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34682 if test "${am_cv_func_iconv+set}" = set; then
34683 echo $ECHO_N "(cached) $ECHO_C" >&6
34686 am_cv_func_iconv
="no, consider installing GNU libiconv"
34688 cat >conftest.
$ac_ext <<_ACEOF
34691 cat confdefs.h
>>conftest.
$ac_ext
34692 cat >>conftest.
$ac_ext <<_ACEOF
34693 /* end confdefs.h. */
34694 #include <stdlib.h>
34699 iconv_t cd = iconv_open("","");
34700 iconv(cd,NULL,NULL,NULL,NULL);
34706 rm -f conftest.
$ac_objext conftest
$ac_exeext
34707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34708 (eval $ac_link) 2>conftest.er1
34710 grep -v '^ *+' conftest.er1
>conftest.err
34712 cat conftest.err
>&5
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); } &&
34715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717 (eval $ac_try) 2>&5
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; } &&
34721 { ac_try
='test -s conftest$ac_exeext'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; }; then
34727 am_cv_func_iconv
=yes
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.
$ac_ext >&5
34733 rm -f conftest.err conftest.
$ac_objext \
34734 conftest
$ac_exeext conftest.
$ac_ext
34735 if test "$am_cv_func_iconv" != yes; then
34736 am_save_LIBS
="$LIBS"
34737 LIBS
="$LIBS -liconv"
34738 cat >conftest.
$ac_ext <<_ACEOF
34741 cat confdefs.h
>>conftest.
$ac_ext
34742 cat >>conftest.
$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34744 #include <stdlib.h>
34749 iconv_t cd = iconv_open("","");
34750 iconv(cd,NULL,NULL,NULL,NULL);
34756 rm -f conftest.
$ac_objext conftest
$ac_exeext
34757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34758 (eval $ac_link) 2>conftest.er1
34760 grep -v '^ *+' conftest.er1
>conftest.err
34762 cat conftest.err
>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } &&
34765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; } &&
34771 { ac_try
='test -s conftest$ac_exeext'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; }; then
34777 am_cv_lib_iconv
=yes
34778 am_cv_func_iconv
=yes
34780 echo "$as_me: failed program was:" >&5
34781 sed 's/^/| /' conftest.
$ac_ext >&5
34784 rm -f conftest.err conftest.
$ac_objext \
34785 conftest
$ac_exeext conftest.
$ac_ext
34786 LIBS
="$am_save_LIBS"
34790 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34791 echo "${ECHO_T}$am_cv_func_iconv" >&6
34792 if test "$am_cv_func_iconv" = yes; then
34794 cat >>confdefs.h
<<\_ACEOF
34795 #define HAVE_ICONV 1
34798 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34799 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34800 if test "${wx_cv_func_iconv_const+set}" = set; then
34801 echo $ECHO_N "(cached) $ECHO_C" >&6
34803 cat >conftest.
$ac_ext <<_ACEOF
34806 cat confdefs.h
>>conftest.
$ac_ext
34807 cat >>conftest.
$ac_ext <<_ACEOF
34808 /* end confdefs.h. */
34810 #include <stdlib.h>
34816 #if defined(__STDC__) || defined(__cplusplus)
34817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34830 rm -f conftest.
$ac_objext
34831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34832 (eval $ac_compile) 2>conftest.er1
34834 grep -v '^ *+' conftest.er1
>conftest.err
34836 cat conftest.err
>&5
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); } &&
34839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841 (eval $ac_try) 2>&5
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); }; } &&
34845 { ac_try
='test -s conftest.$ac_objext'
34846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34847 (eval $ac_try) 2>&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); }; }; then
34851 wx_cv_func_iconv_const
="no"
34853 echo "$as_me: failed program was:" >&5
34854 sed 's/^/| /' conftest.
$ac_ext >&5
34856 wx_cv_func_iconv_const
="yes"
34859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34862 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34863 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34866 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34867 iconv_const
="const"
34871 cat >>confdefs.h
<<_ACEOF
34872 #define ICONV_CONST $iconv_const
34877 if test "$am_cv_lib_iconv" = yes; then
34882 LIBS
="$LIBICONV $LIBS"
34884 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34886 for ac_func
in sigaction
34888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34889 echo "$as_me:$LINENO: checking for $ac_func" >&5
34890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34891 if eval "test \"\${$as_ac_var+set}\" = set"; then
34892 echo $ECHO_N "(cached) $ECHO_C" >&6
34894 cat >conftest.
$ac_ext <<_ACEOF
34897 cat confdefs.h
>>conftest.
$ac_ext
34898 cat >>conftest.
$ac_ext <<_ACEOF
34899 /* end confdefs.h. */
34900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34902 #define $ac_func innocuous_$ac_func
34904 /* System header to define __stub macros and hopefully few prototypes,
34905 which can conflict with char $ac_func (); below.
34906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34907 <limits.h> exists even on freestanding compilers. */
34910 # include <limits.h>
34912 # include <assert.h>
34917 /* Override any gcc2 internal prototype to avoid an error. */
34922 /* We use char because int might match the return type of a gcc2
34923 builtin and then its argument prototype would still apply. */
34925 /* The GNU C library defines this for functions which it implements
34926 to always fail with ENOSYS. Some functions are actually named
34927 something starting with __ and the normal name is an alias. */
34928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34931 char (*f) () = $ac_func;
34940 return f != $ac_func;
34945 rm -f conftest.
$ac_objext conftest
$ac_exeext
34946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34947 (eval $ac_link) 2>conftest.er1
34949 grep -v '^ *+' conftest.er1
>conftest.err
34951 cat conftest.err
>&5
34952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953 (exit $ac_status); } &&
34954 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34956 (eval $ac_try) 2>&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); }; } &&
34960 { ac_try
='test -s conftest$ac_exeext'
34961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34962 (eval $ac_try) 2>&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); }; }; then
34966 eval "$as_ac_var=yes"
34968 echo "$as_me: failed program was:" >&5
34969 sed 's/^/| /' conftest.
$ac_ext >&5
34971 eval "$as_ac_var=no"
34973 rm -f conftest.err conftest.
$ac_objext \
34974 conftest
$ac_exeext conftest.
$ac_ext
34976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34978 if test `eval echo '${'$as_ac_var'}'` = yes; then
34979 cat >>confdefs.h
<<_ACEOF
34980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34987 if test "$ac_cv_func_sigaction" = "no"; then
34988 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34989 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34990 wxUSE_ON_FATAL_EXCEPTION
=no
34993 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34994 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34995 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34996 if test "${wx_cv_type_sa_handler+set}" = set; then
34997 echo $ECHO_N "(cached) $ECHO_C" >&6
35000 cat >conftest.
$ac_ext <<_ACEOF
35003 cat confdefs.h
>>conftest.
$ac_ext
35004 cat >>conftest.
$ac_ext <<_ACEOF
35005 /* end confdefs.h. */
35006 #include <signal.h>
35011 extern void testSigHandler(int);
35013 struct sigaction sa;
35014 sa.sa_handler = testSigHandler;
35020 rm -f conftest.
$ac_objext
35021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35022 (eval $ac_compile) 2>conftest.er1
35024 grep -v '^ *+' conftest.er1
>conftest.err
35026 cat conftest.err
>&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } &&
35029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35031 (eval $ac_try) 2>&5
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); }; } &&
35035 { ac_try
='test -s conftest.$ac_objext'
35036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35037 (eval $ac_try) 2>&5
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); }; }; then
35042 wx_cv_type_sa_handler
=int
35045 echo "$as_me: failed program was:" >&5
35046 sed 's/^/| /' conftest.
$ac_ext >&5
35049 wx_cv_type_sa_handler
=void
35052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35055 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35056 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35058 cat >>confdefs.h
<<_ACEOF
35059 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35065 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35066 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35067 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35068 if test "${wx_cv_func_backtrace+set}" = set; then
35069 echo $ECHO_N "(cached) $ECHO_C" >&6
35072 cat >conftest.
$ac_ext <<_ACEOF
35075 cat confdefs.h
>>conftest.
$ac_ext
35076 cat >>conftest.
$ac_ext <<_ACEOF
35077 /* end confdefs.h. */
35078 #include <execinfo.h>
35086 backtrace(trace, 1);
35087 messages = backtrace_symbols(trace, 1);
35093 rm -f conftest.
$ac_objext
35094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35095 (eval $ac_compile) 2>conftest.er1
35097 grep -v '^ *+' conftest.er1
>conftest.err
35099 cat conftest.err
>&5
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); } &&
35102 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35104 (eval $ac_try) 2>&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); }; } &&
35108 { ac_try
='test -s conftest.$ac_objext'
35109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35110 (eval $ac_try) 2>&5
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); }; }; then
35114 wx_cv_func_backtrace
=yes
35116 echo "$as_me: failed program was:" >&5
35117 sed 's/^/| /' conftest.
$ac_ext >&5
35119 wx_cv_func_backtrace
=no
35122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35126 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35127 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35130 if test "$wx_cv_func_backtrace" = "no"; then
35131 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35132 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35133 wxUSE_STACKWALKER
=no
35135 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35136 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35137 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35141 cat >conftest.
$ac_ext <<_ACEOF
35144 cat confdefs.h
>>conftest.
$ac_ext
35145 cat >>conftest.
$ac_ext <<_ACEOF
35146 /* end confdefs.h. */
35147 #include <cxxabi.h>
35153 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35159 rm -f conftest.
$ac_objext conftest
$ac_exeext
35160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35161 (eval $ac_link) 2>conftest.er1
35163 grep -v '^ *+' conftest.er1
>conftest.err
35165 cat conftest.err
>&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); } &&
35168 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; } &&
35174 { ac_try
='test -s conftest$ac_exeext'
35175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 (eval $ac_try) 2>&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); }; }; then
35180 wx_cv_func_cxa_demangle
=yes
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.
$ac_ext >&5
35185 wx_cv_func_cxa_demangle
=no
35188 rm -f conftest.err conftest.
$ac_objext \
35189 conftest
$ac_exeext conftest.
$ac_ext
35193 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35194 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35196 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35197 cat >>confdefs.h
<<\_ACEOF
35198 #define HAVE_CXA_DEMANGLE 1
35205 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35206 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35207 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35208 wxUSE_STACKWALKER
=no
35214 for ac_func
in mkstemp mktemp
35216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35217 echo "$as_me:$LINENO: checking for $ac_func" >&5
35218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35219 if eval "test \"\${$as_ac_var+set}\" = set"; then
35220 echo $ECHO_N "(cached) $ECHO_C" >&6
35222 cat >conftest.
$ac_ext <<_ACEOF
35225 cat confdefs.h
>>conftest.
$ac_ext
35226 cat >>conftest.
$ac_ext <<_ACEOF
35227 /* end confdefs.h. */
35228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35230 #define $ac_func innocuous_$ac_func
35232 /* System header to define __stub macros and hopefully few prototypes,
35233 which can conflict with char $ac_func (); below.
35234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35235 <limits.h> exists even on freestanding compilers. */
35238 # include <limits.h>
35240 # include <assert.h>
35245 /* Override any gcc2 internal prototype to avoid an error. */
35250 /* We use char because int might match the return type of a gcc2
35251 builtin and then its argument prototype would still apply. */
35253 /* The GNU C library defines this for functions which it implements
35254 to always fail with ENOSYS. Some functions are actually named
35255 something starting with __ and the normal name is an alias. */
35256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35259 char (*f) () = $ac_func;
35268 return f != $ac_func;
35273 rm -f conftest.
$ac_objext conftest
$ac_exeext
35274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35275 (eval $ac_link) 2>conftest.er1
35277 grep -v '^ *+' conftest.er1
>conftest.err
35279 cat conftest.err
>&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } &&
35282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35284 (eval $ac_try) 2>&5
35286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35287 (exit $ac_status); }; } &&
35288 { ac_try
='test -s conftest$ac_exeext'
35289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35290 (eval $ac_try) 2>&5
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); }; }; then
35294 eval "$as_ac_var=yes"
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.
$ac_ext >&5
35299 eval "$as_ac_var=no"
35301 rm -f conftest.err conftest.
$ac_objext \
35302 conftest
$ac_exeext conftest.
$ac_ext
35304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35306 if test `eval echo '${'$as_ac_var'}'` = yes; then
35307 cat >>confdefs.h
<<_ACEOF
35308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35315 echo "$as_me:$LINENO: checking for statfs" >&5
35316 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35317 if test "${wx_cv_func_statfs+set}" = set; then
35318 echo $ECHO_N "(cached) $ECHO_C" >&6
35320 cat >conftest.
$ac_ext <<_ACEOF
35323 cat confdefs.h
>>conftest.
$ac_ext
35324 cat >>conftest.
$ac_ext <<_ACEOF
35325 /* end confdefs.h. */
35327 #if defined(__BSD__)
35328 #include <sys/param.h>
35329 #include <sys/mount.h>
35331 #include <sys/vfs.h>
35349 rm -f conftest.
$ac_objext
35350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35351 (eval $ac_compile) 2>conftest.er1
35353 grep -v '^ *+' conftest.er1
>conftest.err
35355 cat conftest.err
>&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); } &&
35358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35360 (eval $ac_try) 2>&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; } &&
35364 { ac_try
='test -s conftest.$ac_objext'
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; }; then
35370 wx_cv_func_statfs
=yes
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.
$ac_ext >&5
35375 wx_cv_func_statfs
=no
35378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35381 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35382 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35384 if test "$wx_cv_func_statfs" = "yes"; then
35385 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35386 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35387 if test "${wx_cv_func_statfs_decl+set}" = set; then
35388 echo $ECHO_N "(cached) $ECHO_C" >&6
35390 cat >conftest.
$ac_ext <<_ACEOF
35393 cat confdefs.h
>>conftest.
$ac_ext
35394 cat >>conftest.
$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35397 #if defined(__BSD__)
35398 #include <sys/param.h>
35399 #include <sys/mount.h>
35401 #include <sys/vfs.h>
35415 rm -f conftest.
$ac_objext
35416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35417 (eval $ac_compile) 2>conftest.er1
35419 grep -v '^ *+' conftest.er1
>conftest.err
35421 cat conftest.err
>&5
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); } &&
35424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35426 (eval $ac_try) 2>&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); }; } &&
35430 { ac_try
='test -s conftest.$ac_objext'
35431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35432 (eval $ac_try) 2>&5
35434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435 (exit $ac_status); }; }; then
35436 wx_cv_func_statfs_decl
=yes
35438 echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.
$ac_ext >&5
35441 wx_cv_func_statfs_decl
=no
35444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35447 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35448 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35450 if test "$wx_cv_func_statfs_decl" = "yes"; then
35451 cat >>confdefs.h
<<\_ACEOF
35452 #define HAVE_STATFS_DECL 1
35457 wx_cv_type_statvfs_t
="struct statfs"
35458 cat >>confdefs.h
<<\_ACEOF
35459 #define HAVE_STATFS 1
35463 echo "$as_me:$LINENO: checking for statvfs" >&5
35464 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35465 if test "${wx_cv_func_statvfs+set}" = set; then
35466 echo $ECHO_N "(cached) $ECHO_C" >&6
35468 cat >conftest.
$ac_ext <<_ACEOF
35471 cat confdefs.h
>>conftest.
$ac_ext
35472 cat >>conftest.
$ac_ext <<_ACEOF
35473 /* end confdefs.h. */
35475 #include <stddef.h>
35476 #include <sys/statvfs.h>
35482 statvfs("/", NULL);
35488 rm -f conftest.
$ac_objext
35489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35490 (eval $ac_compile) 2>conftest.er1
35492 grep -v '^ *+' conftest.er1
>conftest.err
35494 cat conftest.err
>&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); } &&
35497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35499 (eval $ac_try) 2>&5
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); }; } &&
35503 { ac_try
='test -s conftest.$ac_objext'
35504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35505 (eval $ac_try) 2>&5
35507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508 (exit $ac_status); }; }; then
35509 wx_cv_func_statvfs
=yes
35511 echo "$as_me: failed program was:" >&5
35512 sed 's/^/| /' conftest.
$ac_ext >&5
35514 wx_cv_func_statvfs
=no
35517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35520 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35521 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35523 if test "$wx_cv_func_statvfs" = "yes"; then
35524 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35525 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35526 if test "${wx_cv_type_statvfs_t+set}" = set; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 cat >conftest.
$ac_ext <<_ACEOF
35532 cat confdefs.h
>>conftest.
$ac_ext
35533 cat >>conftest.
$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35536 #include <sys/statvfs.h>
35553 rm -f conftest.
$ac_objext
35554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35555 (eval $ac_compile) 2>conftest.er1
35557 grep -v '^ *+' conftest.er1
>conftest.err
35559 cat conftest.err
>&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); } &&
35562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35564 (eval $ac_try) 2>&5
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); }; } &&
35568 { ac_try
='test -s conftest.$ac_objext'
35569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35570 (eval $ac_try) 2>&5
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); }; }; then
35574 wx_cv_type_statvfs_t
=statvfs_t
35576 echo "$as_me: failed program was:" >&5
35577 sed 's/^/| /' conftest.
$ac_ext >&5
35580 cat >conftest.
$ac_ext <<_ACEOF
35583 cat confdefs.h
>>conftest.
$ac_ext
35584 cat >>conftest.
$ac_ext <<_ACEOF
35585 /* end confdefs.h. */
35587 #include <sys/statvfs.h>
35604 rm -f conftest.
$ac_objext
35605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35606 (eval $ac_compile) 2>conftest.er1
35608 grep -v '^ *+' conftest.er1
>conftest.err
35610 cat conftest.err
>&5
35611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612 (exit $ac_status); } &&
35613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35615 (eval $ac_try) 2>&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); }; } &&
35619 { ac_try
='test -s conftest.$ac_objext'
35620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35621 (eval $ac_try) 2>&5
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); }; }; then
35625 wx_cv_type_statvfs_t
="struct statvfs"
35627 echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.
$ac_ext >&5
35630 wx_cv_type_statvfs_t
="unknown"
35633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35640 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35641 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35643 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35644 cat >>confdefs.h
<<\_ACEOF
35645 #define HAVE_STATVFS 1
35650 wx_cv_type_statvfs_t
="unknown"
35654 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35655 cat >>confdefs.h
<<_ACEOF
35656 #define WX_STATFS_T $wx_cv_type_statvfs_t
35660 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35661 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35664 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35667 for ac_func
in fcntl flock
35669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35670 echo "$as_me:$LINENO: checking for $ac_func" >&5
35671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35672 if eval "test \"\${$as_ac_var+set}\" = set"; then
35673 echo $ECHO_N "(cached) $ECHO_C" >&6
35675 cat >conftest.
$ac_ext <<_ACEOF
35678 cat confdefs.h
>>conftest.
$ac_ext
35679 cat >>conftest.
$ac_ext <<_ACEOF
35680 /* end confdefs.h. */
35681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35683 #define $ac_func innocuous_$ac_func
35685 /* System header to define __stub macros and hopefully few prototypes,
35686 which can conflict with char $ac_func (); below.
35687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35688 <limits.h> exists even on freestanding compilers. */
35691 # include <limits.h>
35693 # include <assert.h>
35698 /* Override any gcc2 internal prototype to avoid an error. */
35703 /* We use char because int might match the return type of a gcc2
35704 builtin and then its argument prototype would still apply. */
35706 /* The GNU C library defines this for functions which it implements
35707 to always fail with ENOSYS. Some functions are actually named
35708 something starting with __ and the normal name is an alias. */
35709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35712 char (*f) () = $ac_func;
35721 return f != $ac_func;
35726 rm -f conftest.
$ac_objext conftest
$ac_exeext
35727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35728 (eval $ac_link) 2>conftest.er1
35730 grep -v '^ *+' conftest.er1
>conftest.err
35732 cat conftest.err
>&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); } &&
35735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try
='test -s conftest$ac_exeext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 eval "$as_ac_var=yes"
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.
$ac_ext >&5
35752 eval "$as_ac_var=no"
35754 rm -f conftest.err conftest.
$ac_objext \
35755 conftest
$ac_exeext conftest.
$ac_ext
35757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35759 if test `eval echo '${'$as_ac_var'}'` = yes; then
35760 cat >>confdefs.h
<<_ACEOF
35761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35768 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35769 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35770 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35771 wxUSE_SNGLINST_CHECKER
=no
35776 for ac_func
in timegm
35778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35779 echo "$as_me:$LINENO: checking for $ac_func" >&5
35780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35781 if eval "test \"\${$as_ac_var+set}\" = set"; then
35782 echo $ECHO_N "(cached) $ECHO_C" >&6
35784 cat >conftest.
$ac_ext <<_ACEOF
35787 cat confdefs.h
>>conftest.
$ac_ext
35788 cat >>conftest.
$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35792 #define $ac_func innocuous_$ac_func
35794 /* System header to define __stub macros and hopefully few prototypes,
35795 which can conflict with char $ac_func (); below.
35796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35797 <limits.h> exists even on freestanding compilers. */
35800 # include <limits.h>
35802 # include <assert.h>
35807 /* Override any gcc2 internal prototype to avoid an error. */
35812 /* We use char because int might match the return type of a gcc2
35813 builtin and then its argument prototype would still apply. */
35815 /* The GNU C library defines this for functions which it implements
35816 to always fail with ENOSYS. Some functions are actually named
35817 something starting with __ and the normal name is an alias. */
35818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35821 char (*f) () = $ac_func;
35830 return f != $ac_func;
35835 rm -f conftest.
$ac_objext conftest
$ac_exeext
35836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35837 (eval $ac_link) 2>conftest.er1
35839 grep -v '^ *+' conftest.er1
>conftest.err
35841 cat conftest.err
>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } &&
35844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; } &&
35850 { ac_try
='test -s conftest$ac_exeext'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; }; then
35856 eval "$as_ac_var=yes"
35858 echo "$as_me: failed program was:" >&5
35859 sed 's/^/| /' conftest.
$ac_ext >&5
35861 eval "$as_ac_var=no"
35863 rm -f conftest.err conftest.
$ac_objext \
35864 conftest
$ac_exeext conftest.
$ac_ext
35866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35868 if test `eval echo '${'$as_ac_var'}'` = yes; then
35869 cat >>confdefs.h
<<_ACEOF
35870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35879 for ac_func
in putenv setenv
35881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35882 echo "$as_me:$LINENO: checking for $ac_func" >&5
35883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35884 if eval "test \"\${$as_ac_var+set}\" = set"; then
35885 echo $ECHO_N "(cached) $ECHO_C" >&6
35887 cat >conftest.
$ac_ext <<_ACEOF
35890 cat confdefs.h
>>conftest.
$ac_ext
35891 cat >>conftest.
$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35895 #define $ac_func innocuous_$ac_func
35897 /* System header to define __stub macros and hopefully few prototypes,
35898 which can conflict with char $ac_func (); below.
35899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35900 <limits.h> exists even on freestanding compilers. */
35903 # include <limits.h>
35905 # include <assert.h>
35910 /* Override any gcc2 internal prototype to avoid an error. */
35915 /* We use char because int might match the return type of a gcc2
35916 builtin and then its argument prototype would still apply. */
35918 /* The GNU C library defines this for functions which it implements
35919 to always fail with ENOSYS. Some functions are actually named
35920 something starting with __ and the normal name is an alias. */
35921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35924 char (*f) () = $ac_func;
35933 return f != $ac_func;
35938 rm -f conftest.
$ac_objext conftest
$ac_exeext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35940 (eval $ac_link) 2>conftest.er1
35942 grep -v '^ *+' conftest.er1
>conftest.err
35944 cat conftest.err
>&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; } &&
35953 { ac_try
='test -s conftest$ac_exeext'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; }; then
35959 eval "$as_ac_var=yes"
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.
$ac_ext >&5
35964 eval "$as_ac_var=no"
35966 rm -f conftest.err conftest.
$ac_objext \
35967 conftest
$ac_exeext conftest.
$ac_ext
35969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35971 if test `eval echo '${'$as_ac_var'}'` = yes; then
35972 cat >>confdefs.h
<<_ACEOF
35973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35980 HAVE_SOME_SLEEP_FUNC
=0
35981 if test "$USE_BEOS" = 1; then
35982 cat >>confdefs.h
<<\_ACEOF
35983 #define HAVE_SLEEP 1
35986 HAVE_SOME_SLEEP_FUNC
=1
35989 if test "$USE_DARWIN" = 1; then
35990 cat >>confdefs.h
<<\_ACEOF
35991 #define HAVE_USLEEP 1
35994 HAVE_SOME_SLEEP_FUNC
=1
35997 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36000 for ac_func
in nanosleep
36002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36003 echo "$as_me:$LINENO: checking for $ac_func" >&5
36004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36005 if eval "test \"\${$as_ac_var+set}\" = set"; then
36006 echo $ECHO_N "(cached) $ECHO_C" >&6
36008 cat >conftest.
$ac_ext <<_ACEOF
36011 cat confdefs.h
>>conftest.
$ac_ext
36012 cat >>conftest.
$ac_ext <<_ACEOF
36013 /* end confdefs.h. */
36014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36016 #define $ac_func innocuous_$ac_func
36018 /* System header to define __stub macros and hopefully few prototypes,
36019 which can conflict with char $ac_func (); below.
36020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36021 <limits.h> exists even on freestanding compilers. */
36024 # include <limits.h>
36026 # include <assert.h>
36031 /* Override any gcc2 internal prototype to avoid an error. */
36036 /* We use char because int might match the return type of a gcc2
36037 builtin and then its argument prototype would still apply. */
36039 /* The GNU C library defines this for functions which it implements
36040 to always fail with ENOSYS. Some functions are actually named
36041 something starting with __ and the normal name is an alias. */
36042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36045 char (*f) () = $ac_func;
36054 return f != $ac_func;
36059 rm -f conftest.
$ac_objext conftest
$ac_exeext
36060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36061 (eval $ac_link) 2>conftest.er1
36063 grep -v '^ *+' conftest.er1
>conftest.err
36065 cat conftest.err
>&5
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); } &&
36068 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; } &&
36074 { ac_try
='test -s conftest$ac_exeext'
36075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36076 (eval $ac_try) 2>&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); }; }; then
36080 eval "$as_ac_var=yes"
36082 echo "$as_me: failed program was:" >&5
36083 sed 's/^/| /' conftest.
$ac_ext >&5
36085 eval "$as_ac_var=no"
36087 rm -f conftest.err conftest.
$ac_objext \
36088 conftest
$ac_exeext conftest.
$ac_ext
36090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36092 if test `eval echo '${'$as_ac_var'}'` = yes; then
36093 cat >>confdefs.h
<<_ACEOF
36094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36096 cat >>confdefs.h
<<\_ACEOF
36097 #define HAVE_NANOSLEEP 1
36102 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36103 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36104 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36105 echo $ECHO_N "(cached) $ECHO_C" >&6
36107 ac_check_lib_save_LIBS
=$LIBS
36108 LIBS
="-lposix4 $LIBS"
36109 cat >conftest.
$ac_ext <<_ACEOF
36112 cat confdefs.h
>>conftest.
$ac_ext
36113 cat >>conftest.
$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36116 /* Override any gcc2 internal prototype to avoid an error. */
36120 /* We use char because int might match the return type of a gcc2
36121 builtin and then its argument prototype would still apply. */
36131 rm -f conftest.
$ac_objext conftest
$ac_exeext
36132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36133 (eval $ac_link) 2>conftest.er1
36135 grep -v '^ *+' conftest.er1
>conftest.err
36137 cat conftest.err
>&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } &&
36140 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; } &&
36146 { ac_try
='test -s conftest$ac_exeext'
36147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36148 (eval $ac_try) 2>&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); }; }; then
36152 ac_cv_lib_posix4_nanosleep
=yes
36154 echo "$as_me: failed program was:" >&5
36155 sed 's/^/| /' conftest.
$ac_ext >&5
36157 ac_cv_lib_posix4_nanosleep
=no
36159 rm -f conftest.err conftest.
$ac_objext \
36160 conftest
$ac_exeext conftest.
$ac_ext
36161 LIBS
=$ac_check_lib_save_LIBS
36163 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36164 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36165 if test $ac_cv_lib_posix4_nanosleep = yes; then
36167 cat >>confdefs.h
<<\_ACEOF
36168 #define HAVE_NANOSLEEP 1
36171 POSIX4_LINK
=" -lposix4"
36176 for ac_func
in usleep
36178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36179 echo "$as_me:$LINENO: checking for $ac_func" >&5
36180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36181 if eval "test \"\${$as_ac_var+set}\" = set"; then
36182 echo $ECHO_N "(cached) $ECHO_C" >&6
36184 cat >conftest.
$ac_ext <<_ACEOF
36187 cat confdefs.h
>>conftest.
$ac_ext
36188 cat >>conftest.
$ac_ext <<_ACEOF
36189 /* end confdefs.h. */
36190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36192 #define $ac_func innocuous_$ac_func
36194 /* System header to define __stub macros and hopefully few prototypes,
36195 which can conflict with char $ac_func (); below.
36196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36197 <limits.h> exists even on freestanding compilers. */
36200 # include <limits.h>
36202 # include <assert.h>
36207 /* Override any gcc2 internal prototype to avoid an error. */
36212 /* We use char because int might match the return type of a gcc2
36213 builtin and then its argument prototype would still apply. */
36215 /* The GNU C library defines this for functions which it implements
36216 to always fail with ENOSYS. Some functions are actually named
36217 something starting with __ and the normal name is an alias. */
36218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36221 char (*f) () = $ac_func;
36230 return f != $ac_func;
36235 rm -f conftest.
$ac_objext conftest
$ac_exeext
36236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36237 (eval $ac_link) 2>conftest.er1
36239 grep -v '^ *+' conftest.er1
>conftest.err
36241 cat conftest.err
>&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); } &&
36244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; } &&
36250 { ac_try
='test -s conftest$ac_exeext'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; }; then
36256 eval "$as_ac_var=yes"
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.
$ac_ext >&5
36261 eval "$as_ac_var=no"
36263 rm -f conftest.err conftest.
$ac_objext \
36264 conftest
$ac_exeext conftest.
$ac_ext
36266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36268 if test `eval echo '${'$as_ac_var'}'` = yes; then
36269 cat >>confdefs.h
<<_ACEOF
36270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36272 cat >>confdefs.h
<<\_ACEOF
36273 #define HAVE_USLEEP 1
36277 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36278 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36296 for ac_func
in uname gethostname
36298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36299 echo "$as_me:$LINENO: checking for $ac_func" >&5
36300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36301 if eval "test \"\${$as_ac_var+set}\" = set"; then
36302 echo $ECHO_N "(cached) $ECHO_C" >&6
36304 cat >conftest.
$ac_ext <<_ACEOF
36307 cat confdefs.h
>>conftest.
$ac_ext
36308 cat >>conftest.
$ac_ext <<_ACEOF
36309 /* end confdefs.h. */
36310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36312 #define $ac_func innocuous_$ac_func
36314 /* System header to define __stub macros and hopefully few prototypes,
36315 which can conflict with char $ac_func (); below.
36316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36317 <limits.h> exists even on freestanding compilers. */
36320 # include <limits.h>
36322 # include <assert.h>
36327 /* Override any gcc2 internal prototype to avoid an error. */
36332 /* We use char because int might match the return type of a gcc2
36333 builtin and then its argument prototype would still apply. */
36335 /* The GNU C library defines this for functions which it implements
36336 to always fail with ENOSYS. Some functions are actually named
36337 something starting with __ and the normal name is an alias. */
36338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36341 char (*f) () = $ac_func;
36350 return f != $ac_func;
36355 rm -f conftest.
$ac_objext conftest
$ac_exeext
36356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36357 (eval $ac_link) 2>conftest.er1
36359 grep -v '^ *+' conftest.er1
>conftest.err
36361 cat conftest.err
>&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } &&
36364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36366 (eval $ac_try) 2>&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); }; } &&
36370 { ac_try
='test -s conftest$ac_exeext'
36371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36372 (eval $ac_try) 2>&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); }; }; then
36376 eval "$as_ac_var=yes"
36378 echo "$as_me: failed program was:" >&5
36379 sed 's/^/| /' conftest.
$ac_ext >&5
36381 eval "$as_ac_var=no"
36383 rm -f conftest.err conftest.
$ac_objext \
36384 conftest
$ac_exeext conftest.
$ac_ext
36386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36388 if test `eval echo '${'$as_ac_var'}'` = yes; then
36389 cat >>confdefs.h
<<_ACEOF
36390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36398 for ac_func
in strtok_r
36400 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36401 echo "$as_me:$LINENO: checking for $ac_func" >&5
36402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36403 if eval "test \"\${$as_ac_var+set}\" = set"; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36406 cat >conftest.
$ac_ext <<_ACEOF
36409 cat confdefs.h
>>conftest.
$ac_ext
36410 cat >>conftest.
$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36414 #define $ac_func innocuous_$ac_func
36416 /* System header to define __stub macros and hopefully few prototypes,
36417 which can conflict with char $ac_func (); below.
36418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36419 <limits.h> exists even on freestanding compilers. */
36422 # include <limits.h>
36424 # include <assert.h>
36429 /* Override any gcc2 internal prototype to avoid an error. */
36434 /* We use char because int might match the return type of a gcc2
36435 builtin and then its argument prototype would still apply. */
36437 /* The GNU C library defines this for functions which it implements
36438 to always fail with ENOSYS. Some functions are actually named
36439 something starting with __ and the normal name is an alias. */
36440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36443 char (*f) () = $ac_func;
36452 return f != $ac_func;
36457 rm -f conftest.
$ac_objext conftest
$ac_exeext
36458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36459 (eval $ac_link) 2>conftest.er1
36461 grep -v '^ *+' conftest.er1
>conftest.err
36463 cat conftest.err
>&5
36464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465 (exit $ac_status); } &&
36466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36468 (eval $ac_try) 2>&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); }; } &&
36472 { ac_try
='test -s conftest$ac_exeext'
36473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36474 (eval $ac_try) 2>&5
36476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36477 (exit $ac_status); }; }; then
36478 eval "$as_ac_var=yes"
36480 echo "$as_me: failed program was:" >&5
36481 sed 's/^/| /' conftest.
$ac_ext >&5
36483 eval "$as_ac_var=no"
36485 rm -f conftest.err conftest.
$ac_objext \
36486 conftest
$ac_exeext conftest.
$ac_ext
36488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36490 if test `eval echo '${'$as_ac_var'}'` = yes; then
36491 cat >>confdefs.h
<<_ACEOF
36492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36501 for ac_func
in inet_addr
36503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36504 echo "$as_me:$LINENO: checking for $ac_func" >&5
36505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36506 if eval "test \"\${$as_ac_var+set}\" = set"; then
36507 echo $ECHO_N "(cached) $ECHO_C" >&6
36509 cat >conftest.
$ac_ext <<_ACEOF
36512 cat confdefs.h
>>conftest.
$ac_ext
36513 cat >>conftest.
$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36517 #define $ac_func innocuous_$ac_func
36519 /* System header to define __stub macros and hopefully few prototypes,
36520 which can conflict with char $ac_func (); below.
36521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36522 <limits.h> exists even on freestanding compilers. */
36525 # include <limits.h>
36527 # include <assert.h>
36532 /* Override any gcc2 internal prototype to avoid an error. */
36537 /* We use char because int might match the return type of a gcc2
36538 builtin and then its argument prototype would still apply. */
36540 /* The GNU C library defines this for functions which it implements
36541 to always fail with ENOSYS. Some functions are actually named
36542 something starting with __ and the normal name is an alias. */
36543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36546 char (*f) () = $ac_func;
36555 return f != $ac_func;
36560 rm -f conftest.
$ac_objext conftest
$ac_exeext
36561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36562 (eval $ac_link) 2>conftest.er1
36564 grep -v '^ *+' conftest.er1
>conftest.err
36566 cat conftest.err
>&5
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); } &&
36569 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36571 (eval $ac_try) 2>&5
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); }; } &&
36575 { ac_try
='test -s conftest$ac_exeext'
36576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36577 (eval $ac_try) 2>&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); }; }; then
36581 eval "$as_ac_var=yes"
36583 echo "$as_me: failed program was:" >&5
36584 sed 's/^/| /' conftest.
$ac_ext >&5
36586 eval "$as_ac_var=no"
36588 rm -f conftest.err conftest.
$ac_objext \
36589 conftest
$ac_exeext conftest.
$ac_ext
36591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36593 if test `eval echo '${'$as_ac_var'}'` = yes; then
36594 cat >>confdefs.h
<<_ACEOF
36595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36597 cat >>confdefs.h
<<\_ACEOF
36598 #define HAVE_INET_ADDR 1
36603 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36604 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36605 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36606 echo $ECHO_N "(cached) $ECHO_C" >&6
36608 ac_check_lib_save_LIBS
=$LIBS
36610 cat >conftest.
$ac_ext <<_ACEOF
36613 cat confdefs.h
>>conftest.
$ac_ext
36614 cat >>conftest.
$ac_ext <<_ACEOF
36615 /* end confdefs.h. */
36617 /* Override any gcc2 internal prototype to avoid an error. */
36621 /* We use char because int might match the return type of a gcc2
36622 builtin and then its argument prototype would still apply. */
36632 rm -f conftest.
$ac_objext conftest
$ac_exeext
36633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36634 (eval $ac_link) 2>conftest.er1
36636 grep -v '^ *+' conftest.er1
>conftest.err
36638 cat conftest.err
>&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); } &&
36641 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36643 (eval $ac_try) 2>&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); }; } &&
36647 { ac_try
='test -s conftest$ac_exeext'
36648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36649 (eval $ac_try) 2>&5
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); }; }; then
36653 ac_cv_lib_nsl_inet_addr
=yes
36655 echo "$as_me: failed program was:" >&5
36656 sed 's/^/| /' conftest.
$ac_ext >&5
36658 ac_cv_lib_nsl_inet_addr
=no
36660 rm -f conftest.err conftest.
$ac_objext \
36661 conftest
$ac_exeext conftest.
$ac_ext
36662 LIBS
=$ac_check_lib_save_LIBS
36664 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36665 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36666 if test $ac_cv_lib_nsl_inet_addr = yes; then
36670 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36671 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36672 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36673 echo $ECHO_N "(cached) $ECHO_C" >&6
36675 ac_check_lib_save_LIBS
=$LIBS
36676 LIBS
="-lresolv $LIBS"
36677 cat >conftest.
$ac_ext <<_ACEOF
36680 cat confdefs.h
>>conftest.
$ac_ext
36681 cat >>conftest.
$ac_ext <<_ACEOF
36682 /* end confdefs.h. */
36684 /* Override any gcc2 internal prototype to avoid an error. */
36688 /* We use char because int might match the return type of a gcc2
36689 builtin and then its argument prototype would still apply. */
36699 rm -f conftest.
$ac_objext conftest
$ac_exeext
36700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36701 (eval $ac_link) 2>conftest.er1
36703 grep -v '^ *+' conftest.er1
>conftest.err
36705 cat conftest.err
>&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } &&
36708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36710 (eval $ac_try) 2>&5
36712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36713 (exit $ac_status); }; } &&
36714 { ac_try
='test -s conftest$ac_exeext'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; }; then
36720 ac_cv_lib_resolv_inet_addr
=yes
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.
$ac_ext >&5
36725 ac_cv_lib_resolv_inet_addr
=no
36727 rm -f conftest.err conftest.
$ac_objext \
36728 conftest
$ac_exeext conftest.
$ac_ext
36729 LIBS
=$ac_check_lib_save_LIBS
36731 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36732 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36733 if test $ac_cv_lib_resolv_inet_addr = yes; then
36737 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36738 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36739 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 ac_check_lib_save_LIBS
=$LIBS
36743 LIBS
="-lsocket $LIBS"
36744 cat >conftest.
$ac_ext <<_ACEOF
36747 cat confdefs.h
>>conftest.
$ac_ext
36748 cat >>conftest.
$ac_ext <<_ACEOF
36749 /* end confdefs.h. */
36751 /* Override any gcc2 internal prototype to avoid an error. */
36755 /* We use char because int might match the return type of a gcc2
36756 builtin and then its argument prototype would still apply. */
36766 rm -f conftest.
$ac_objext conftest
$ac_exeext
36767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36768 (eval $ac_link) 2>conftest.er1
36770 grep -v '^ *+' conftest.er1
>conftest.err
36772 cat conftest.err
>&5
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); } &&
36775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36777 (eval $ac_try) 2>&5
36779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780 (exit $ac_status); }; } &&
36781 { ac_try
='test -s conftest$ac_exeext'
36782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36783 (eval $ac_try) 2>&5
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); }; }; then
36787 ac_cv_lib_socket_inet_addr
=yes
36789 echo "$as_me: failed program was:" >&5
36790 sed 's/^/| /' conftest.
$ac_ext >&5
36792 ac_cv_lib_socket_inet_addr
=no
36794 rm -f conftest.err conftest.
$ac_objext \
36795 conftest
$ac_exeext conftest.
$ac_ext
36796 LIBS
=$ac_check_lib_save_LIBS
36798 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36799 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36800 if test $ac_cv_lib_socket_inet_addr = yes; then
36820 for ac_func
in inet_aton
36822 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36823 echo "$as_me:$LINENO: checking for $ac_func" >&5
36824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36825 if eval "test \"\${$as_ac_var+set}\" = set"; then
36826 echo $ECHO_N "(cached) $ECHO_C" >&6
36828 cat >conftest.
$ac_ext <<_ACEOF
36831 cat confdefs.h
>>conftest.
$ac_ext
36832 cat >>conftest.
$ac_ext <<_ACEOF
36833 /* end confdefs.h. */
36834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36836 #define $ac_func innocuous_$ac_func
36838 /* System header to define __stub macros and hopefully few prototypes,
36839 which can conflict with char $ac_func (); below.
36840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36841 <limits.h> exists even on freestanding compilers. */
36844 # include <limits.h>
36846 # include <assert.h>
36851 /* Override any gcc2 internal prototype to avoid an error. */
36856 /* We use char because int might match the return type of a gcc2
36857 builtin and then its argument prototype would still apply. */
36859 /* The GNU C library defines this for functions which it implements
36860 to always fail with ENOSYS. Some functions are actually named
36861 something starting with __ and the normal name is an alias. */
36862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36865 char (*f) () = $ac_func;
36874 return f != $ac_func;
36879 rm -f conftest.
$ac_objext conftest
$ac_exeext
36880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36881 (eval $ac_link) 2>conftest.er1
36883 grep -v '^ *+' conftest.er1
>conftest.err
36885 cat conftest.err
>&5
36886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36887 (exit $ac_status); } &&
36888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36890 (eval $ac_try) 2>&5
36892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36893 (exit $ac_status); }; } &&
36894 { ac_try
='test -s conftest$ac_exeext'
36895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36896 (eval $ac_try) 2>&5
36898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36899 (exit $ac_status); }; }; then
36900 eval "$as_ac_var=yes"
36902 echo "$as_me: failed program was:" >&5
36903 sed 's/^/| /' conftest.
$ac_ext >&5
36905 eval "$as_ac_var=no"
36907 rm -f conftest.err conftest.
$ac_objext \
36908 conftest
$ac_exeext conftest.
$ac_ext
36910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36912 if test `eval echo '${'$as_ac_var'}'` = yes; then
36913 cat >>confdefs.h
<<_ACEOF
36914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36916 cat >>confdefs.h
<<\_ACEOF
36917 #define HAVE_INET_ATON 1
36922 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36923 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36924 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36925 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36926 echo $ECHO_N "(cached) $ECHO_C" >&6
36928 ac_check_lib_save_LIBS
=$LIBS
36929 LIBS
="-l$INET_LINK $LIBS"
36930 cat >conftest.
$ac_ext <<_ACEOF
36933 cat confdefs.h
>>conftest.
$ac_ext
36934 cat >>conftest.
$ac_ext <<_ACEOF
36935 /* end confdefs.h. */
36937 /* Override any gcc2 internal prototype to avoid an error. */
36941 /* We use char because int might match the return type of a gcc2
36942 builtin and then its argument prototype would still apply. */
36952 rm -f conftest.
$ac_objext conftest
$ac_exeext
36953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36954 (eval $ac_link) 2>conftest.er1
36956 grep -v '^ *+' conftest.er1
>conftest.err
36958 cat conftest.err
>&5
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); } &&
36961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; } &&
36967 { ac_try
='test -s conftest$ac_exeext'
36968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36969 (eval $ac_try) 2>&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); }; }; then
36973 eval "$as_ac_Lib=yes"
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.
$ac_ext >&5
36978 eval "$as_ac_Lib=no"
36980 rm -f conftest.err conftest.
$ac_objext \
36981 conftest
$ac_exeext conftest.
$ac_ext
36982 LIBS
=$ac_check_lib_save_LIBS
36984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36985 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36986 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36987 cat >>confdefs.h
<<\_ACEOF
36988 #define HAVE_INET_ATON 1
36998 if test "x$INET_LINK" != "x"; then
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define HAVE_INET_ADDR 1
37003 INET_LINK
=" -l$INET_LINK"
37011 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37012 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37013 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37016 ac_check_lib_save_LIBS
=$LIBS
37018 cat >conftest.
$ac_ext <<_ACEOF
37021 cat confdefs.h
>>conftest.
$ac_ext
37022 cat >>conftest.
$ac_ext <<_ACEOF
37023 /* end confdefs.h. */
37025 /* Override any gcc2 internal prototype to avoid an error. */
37029 /* We use char because int might match the return type of a gcc2
37030 builtin and then its argument prototype would still apply. */
37040 rm -f conftest.
$ac_objext conftest
$ac_exeext
37041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37042 (eval $ac_link) 2>conftest.er1
37044 grep -v '^ *+' conftest.er1
>conftest.err
37046 cat conftest.err
>&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); } &&
37049 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37051 (eval $ac_try) 2>&5
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); }; } &&
37055 { ac_try
='test -s conftest$ac_exeext'
37056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37057 (eval $ac_try) 2>&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); }; }; then
37061 ac_cv_lib_esd_esd_close
=yes
37063 echo "$as_me: failed program was:" >&5
37064 sed 's/^/| /' conftest.
$ac_ext >&5
37066 ac_cv_lib_esd_esd_close
=no
37068 rm -f conftest.err conftest.
$ac_objext \
37069 conftest
$ac_exeext conftest.
$ac_ext
37070 LIBS
=$ac_check_lib_save_LIBS
37072 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37073 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37074 if test $ac_cv_lib_esd_esd_close = yes; then
37077 for ac_header
in esd.h
37079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37081 echo "$as_me:$LINENO: checking for $ac_header" >&5
37082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37084 echo $ECHO_N "(cached) $ECHO_C" >&6
37086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37089 # Is the header compilable?
37090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37092 cat >conftest.
$ac_ext <<_ACEOF
37095 cat confdefs.h
>>conftest.
$ac_ext
37096 cat >>conftest.
$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098 $ac_includes_default
37099 #include <$ac_header>
37101 rm -f conftest.
$ac_objext
37102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37103 (eval $ac_compile) 2>conftest.er1
37105 grep -v '^ *+' conftest.er1
>conftest.err
37107 cat conftest.err
>&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } &&
37110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37112 (eval $ac_try) 2>&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); }; } &&
37116 { ac_try
='test -s conftest.$ac_objext'
37117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37118 (eval $ac_try) 2>&5
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); }; }; then
37122 ac_header_compiler
=yes
37124 echo "$as_me: failed program was:" >&5
37125 sed 's/^/| /' conftest.
$ac_ext >&5
37127 ac_header_compiler
=no
37129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37130 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37131 echo "${ECHO_T}$ac_header_compiler" >&6
37133 # Is the header present?
37134 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37135 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37136 cat >conftest.
$ac_ext <<_ACEOF
37139 cat confdefs.h
>>conftest.
$ac_ext
37140 cat >>conftest.
$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37142 #include <$ac_header>
37144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37147 grep -v '^ *+' conftest.er1
>conftest.err
37149 cat conftest.err
>&5
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); } >/dev
/null
; then
37152 if test -s conftest.err
; then
37153 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37154 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37161 if test -z "$ac_cpp_err"; then
37162 ac_header_preproc
=yes
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.
$ac_ext >&5
37167 ac_header_preproc
=no
37169 rm -f conftest.err conftest.
$ac_ext
37170 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37171 echo "${ECHO_T}$ac_header_preproc" >&6
37173 # So? What about this header?
37174 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37176 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37177 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37179 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37180 ac_header_preproc
=yes
37183 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37184 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37185 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37186 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37187 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37188 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37189 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37190 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37193 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37194 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37197 ## ----------------------------------------- ##
37198 ## Report this to wx-dev@lists.wxwidgets.org ##
37199 ## ----------------------------------------- ##
37202 sed "s/^/$as_me: WARNING: /" >&2
37205 echo "$as_me:$LINENO: checking for $ac_header" >&5
37206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37208 echo $ECHO_N "(cached) $ECHO_C" >&6
37210 eval "$as_ac_Header=\$ac_header_preproc"
37212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37217 cat >>confdefs.h
<<_ACEOF
37218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37221 EXTRALIBS_ESD
="-lesd"
37232 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37233 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37234 cat >conftest.
$ac_ext <<_ACEOF
37237 cat confdefs.h
>>conftest.
$ac_ext
37238 cat >>conftest.
$ac_ext <<_ACEOF
37239 /* end confdefs.h. */
37241 #include <linux/cdrom.h>
37244 #include <sys/cdio.h>
37250 struct cdrom_tocentry entry, old_entry;
37255 rm -f conftest.
$ac_objext
37256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37257 (eval $ac_compile) 2>conftest.er1
37259 grep -v '^ *+' conftest.er1
>conftest.err
37261 cat conftest.err
>&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } &&
37264 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37266 (eval $ac_try) 2>&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); }; } &&
37270 { ac_try
='test -s conftest.$ac_objext'
37271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37272 (eval $ac_try) 2>&5
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); }; }; then
37276 echo "$as_me:$LINENO: result: yes" >&5
37277 echo "${ECHO_T}yes" >&6
37278 cat >>confdefs.h
<<\_ACEOF
37279 #define HAVE_KNOWN_CDROM_INTERFACE 1
37283 echo "$as_me: failed program was:" >&5
37284 sed 's/^/| /' conftest.
$ac_ext >&5
37286 echo "$as_me:$LINENO: result: no" >&5
37287 echo "${ECHO_T}no" >&6
37289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37292 cat >confcache
<<\_ACEOF
37293 # This file is a shell script that caches the results of configure
37294 # tests run on this system so they can be shared between configure
37295 # scripts and configure runs, see configure's option --config-cache.
37296 # It is not useful on other systems. If it contains results you don't
37297 # want to keep, you may remove or edit it.
37299 # config.status only pays attention to the cache file if you give it
37300 # the --recheck option to rerun configure.
37302 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37303 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37304 # following values.
37308 # The following way of writing the cache mishandles newlines in values,
37309 # but we know of no workaround that is simple, portable, and efficient.
37310 # So, don't put newlines in cache variables' values.
37311 # Ultrix sh set writes to stderr and can't be redirected directly,
37312 # and sets the high bit in the cache file unless we assign to the vars.
37315 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37317 # `set' does not quote correctly, so add quotes (double-quote
37318 # substitution turns \\\\ into \\, and sed turns \\ into \).
37321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37324 # `set' quotes correctly as required by POSIX, so do not add quotes.
37326 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37335 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37337 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37338 if test -w $cache_file; then
37339 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37340 cat confcache
>$cache_file
37342 echo "not updating unwritable cache $cache_file"
37348 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37354 if test "$wxUSE_THREADS" = "yes" ; then
37355 if test "$USE_BEOS" = 1; then
37356 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37357 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37362 if test "$wxUSE_THREADS" = "yes" ; then
37365 THREAD_OPTS
="-pthread"
37367 *-*-solaris2* | *-*-sunos4* )
37368 if test "x$GCC" = "xyes"; then
37369 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37371 THREAD_OPTS
="-mt $THREAD_OPTS"
37375 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37377 *-*-darwin* | *-*-cygwin* )
37381 THREAD_OPTS
="pthreads"
37384 if test "x$GCC" = "xyes"; then
37385 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37393 if test "x$GCC" = "xyes"; then
37399 if test "x$GCC" != "xyes"; then
37400 THREAD_OPTS
="-Ethread"
37405 THREAD_OPTS
="$THREAD_OPTS pthread none"
37408 for flag
in $THREAD_OPTS; do
37411 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37412 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37416 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37417 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37418 THREADS_CXXFLAGS
="$flag"
37422 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37423 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37424 THREADS_LINK
="-l$flag"
37429 save_CXXFLAGS
="$CXXFLAGS"
37430 LIBS
="$THREADS_LINK $LIBS"
37431 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37433 cat >conftest.
$ac_ext <<_ACEOF
37436 cat confdefs.h
>>conftest.
$ac_ext
37437 cat >>conftest.
$ac_ext <<_ACEOF
37438 /* end confdefs.h. */
37439 #include <pthread.h>
37443 pthread_create(0,0,0,0);
37448 rm -f conftest.
$ac_objext conftest
$ac_exeext
37449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37450 (eval $ac_link) 2>conftest.er1
37452 grep -v '^ *+' conftest.er1
>conftest.err
37454 cat conftest.err
>&5
37455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37456 (exit $ac_status); } &&
37457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37459 (eval $ac_try) 2>&5
37461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37462 (exit $ac_status); }; } &&
37463 { ac_try
='test -s conftest$ac_exeext'
37464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37465 (eval $ac_try) 2>&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); }; }; then
37471 echo "$as_me: failed program was:" >&5
37472 sed 's/^/| /' conftest.
$ac_ext >&5
37475 rm -f conftest.err conftest.
$ac_objext \
37476 conftest
$ac_exeext conftest.
$ac_ext
37479 CXXFLAGS
="$save_CXXFLAGS"
37481 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37482 echo "${ECHO_T}$THREADS_OK" >&6
37483 if test "x$THREADS_OK" = "xyes"; then
37488 THREADS_CXXFLAGS
=""
37491 if test "x$THREADS_OK" != "xyes"; then
37493 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37494 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37496 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37497 LIBS
="$THREADS_LINK $LIBS"
37499 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37500 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37504 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37505 flag
="-D_THREAD_SAFE"
37508 flag
="-D_THREAD_SAFE"
37511 flag
="-D_REENTRANT"
37512 if test "x$GCC" != "xyes"; then
37513 flag
="$flag -D_RWSTD_MULTI_THREAD"
37516 *solaris
* | alpha
*-osf*)
37517 flag
="-D_REENTRANT"
37520 echo "$as_me:$LINENO: result: ${flag}" >&5
37521 echo "${ECHO_T}${flag}" >&6
37522 if test "x$flag" != xno
; then
37523 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
37526 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37530 if test "$wxUSE_THREADS" = "yes" ; then
37532 for ac_func
in thr_setconcurrency
37534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37535 echo "$as_me:$LINENO: checking for $ac_func" >&5
37536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37537 if eval "test \"\${$as_ac_var+set}\" = set"; then
37538 echo $ECHO_N "(cached) $ECHO_C" >&6
37540 cat >conftest.
$ac_ext <<_ACEOF
37543 cat confdefs.h
>>conftest.
$ac_ext
37544 cat >>conftest.
$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37548 #define $ac_func innocuous_$ac_func
37550 /* System header to define __stub macros and hopefully few prototypes,
37551 which can conflict with char $ac_func (); below.
37552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37553 <limits.h> exists even on freestanding compilers. */
37556 # include <limits.h>
37558 # include <assert.h>
37563 /* Override any gcc2 internal prototype to avoid an error. */
37568 /* We use char because int might match the return type of a gcc2
37569 builtin and then its argument prototype would still apply. */
37571 /* The GNU C library defines this for functions which it implements
37572 to always fail with ENOSYS. Some functions are actually named
37573 something starting with __ and the normal name is an alias. */
37574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37577 char (*f) () = $ac_func;
37586 return f != $ac_func;
37591 rm -f conftest.
$ac_objext conftest
$ac_exeext
37592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37593 (eval $ac_link) 2>conftest.er1
37595 grep -v '^ *+' conftest.er1
>conftest.err
37597 cat conftest.err
>&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); } &&
37600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; } &&
37606 { ac_try
='test -s conftest$ac_exeext'
37607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37608 (eval $ac_try) 2>&5
37610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611 (exit $ac_status); }; }; then
37612 eval "$as_ac_var=yes"
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.
$ac_ext >&5
37617 eval "$as_ac_var=no"
37619 rm -f conftest.err conftest.
$ac_objext \
37620 conftest
$ac_exeext conftest.
$ac_ext
37622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37624 if test `eval echo '${'$as_ac_var'}'` = yes; then
37625 cat >>confdefs.h
<<_ACEOF
37626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37633 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37634 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37635 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37636 echo $ECHO_N "(cached) $ECHO_C" >&6
37639 cat >conftest.
$ac_ext <<_ACEOF
37642 cat confdefs.h
>>conftest.
$ac_ext
37643 cat >>conftest.
$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37645 #include <pthread.h>
37646 void ThreadCleanupFunc(void *p);
37653 pthread_cleanup_push(ThreadCleanupFunc, p);
37654 pthread_cleanup_pop(0);
37660 rm -f conftest.
$ac_objext
37661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37662 (eval $ac_compile) 2>conftest.er1
37664 grep -v '^ *+' conftest.er1
>conftest.err
37666 cat conftest.err
>&5
37667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37668 (exit $ac_status); } &&
37669 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37671 (eval $ac_try) 2>&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); }; } &&
37675 { ac_try
='test -s conftest.$ac_objext'
37676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37677 (eval $ac_try) 2>&5
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); }; }; then
37682 wx_cv_func_pthread_cleanup
=yes
37685 echo "$as_me: failed program was:" >&5
37686 sed 's/^/| /' conftest.
$ac_ext >&5
37689 wx_cv_func_pthread_cleanup
=no
37693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37696 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37697 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37698 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37699 cat >>confdefs.h
<<\_ACEOF
37700 #define wxHAVE_PTHREAD_CLEANUP 1
37706 for ac_header
in sched.h
37708 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37710 echo "$as_me:$LINENO: checking for $ac_header" >&5
37711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37713 echo $ECHO_N "(cached) $ECHO_C" >&6
37715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37718 # Is the header compilable?
37719 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37721 cat >conftest.
$ac_ext <<_ACEOF
37724 cat confdefs.h
>>conftest.
$ac_ext
37725 cat >>conftest.
$ac_ext <<_ACEOF
37726 /* end confdefs.h. */
37727 $ac_includes_default
37728 #include <$ac_header>
37730 rm -f conftest.
$ac_objext
37731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37732 (eval $ac_compile) 2>conftest.er1
37734 grep -v '^ *+' conftest.er1
>conftest.err
37736 cat conftest.err
>&5
37737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37738 (exit $ac_status); } &&
37739 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37741 (eval $ac_try) 2>&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); }; } &&
37745 { ac_try
='test -s conftest.$ac_objext'
37746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37747 (eval $ac_try) 2>&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); }; }; then
37751 ac_header_compiler
=yes
37753 echo "$as_me: failed program was:" >&5
37754 sed 's/^/| /' conftest.
$ac_ext >&5
37756 ac_header_compiler
=no
37758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37760 echo "${ECHO_T}$ac_header_compiler" >&6
37762 # Is the header present?
37763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37765 cat >conftest.
$ac_ext <<_ACEOF
37768 cat confdefs.h
>>conftest.
$ac_ext
37769 cat >>conftest.
$ac_ext <<_ACEOF
37770 /* end confdefs.h. */
37771 #include <$ac_header>
37773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37776 grep -v '^ *+' conftest.er1
>conftest.err
37778 cat conftest.err
>&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); } >/dev
/null
; then
37781 if test -s conftest.err
; then
37782 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37783 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37790 if test -z "$ac_cpp_err"; then
37791 ac_header_preproc
=yes
37793 echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.
$ac_ext >&5
37796 ac_header_preproc
=no
37798 rm -f conftest.err conftest.
$ac_ext
37799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37800 echo "${ECHO_T}$ac_header_preproc" >&6
37802 # So? What about this header?
37803 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37809 ac_header_preproc
=yes
37812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37826 ## ----------------------------------------- ##
37827 ## Report this to wx-dev@lists.wxwidgets.org ##
37828 ## ----------------------------------------- ##
37831 sed "s/^/$as_me: WARNING: /" >&2
37834 echo "$as_me:$LINENO: checking for $ac_header" >&5
37835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37837 echo $ECHO_N "(cached) $ECHO_C" >&6
37839 eval "$as_ac_Header=\$ac_header_preproc"
37841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37846 cat >>confdefs.h
<<_ACEOF
37847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37854 if test "$ac_cv_header_sched_h" = "yes"; then
37855 echo "$as_me:$LINENO: checking for sched_yield" >&5
37856 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37857 if test "${ac_cv_func_sched_yield+set}" = set; then
37858 echo $ECHO_N "(cached) $ECHO_C" >&6
37860 cat >conftest.
$ac_ext <<_ACEOF
37863 cat confdefs.h
>>conftest.
$ac_ext
37864 cat >>conftest.
$ac_ext <<_ACEOF
37865 /* end confdefs.h. */
37866 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37868 #define sched_yield innocuous_sched_yield
37870 /* System header to define __stub macros and hopefully few prototypes,
37871 which can conflict with char sched_yield (); below.
37872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37873 <limits.h> exists even on freestanding compilers. */
37876 # include <limits.h>
37878 # include <assert.h>
37883 /* Override any gcc2 internal prototype to avoid an error. */
37888 /* We use char because int might match the return type of a gcc2
37889 builtin and then its argument prototype would still apply. */
37890 char sched_yield ();
37891 /* The GNU C library defines this for functions which it implements
37892 to always fail with ENOSYS. Some functions are actually named
37893 something starting with __ and the normal name is an alias. */
37894 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37897 char (*f) () = sched_yield;
37906 return f != sched_yield;
37911 rm -f conftest.
$ac_objext conftest
$ac_exeext
37912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37913 (eval $ac_link) 2>conftest.er1
37915 grep -v '^ *+' conftest.er1
>conftest.err
37917 cat conftest.err
>&5
37918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37919 (exit $ac_status); } &&
37920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37922 (eval $ac_try) 2>&5
37924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37925 (exit $ac_status); }; } &&
37926 { ac_try
='test -s conftest$ac_exeext'
37927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37928 (eval $ac_try) 2>&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); }; }; then
37932 ac_cv_func_sched_yield
=yes
37934 echo "$as_me: failed program was:" >&5
37935 sed 's/^/| /' conftest.
$ac_ext >&5
37937 ac_cv_func_sched_yield
=no
37939 rm -f conftest.err conftest.
$ac_objext \
37940 conftest
$ac_exeext conftest.
$ac_ext
37942 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37943 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37944 if test $ac_cv_func_sched_yield = yes; then
37945 cat >>confdefs.h
<<\_ACEOF
37946 #define HAVE_SCHED_YIELD 1
37951 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37952 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37953 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37954 echo $ECHO_N "(cached) $ECHO_C" >&6
37956 ac_check_lib_save_LIBS
=$LIBS
37957 LIBS
="-lposix4 $LIBS"
37958 cat >conftest.
$ac_ext <<_ACEOF
37961 cat confdefs.h
>>conftest.
$ac_ext
37962 cat >>conftest.
$ac_ext <<_ACEOF
37963 /* end confdefs.h. */
37965 /* Override any gcc2 internal prototype to avoid an error. */
37969 /* We use char because int might match the return type of a gcc2
37970 builtin and then its argument prototype would still apply. */
37971 char sched_yield ();
37980 rm -f conftest.
$ac_objext conftest
$ac_exeext
37981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37982 (eval $ac_link) 2>conftest.er1
37984 grep -v '^ *+' conftest.er1
>conftest.err
37986 cat conftest.err
>&5
37987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988 (exit $ac_status); } &&
37989 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37991 (eval $ac_try) 2>&5
37993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994 (exit $ac_status); }; } &&
37995 { ac_try
='test -s conftest$ac_exeext'
37996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37997 (eval $ac_try) 2>&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); }; }; then
38001 ac_cv_lib_posix4_sched_yield
=yes
38003 echo "$as_me: failed program was:" >&5
38004 sed 's/^/| /' conftest.
$ac_ext >&5
38006 ac_cv_lib_posix4_sched_yield
=no
38008 rm -f conftest.err conftest.
$ac_objext \
38009 conftest
$ac_exeext conftest.
$ac_ext
38010 LIBS
=$ac_check_lib_save_LIBS
38012 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38013 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38014 if test $ac_cv_lib_posix4_sched_yield = yes; then
38015 cat >>confdefs.h
<<\_ACEOF
38016 #define HAVE_SCHED_YIELD 1
38018 POSIX4_LINK
=" -lposix4"
38020 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38021 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38032 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38033 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38034 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 cat >conftest.
$ac_ext <<_ACEOF
38040 cat confdefs.h
>>conftest.
$ac_ext
38041 cat >>conftest.
$ac_ext <<_ACEOF
38042 /* end confdefs.h. */
38043 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38045 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38047 /* System header to define __stub macros and hopefully few prototypes,
38048 which can conflict with char pthread_attr_getschedpolicy (); below.
38049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38050 <limits.h> exists even on freestanding compilers. */
38053 # include <limits.h>
38055 # include <assert.h>
38058 #undef pthread_attr_getschedpolicy
38060 /* Override any gcc2 internal prototype to avoid an error. */
38065 /* We use char because int might match the return type of a gcc2
38066 builtin and then its argument prototype would still apply. */
38067 char pthread_attr_getschedpolicy ();
38068 /* The GNU C library defines this for functions which it implements
38069 to always fail with ENOSYS. Some functions are actually named
38070 something starting with __ and the normal name is an alias. */
38071 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38074 char (*f) () = pthread_attr_getschedpolicy;
38083 return f != pthread_attr_getschedpolicy;
38088 rm -f conftest.
$ac_objext conftest
$ac_exeext
38089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38090 (eval $ac_link) 2>conftest.er1
38092 grep -v '^ *+' conftest.er1
>conftest.err
38094 cat conftest.err
>&5
38095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38096 (exit $ac_status); } &&
38097 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38099 (eval $ac_try) 2>&5
38101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102 (exit $ac_status); }; } &&
38103 { ac_try
='test -s conftest$ac_exeext'
38104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38105 (eval $ac_try) 2>&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); }; }; then
38109 ac_cv_func_pthread_attr_getschedpolicy
=yes
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.
$ac_ext >&5
38114 ac_cv_func_pthread_attr_getschedpolicy
=no
38116 rm -f conftest.err conftest.
$ac_objext \
38117 conftest
$ac_exeext conftest.
$ac_ext
38119 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38120 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38121 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38122 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38123 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38124 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38125 echo $ECHO_N "(cached) $ECHO_C" >&6
38127 cat >conftest.
$ac_ext <<_ACEOF
38130 cat confdefs.h
>>conftest.
$ac_ext
38131 cat >>conftest.
$ac_ext <<_ACEOF
38132 /* end confdefs.h. */
38133 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38135 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38137 /* System header to define __stub macros and hopefully few prototypes,
38138 which can conflict with char pthread_attr_setschedparam (); below.
38139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38140 <limits.h> exists even on freestanding compilers. */
38143 # include <limits.h>
38145 # include <assert.h>
38148 #undef pthread_attr_setschedparam
38150 /* Override any gcc2 internal prototype to avoid an error. */
38155 /* We use char because int might match the return type of a gcc2
38156 builtin and then its argument prototype would still apply. */
38157 char pthread_attr_setschedparam ();
38158 /* The GNU C library defines this for functions which it implements
38159 to always fail with ENOSYS. Some functions are actually named
38160 something starting with __ and the normal name is an alias. */
38161 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38164 char (*f) () = pthread_attr_setschedparam;
38173 return f != pthread_attr_setschedparam;
38178 rm -f conftest.
$ac_objext conftest
$ac_exeext
38179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38180 (eval $ac_link) 2>conftest.er1
38182 grep -v '^ *+' conftest.er1
>conftest.err
38184 cat conftest.err
>&5
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); } &&
38187 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38189 (eval $ac_try) 2>&5
38191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38192 (exit $ac_status); }; } &&
38193 { ac_try
='test -s conftest$ac_exeext'
38194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38195 (eval $ac_try) 2>&5
38197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38198 (exit $ac_status); }; }; then
38199 ac_cv_func_pthread_attr_setschedparam
=yes
38201 echo "$as_me: failed program was:" >&5
38202 sed 's/^/| /' conftest.
$ac_ext >&5
38204 ac_cv_func_pthread_attr_setschedparam
=no
38206 rm -f conftest.err conftest.
$ac_objext \
38207 conftest
$ac_exeext conftest.
$ac_ext
38209 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38210 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38211 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38212 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38213 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38214 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38215 echo $ECHO_N "(cached) $ECHO_C" >&6
38217 cat >conftest.
$ac_ext <<_ACEOF
38220 cat confdefs.h
>>conftest.
$ac_ext
38221 cat >>conftest.
$ac_ext <<_ACEOF
38222 /* end confdefs.h. */
38223 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38225 #define sched_get_priority_max innocuous_sched_get_priority_max
38227 /* System header to define __stub macros and hopefully few prototypes,
38228 which can conflict with char sched_get_priority_max (); below.
38229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38230 <limits.h> exists even on freestanding compilers. */
38233 # include <limits.h>
38235 # include <assert.h>
38238 #undef sched_get_priority_max
38240 /* Override any gcc2 internal prototype to avoid an error. */
38245 /* We use char because int might match the return type of a gcc2
38246 builtin and then its argument prototype would still apply. */
38247 char sched_get_priority_max ();
38248 /* The GNU C library defines this for functions which it implements
38249 to always fail with ENOSYS. Some functions are actually named
38250 something starting with __ and the normal name is an alias. */
38251 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38254 char (*f) () = sched_get_priority_max;
38263 return f != sched_get_priority_max;
38268 rm -f conftest.
$ac_objext conftest
$ac_exeext
38269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38270 (eval $ac_link) 2>conftest.er1
38272 grep -v '^ *+' conftest.er1
>conftest.err
38274 cat conftest.err
>&5
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); } &&
38277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38279 (eval $ac_try) 2>&5
38281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282 (exit $ac_status); }; } &&
38283 { ac_try
='test -s conftest$ac_exeext'
38284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38285 (eval $ac_try) 2>&5
38287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38288 (exit $ac_status); }; }; then
38289 ac_cv_func_sched_get_priority_max
=yes
38291 echo "$as_me: failed program was:" >&5
38292 sed 's/^/| /' conftest.
$ac_ext >&5
38294 ac_cv_func_sched_get_priority_max
=no
38296 rm -f conftest.err conftest.
$ac_objext \
38297 conftest
$ac_exeext conftest.
$ac_ext
38299 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38300 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38301 if test $ac_cv_func_sched_get_priority_max = yes; then
38304 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38305 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38306 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38307 echo $ECHO_N "(cached) $ECHO_C" >&6
38309 ac_check_lib_save_LIBS
=$LIBS
38310 LIBS
="-lposix4 $LIBS"
38311 cat >conftest.
$ac_ext <<_ACEOF
38314 cat confdefs.h
>>conftest.
$ac_ext
38315 cat >>conftest.
$ac_ext <<_ACEOF
38316 /* end confdefs.h. */
38318 /* Override any gcc2 internal prototype to avoid an error. */
38322 /* We use char because int might match the return type of a gcc2
38323 builtin and then its argument prototype would still apply. */
38324 char sched_get_priority_max ();
38328 sched_get_priority_max ();
38333 rm -f conftest.
$ac_objext conftest
$ac_exeext
38334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38335 (eval $ac_link) 2>conftest.er1
38337 grep -v '^ *+' conftest.er1
>conftest.err
38339 cat conftest.err
>&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); } &&
38342 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38344 (eval $ac_try) 2>&5
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); }; } &&
38348 { ac_try
='test -s conftest$ac_exeext'
38349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38350 (eval $ac_try) 2>&5
38352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353 (exit $ac_status); }; }; then
38354 ac_cv_lib_posix4_sched_get_priority_max
=yes
38356 echo "$as_me: failed program was:" >&5
38357 sed 's/^/| /' conftest.
$ac_ext >&5
38359 ac_cv_lib_posix4_sched_get_priority_max
=no
38361 rm -f conftest.err conftest.
$ac_objext \
38362 conftest
$ac_exeext conftest.
$ac_ext
38363 LIBS
=$ac_check_lib_save_LIBS
38365 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38366 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38367 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38370 POSIX4_LINK
=" -lposix4"
38384 if test "$HAVE_PRIOR_FUNCS" = 1; then
38385 cat >>confdefs.h
<<\_ACEOF
38386 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38390 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38391 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38394 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38395 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38396 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38397 echo $ECHO_N "(cached) $ECHO_C" >&6
38399 cat >conftest.
$ac_ext <<_ACEOF
38402 cat confdefs.h
>>conftest.
$ac_ext
38403 cat >>conftest.
$ac_ext <<_ACEOF
38404 /* end confdefs.h. */
38405 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38407 #define pthread_cancel innocuous_pthread_cancel
38409 /* System header to define __stub macros and hopefully few prototypes,
38410 which can conflict with char pthread_cancel (); below.
38411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38412 <limits.h> exists even on freestanding compilers. */
38415 # include <limits.h>
38417 # include <assert.h>
38420 #undef pthread_cancel
38422 /* Override any gcc2 internal prototype to avoid an error. */
38427 /* We use char because int might match the return type of a gcc2
38428 builtin and then its argument prototype would still apply. */
38429 char pthread_cancel ();
38430 /* The GNU C library defines this for functions which it implements
38431 to always fail with ENOSYS. Some functions are actually named
38432 something starting with __ and the normal name is an alias. */
38433 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38436 char (*f) () = pthread_cancel;
38445 return f != pthread_cancel;
38450 rm -f conftest.
$ac_objext conftest
$ac_exeext
38451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38452 (eval $ac_link) 2>conftest.er1
38454 grep -v '^ *+' conftest.er1
>conftest.err
38456 cat conftest.err
>&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); } &&
38459 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38461 (eval $ac_try) 2>&5
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); }; } &&
38465 { ac_try
='test -s conftest$ac_exeext'
38466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38467 (eval $ac_try) 2>&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); }; }; then
38471 ac_cv_func_pthread_cancel
=yes
38473 echo "$as_me: failed program was:" >&5
38474 sed 's/^/| /' conftest.
$ac_ext >&5
38476 ac_cv_func_pthread_cancel
=no
38478 rm -f conftest.err conftest.
$ac_objext \
38479 conftest
$ac_exeext conftest.
$ac_ext
38481 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38482 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38483 if test $ac_cv_func_pthread_cancel = yes; then
38484 cat >>confdefs.h
<<\_ACEOF
38485 #define HAVE_PTHREAD_CANCEL 1
38489 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38490 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38494 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38495 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38496 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38497 echo $ECHO_N "(cached) $ECHO_C" >&6
38499 cat >conftest.
$ac_ext <<_ACEOF
38502 cat confdefs.h
>>conftest.
$ac_ext
38503 cat >>conftest.
$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38505 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38507 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38509 /* System header to define __stub macros and hopefully few prototypes,
38510 which can conflict with char pthread_attr_setstacksize (); below.
38511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38512 <limits.h> exists even on freestanding compilers. */
38515 # include <limits.h>
38517 # include <assert.h>
38520 #undef pthread_attr_setstacksize
38522 /* Override any gcc2 internal prototype to avoid an error. */
38527 /* We use char because int might match the return type of a gcc2
38528 builtin and then its argument prototype would still apply. */
38529 char pthread_attr_setstacksize ();
38530 /* The GNU C library defines this for functions which it implements
38531 to always fail with ENOSYS. Some functions are actually named
38532 something starting with __ and the normal name is an alias. */
38533 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38536 char (*f) () = pthread_attr_setstacksize;
38545 return f != pthread_attr_setstacksize;
38550 rm -f conftest.
$ac_objext conftest
$ac_exeext
38551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38552 (eval $ac_link) 2>conftest.er1
38554 grep -v '^ *+' conftest.er1
>conftest.err
38556 cat conftest.err
>&5
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); } &&
38559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38561 (eval $ac_try) 2>&5
38563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38564 (exit $ac_status); }; } &&
38565 { ac_try
='test -s conftest$ac_exeext'
38566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38567 (eval $ac_try) 2>&5
38569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38570 (exit $ac_status); }; }; then
38571 ac_cv_func_pthread_attr_setstacksize
=yes
38573 echo "$as_me: failed program was:" >&5
38574 sed 's/^/| /' conftest.
$ac_ext >&5
38576 ac_cv_func_pthread_attr_setstacksize
=no
38578 rm -f conftest.err conftest.
$ac_objext \
38579 conftest
$ac_exeext conftest.
$ac_ext
38581 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38582 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38583 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38584 cat >>confdefs.h
<<\_ACEOF
38585 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38592 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38593 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38594 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38595 echo $ECHO_N "(cached) $ECHO_C" >&6
38598 cat >conftest.
$ac_ext <<_ACEOF
38601 cat confdefs.h
>>conftest.
$ac_ext
38602 cat >>conftest.
$ac_ext <<_ACEOF
38603 /* end confdefs.h. */
38604 #include <pthread.h>
38609 pthread_mutexattr_t attr;
38610 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38616 rm -f conftest.
$ac_objext
38617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38618 (eval $ac_compile) 2>conftest.er1
38620 grep -v '^ *+' conftest.er1
>conftest.err
38622 cat conftest.err
>&5
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); } &&
38625 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38627 (eval $ac_try) 2>&5
38629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630 (exit $ac_status); }; } &&
38631 { ac_try
='test -s conftest.$ac_objext'
38632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38633 (eval $ac_try) 2>&5
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); }; }; then
38637 wx_cv_type_pthread_mutexattr_t
=yes
38639 echo "$as_me: failed program was:" >&5
38640 sed 's/^/| /' conftest.
$ac_ext >&5
38642 wx_cv_type_pthread_mutexattr_t
=no
38645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38648 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38649 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38651 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38652 cat >>confdefs.h
<<\_ACEOF
38653 #define HAVE_PTHREAD_MUTEXATTR_T 1
38657 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38658 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38659 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38660 echo $ECHO_N "(cached) $ECHO_C" >&6
38663 cat >conftest.
$ac_ext <<_ACEOF
38666 cat confdefs.h
>>conftest.
$ac_ext
38667 cat >>conftest.
$ac_ext <<_ACEOF
38668 /* end confdefs.h. */
38669 #include <pthread.h>
38674 pthread_mutexattr_t attr;
38675 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38681 rm -f conftest.
$ac_objext
38682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38683 (eval $ac_compile) 2>conftest.er1
38685 grep -v '^ *+' conftest.er1
>conftest.err
38687 cat conftest.err
>&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } &&
38690 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38692 (eval $ac_try) 2>&5
38694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695 (exit $ac_status); }; } &&
38696 { ac_try
='test -s conftest.$ac_objext'
38697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38698 (eval $ac_try) 2>&5
38700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701 (exit $ac_status); }; }; then
38702 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38704 echo "$as_me: failed program was:" >&5
38705 sed 's/^/| /' conftest.
$ac_ext >&5
38707 wx_cv_func_pthread_mutexattr_settype_decl
=no
38710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38713 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38714 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38715 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38716 cat >>confdefs.h
<<\_ACEOF
38717 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38722 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38723 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38724 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38725 echo $ECHO_N "(cached) $ECHO_C" >&6
38728 cat >conftest.
$ac_ext <<_ACEOF
38731 cat confdefs.h
>>conftest.
$ac_ext
38732 cat >>conftest.
$ac_ext <<_ACEOF
38733 /* end confdefs.h. */
38734 #include <pthread.h>
38739 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38745 rm -f conftest.
$ac_objext
38746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38747 (eval $ac_compile) 2>conftest.er1
38749 grep -v '^ *+' conftest.er1
>conftest.err
38751 cat conftest.err
>&5
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); } &&
38754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38756 (eval $ac_try) 2>&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); }; } &&
38760 { ac_try
='test -s conftest.$ac_objext'
38761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38762 (eval $ac_try) 2>&5
38764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38765 (exit $ac_status); }; }; then
38767 wx_cv_type_pthread_rec_mutex_init
=yes
38770 echo "$as_me: failed program was:" >&5
38771 sed 's/^/| /' conftest.
$ac_ext >&5
38774 wx_cv_type_pthread_rec_mutex_init
=no
38778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38781 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38782 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38783 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38784 cat >>confdefs.h
<<\_ACEOF
38785 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38789 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38790 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38796 if test "$wxUSE_THREADS" = "yes" ; then
38799 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38800 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38801 if test "${wx_cv_cflags_mthread+set}" = set; then
38802 echo $ECHO_N "(cached) $ECHO_C" >&6
38805 CXXFLAGS_OLD
="$CXXFLAGS"
38806 CXXFLAGS
="-mthreads $CXXFLAGS"
38807 cat >conftest.
$ac_ext <<_ACEOF
38810 cat confdefs.h
>>conftest.
$ac_ext
38811 cat >>conftest.
$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38822 rm -f conftest.
$ac_objext
38823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38824 (eval $ac_compile) 2>conftest.er1
38826 grep -v '^ *+' conftest.er1
>conftest.err
38828 cat conftest.err
>&5
38829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38830 (exit $ac_status); } &&
38831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38833 (eval $ac_try) 2>&5
38835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38836 (exit $ac_status); }; } &&
38837 { ac_try
='test -s conftest.$ac_objext'
38838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38839 (eval $ac_try) 2>&5
38841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842 (exit $ac_status); }; }; then
38843 wx_cv_cflags_mthread
=yes
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.
$ac_ext >&5
38848 wx_cv_cflags_mthread
=no
38851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38855 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38856 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38858 if test "$wx_cv_cflags_mthread" = "yes"; then
38859 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
38860 LDFLAGS
="$LDFLAGS -mthreads"
38862 CXXFLAGS
="$CXXFLAGS_OLD"
38866 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38867 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38868 LDFLAGS
="$LDFLAGS -Zmt"
38874 echo "$as_me:$LINENO: checking for localtime_r" >&5
38875 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38876 if test "${ac_cv_func_localtime_r+set}" = set; then
38877 echo $ECHO_N "(cached) $ECHO_C" >&6
38879 cat >conftest.
$ac_ext <<_ACEOF
38882 cat confdefs.h
>>conftest.
$ac_ext
38883 cat >>conftest.
$ac_ext <<_ACEOF
38884 /* end confdefs.h. */
38885 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38887 #define localtime_r innocuous_localtime_r
38889 /* System header to define __stub macros and hopefully few prototypes,
38890 which can conflict with char localtime_r (); below.
38891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38892 <limits.h> exists even on freestanding compilers. */
38895 # include <limits.h>
38897 # include <assert.h>
38902 /* Override any gcc2 internal prototype to avoid an error. */
38907 /* We use char because int might match the return type of a gcc2
38908 builtin and then its argument prototype would still apply. */
38909 char localtime_r ();
38910 /* The GNU C library defines this for functions which it implements
38911 to always fail with ENOSYS. Some functions are actually named
38912 something starting with __ and the normal name is an alias. */
38913 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38916 char (*f) () = localtime_r;
38925 return f != localtime_r;
38930 rm -f conftest.
$ac_objext conftest
$ac_exeext
38931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38932 (eval $ac_link) 2>conftest.er1
38934 grep -v '^ *+' conftest.er1
>conftest.err
38936 cat conftest.err
>&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); } &&
38939 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38941 (eval $ac_try) 2>&5
38943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38944 (exit $ac_status); }; } &&
38945 { ac_try
='test -s conftest$ac_exeext'
38946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38947 (eval $ac_try) 2>&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); }; }; then
38951 ac_cv_func_localtime_r
=yes
38953 echo "$as_me: failed program was:" >&5
38954 sed 's/^/| /' conftest.
$ac_ext >&5
38956 ac_cv_func_localtime_r
=no
38958 rm -f conftest.err conftest.
$ac_objext \
38959 conftest
$ac_exeext conftest.
$ac_ext
38961 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38962 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38963 if test $ac_cv_func_localtime_r = yes; then
38964 cat >>confdefs.h
<<\_ACEOF
38965 #define HAVE_LOCALTIME_R 1
38970 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38971 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38972 if test "${ac_cv_func_gmtime_r+set}" = set; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38975 cat >conftest.
$ac_ext <<_ACEOF
38978 cat confdefs.h
>>conftest.
$ac_ext
38979 cat >>conftest.
$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38981 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38983 #define gmtime_r innocuous_gmtime_r
38985 /* System header to define __stub macros and hopefully few prototypes,
38986 which can conflict with char gmtime_r (); below.
38987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38988 <limits.h> exists even on freestanding compilers. */
38991 # include <limits.h>
38993 # include <assert.h>
38998 /* Override any gcc2 internal prototype to avoid an error. */
39003 /* We use char because int might match the return type of a gcc2
39004 builtin and then its argument prototype would still apply. */
39006 /* The GNU C library defines this for functions which it implements
39007 to always fail with ENOSYS. Some functions are actually named
39008 something starting with __ and the normal name is an alias. */
39009 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39012 char (*f) () = gmtime_r;
39021 return f != gmtime_r;
39026 rm -f conftest.
$ac_objext conftest
$ac_exeext
39027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39028 (eval $ac_link) 2>conftest.er1
39030 grep -v '^ *+' conftest.er1
>conftest.err
39032 cat conftest.err
>&5
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); } &&
39035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39037 (eval $ac_try) 2>&5
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; } &&
39041 { ac_try
='test -s conftest$ac_exeext'
39042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39043 (eval $ac_try) 2>&5
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); }; }; then
39047 ac_cv_func_gmtime_r
=yes
39049 echo "$as_me: failed program was:" >&5
39050 sed 's/^/| /' conftest.
$ac_ext >&5
39052 ac_cv_func_gmtime_r
=no
39054 rm -f conftest.err conftest.
$ac_objext \
39055 conftest
$ac_exeext conftest.
$ac_ext
39057 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39058 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39059 if test $ac_cv_func_gmtime_r = yes; then
39060 cat >>confdefs.h
<<\_ACEOF
39061 #define HAVE_GMTIME_R 1
39066 echo "$as_me:$LINENO: checking for readdir_r" >&5
39067 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39068 if test "${ac_cv_func_readdir_r+set}" = set; then
39069 echo $ECHO_N "(cached) $ECHO_C" >&6
39071 cat >conftest.
$ac_ext <<_ACEOF
39074 cat confdefs.h
>>conftest.
$ac_ext
39075 cat >>conftest.
$ac_ext <<_ACEOF
39076 /* end confdefs.h. */
39077 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39079 #define readdir_r innocuous_readdir_r
39081 /* System header to define __stub macros and hopefully few prototypes,
39082 which can conflict with char readdir_r (); below.
39083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39084 <limits.h> exists even on freestanding compilers. */
39087 # include <limits.h>
39089 # include <assert.h>
39094 /* Override any gcc2 internal prototype to avoid an error. */
39099 /* We use char because int might match the return type of a gcc2
39100 builtin and then its argument prototype would still apply. */
39102 /* The GNU C library defines this for functions which it implements
39103 to always fail with ENOSYS. Some functions are actually named
39104 something starting with __ and the normal name is an alias. */
39105 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39108 char (*f) () = readdir_r;
39117 return f != readdir_r;
39122 rm -f conftest.
$ac_objext conftest
$ac_exeext
39123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39124 (eval $ac_link) 2>conftest.er1
39126 grep -v '^ *+' conftest.er1
>conftest.err
39128 cat conftest.err
>&5
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); } &&
39131 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39133 (eval $ac_try) 2>&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); }; } &&
39137 { ac_try
='test -s conftest$ac_exeext'
39138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139 (eval $ac_try) 2>&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); }; }; then
39143 ac_cv_func_readdir_r
=yes
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.
$ac_ext >&5
39148 ac_cv_func_readdir_r
=no
39150 rm -f conftest.err conftest.
$ac_objext \
39151 conftest
$ac_exeext conftest.
$ac_ext
39153 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39154 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39155 if test $ac_cv_func_readdir_r = yes; then
39156 cat >>confdefs.h
<<\_ACEOF
39157 #define HAVE_READDIR_R 1
39166 ac_cpp
='$CPP $CPPFLAGS'
39167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39171 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39172 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39174 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39175 echo $ECHO_N "(cached) $ECHO_C" >&6
39180 ac_cv_func_which_gethostbyname_r
=unknown
39183 # ONE ARGUMENT (sanity check)
39186 # This should fail, as there is no variant of gethostbyname_r() that takes
39187 # a single argument. If it actually compiles, then we can assume that
39188 # netdb.h is not declaring the function, and the compiler is thereby
39189 # assuming an implicit prototype. In which case, we're out of luck.
39191 cat >conftest.
$ac_ext <<_ACEOF
39194 cat confdefs.h
>>conftest.
$ac_ext
39195 cat >>conftest.
$ac_ext <<_ACEOF
39196 /* end confdefs.h. */
39202 char *name = "www.gnu.org";
39203 (void)gethostbyname_r(name) /* ; */
39209 rm -f conftest.
$ac_objext
39210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39211 (eval $ac_compile) 2>conftest.er1
39213 grep -v '^ *+' conftest.er1
>conftest.err
39215 cat conftest.err
>&5
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); } &&
39218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39220 (eval $ac_try) 2>&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); }; } &&
39224 { ac_try
='test -s conftest.$ac_objext'
39225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39226 (eval $ac_try) 2>&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; }; then
39230 ac_cv_func_which_gethostbyname_r
=no
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.
$ac_ext >&5
39236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39243 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39245 cat >conftest.
$ac_ext <<_ACEOF
39248 cat confdefs.h
>>conftest.
$ac_ext
39249 cat >>conftest.
$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39256 char *name = "www.gnu.org";
39257 struct hostent ret, *retp;
39261 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39267 rm -f conftest.
$ac_objext
39268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39269 (eval $ac_compile) 2>conftest.er1
39271 grep -v '^ *+' conftest.er1
>conftest.err
39273 cat conftest.err
>&5
39274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275 (exit $ac_status); } &&
39276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39278 (eval $ac_try) 2>&5
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); }; } &&
39282 { ac_try
='test -s conftest.$ac_objext'
39283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39284 (eval $ac_try) 2>&5
39286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287 (exit $ac_status); }; }; then
39288 ac_cv_func_which_gethostbyname_r
=six
39290 echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.
$ac_ext >&5
39294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39303 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39305 cat >conftest.
$ac_ext <<_ACEOF
39308 cat confdefs.h
>>conftest.
$ac_ext
39309 cat >>conftest.
$ac_ext <<_ACEOF
39310 /* end confdefs.h. */
39316 char *name = "www.gnu.org";
39317 struct hostent ret;
39321 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39327 rm -f conftest.
$ac_objext
39328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39329 (eval $ac_compile) 2>conftest.er1
39331 grep -v '^ *+' conftest.er1
>conftest.err
39333 cat conftest.err
>&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); } &&
39336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39338 (eval $ac_try) 2>&5
39340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39341 (exit $ac_status); }; } &&
39342 { ac_try
='test -s conftest.$ac_objext'
39343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39344 (eval $ac_try) 2>&5
39346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39347 (exit $ac_status); }; }; then
39348 ac_cv_func_which_gethostbyname_r
=five
39350 echo "$as_me: failed program was:" >&5
39351 sed 's/^/| /' conftest.
$ac_ext >&5
39354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39360 # (e.g. AIX, HP-UX, Tru64)
39363 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39365 cat >conftest.
$ac_ext <<_ACEOF
39368 cat confdefs.h
>>conftest.
$ac_ext
39369 cat >>conftest.
$ac_ext <<_ACEOF
39370 /* end confdefs.h. */
39376 char *name = "www.gnu.org";
39377 struct hostent ret;
39378 struct hostent_data data;
39379 (void)gethostbyname_r(name, &ret, &data) /* ; */
39385 rm -f conftest.
$ac_objext
39386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39387 (eval $ac_compile) 2>conftest.er1
39389 grep -v '^ *+' conftest.er1
>conftest.err
39391 cat conftest.err
>&5
39392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39393 (exit $ac_status); } &&
39394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39396 (eval $ac_try) 2>&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); }; } &&
39400 { ac_try
='test -s conftest.$ac_objext'
39401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39402 (eval $ac_try) 2>&5
39404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39405 (exit $ac_status); }; }; then
39406 ac_cv_func_which_gethostbyname_r
=three
39408 echo "$as_me: failed program was:" >&5
39409 sed 's/^/| /' conftest.
$ac_ext >&5
39412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39420 case "$ac_cv_func_which_gethostbyname_r" in
39422 echo "$as_me:$LINENO: result: three" >&5
39423 echo "${ECHO_T}three" >&6
39424 cat >>confdefs.h
<<\_ACEOF
39425 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39431 echo "$as_me:$LINENO: result: five" >&5
39432 echo "${ECHO_T}five" >&6
39433 cat >>confdefs.h
<<\_ACEOF
39434 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39440 echo "$as_me:$LINENO: result: six" >&5
39441 echo "${ECHO_T}six" >&6
39442 cat >>confdefs.h
<<\_ACEOF
39443 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39449 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39450 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39454 echo "$as_me:$LINENO: result: can't tell" >&5
39455 echo "${ECHO_T}can't tell" >&6
39459 { { echo "$as_me:$LINENO: error: internal error" >&5
39460 echo "$as_me: error: internal error" >&2;}
39461 { (exit 1); exit 1; }; }
39466 ac_cpp
='$CXXCPP $CPPFLAGS'
39467 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39473 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39474 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39475 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39476 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39477 if test "${ac_cv_func_gethostbyname+set}" = set; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 cat >conftest.
$ac_ext <<_ACEOF
39483 cat confdefs.h
>>conftest.
$ac_ext
39484 cat >>conftest.
$ac_ext <<_ACEOF
39485 /* end confdefs.h. */
39486 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39488 #define gethostbyname innocuous_gethostbyname
39490 /* System header to define __stub macros and hopefully few prototypes,
39491 which can conflict with char gethostbyname (); below.
39492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493 <limits.h> exists even on freestanding compilers. */
39496 # include <limits.h>
39498 # include <assert.h>
39501 #undef gethostbyname
39503 /* Override any gcc2 internal prototype to avoid an error. */
39508 /* We use char because int might match the return type of a gcc2
39509 builtin and then its argument prototype would still apply. */
39510 char gethostbyname ();
39511 /* The GNU C library defines this for functions which it implements
39512 to always fail with ENOSYS. Some functions are actually named
39513 something starting with __ and the normal name is an alias. */
39514 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39517 char (*f) () = gethostbyname;
39526 return f != gethostbyname;
39531 rm -f conftest.
$ac_objext conftest
$ac_exeext
39532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39533 (eval $ac_link) 2>conftest.er1
39535 grep -v '^ *+' conftest.er1
>conftest.err
39537 cat conftest.err
>&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); } &&
39540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
39546 { ac_try
='test -s conftest$ac_exeext'
39547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39548 (eval $ac_try) 2>&5
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); }; }; then
39552 ac_cv_func_gethostbyname
=yes
39554 echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.
$ac_ext >&5
39557 ac_cv_func_gethostbyname
=no
39559 rm -f conftest.err conftest.
$ac_objext \
39560 conftest
$ac_exeext conftest.
$ac_ext
39562 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39564 if test $ac_cv_func_gethostbyname = yes; then
39565 cat >>confdefs.h
<<\_ACEOF
39566 #define HAVE_GETHOSTBYNAME 1
39572 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39573 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39574 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39575 echo $ECHO_N "(cached) $ECHO_C" >&6
39577 cat >conftest.
$ac_ext <<_ACEOF
39580 cat confdefs.h
>>conftest.
$ac_ext
39581 cat >>conftest.
$ac_ext <<_ACEOF
39582 /* end confdefs.h. */
39583 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39585 #define getservbyname_r innocuous_getservbyname_r
39587 /* System header to define __stub macros and hopefully few prototypes,
39588 which can conflict with char getservbyname_r (); below.
39589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39590 <limits.h> exists even on freestanding compilers. */
39593 # include <limits.h>
39595 # include <assert.h>
39598 #undef getservbyname_r
39600 /* Override any gcc2 internal prototype to avoid an error. */
39605 /* We use char because int might match the return type of a gcc2
39606 builtin and then its argument prototype would still apply. */
39607 char getservbyname_r ();
39608 /* The GNU C library defines this for functions which it implements
39609 to always fail with ENOSYS. Some functions are actually named
39610 something starting with __ and the normal name is an alias. */
39611 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39614 char (*f) () = getservbyname_r;
39623 return f != getservbyname_r;
39628 rm -f conftest.
$ac_objext conftest
$ac_exeext
39629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39630 (eval $ac_link) 2>conftest.er1
39632 grep -v '^ *+' conftest.er1
>conftest.err
39634 cat conftest.err
>&5
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); } &&
39637 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39639 (eval $ac_try) 2>&5
39641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39642 (exit $ac_status); }; } &&
39643 { ac_try
='test -s conftest$ac_exeext'
39644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39645 (eval $ac_try) 2>&5
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); }; }; then
39649 ac_cv_func_getservbyname_r
=yes
39651 echo "$as_me: failed program was:" >&5
39652 sed 's/^/| /' conftest.
$ac_ext >&5
39654 ac_cv_func_getservbyname_r
=no
39656 rm -f conftest.err conftest.
$ac_objext \
39657 conftest
$ac_exeext conftest.
$ac_ext
39659 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39660 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39661 if test $ac_cv_func_getservbyname_r = yes; then
39662 cat >conftest.
$ac_ext <<_ACEOF
39665 cat confdefs.h
>>conftest.
$ac_ext
39666 cat >>conftest.
$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39675 struct servent *se;
39676 struct servent_data data;
39677 (void) getservbyname_r(name, proto, se, &data);
39683 rm -f conftest.
$ac_objext
39684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39685 (eval $ac_compile) 2>conftest.er1
39687 grep -v '^ *+' conftest.er1
>conftest.err
39689 cat conftest.err
>&5
39690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39691 (exit $ac_status); } &&
39692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39694 (eval $ac_try) 2>&5
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); }; } &&
39698 { ac_try
='test -s conftest.$ac_objext'
39699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39700 (eval $ac_try) 2>&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); }; }; then
39704 ac_cv_func_which_getservbyname_r
=four
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.
$ac_ext >&5
39709 cat >conftest.
$ac_ext <<_ACEOF
39712 cat confdefs.h
>>conftest.
$ac_ext
39713 cat >>conftest.
$ac_ext <<_ACEOF
39714 /* end confdefs.h. */
39722 struct servent *se, *res;
39725 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39731 rm -f conftest.
$ac_objext
39732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39733 (eval $ac_compile) 2>conftest.er1
39735 grep -v '^ *+' conftest.er1
>conftest.err
39737 cat conftest.err
>&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); } &&
39740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; } &&
39746 { ac_try
='test -s conftest.$ac_objext'
39747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39748 (eval $ac_try) 2>&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); }; }; then
39752 ac_cv_func_which_getservbyname_r
=six
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.
$ac_ext >&5
39757 cat >conftest.
$ac_ext <<_ACEOF
39760 cat confdefs.h
>>conftest.
$ac_ext
39761 cat >>conftest.
$ac_ext <<_ACEOF
39762 /* end confdefs.h. */
39770 struct servent *se;
39773 (void) getservbyname_r(name, proto, se, buffer, buflen)
39779 rm -f conftest.
$ac_objext
39780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39781 (eval $ac_compile) 2>conftest.er1
39783 grep -v '^ *+' conftest.er1
>conftest.err
39785 cat conftest.err
>&5
39786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39787 (exit $ac_status); } &&
39788 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39790 (eval $ac_try) 2>&5
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); }; } &&
39794 { ac_try
='test -s conftest.$ac_objext'
39795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39796 (eval $ac_try) 2>&5
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); }; }; then
39800 ac_cv_func_which_getservbyname_r
=five
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.
$ac_ext >&5
39805 ac_cv_func_which_getservbyname_r
=no
39808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39816 ac_cv_func_which_getservbyname_r
=no
39820 if test $ac_cv_func_which_getservbyname_r = six
; then
39821 cat >>confdefs.h
<<\_ACEOF
39822 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39825 elif test $ac_cv_func_which_getservbyname_r = five
; then
39826 cat >>confdefs.h
<<\_ACEOF
39827 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39830 elif test $ac_cv_func_which_getservbyname_r = four
; then
39831 cat >>confdefs.h
<<\_ACEOF
39832 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39838 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39839 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39841 for ac_func
in getservbyname
39843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39844 echo "$as_me:$LINENO: checking for $ac_func" >&5
39845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39846 if eval "test \"\${$as_ac_var+set}\" = set"; then
39847 echo $ECHO_N "(cached) $ECHO_C" >&6
39849 cat >conftest.
$ac_ext <<_ACEOF
39852 cat confdefs.h
>>conftest.
$ac_ext
39853 cat >>conftest.
$ac_ext <<_ACEOF
39854 /* end confdefs.h. */
39855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39857 #define $ac_func innocuous_$ac_func
39859 /* System header to define __stub macros and hopefully few prototypes,
39860 which can conflict with char $ac_func (); below.
39861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39862 <limits.h> exists even on freestanding compilers. */
39865 # include <limits.h>
39867 # include <assert.h>
39872 /* Override any gcc2 internal prototype to avoid an error. */
39877 /* We use char because int might match the return type of a gcc2
39878 builtin and then its argument prototype would still apply. */
39880 /* The GNU C library defines this for functions which it implements
39881 to always fail with ENOSYS. Some functions are actually named
39882 something starting with __ and the normal name is an alias. */
39883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39886 char (*f) () = $ac_func;
39895 return f != $ac_func;
39900 rm -f conftest.
$ac_objext conftest
$ac_exeext
39901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39902 (eval $ac_link) 2>conftest.er1
39904 grep -v '^ *+' conftest.er1
>conftest.err
39906 cat conftest.err
>&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } &&
39909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39911 (eval $ac_try) 2>&5
39913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914 (exit $ac_status); }; } &&
39915 { ac_try
='test -s conftest$ac_exeext'
39916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39917 (eval $ac_try) 2>&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); }; }; then
39921 eval "$as_ac_var=yes"
39923 echo "$as_me: failed program was:" >&5
39924 sed 's/^/| /' conftest.
$ac_ext >&5
39926 eval "$as_ac_var=no"
39928 rm -f conftest.err conftest.
$ac_objext \
39929 conftest
$ac_exeext conftest.
$ac_ext
39931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39933 if test `eval echo '${'$as_ac_var'}'` = yes; then
39934 cat >>confdefs.h
<<_ACEOF
39935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39937 cat >>confdefs.h
<<\_ACEOF
39938 #define HAVE_GETSERVBYNAME 1
39946 if test "$wxUSE_THREADS" = "yes"; then
39947 cat >>confdefs.h
<<\_ACEOF
39948 #define wxUSE_THREADS 1
39952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39954 if test "$ac_cv_func_strtok_r" = "yes"; then
39955 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39956 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39957 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39958 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39959 echo "$as_me:$LINENO: result: yes" >&5
39960 echo "${ECHO_T}yes" >&6
39962 echo "$as_me:$LINENO: result: no" >&5
39963 echo "${ECHO_T}no" >&6
39968 if test "$WXGTK20" = 1 ; then
39969 cat >>confdefs.h
<<_ACEOF
39970 #define __WXGTK20__ $WXGTK20
39976 if test "$WXGTK12" = 1 ; then
39977 cat >>confdefs.h
<<_ACEOF
39978 #define __WXGTK12__ $WXGTK12
39983 if test "$WXGTK127" = 1 ; then
39984 cat >>confdefs.h
<<_ACEOF
39985 #define __WXGTK127__ $WXGTK127
39990 if test "$WXGPE" = 1 ; then
39991 cat >>confdefs.h
<<_ACEOF
39992 #define __WXGPE__ $WXGPE
39998 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40003 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40004 wxUSE_DEBUG_INFO
=yes
40005 if test "$GCC" = yes; then
40006 DEBUG_CFLAGS
="-ggdb"
40010 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40011 cat >>confdefs.h
<<\_ACEOF
40015 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40017 if test "$wxUSE_GTK" = 1 ; then
40018 if test "x$wxGTK_VERSION" = "x1" ; then
40019 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40024 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40025 cat >>confdefs.h
<<\_ACEOF
40026 #define wxUSE_MEMORY_TRACING 1
40029 cat >>confdefs.h
<<\_ACEOF
40030 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40033 cat >>confdefs.h
<<\_ACEOF
40034 #define wxUSE_DEBUG_NEW_ALWAYS 1
40037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40040 if test "$wxUSE_DMALLOC" = "yes" ; then
40041 DMALLOC_LIBS
="-ldmallocthcxx"
40045 if test "$wxUSE_PROFILE" = "yes" ; then
40046 PROFILE_FLAGS
=" -pg"
40049 if test "$GCC" = "yes" ; then
40050 if test "$wxUSE_NO_RTTI" = "yes" ; then
40051 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40053 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40054 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40056 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40057 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40062 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40065 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40071 if test "$wxUSE_OPTIMISE" = "no" ; then
40072 if test "$GCC" = yes ; then
40073 OPTIMISE_CFLAGS
="-O0"
40076 if test "$GCC" = yes ; then
40078 *-pc-os2_emx | *-pc-os2-emx )
40079 OPTIMISE_CFLAGS
="-O2"
40082 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40086 OPTIMISE_CFLAGS
="-O"
40091 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40092 cat >>confdefs.h
<<\_ACEOF
40093 #define WXWIN_COMPATIBILITY_2_4 1
40097 WXWIN_COMPATIBILITY_2_6
="yes"
40100 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40101 cat >>confdefs.h
<<\_ACEOF
40102 #define WXWIN_COMPATIBILITY_2_6 1
40108 if test "$wxUSE_GUI" = "yes"; then
40109 cat >>confdefs.h
<<\_ACEOF
40110 #define wxUSE_GUI 1
40117 if test "$wxUSE_UNIX" = "yes"; then
40118 cat >>confdefs.h
<<\_ACEOF
40119 #define wxUSE_UNIX 1
40125 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40129 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40130 if test "$USE_DARWIN" = 1; then
40132 elif test "$USE_DOS" = 1; then
40136 for ac_func
in dlopen
40138 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40139 echo "$as_me:$LINENO: checking for $ac_func" >&5
40140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40141 if eval "test \"\${$as_ac_var+set}\" = set"; then
40142 echo $ECHO_N "(cached) $ECHO_C" >&6
40144 cat >conftest.
$ac_ext <<_ACEOF
40147 cat confdefs.h
>>conftest.
$ac_ext
40148 cat >>conftest.
$ac_ext <<_ACEOF
40149 /* end confdefs.h. */
40150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40152 #define $ac_func innocuous_$ac_func
40154 /* System header to define __stub macros and hopefully few prototypes,
40155 which can conflict with char $ac_func (); below.
40156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40157 <limits.h> exists even on freestanding compilers. */
40160 # include <limits.h>
40162 # include <assert.h>
40167 /* Override any gcc2 internal prototype to avoid an error. */
40172 /* We use char because int might match the return type of a gcc2
40173 builtin and then its argument prototype would still apply. */
40175 /* The GNU C library defines this for functions which it implements
40176 to always fail with ENOSYS. Some functions are actually named
40177 something starting with __ and the normal name is an alias. */
40178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40181 char (*f) () = $ac_func;
40190 return f != $ac_func;
40195 rm -f conftest.
$ac_objext conftest
$ac_exeext
40196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40197 (eval $ac_link) 2>conftest.er1
40199 grep -v '^ *+' conftest.er1
>conftest.err
40201 cat conftest.err
>&5
40202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203 (exit $ac_status); } &&
40204 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40206 (eval $ac_try) 2>&5
40208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); }; } &&
40210 { ac_try
='test -s conftest$ac_exeext'
40211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40212 (eval $ac_try) 2>&5
40214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40215 (exit $ac_status); }; }; then
40216 eval "$as_ac_var=yes"
40218 echo "$as_me: failed program was:" >&5
40219 sed 's/^/| /' conftest.
$ac_ext >&5
40221 eval "$as_ac_var=no"
40223 rm -f conftest.err conftest.
$ac_objext \
40224 conftest
$ac_exeext conftest.
$ac_ext
40226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40228 if test `eval echo '${'$as_ac_var'}'` = yes; then
40229 cat >>confdefs.h
<<_ACEOF
40230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40233 cat >>confdefs.h
<<\_ACEOF
40234 #define HAVE_DLOPEN 1
40241 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40242 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40244 echo $ECHO_N "(cached) $ECHO_C" >&6
40246 ac_check_lib_save_LIBS
=$LIBS
40248 cat >conftest.
$ac_ext <<_ACEOF
40251 cat confdefs.h
>>conftest.
$ac_ext
40252 cat >>conftest.
$ac_ext <<_ACEOF
40253 /* end confdefs.h. */
40255 /* Override any gcc2 internal prototype to avoid an error. */
40259 /* We use char because int might match the return type of a gcc2
40260 builtin and then its argument prototype would still apply. */
40270 rm -f conftest.
$ac_objext conftest
$ac_exeext
40271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40272 (eval $ac_link) 2>conftest.er1
40274 grep -v '^ *+' conftest.er1
>conftest.err
40276 cat conftest.err
>&5
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); } &&
40279 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40281 (eval $ac_try) 2>&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); }; } &&
40285 { ac_try
='test -s conftest$ac_exeext'
40286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40287 (eval $ac_try) 2>&5
40289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290 (exit $ac_status); }; }; then
40291 ac_cv_lib_dl_dlopen
=yes
40293 echo "$as_me: failed program was:" >&5
40294 sed 's/^/| /' conftest.
$ac_ext >&5
40296 ac_cv_lib_dl_dlopen
=no
40298 rm -f conftest.err conftest.
$ac_objext \
40299 conftest
$ac_exeext conftest.
$ac_ext
40300 LIBS
=$ac_check_lib_save_LIBS
40302 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40303 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40304 if test $ac_cv_lib_dl_dlopen = yes; then
40306 cat >>confdefs.h
<<\_ACEOF
40307 #define HAVE_DLOPEN 1
40311 DL_LINK
=" -ldl$DL_LINK"
40316 for ac_func
in shl_load
40318 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40319 echo "$as_me:$LINENO: checking for $ac_func" >&5
40320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40321 if eval "test \"\${$as_ac_var+set}\" = set"; then
40322 echo $ECHO_N "(cached) $ECHO_C" >&6
40324 cat >conftest.
$ac_ext <<_ACEOF
40327 cat confdefs.h
>>conftest.
$ac_ext
40328 cat >>conftest.
$ac_ext <<_ACEOF
40329 /* end confdefs.h. */
40330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40332 #define $ac_func innocuous_$ac_func
40334 /* System header to define __stub macros and hopefully few prototypes,
40335 which can conflict with char $ac_func (); below.
40336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40337 <limits.h> exists even on freestanding compilers. */
40340 # include <limits.h>
40342 # include <assert.h>
40347 /* Override any gcc2 internal prototype to avoid an error. */
40352 /* We use char because int might match the return type of a gcc2
40353 builtin and then its argument prototype would still apply. */
40355 /* The GNU C library defines this for functions which it implements
40356 to always fail with ENOSYS. Some functions are actually named
40357 something starting with __ and the normal name is an alias. */
40358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40361 char (*f) () = $ac_func;
40370 return f != $ac_func;
40375 rm -f conftest.
$ac_objext conftest
$ac_exeext
40376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40377 (eval $ac_link) 2>conftest.er1
40379 grep -v '^ *+' conftest.er1
>conftest.err
40381 cat conftest.err
>&5
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); } &&
40384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40386 (eval $ac_try) 2>&5
40388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40389 (exit $ac_status); }; } &&
40390 { ac_try
='test -s conftest$ac_exeext'
40391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40392 (eval $ac_try) 2>&5
40394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40395 (exit $ac_status); }; }; then
40396 eval "$as_ac_var=yes"
40398 echo "$as_me: failed program was:" >&5
40399 sed 's/^/| /' conftest.
$ac_ext >&5
40401 eval "$as_ac_var=no"
40403 rm -f conftest.err conftest.
$ac_objext \
40404 conftest
$ac_exeext conftest.
$ac_ext
40406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40408 if test `eval echo '${'$as_ac_var'}'` = yes; then
40409 cat >>confdefs.h
<<_ACEOF
40410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40413 cat >>confdefs.h
<<\_ACEOF
40414 #define HAVE_SHL_LOAD 1
40421 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40422 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40423 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40426 ac_check_lib_save_LIBS
=$LIBS
40427 LIBS
="-lshl_load $LIBS"
40428 cat >conftest.
$ac_ext <<_ACEOF
40431 cat confdefs.h
>>conftest.
$ac_ext
40432 cat >>conftest.
$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40435 /* Override any gcc2 internal prototype to avoid an error. */
40439 /* We use char because int might match the return type of a gcc2
40440 builtin and then its argument prototype would still apply. */
40450 rm -f conftest.
$ac_objext conftest
$ac_exeext
40451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40452 (eval $ac_link) 2>conftest.er1
40454 grep -v '^ *+' conftest.er1
>conftest.err
40456 cat conftest.err
>&5
40457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40458 (exit $ac_status); } &&
40459 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40461 (eval $ac_try) 2>&5
40463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40464 (exit $ac_status); }; } &&
40465 { ac_try
='test -s conftest$ac_exeext'
40466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40467 (eval $ac_try) 2>&5
40469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); }; }; then
40471 ac_cv_lib_shl_load_dld
=yes
40473 echo "$as_me: failed program was:" >&5
40474 sed 's/^/| /' conftest.
$ac_ext >&5
40476 ac_cv_lib_shl_load_dld
=no
40478 rm -f conftest.err conftest.
$ac_objext \
40479 conftest
$ac_exeext conftest.
$ac_ext
40480 LIBS
=$ac_check_lib_save_LIBS
40482 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40483 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40484 if test $ac_cv_lib_shl_load_dld = yes; then
40487 DL_LINK
=" -ldld$DL_LINK"
40503 if test "$HAVE_DL_FUNCS" = 1; then
40505 for ac_func
in dlerror
40507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40508 echo "$as_me:$LINENO: checking for $ac_func" >&5
40509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40510 if eval "test \"\${$as_ac_var+set}\" = set"; then
40511 echo $ECHO_N "(cached) $ECHO_C" >&6
40513 cat >conftest.
$ac_ext <<_ACEOF
40516 cat confdefs.h
>>conftest.
$ac_ext
40517 cat >>conftest.
$ac_ext <<_ACEOF
40518 /* end confdefs.h. */
40519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40521 #define $ac_func innocuous_$ac_func
40523 /* System header to define __stub macros and hopefully few prototypes,
40524 which can conflict with char $ac_func (); below.
40525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40526 <limits.h> exists even on freestanding compilers. */
40529 # include <limits.h>
40531 # include <assert.h>
40536 /* Override any gcc2 internal prototype to avoid an error. */
40541 /* We use char because int might match the return type of a gcc2
40542 builtin and then its argument prototype would still apply. */
40544 /* The GNU C library defines this for functions which it implements
40545 to always fail with ENOSYS. Some functions are actually named
40546 something starting with __ and the normal name is an alias. */
40547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40550 char (*f) () = $ac_func;
40559 return f != $ac_func;
40564 rm -f conftest.
$ac_objext conftest
$ac_exeext
40565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40566 (eval $ac_link) 2>conftest.er1
40568 grep -v '^ *+' conftest.er1
>conftest.err
40570 cat conftest.err
>&5
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); } &&
40573 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40575 (eval $ac_try) 2>&5
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); }; } &&
40579 { ac_try
='test -s conftest$ac_exeext'
40580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40581 (eval $ac_try) 2>&5
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); }; }; then
40585 eval "$as_ac_var=yes"
40587 echo "$as_me: failed program was:" >&5
40588 sed 's/^/| /' conftest.
$ac_ext >&5
40590 eval "$as_ac_var=no"
40592 rm -f conftest.err conftest.
$ac_objext \
40593 conftest
$ac_exeext conftest.
$ac_ext
40595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40597 if test `eval echo '${'$as_ac_var'}'` = yes; then
40598 cat >>confdefs.h
<<_ACEOF
40599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40601 cat >>confdefs.h
<<\_ACEOF
40602 #define HAVE_DLERROR 1
40607 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40608 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40609 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40610 echo $ECHO_N "(cached) $ECHO_C" >&6
40612 ac_check_lib_save_LIBS
=$LIBS
40614 cat >conftest.
$ac_ext <<_ACEOF
40617 cat confdefs.h
>>conftest.
$ac_ext
40618 cat >>conftest.
$ac_ext <<_ACEOF
40619 /* end confdefs.h. */
40621 /* Override any gcc2 internal prototype to avoid an error. */
40625 /* We use char because int might match the return type of a gcc2
40626 builtin and then its argument prototype would still apply. */
40636 rm -f conftest.
$ac_objext conftest
$ac_exeext
40637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40638 (eval $ac_link) 2>conftest.er1
40640 grep -v '^ *+' conftest.er1
>conftest.err
40642 cat conftest.err
>&5
40643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40644 (exit $ac_status); } &&
40645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40647 (eval $ac_try) 2>&5
40649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650 (exit $ac_status); }; } &&
40651 { ac_try
='test -s conftest$ac_exeext'
40652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40653 (eval $ac_try) 2>&5
40655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40656 (exit $ac_status); }; }; then
40657 ac_cv_lib_dl_dlerror
=yes
40659 echo "$as_me: failed program was:" >&5
40660 sed 's/^/| /' conftest.
$ac_ext >&5
40662 ac_cv_lib_dl_dlerror
=no
40664 rm -f conftest.err conftest.
$ac_objext \
40665 conftest
$ac_exeext conftest.
$ac_ext
40666 LIBS
=$ac_check_lib_save_LIBS
40668 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40669 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40670 if test $ac_cv_lib_dl_dlerror = yes; then
40671 cat >>confdefs.h
<<\_ACEOF
40672 #define HAVE_DLERROR 1
40685 if test "$HAVE_DL_FUNCS" = 0; then
40686 if test "$HAVE_SHL_FUNCS" = 0; then
40687 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40688 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40689 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40690 wxUSE_DYNAMIC_LOADER
=no
40691 wxUSE_DYNLIB_CLASS
=no
40693 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40694 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40701 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40702 cat >>confdefs.h
<<\_ACEOF
40703 #define wxUSE_DYNAMIC_LOADER 1
40707 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40708 cat >>confdefs.h
<<\_ACEOF
40709 #define wxUSE_DYNLIB_CLASS 1
40716 if test "$wxUSE_PLUGINS" = "yes" ; then
40717 if test "$wxUSE_SHARED" = "no" ; then
40718 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40719 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40722 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40723 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40724 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40727 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40728 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40729 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40732 if test "$wxUSE_PLUGINS" = "yes" ; then
40733 cat >>confdefs.h
<<\_ACEOF
40734 #define wxUSE_PLUGINS 1
40741 if test "$wxUSE_STL" = "yes"; then
40742 cat >>confdefs.h
<<\_ACEOF
40743 #define wxUSE_STL 1
40748 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40749 cat >>confdefs.h
<<\_ACEOF
40750 #define wxUSE_APPLE_IEEE 1
40755 if test "$wxUSE_TIMER" = "yes"; then
40756 cat >>confdefs.h
<<\_ACEOF
40757 #define wxUSE_TIMER 1
40762 if test "$USE_UNIX" = "1" ; then
40763 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40764 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40765 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40766 echo $ECHO_N "(cached) $ECHO_C" >&6
40769 cat >conftest.
$ac_ext <<_ACEOF
40772 cat confdefs.h
>>conftest.
$ac_ext
40773 cat >>conftest.
$ac_ext <<_ACEOF
40774 /* end confdefs.h. */
40776 #include <sys/soundcard.h>
40782 ioctl(0, SNDCTL_DSP_SYNC, 0);
40788 rm -f conftest.
$ac_objext conftest
$ac_exeext
40789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40790 (eval $ac_link) 2>conftest.er1
40792 grep -v '^ *+' conftest.er1
>conftest.err
40794 cat conftest.err
>&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } &&
40797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40799 (eval $ac_try) 2>&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); }; } &&
40803 { ac_try
='test -s conftest$ac_exeext'
40804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40805 (eval $ac_try) 2>&5
40807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40808 (exit $ac_status); }; }; then
40809 ac_cv_header_sys_soundcard
=yes
40811 echo "$as_me: failed program was:" >&5
40812 sed 's/^/| /' conftest.
$ac_ext >&5
40816 LIBS
="$saveLibs -lossaudio"
40817 cat >conftest.
$ac_ext <<_ACEOF
40820 cat confdefs.h
>>conftest.
$ac_ext
40821 cat >>conftest.
$ac_ext <<_ACEOF
40822 /* end confdefs.h. */
40824 #include <sys/soundcard.h>
40830 ioctl(0, SNDCTL_DSP_SYNC, 0);
40836 rm -f conftest.
$ac_objext conftest
$ac_exeext
40837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40838 (eval $ac_link) 2>conftest.er1
40840 grep -v '^ *+' conftest.er1
>conftest.err
40842 cat conftest.err
>&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); } &&
40845 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40847 (eval $ac_try) 2>&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); }; } &&
40851 { ac_try
='test -s conftest$ac_exeext'
40852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40853 (eval $ac_try) 2>&5
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); }; }; then
40857 ac_cv_header_sys_soundcard
=yes
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.
$ac_ext >&5
40864 ac_cv_header_sys_soundcard
=no
40868 rm -f conftest.err conftest.
$ac_objext \
40869 conftest
$ac_exeext conftest.
$ac_ext
40873 rm -f conftest.err conftest.
$ac_objext \
40874 conftest
$ac_exeext conftest.
$ac_ext
40877 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40878 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40880 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40881 cat >>confdefs.h
<<\_ACEOF
40882 #define HAVE_SYS_SOUNDCARD_H 1
40886 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40890 if test "$wxUSE_SOUND" = "yes"; then
40891 if test "$USE_UNIX" = "1" ; then
40892 if test "$wxUSE_LIBSDL" != "no"; then
40894 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40895 if test "${with_sdl_prefix+set}" = set; then
40896 withval
="$with_sdl_prefix"
40897 sdl_prefix
="$withval"
40902 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40903 if test "${with_sdl_exec_prefix+set}" = set; then
40904 withval
="$with_sdl_exec_prefix"
40905 sdl_exec_prefix
="$withval"
40909 # Check whether --enable-sdltest or --disable-sdltest was given.
40910 if test "${enable_sdltest+set}" = set; then
40911 enableval
="$enable_sdltest"
40917 if test x
$sdl_exec_prefix != x
; then
40918 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40919 if test x
${SDL_CONFIG+set} != xset
; then
40920 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40923 if test x
$sdl_prefix != x
; then
40924 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40925 if test x
${SDL_CONFIG+set} != xset
; then
40926 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40931 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40932 # Extract the first word of "sdl-config", so it can be a program name with args.
40933 set dummy sdl
-config; ac_word
=$2
40934 echo "$as_me:$LINENO: checking for $ac_word" >&5
40935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40936 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 case $SDL_CONFIG in
40941 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40945 for as_dir
in $PATH
40948 test -z "$as_dir" && as_dir
=.
40949 for ac_exec_ext
in '' $ac_executable_extensions; do
40950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40951 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40958 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40962 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40964 if test -n "$SDL_CONFIG"; then
40965 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40966 echo "${ECHO_T}$SDL_CONFIG" >&6
40968 echo "$as_me:$LINENO: result: no" >&5
40969 echo "${ECHO_T}no" >&6
40972 min_sdl_version
=1.2.0
40973 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40974 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40976 if test "$SDL_CONFIG" = "no" ; then
40979 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40980 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40982 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40984 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40986 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40988 if test "x$enable_sdltest" = "xyes" ; then
40989 ac_save_CFLAGS
="$CFLAGS"
40990 ac_save_CXXFLAGS
="$CXXFLAGS"
40991 ac_save_LIBS
="$LIBS"
40992 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40993 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40994 LIBS
="$LIBS $SDL_LIBS"
40996 if test "$cross_compiling" = yes; then
40997 echo $ac_n "cross compiling; assumed OK... $ac_c"
40999 cat >conftest.
$ac_ext <<_ACEOF
41002 cat confdefs.h
>>conftest.
$ac_ext
41003 cat >>conftest.
$ac_ext <<_ACEOF
41004 /* end confdefs.h. */
41007 #include <stdlib.h>
41008 #include <string.h>
41012 my_strdup (char *str)
41018 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41019 strcpy (new_str, str);
41027 int main (int argc, char *argv[])
41029 int major, minor, micro;
41032 /* This hangs on some systems (?)
41033 system ("touch conf.sdltest");
41035 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41037 /* HP/UX 9 (%@#!) writes to sscanf strings */
41038 tmp_version = my_strdup("$min_sdl_version");
41039 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41040 printf("%s, bad version string\n", "$min_sdl_version");
41044 if (($sdl_major_version > major) ||
41045 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41046 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41052 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41053 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41054 printf("*** best to upgrade to the required version.\n");
41055 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41056 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41057 printf("*** config.cache before re-running configure\n");
41064 rm -f conftest
$ac_exeext
41065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41066 (eval $ac_link) 2>&5
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41071 (eval $ac_try) 2>&5
41073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41074 (exit $ac_status); }; }; then
41077 echo "$as_me: program exited with status $ac_status" >&5
41078 echo "$as_me: failed program was:" >&5
41079 sed 's/^/| /' conftest.
$ac_ext >&5
41081 ( exit $ac_status )
41084 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41086 CFLAGS
="$ac_save_CFLAGS"
41087 CXXFLAGS
="$ac_save_CXXFLAGS"
41088 LIBS
="$ac_save_LIBS"
41091 if test "x$no_sdl" = x
; then
41092 echo "$as_me:$LINENO: result: yes" >&5
41093 echo "${ECHO_T}yes" >&6
41095 EXTRALIBS_SDL
="$SDL_LIBS"
41096 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41097 cat >>confdefs.h
<<\_ACEOF
41098 #define wxUSE_LIBSDL 1
41103 echo "$as_me:$LINENO: result: no" >&5
41104 echo "${ECHO_T}no" >&6
41105 if test "$SDL_CONFIG" = "no" ; then
41106 echo "*** The sdl-config script installed by SDL could not be found"
41107 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41108 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41109 echo "*** full path to sdl-config."
41111 if test -f conf.sdltest
; then
41114 echo "*** Could not run SDL test program, checking why..."
41115 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41116 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41117 LIBS
="$LIBS $SDL_LIBS"
41118 cat >conftest.
$ac_ext <<_ACEOF
41121 cat confdefs.h
>>conftest.
$ac_ext
41122 cat >>conftest.
$ac_ext <<_ACEOF
41123 /* end confdefs.h. */
41128 int main(int argc, char *argv[])
41131 #define main K_and_R_C_main
41141 rm -f conftest.
$ac_objext conftest
$ac_exeext
41142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41143 (eval $ac_link) 2>conftest.er1
41145 grep -v '^ *+' conftest.er1
>conftest.err
41147 cat conftest.err
>&5
41148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41149 (exit $ac_status); } &&
41150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41152 (eval $ac_try) 2>&5
41154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41155 (exit $ac_status); }; } &&
41156 { ac_try
='test -s conftest$ac_exeext'
41157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41158 (eval $ac_try) 2>&5
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); }; }; then
41162 echo "*** The test program compiled, but did not run. This usually means"
41163 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41164 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41165 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41166 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41167 echo "*** is required on your system"
41169 echo "*** If you have an old version installed, it is best to remove it, although"
41170 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41172 echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.
$ac_ext >&5
41175 echo "*** The test program failed to compile or link. See the file config.log for the"
41176 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41177 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41178 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41180 rm -f conftest.err conftest.
$ac_objext \
41181 conftest
$ac_exeext conftest.
$ac_ext
41182 CFLAGS
="$ac_save_CFLAGS"
41183 CXXFLAGS
="$ac_save_CXXFLAGS"
41184 LIBS
="$ac_save_LIBS"
41195 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41201 cat >>confdefs.h
<<\_ACEOF
41202 #define wxUSE_SOUND 1
41205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41208 if test "$WXGTK20" = 1; then
41209 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41210 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41215 if test -z "$PKG_CONFIG"; then
41216 # Extract the first word of "pkg-config", so it can be a program name with args.
41217 set dummy pkg
-config; ac_word
=$2
41218 echo "$as_me:$LINENO: checking for $ac_word" >&5
41219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41220 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41221 echo $ECHO_N "(cached) $ECHO_C" >&6
41223 case $PKG_CONFIG in
41225 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41229 for as_dir
in $PATH
41232 test -z "$as_dir" && as_dir
=.
41233 for ac_exec_ext
in '' $ac_executable_extensions; do
41234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41235 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41242 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41246 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41248 if test -n "$PKG_CONFIG"; then
41249 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41250 echo "${ECHO_T}$PKG_CONFIG" >&6
41252 echo "$as_me:$LINENO: result: no" >&5
41253 echo "${ECHO_T}no" >&6
41258 if test "$PKG_CONFIG" = "no" ; then
41259 echo "*** The pkg-config script could not be found. Make sure it is"
41260 echo "*** in your path, or set the PKG_CONFIG environment variable"
41261 echo "*** to the full path to pkg-config."
41262 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41264 PKG_CONFIG_MIN_VERSION
=0.9.0
41265 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41266 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41267 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41269 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41270 echo "$as_me:$LINENO: result: yes" >&5
41271 echo "${ECHO_T}yes" >&6
41274 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41275 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41276 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41277 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41278 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41280 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41281 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41282 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41283 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41284 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41286 LIBGNOMEPRINTUI_CFLAGS
=""
41287 LIBGNOMEPRINTUI_LIBS
=""
41288 ## If we have a custom action on failure, don't print errors, but
41289 ## do set a variable so people can do so.
41290 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41297 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41298 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41302 if test $succeeded = yes; then
41304 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41305 cat >>confdefs.h
<<\_ACEOF
41306 #define wxUSE_LIBGNOMEPRINT 1
41312 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41313 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41314 wxUSE_LIBGNOMEPRINT
="no"
41323 if test "$WXGTK20" = 1; then
41324 if test "$wxUSE_MIMETYPE" = "yes" ; then
41325 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41330 if test -z "$PKG_CONFIG"; then
41331 # Extract the first word of "pkg-config", so it can be a program name with args.
41332 set dummy pkg
-config; ac_word
=$2
41333 echo "$as_me:$LINENO: checking for $ac_word" >&5
41334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41335 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41336 echo $ECHO_N "(cached) $ECHO_C" >&6
41338 case $PKG_CONFIG in
41340 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41344 for as_dir
in $PATH
41347 test -z "$as_dir" && as_dir
=.
41348 for ac_exec_ext
in '' $ac_executable_extensions; do
41349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41350 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41357 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41361 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41363 if test -n "$PKG_CONFIG"; then
41364 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41365 echo "${ECHO_T}$PKG_CONFIG" >&6
41367 echo "$as_me:$LINENO: result: no" >&5
41368 echo "${ECHO_T}no" >&6
41373 if test "$PKG_CONFIG" = "no" ; then
41374 echo "*** The pkg-config script could not be found. Make sure it is"
41375 echo "*** in your path, or set the PKG_CONFIG environment variable"
41376 echo "*** to the full path to pkg-config."
41377 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41379 PKG_CONFIG_MIN_VERSION
=0.9.0
41380 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41381 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41382 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41384 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41385 echo "$as_me:$LINENO: result: yes" >&5
41386 echo "${ECHO_T}yes" >&6
41389 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41390 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41391 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41392 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41393 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41395 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41396 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41397 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41398 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41399 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41403 ## If we have a custom action on failure, don't print errors, but
41404 ## do set a variable so people can do so.
41405 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41412 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41413 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41417 if test $succeeded = yes; then
41419 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41420 cat >>confdefs.h
<<\_ACEOF
41421 #define wxUSE_LIBGNOMEVFS 1
41427 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41428 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41429 wxUSE_LIBGNOMEVFS
="no"
41438 if test "$WXGTK20" = 1; then
41439 if test "$wxUSE_LIBHILDON" = "yes" ; then
41443 if test -z "$PKG_CONFIG"; then
41444 # Extract the first word of "pkg-config", so it can be a program name with args.
41445 set dummy pkg
-config; ac_word
=$2
41446 echo "$as_me:$LINENO: checking for $ac_word" >&5
41447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41448 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41449 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 case $PKG_CONFIG in
41453 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41457 for as_dir
in $PATH
41460 test -z "$as_dir" && as_dir
=.
41461 for ac_exec_ext
in '' $ac_executable_extensions; do
41462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41463 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41470 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41474 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41476 if test -n "$PKG_CONFIG"; then
41477 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41478 echo "${ECHO_T}$PKG_CONFIG" >&6
41480 echo "$as_me:$LINENO: result: no" >&5
41481 echo "${ECHO_T}no" >&6
41486 if test "$PKG_CONFIG" = "no" ; then
41487 echo "*** The pkg-config script could not be found. Make sure it is"
41488 echo "*** in your path, or set the PKG_CONFIG environment variable"
41489 echo "*** to the full path to pkg-config."
41490 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41492 PKG_CONFIG_MIN_VERSION
=0.9.0
41493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41494 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41495 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41497 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41498 echo "$as_me:$LINENO: result: yes" >&5
41499 echo "${ECHO_T}yes" >&6
41502 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41503 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41504 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41505 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41506 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41508 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41509 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41510 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41511 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41512 echo "${ECHO_T}$HILDON_LIBS" >&6
41516 ## If we have a custom action on failure, don't print errors, but
41517 ## do set a variable so people can do so.
41518 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41525 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41526 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41530 if test $succeeded = yes; then
41532 EXTRALIBS_HILDON
="$HILDON_LIBS"
41533 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41534 cat >>confdefs.h
<<\_ACEOF
41535 #define wxUSE_LIBHILDON 1
41541 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41542 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41543 wxUSE_LIBHILDON
="no"
41551 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41552 cat >>confdefs.h
<<\_ACEOF
41553 #define wxUSE_CMDLINE_PARSER 1
41558 if test "$wxUSE_STOPWATCH" = "yes"; then
41559 cat >>confdefs.h
<<\_ACEOF
41560 #define wxUSE_STOPWATCH 1
41565 if test "$wxUSE_DATETIME" = "yes"; then
41566 cat >>confdefs.h
<<\_ACEOF
41567 #define wxUSE_DATETIME 1
41572 if test "$wxUSE_FILE" = "yes"; then
41573 cat >>confdefs.h
<<\_ACEOF
41574 #define wxUSE_FILE 1
41579 if test "$wxUSE_FFILE" = "yes"; then
41580 cat >>confdefs.h
<<\_ACEOF
41581 #define wxUSE_FFILE 1
41586 if test "$wxUSE_FILESYSTEM" = "yes"; then
41587 cat >>confdefs.h
<<\_ACEOF
41588 #define wxUSE_FILESYSTEM 1
41593 if test "$wxUSE_FS_ZIP" = "yes"; then
41594 cat >>confdefs.h
<<\_ACEOF
41595 #define wxUSE_FS_ZIP 1
41600 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41601 cat >>confdefs.h
<<\_ACEOF
41602 #define wxUSE_ARCHIVE_STREAMS 1
41607 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41608 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41609 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41610 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41611 elif test "$wxUSE_ZLIB" = "no"; then
41612 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41613 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41615 cat >>confdefs.h
<<\_ACEOF
41616 #define wxUSE_ZIPSTREAM 1
41622 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41623 if test "$USE_UNIX" != 1; then
41624 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41625 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41626 wxUSE_ON_FATAL_EXCEPTION
=no
41628 cat >>confdefs.h
<<\_ACEOF
41629 #define wxUSE_ON_FATAL_EXCEPTION 1
41635 if test "$wxUSE_STACKWALKER" = "yes"; then
41636 cat >>confdefs.h
<<\_ACEOF
41637 #define wxUSE_STACKWALKER 1
41642 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41643 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41644 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41645 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41646 wxUSE_DEBUGREPORT
=no
41648 cat >>confdefs.h
<<\_ACEOF
41649 #define wxUSE_DEBUGREPORT 1
41652 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41658 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41659 cat >>confdefs.h
<<\_ACEOF
41660 #define wxUSE_SNGLINST_CHECKER 1
41665 if test "$wxUSE_BUSYINFO" = "yes"; then
41666 cat >>confdefs.h
<<\_ACEOF
41667 #define wxUSE_BUSYINFO 1
41672 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41673 cat >>confdefs.h
<<\_ACEOF
41674 #define wxUSE_STD_IOSTREAM 1
41679 if test "$wxUSE_STD_STRING" = "yes"; then
41680 cat >>confdefs.h
<<\_ACEOF
41681 #define wxUSE_STD_STRING 1
41686 if test "$wxUSE_STDPATHS" = "yes"; then
41687 cat >>confdefs.h
<<\_ACEOF
41688 #define wxUSE_STDPATHS 1
41693 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41694 cat >>confdefs.h
<<\_ACEOF
41695 #define wxUSE_TEXTBUFFER 1
41700 if test "$wxUSE_TEXTFILE" = "yes"; then
41701 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41702 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41703 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41705 cat >>confdefs.h
<<\_ACEOF
41706 #define wxUSE_TEXTFILE 1
41712 if test "$wxUSE_CONFIG" = "yes" ; then
41713 if test "$wxUSE_TEXTFILE" != "yes"; then
41714 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41715 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41717 cat >>confdefs.h
<<\_ACEOF
41718 #define wxUSE_CONFIG 1
41721 cat >>confdefs.h
<<\_ACEOF
41722 #define wxUSE_CONFIG_NATIVE 1
41725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41729 if test "$wxUSE_INTL" = "yes" ; then
41730 if test "$wxUSE_FILE" != "yes"; then
41731 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41732 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41734 cat >>confdefs.h
<<\_ACEOF
41735 #define wxUSE_INTL 1
41738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41739 GUIDIST
="$GUIDIST INTL_DIST"
41743 if test "$wxUSE_LOG" = "yes"; then
41744 cat >>confdefs.h
<<\_ACEOF
41745 #define wxUSE_LOG 1
41749 if test "$wxUSE_LOGGUI" = "yes"; then
41750 cat >>confdefs.h
<<\_ACEOF
41751 #define wxUSE_LOGGUI 1
41756 if test "$wxUSE_LOGWINDOW" = "yes"; then
41757 cat >>confdefs.h
<<\_ACEOF
41758 #define wxUSE_LOGWINDOW 1
41763 if test "$wxUSE_LOGDIALOG" = "yes"; then
41764 cat >>confdefs.h
<<\_ACEOF
41765 #define wxUSE_LOG_DIALOG 1
41770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41773 if test "$wxUSE_LONGLONG" = "yes"; then
41774 cat >>confdefs.h
<<\_ACEOF
41775 #define wxUSE_LONGLONG 1
41780 if test "$wxUSE_GEOMETRY" = "yes"; then
41781 cat >>confdefs.h
<<\_ACEOF
41782 #define wxUSE_GEOMETRY 1
41787 if test "$wxUSE_STREAMS" = "yes" ; then
41788 cat >>confdefs.h
<<\_ACEOF
41789 #define wxUSE_STREAMS 1
41795 if test "$wxUSE_DATETIME" = "yes"; then
41797 for ac_func
in strptime
41799 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41800 echo "$as_me:$LINENO: checking for $ac_func" >&5
41801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41802 if eval "test \"\${$as_ac_var+set}\" = set"; then
41803 echo $ECHO_N "(cached) $ECHO_C" >&6
41805 cat >conftest.
$ac_ext <<_ACEOF
41808 cat confdefs.h
>>conftest.
$ac_ext
41809 cat >>conftest.
$ac_ext <<_ACEOF
41810 /* end confdefs.h. */
41811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41813 #define $ac_func innocuous_$ac_func
41815 /* System header to define __stub macros and hopefully few prototypes,
41816 which can conflict with char $ac_func (); below.
41817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41818 <limits.h> exists even on freestanding compilers. */
41821 # include <limits.h>
41823 # include <assert.h>
41828 /* Override any gcc2 internal prototype to avoid an error. */
41833 /* We use char because int might match the return type of a gcc2
41834 builtin and then its argument prototype would still apply. */
41836 /* The GNU C library defines this for functions which it implements
41837 to always fail with ENOSYS. Some functions are actually named
41838 something starting with __ and the normal name is an alias. */
41839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41842 char (*f) () = $ac_func;
41851 return f != $ac_func;
41856 rm -f conftest.
$ac_objext conftest
$ac_exeext
41857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41858 (eval $ac_link) 2>conftest.er1
41860 grep -v '^ *+' conftest.er1
>conftest.err
41862 cat conftest.err
>&5
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); } &&
41865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41867 (eval $ac_try) 2>&5
41869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41870 (exit $ac_status); }; } &&
41871 { ac_try
='test -s conftest$ac_exeext'
41872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41873 (eval $ac_try) 2>&5
41875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41876 (exit $ac_status); }; }; then
41877 eval "$as_ac_var=yes"
41879 echo "$as_me: failed program was:" >&5
41880 sed 's/^/| /' conftest.
$ac_ext >&5
41882 eval "$as_ac_var=no"
41884 rm -f conftest.err conftest.
$ac_objext \
41885 conftest
$ac_exeext conftest.
$ac_ext
41887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41889 if test `eval echo '${'$as_ac_var'}'` = yes; then
41890 cat >>confdefs.h
<<_ACEOF
41891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41897 if test "$ac_cv_func_strptime" = "yes"; then
41898 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41899 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41900 if test "${wx_cv_func_strptime_decl+set}" = set; then
41901 echo $ECHO_N "(cached) $ECHO_C" >&6
41904 cat >conftest.
$ac_ext <<_ACEOF
41907 cat confdefs.h
>>conftest.
$ac_ext
41908 cat >>conftest.
$ac_ext <<_ACEOF
41909 /* end confdefs.h. */
41918 strptime("foo", "bar", &t);
41924 rm -f conftest.
$ac_objext
41925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41926 (eval $ac_compile) 2>conftest.er1
41928 grep -v '^ *+' conftest.er1
>conftest.err
41930 cat conftest.err
>&5
41931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41932 (exit $ac_status); } &&
41933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41935 (eval $ac_try) 2>&5
41937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938 (exit $ac_status); }; } &&
41939 { ac_try
='test -s conftest.$ac_objext'
41940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41941 (eval $ac_try) 2>&5
41943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41944 (exit $ac_status); }; }; then
41945 wx_cv_func_strptime_decl
=yes
41947 echo "$as_me: failed program was:" >&5
41948 sed 's/^/| /' conftest.
$ac_ext >&5
41950 wx_cv_func_strptime_decl
=no
41953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41957 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41958 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41960 if test "$wx_cv_func_strptime_decl" = "yes"; then
41961 cat >>confdefs.h
<<\_ACEOF
41962 #define HAVE_STRPTIME_DECL 1
41967 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41968 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41969 if test "${wx_cv_var_timezone+set}" = set; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41973 cat >conftest.
$ac_ext <<_ACEOF
41976 cat confdefs.h
>>conftest.
$ac_ext
41977 cat >>conftest.
$ac_ext <<_ACEOF
41978 /* end confdefs.h. */
41993 rm -f conftest.
$ac_objext
41994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41995 (eval $ac_compile) 2>conftest.er1
41997 grep -v '^ *+' conftest.er1
>conftest.err
41999 cat conftest.err
>&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); } &&
42002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42004 (eval $ac_try) 2>&5
42006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42007 (exit $ac_status); }; } &&
42008 { ac_try
='test -s conftest.$ac_objext'
42009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42010 (eval $ac_try) 2>&5
42012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42013 (exit $ac_status); }; }; then
42015 wx_cv_var_timezone
=timezone
42018 echo "$as_me: failed program was:" >&5
42019 sed 's/^/| /' conftest.
$ac_ext >&5
42022 cat >conftest.
$ac_ext <<_ACEOF
42025 cat confdefs.h
>>conftest.
$ac_ext
42026 cat >>conftest.
$ac_ext <<_ACEOF
42027 /* end confdefs.h. */
42042 rm -f conftest.
$ac_objext
42043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42044 (eval $ac_compile) 2>conftest.er1
42046 grep -v '^ *+' conftest.er1
>conftest.err
42048 cat conftest.err
>&5
42049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42050 (exit $ac_status); } &&
42051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42053 (eval $ac_try) 2>&5
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); }; } &&
42057 { ac_try
='test -s conftest.$ac_objext'
42058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42059 (eval $ac_try) 2>&5
42061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42062 (exit $ac_status); }; }; then
42064 wx_cv_var_timezone
=_timezone
42067 echo "$as_me: failed program was:" >&5
42068 sed 's/^/| /' conftest.
$ac_ext >&5
42071 cat >conftest.
$ac_ext <<_ACEOF
42074 cat confdefs.h
>>conftest.
$ac_ext
42075 cat >>conftest.
$ac_ext <<_ACEOF
42076 /* end confdefs.h. */
42091 rm -f conftest.
$ac_objext
42092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42093 (eval $ac_compile) 2>conftest.er1
42095 grep -v '^ *+' conftest.er1
>conftest.err
42097 cat conftest.err
>&5
42098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42099 (exit $ac_status); } &&
42100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42102 (eval $ac_try) 2>&5
42104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105 (exit $ac_status); }; } &&
42106 { ac_try
='test -s conftest.$ac_objext'
42107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42108 (eval $ac_try) 2>&5
42110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42111 (exit $ac_status); }; }; then
42113 wx_cv_var_timezone
=__timezone
42116 echo "$as_me: failed program was:" >&5
42117 sed 's/^/| /' conftest.
$ac_ext >&5
42120 if test "$USE_DOS" = 0 ; then
42121 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42122 echo "$as_me: WARNING: no timezone variable" >&2;}
42127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42139 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42140 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42142 if test "x$wx_cv_var_timezone" != x
; then
42143 cat >>confdefs.h
<<_ACEOF
42144 #define WX_TIMEZONE $wx_cv_var_timezone
42150 for ac_func
in localtime
42152 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42153 echo "$as_me:$LINENO: checking for $ac_func" >&5
42154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42155 if eval "test \"\${$as_ac_var+set}\" = set"; then
42156 echo $ECHO_N "(cached) $ECHO_C" >&6
42158 cat >conftest.
$ac_ext <<_ACEOF
42161 cat confdefs.h
>>conftest.
$ac_ext
42162 cat >>conftest.
$ac_ext <<_ACEOF
42163 /* end confdefs.h. */
42164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42166 #define $ac_func innocuous_$ac_func
42168 /* System header to define __stub macros and hopefully few prototypes,
42169 which can conflict with char $ac_func (); below.
42170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42171 <limits.h> exists even on freestanding compilers. */
42174 # include <limits.h>
42176 # include <assert.h>
42181 /* Override any gcc2 internal prototype to avoid an error. */
42186 /* We use char because int might match the return type of a gcc2
42187 builtin and then its argument prototype would still apply. */
42189 /* The GNU C library defines this for functions which it implements
42190 to always fail with ENOSYS. Some functions are actually named
42191 something starting with __ and the normal name is an alias. */
42192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42195 char (*f) () = $ac_func;
42204 return f != $ac_func;
42209 rm -f conftest.
$ac_objext conftest
$ac_exeext
42210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42211 (eval $ac_link) 2>conftest.er1
42213 grep -v '^ *+' conftest.er1
>conftest.err
42215 cat conftest.err
>&5
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); } &&
42218 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42220 (eval $ac_try) 2>&5
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); }; } &&
42224 { ac_try
='test -s conftest$ac_exeext'
42225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42226 (eval $ac_try) 2>&5
42228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42229 (exit $ac_status); }; }; then
42230 eval "$as_ac_var=yes"
42232 echo "$as_me: failed program was:" >&5
42233 sed 's/^/| /' conftest.
$ac_ext >&5
42235 eval "$as_ac_var=no"
42237 rm -f conftest.err conftest.
$ac_objext \
42238 conftest
$ac_exeext conftest.
$ac_ext
42240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42242 if test `eval echo '${'$as_ac_var'}'` = yes; then
42243 cat >>confdefs.h
<<_ACEOF
42244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42251 if test "$ac_cv_func_localtime" = "yes"; then
42252 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42253 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42254 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42255 echo $ECHO_N "(cached) $ECHO_C" >&6
42258 cat >conftest.
$ac_ext <<_ACEOF
42261 cat confdefs.h
>>conftest.
$ac_ext
42262 cat >>conftest.
$ac_ext <<_ACEOF
42263 /* end confdefs.h. */
42278 rm -f conftest.
$ac_objext
42279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42280 (eval $ac_compile) 2>conftest.er1
42282 grep -v '^ *+' conftest.er1
>conftest.err
42284 cat conftest.err
>&5
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } &&
42287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42289 (eval $ac_try) 2>&5
42291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42292 (exit $ac_status); }; } &&
42293 { ac_try
='test -s conftest.$ac_objext'
42294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42295 (eval $ac_try) 2>&5
42297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42298 (exit $ac_status); }; }; then
42300 wx_cv_struct_tm_has_gmtoff
=yes
42303 echo "$as_me: failed program was:" >&5
42304 sed 's/^/| /' conftest.
$ac_ext >&5
42306 wx_cv_struct_tm_has_gmtoff
=no
42309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42312 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42313 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42316 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42317 cat >>confdefs.h
<<\_ACEOF
42318 #define WX_GMTOFF_IN_TM 1
42325 for ac_func
in gettimeofday ftime
42327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42328 echo "$as_me:$LINENO: checking for $ac_func" >&5
42329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42330 if eval "test \"\${$as_ac_var+set}\" = set"; then
42331 echo $ECHO_N "(cached) $ECHO_C" >&6
42333 cat >conftest.
$ac_ext <<_ACEOF
42336 cat confdefs.h
>>conftest.
$ac_ext
42337 cat >>conftest.
$ac_ext <<_ACEOF
42338 /* end confdefs.h. */
42339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42341 #define $ac_func innocuous_$ac_func
42343 /* System header to define __stub macros and hopefully few prototypes,
42344 which can conflict with char $ac_func (); below.
42345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42346 <limits.h> exists even on freestanding compilers. */
42349 # include <limits.h>
42351 # include <assert.h>
42356 /* Override any gcc2 internal prototype to avoid an error. */
42361 /* We use char because int might match the return type of a gcc2
42362 builtin and then its argument prototype would still apply. */
42364 /* The GNU C library defines this for functions which it implements
42365 to always fail with ENOSYS. Some functions are actually named
42366 something starting with __ and the normal name is an alias. */
42367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42370 char (*f) () = $ac_func;
42379 return f != $ac_func;
42384 rm -f conftest.
$ac_objext conftest
$ac_exeext
42385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42386 (eval $ac_link) 2>conftest.er1
42388 grep -v '^ *+' conftest.er1
>conftest.err
42390 cat conftest.err
>&5
42391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42392 (exit $ac_status); } &&
42393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42395 (eval $ac_try) 2>&5
42397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42398 (exit $ac_status); }; } &&
42399 { ac_try
='test -s conftest$ac_exeext'
42400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42401 (eval $ac_try) 2>&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); }; }; then
42405 eval "$as_ac_var=yes"
42407 echo "$as_me: failed program was:" >&5
42408 sed 's/^/| /' conftest.
$ac_ext >&5
42410 eval "$as_ac_var=no"
42412 rm -f conftest.err conftest.
$ac_objext \
42413 conftest
$ac_exeext conftest.
$ac_ext
42415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42417 if test `eval echo '${'$as_ac_var'}'` = yes; then
42418 cat >>confdefs.h
<<_ACEOF
42419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42426 if test "$ac_cv_func_gettimeofday" = "yes"; then
42427 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42428 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42429 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42430 echo $ECHO_N "(cached) $ECHO_C" >&6
42433 cat >conftest.
$ac_ext <<_ACEOF
42436 cat confdefs.h
>>conftest.
$ac_ext
42437 cat >>conftest.
$ac_ext <<_ACEOF
42438 /* end confdefs.h. */
42440 #include <sys/time.h>
42441 #include <unistd.h>
42448 gettimeofday(&tv, NULL);
42454 rm -f conftest.
$ac_objext
42455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42456 (eval $ac_compile) 2>conftest.er1
42458 grep -v '^ *+' conftest.er1
>conftest.err
42460 cat conftest.err
>&5
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); } &&
42463 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42465 (eval $ac_try) 2>&5
42467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42468 (exit $ac_status); }; } &&
42469 { ac_try
='test -s conftest.$ac_objext'
42470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42471 (eval $ac_try) 2>&5
42473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42474 (exit $ac_status); }; }; then
42475 wx_cv_func_gettimeofday_has_2_args
=yes
42477 echo "$as_me: failed program was:" >&5
42478 sed 's/^/| /' conftest.
$ac_ext >&5
42480 cat >conftest.
$ac_ext <<_ACEOF
42483 cat confdefs.h
>>conftest.
$ac_ext
42484 cat >>conftest.
$ac_ext <<_ACEOF
42485 /* end confdefs.h. */
42487 #include <sys/time.h>
42488 #include <unistd.h>
42501 rm -f conftest.
$ac_objext
42502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42503 (eval $ac_compile) 2>conftest.er1
42505 grep -v '^ *+' conftest.er1
>conftest.err
42507 cat conftest.err
>&5
42508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509 (exit $ac_status); } &&
42510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42512 (eval $ac_try) 2>&5
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); }; } &&
42516 { ac_try
='test -s conftest.$ac_objext'
42517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42518 (eval $ac_try) 2>&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; }; then
42522 wx_cv_func_gettimeofday_has_2_args
=no
42524 echo "$as_me: failed program was:" >&5
42525 sed 's/^/| /' conftest.
$ac_ext >&5
42528 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42529 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42530 wx_cv_func_gettimeofday_has_2_args
=unknown
42534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42540 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42541 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42543 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42544 cat >>confdefs.h
<<\_ACEOF
42545 #define WX_GETTIMEOFDAY_NO_TZ 1
42551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42555 if test "$wxUSE_SOCKETS" = "yes"; then
42556 if test "$wxUSE_MGL" = "1"; then
42557 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42558 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42563 if test "$wxUSE_SOCKETS" = "yes"; then
42564 if test "$TOOLKIT" != "MSW"; then
42565 echo "$as_me:$LINENO: checking for socket" >&5
42566 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42567 if test "${ac_cv_func_socket+set}" = set; then
42568 echo $ECHO_N "(cached) $ECHO_C" >&6
42570 cat >conftest.
$ac_ext <<_ACEOF
42573 cat confdefs.h
>>conftest.
$ac_ext
42574 cat >>conftest.
$ac_ext <<_ACEOF
42575 /* end confdefs.h. */
42576 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42578 #define socket innocuous_socket
42580 /* System header to define __stub macros and hopefully few prototypes,
42581 which can conflict with char socket (); below.
42582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42583 <limits.h> exists even on freestanding compilers. */
42586 # include <limits.h>
42588 # include <assert.h>
42593 /* Override any gcc2 internal prototype to avoid an error. */
42598 /* We use char because int might match the return type of a gcc2
42599 builtin and then its argument prototype would still apply. */
42601 /* The GNU C library defines this for functions which it implements
42602 to always fail with ENOSYS. Some functions are actually named
42603 something starting with __ and the normal name is an alias. */
42604 #if defined (__stub_socket) || defined (__stub___socket)
42607 char (*f) () = socket;
42616 return f != socket;
42621 rm -f conftest.
$ac_objext conftest
$ac_exeext
42622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42623 (eval $ac_link) 2>conftest.er1
42625 grep -v '^ *+' conftest.er1
>conftest.err
42627 cat conftest.err
>&5
42628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42629 (exit $ac_status); } &&
42630 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; } &&
42636 { ac_try
='test -s conftest$ac_exeext'
42637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42638 (eval $ac_try) 2>&5
42640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42641 (exit $ac_status); }; }; then
42642 ac_cv_func_socket
=yes
42644 echo "$as_me: failed program was:" >&5
42645 sed 's/^/| /' conftest.
$ac_ext >&5
42647 ac_cv_func_socket
=no
42649 rm -f conftest.err conftest.
$ac_objext \
42650 conftest
$ac_exeext conftest.
$ac_ext
42652 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42653 echo "${ECHO_T}$ac_cv_func_socket" >&6
42654 if test $ac_cv_func_socket = yes; then
42658 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42659 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42660 if test "${ac_cv_lib_socket_socket+set}" = set; then
42661 echo $ECHO_N "(cached) $ECHO_C" >&6
42663 ac_check_lib_save_LIBS
=$LIBS
42664 LIBS
="-lsocket $LIBS"
42665 cat >conftest.
$ac_ext <<_ACEOF
42668 cat confdefs.h
>>conftest.
$ac_ext
42669 cat >>conftest.
$ac_ext <<_ACEOF
42670 /* end confdefs.h. */
42672 /* Override any gcc2 internal prototype to avoid an error. */
42676 /* We use char because int might match the return type of a gcc2
42677 builtin and then its argument prototype would still apply. */
42687 rm -f conftest.
$ac_objext conftest
$ac_exeext
42688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42689 (eval $ac_link) 2>conftest.er1
42691 grep -v '^ *+' conftest.er1
>conftest.err
42693 cat conftest.err
>&5
42694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695 (exit $ac_status); } &&
42696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42698 (eval $ac_try) 2>&5
42700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42701 (exit $ac_status); }; } &&
42702 { ac_try
='test -s conftest$ac_exeext'
42703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42704 (eval $ac_try) 2>&5
42706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42707 (exit $ac_status); }; }; then
42708 ac_cv_lib_socket_socket
=yes
42710 echo "$as_me: failed program was:" >&5
42711 sed 's/^/| /' conftest.
$ac_ext >&5
42713 ac_cv_lib_socket_socket
=no
42715 rm -f conftest.err conftest.
$ac_objext \
42716 conftest
$ac_exeext conftest.
$ac_ext
42717 LIBS
=$ac_check_lib_save_LIBS
42719 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42720 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42721 if test $ac_cv_lib_socket_socket = yes; then
42722 if test "$INET_LINK" != " -lsocket"; then
42723 INET_LINK
="$INET_LINK -lsocket"
42727 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42728 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42741 if test "$wxUSE_SOCKETS" = "yes" ; then
42742 if test "$TOOLKIT" != "MSW"; then
42743 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42744 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42745 if test "${wx_cv_type_getsockname3+set}" = set; then
42746 echo $ECHO_N "(cached) $ECHO_C" >&6
42749 cat >conftest.
$ac_ext <<_ACEOF
42752 cat confdefs.h
>>conftest.
$ac_ext
42753 cat >>conftest.
$ac_ext <<_ACEOF
42754 /* end confdefs.h. */
42756 #include <sys/types.h>
42757 #include <sys/socket.h>
42764 getsockname(0, 0, &len);
42770 rm -f conftest.
$ac_objext
42771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42772 (eval $ac_compile) 2>conftest.er1
42774 grep -v '^ *+' conftest.er1
>conftest.err
42776 cat conftest.err
>&5
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); } &&
42779 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42781 (eval $ac_try) 2>&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); }; } &&
42785 { ac_try
='test -s conftest.$ac_objext'
42786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42787 (eval $ac_try) 2>&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); }; }; then
42791 wx_cv_type_getsockname3
=socklen_t
42793 echo "$as_me: failed program was:" >&5
42794 sed 's/^/| /' conftest.
$ac_ext >&5
42797 CXXFLAGS_OLD
="$CXXFLAGS"
42798 if test "$GCC" = yes ; then
42799 CXXFLAGS
="-Werror $CXXFLAGS"
42802 cat >conftest.
$ac_ext <<_ACEOF
42805 cat confdefs.h
>>conftest.
$ac_ext
42806 cat >>conftest.
$ac_ext <<_ACEOF
42807 /* end confdefs.h. */
42809 #include <sys/types.h>
42810 #include <sys/socket.h>
42817 getsockname(0, 0, &len);
42823 rm -f conftest.
$ac_objext
42824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42825 (eval $ac_compile) 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" || test ! -s conftest.err'
42833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42834 (eval $ac_try) 2>&5
42836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42837 (exit $ac_status); }; } &&
42838 { ac_try
='test -s conftest.$ac_objext'
42839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42840 (eval $ac_try) 2>&5
42842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42843 (exit $ac_status); }; }; then
42844 wx_cv_type_getsockname3
=size_t
42846 echo "$as_me: failed program was:" >&5
42847 sed 's/^/| /' conftest.
$ac_ext >&5
42849 cat >conftest.
$ac_ext <<_ACEOF
42852 cat confdefs.h
>>conftest.
$ac_ext
42853 cat >>conftest.
$ac_ext <<_ACEOF
42854 /* end confdefs.h. */
42856 #include <sys/types.h>
42857 #include <sys/socket.h>
42864 getsockname(0, 0, &len);
42870 rm -f conftest.
$ac_objext
42871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42872 (eval $ac_compile) 2>conftest.er1
42874 grep -v '^ *+' conftest.er1
>conftest.err
42876 cat conftest.err
>&5
42877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42878 (exit $ac_status); } &&
42879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42881 (eval $ac_try) 2>&5
42883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42884 (exit $ac_status); }; } &&
42885 { ac_try
='test -s conftest.$ac_objext'
42886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42887 (eval $ac_try) 2>&5
42889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42890 (exit $ac_status); }; }; then
42891 wx_cv_type_getsockname3
=int
42893 echo "$as_me: failed program was:" >&5
42894 sed 's/^/| /' conftest.
$ac_ext >&5
42896 wx_cv_type_getsockname3
=unknown
42899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42904 CXXFLAGS
="$CXXFLAGS_OLD"
42908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42911 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42912 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42914 if test "$wx_cv_type_getsockname3" = "unknown"; then
42916 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42917 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42919 cat >>confdefs.h
<<_ACEOF
42920 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42924 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42925 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42926 if test "${wx_cv_type_getsockopt5+set}" = set; then
42927 echo $ECHO_N "(cached) $ECHO_C" >&6
42930 cat >conftest.
$ac_ext <<_ACEOF
42933 cat confdefs.h
>>conftest.
$ac_ext
42934 cat >>conftest.
$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42937 #include <sys/types.h>
42938 #include <sys/socket.h>
42945 getsockopt(0, 0, 0, 0, &len);
42951 rm -f conftest.
$ac_objext
42952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42953 (eval $ac_compile) 2>conftest.er1
42955 grep -v '^ *+' conftest.er1
>conftest.err
42957 cat conftest.err
>&5
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); } &&
42960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42962 (eval $ac_try) 2>&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); }; } &&
42966 { ac_try
='test -s conftest.$ac_objext'
42967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42968 (eval $ac_try) 2>&5
42970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42971 (exit $ac_status); }; }; then
42972 wx_cv_type_getsockopt5
=socklen_t
42974 echo "$as_me: failed program was:" >&5
42975 sed 's/^/| /' conftest.
$ac_ext >&5
42978 CXXFLAGS_OLD
="$CXXFLAGS"
42979 if test "$GCC" = yes ; then
42980 CXXFLAGS
="-Werror $CXXFLAGS"
42983 cat >conftest.
$ac_ext <<_ACEOF
42986 cat confdefs.h
>>conftest.
$ac_ext
42987 cat >>conftest.
$ac_ext <<_ACEOF
42988 /* end confdefs.h. */
42990 #include <sys/types.h>
42991 #include <sys/socket.h>
42998 getsockopt(0, 0, 0, 0, &len);
43004 rm -f conftest.
$ac_objext
43005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43006 (eval $ac_compile) 2>conftest.er1
43008 grep -v '^ *+' conftest.er1
>conftest.err
43010 cat conftest.err
>&5
43011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43012 (exit $ac_status); } &&
43013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43015 (eval $ac_try) 2>&5
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); }; } &&
43019 { ac_try
='test -s conftest.$ac_objext'
43020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43021 (eval $ac_try) 2>&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); }; }; then
43025 wx_cv_type_getsockopt5
=size_t
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.
$ac_ext >&5
43030 cat >conftest.
$ac_ext <<_ACEOF
43033 cat confdefs.h
>>conftest.
$ac_ext
43034 cat >>conftest.
$ac_ext <<_ACEOF
43035 /* end confdefs.h. */
43037 #include <sys/types.h>
43038 #include <sys/socket.h>
43045 getsockopt(0, 0, 0, 0, &len);
43051 rm -f conftest.
$ac_objext
43052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43053 (eval $ac_compile) 2>conftest.er1
43055 grep -v '^ *+' conftest.er1
>conftest.err
43057 cat conftest.err
>&5
43058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43059 (exit $ac_status); } &&
43060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43062 (eval $ac_try) 2>&5
43064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43065 (exit $ac_status); }; } &&
43066 { ac_try
='test -s conftest.$ac_objext'
43067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43068 (eval $ac_try) 2>&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); }; }; then
43072 wx_cv_type_getsockopt5
=int
43074 echo "$as_me: failed program was:" >&5
43075 sed 's/^/| /' conftest.
$ac_ext >&5
43077 wx_cv_type_getsockopt5
=unknown
43080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43085 CXXFLAGS
="$CXXFLAGS_OLD"
43089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43092 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43093 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43095 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43097 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43098 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43100 cat >>confdefs.h
<<_ACEOF
43101 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43108 if test "$wxUSE_SOCKETS" = "yes" ; then
43109 cat >>confdefs.h
<<\_ACEOF
43110 #define wxUSE_SOCKETS 1
43113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43116 if test "$wxUSE_PROTOCOL" = "yes"; then
43117 if test "$wxUSE_SOCKETS" != "yes"; then
43118 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43119 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43124 if test "$wxUSE_PROTOCOL" = "yes"; then
43125 cat >>confdefs.h
<<\_ACEOF
43126 #define wxUSE_PROTOCOL 1
43130 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43131 cat >>confdefs.h
<<\_ACEOF
43132 #define wxUSE_PROTOCOL_HTTP 1
43136 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43137 cat >>confdefs.h
<<\_ACEOF
43138 #define wxUSE_PROTOCOL_FTP 1
43142 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43143 cat >>confdefs.h
<<\_ACEOF
43144 #define wxUSE_PROTOCOL_FILE 1
43149 if test "$wxUSE_FS_INET" = "yes"; then
43150 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43151 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43156 if test "$wxUSE_URL" = "yes"; then
43157 if test "$wxUSE_PROTOCOL" != "yes"; then
43158 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43159 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43162 if test "$wxUSE_URL" = "yes"; then
43163 cat >>confdefs.h
<<\_ACEOF
43164 #define wxUSE_URL 1
43170 if test "$wxUSE_FS_INET" = "yes"; then
43171 cat >>confdefs.h
<<\_ACEOF
43172 #define wxUSE_FS_INET 1
43178 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43181 if test "$TOOLKIT" = "MSW"; then
43184 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43185 if test "$USE_DARWIN" = 1; then
43186 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43187 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43188 cat >conftest.
$ac_ext <<_ACEOF
43191 cat confdefs.h
>>conftest.
$ac_ext
43192 cat >>conftest.
$ac_ext <<_ACEOF
43193 /* end confdefs.h. */
43194 #include <IOKit/hid/IOHIDLib.h>
43198 IOHIDQueueInterface *qi = NULL;
43199 IOHIDCallbackFunction cb = NULL;
43200 qi->setEventCallout(NULL, cb, NULL, NULL);
43205 rm -f conftest.
$ac_objext
43206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43207 (eval $ac_compile) 2>conftest.er1
43209 grep -v '^ *+' conftest.er1
>conftest.err
43211 cat conftest.err
>&5
43212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43213 (exit $ac_status); } &&
43214 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43216 (eval $ac_try) 2>&5
43218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43219 (exit $ac_status); }; } &&
43220 { ac_try
='test -s conftest.$ac_objext'
43221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43222 (eval $ac_try) 2>&5
43224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43225 (exit $ac_status); }; }; then
43229 echo "$as_me: failed program was:" >&5
43230 sed 's/^/| /' conftest.
$ac_ext >&5
43233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43234 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43235 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43240 for ac_header
in linux
/joystick.h
43242 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43244 echo "$as_me:$LINENO: checking for $ac_header" >&5
43245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43247 echo $ECHO_N "(cached) $ECHO_C" >&6
43249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43252 # Is the header compilable?
43253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43255 cat >conftest.
$ac_ext <<_ACEOF
43258 cat confdefs.h
>>conftest.
$ac_ext
43259 cat >>conftest.
$ac_ext <<_ACEOF
43260 /* end confdefs.h. */
43261 $ac_includes_default
43262 #include <$ac_header>
43264 rm -f conftest.
$ac_objext
43265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43266 (eval $ac_compile) 2>conftest.er1
43268 grep -v '^ *+' conftest.er1
>conftest.err
43270 cat conftest.err
>&5
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); } &&
43273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275 (eval $ac_try) 2>&5
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; } &&
43279 { ac_try
='test -s conftest.$ac_objext'
43280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43281 (eval $ac_try) 2>&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); }; }; then
43285 ac_header_compiler
=yes
43287 echo "$as_me: failed program was:" >&5
43288 sed 's/^/| /' conftest.
$ac_ext >&5
43290 ac_header_compiler
=no
43292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43294 echo "${ECHO_T}$ac_header_compiler" >&6
43296 # Is the header present?
43297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43299 cat >conftest.
$ac_ext <<_ACEOF
43302 cat confdefs.h
>>conftest.
$ac_ext
43303 cat >>conftest.
$ac_ext <<_ACEOF
43304 /* end confdefs.h. */
43305 #include <$ac_header>
43307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43310 grep -v '^ *+' conftest.er1
>conftest.err
43312 cat conftest.err
>&5
43313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43314 (exit $ac_status); } >/dev
/null
; then
43315 if test -s conftest.err
; then
43316 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43317 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43324 if test -z "$ac_cpp_err"; then
43325 ac_header_preproc
=yes
43327 echo "$as_me: failed program was:" >&5
43328 sed 's/^/| /' conftest.
$ac_ext >&5
43330 ac_header_preproc
=no
43332 rm -f conftest.err conftest.
$ac_ext
43333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43334 echo "${ECHO_T}$ac_header_preproc" >&6
43336 # So? What about this header?
43337 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43339 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43342 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43343 ac_header_preproc
=yes
43346 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43347 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43348 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43349 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43350 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43351 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43352 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43353 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43356 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43357 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43360 ## ----------------------------------------- ##
43361 ## Report this to wx-dev@lists.wxwidgets.org ##
43362 ## ----------------------------------------- ##
43365 sed "s/^/$as_me: WARNING: /" >&2
43368 echo "$as_me:$LINENO: checking for $ac_header" >&5
43369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43371 echo $ECHO_N "(cached) $ECHO_C" >&6
43373 eval "$as_ac_Header=\$ac_header_preproc"
43375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43380 cat >>confdefs.h
<<_ACEOF
43381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43390 if test "$wxUSE_JOYSTICK" = "yes"; then
43391 cat >>confdefs.h
<<\_ACEOF
43392 #define wxUSE_JOYSTICK 1
43395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43397 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43398 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43404 if test "$wxUSE_FONTMAP" = "yes" ; then
43405 cat >>confdefs.h
<<\_ACEOF
43406 #define wxUSE_FONTMAP 1
43411 if test "$wxUSE_UNICODE" = "yes" ; then
43412 cat >>confdefs.h
<<\_ACEOF
43413 #define wxUSE_UNICODE 1
43417 if test "$USE_WIN32" != 1; then
43418 wxUSE_UNICODE_MSLU
=no
43421 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43422 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43423 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43424 if test "${ac_cv_lib_unicows_main+set}" = set; then
43425 echo $ECHO_N "(cached) $ECHO_C" >&6
43427 ac_check_lib_save_LIBS
=$LIBS
43428 LIBS
="-lunicows $LIBS"
43429 cat >conftest.
$ac_ext <<_ACEOF
43432 cat confdefs.h
>>conftest.
$ac_ext
43433 cat >>conftest.
$ac_ext <<_ACEOF
43434 /* end confdefs.h. */
43445 rm -f conftest.
$ac_objext conftest
$ac_exeext
43446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43447 (eval $ac_link) 2>conftest.er1
43449 grep -v '^ *+' conftest.er1
>conftest.err
43451 cat conftest.err
>&5
43452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43453 (exit $ac_status); } &&
43454 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43456 (eval $ac_try) 2>&5
43458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43459 (exit $ac_status); }; } &&
43460 { ac_try
='test -s conftest$ac_exeext'
43461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43462 (eval $ac_try) 2>&5
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); }; }; then
43466 ac_cv_lib_unicows_main
=yes
43468 echo "$as_me: failed program was:" >&5
43469 sed 's/^/| /' conftest.
$ac_ext >&5
43471 ac_cv_lib_unicows_main
=no
43473 rm -f conftest.err conftest.
$ac_objext \
43474 conftest
$ac_exeext conftest.
$ac_ext
43475 LIBS
=$ac_check_lib_save_LIBS
43477 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43478 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43479 if test $ac_cv_lib_unicows_main = yes; then
43481 cat >>confdefs.h
<<\_ACEOF
43482 #define wxUSE_UNICODE_MSLU 1
43488 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43489 Applications will only run on Windows NT/2000/XP!" >&5
43490 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43491 Applications will only run on Windows NT/2000/XP!" >&2;}
43492 wxUSE_UNICODE_MSLU
=no
43499 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43500 cat >>confdefs.h
<<\_ACEOF
43501 #define wxUSE_EXPERIMENTAL_PRINTF 1
43507 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43508 cat >>confdefs.h
<<\_ACEOF
43509 #define wxUSE_POSTSCRIPT 1
43514 cat >>confdefs.h
<<\_ACEOF
43515 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43519 cat >>confdefs.h
<<\_ACEOF
43520 #define wxUSE_NORMALIZED_PS_FONTS 1
43525 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43526 cat >>confdefs.h
<<\_ACEOF
43527 #define wxUSE_CONSTRAINTS 1
43530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43533 if test "$wxUSE_MDI" = "yes"; then
43534 cat >>confdefs.h
<<\_ACEOF
43535 #define wxUSE_MDI 1
43539 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43540 cat >>confdefs.h
<<\_ACEOF
43541 #define wxUSE_MDI_ARCHITECTURE 1
43544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43548 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43549 cat >>confdefs.h
<<\_ACEOF
43550 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43554 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43559 if test "$wxUSE_HELP" = "yes"; then
43560 cat >>confdefs.h
<<\_ACEOF
43561 #define wxUSE_HELP 1
43564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43566 if test "$wxUSE_MSW" = 1; then
43567 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43568 cat >>confdefs.h
<<\_ACEOF
43569 #define wxUSE_MS_HTML_HELP 1
43575 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43576 if test "$wxUSE_HTML" = "yes"; then
43577 cat >>confdefs.h
<<\_ACEOF
43578 #define wxUSE_WXHTML_HELP 1
43582 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43583 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43584 wxUSE_WXHTML_HELP
=no
43589 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43590 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43591 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43592 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43594 cat >>confdefs.h
<<\_ACEOF
43595 #define wxUSE_PRINTING_ARCHITECTURE 1
43599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43602 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43603 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43604 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43605 { (exit 1); exit 1; }; }
43609 if test "$wxUSE_METAFILE" = "yes"; then
43610 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43611 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43612 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43618 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43619 -o "$wxUSE_CLIPBOARD" = "yes" \
43620 -o "$wxUSE_OLE" = "yes" \
43621 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43623 for ac_header
in ole2.h
43625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43627 echo "$as_me:$LINENO: checking for $ac_header" >&5
43628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43630 echo $ECHO_N "(cached) $ECHO_C" >&6
43632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43635 # Is the header compilable?
43636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43637 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
43645 #include <$ac_header>
43647 rm -f conftest.
$ac_objext
43648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43649 (eval $ac_compile) 2>conftest.er1
43651 grep -v '^ *+' conftest.er1
>conftest.err
43653 cat conftest.err
>&5
43654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655 (exit $ac_status); } &&
43656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43658 (eval $ac_try) 2>&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); }; } &&
43662 { ac_try
='test -s conftest.$ac_objext'
43663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664 (eval $ac_try) 2>&5
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); }; }; then
43668 ac_header_compiler
=yes
43670 echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.
$ac_ext >&5
43673 ac_header_compiler
=no
43675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43677 echo "${ECHO_T}$ac_header_compiler" >&6
43679 # Is the header present?
43680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43682 cat >conftest.
$ac_ext <<_ACEOF
43685 cat confdefs.h
>>conftest.
$ac_ext
43686 cat >>conftest.
$ac_ext <<_ACEOF
43687 /* end confdefs.h. */
43688 #include <$ac_header>
43690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43691 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43693 grep -v '^ *+' conftest.er1
>conftest.err
43695 cat conftest.err
>&5
43696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43697 (exit $ac_status); } >/dev
/null
; then
43698 if test -s conftest.err
; then
43699 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43700 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43707 if test -z "$ac_cpp_err"; then
43708 ac_header_preproc
=yes
43710 echo "$as_me: failed program was:" >&5
43711 sed 's/^/| /' conftest.
$ac_ext >&5
43713 ac_header_preproc
=no
43715 rm -f conftest.err conftest.
$ac_ext
43716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43717 echo "${ECHO_T}$ac_header_preproc" >&6
43719 # So? What about this header?
43720 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43726 ac_header_preproc
=yes
43729 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43731 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43732 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43733 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43735 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43736 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43739 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43743 ## ----------------------------------------- ##
43744 ## Report this to wx-dev@lists.wxwidgets.org ##
43745 ## ----------------------------------------- ##
43748 sed "s/^/$as_me: WARNING: /" >&2
43751 echo "$as_me:$LINENO: checking for $ac_header" >&5
43752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43754 echo $ECHO_N "(cached) $ECHO_C" >&6
43756 eval "$as_ac_Header=\$ac_header_preproc"
43758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43763 cat >>confdefs.h
<<_ACEOF
43764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43772 if test "$ac_cv_header_ole2_h" = "yes" ; then
43773 if test "$GCC" = yes ; then
43774 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43775 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43776 cat >conftest.
$ac_ext <<_ACEOF
43779 cat confdefs.h
>>conftest.
$ac_ext
43780 cat >>conftest.
$ac_ext <<_ACEOF
43781 /* end confdefs.h. */
43782 #include <windows.h>
43792 rm -f conftest.
$ac_objext
43793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43794 (eval $ac_compile) 2>conftest.er1
43796 grep -v '^ *+' conftest.er1
>conftest.err
43798 cat conftest.err
>&5
43799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43800 (exit $ac_status); } &&
43801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43803 (eval $ac_try) 2>&5
43805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43806 (exit $ac_status); }; } &&
43807 { ac_try
='test -s conftest.$ac_objext'
43808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43809 (eval $ac_try) 2>&5
43811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43812 (exit $ac_status); }; }; then
43813 echo "$as_me:$LINENO: result: no" >&5
43814 echo "${ECHO_T}no" >&6
43816 echo "$as_me: failed program was:" >&5
43817 sed 's/^/| /' conftest.
$ac_ext >&5
43819 echo "$as_me:$LINENO: result: yes" >&5
43820 echo "${ECHO_T}yes" >&6
43821 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43824 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43825 if test "$wxUSE_OLE" = "yes" ; then
43826 cat >>confdefs.h
<<\_ACEOF
43827 #define wxUSE_OLE 1
43830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43834 if test "$wxUSE_DATAOBJ" = "yes" ; then
43835 cat >>confdefs.h
<<\_ACEOF
43836 #define wxUSE_DATAOBJ 1
43841 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43842 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43845 wxUSE_DRAG_AND_DROP
=no
43850 if test "$wxUSE_METAFILE" = "yes"; then
43851 cat >>confdefs.h
<<\_ACEOF
43852 #define wxUSE_METAFILE 1
43856 cat >>confdefs.h
<<\_ACEOF
43857 #define wxUSE_ENH_METAFILE 1
43863 if test "$wxUSE_IPC" = "yes"; then
43864 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43865 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43866 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43870 if test "$wxUSE_IPC" = "yes"; then
43871 cat >>confdefs.h
<<\_ACEOF
43872 #define wxUSE_IPC 1
43875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43879 if test "$wxUSE_DATAOBJ" = "yes"; then
43880 if test "$wxUSE_MGL" = 1; then
43881 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43882 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43885 cat >>confdefs.h
<<\_ACEOF
43886 #define wxUSE_DATAOBJ 1
43891 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43892 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43894 wxUSE_DRAG_AND_DROP
=no
43897 if test "$wxUSE_CLIPBOARD" = "yes"; then
43898 if test "$wxUSE_MGL" = 1; then
43899 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43900 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43904 if test "$wxUSE_CLIPBOARD" = "yes"; then
43905 cat >>confdefs.h
<<\_ACEOF
43906 #define wxUSE_CLIPBOARD 1
43912 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43913 if test "$wxUSE_GTK" = 1; then
43914 if test "$WXGTK12" != 1; then
43915 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43916 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43917 wxUSE_DRAG_AND_DROP
=no
43921 if test "$wxUSE_MOTIF" = 1; then
43922 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43923 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43924 wxUSE_DRAG_AND_DROP
=no
43927 if test "$wxUSE_X11" = 1; then
43928 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43929 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43930 wxUSE_DRAG_AND_DROP
=no
43933 if test "$wxUSE_MGL" = 1; then
43934 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43935 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43936 wxUSE_DRAG_AND_DROP
=no
43939 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43940 cat >>confdefs.h
<<\_ACEOF
43941 #define wxUSE_DRAG_AND_DROP 1
43948 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43952 if test "$wxUSE_SPLINES" = "yes" ; then
43953 cat >>confdefs.h
<<\_ACEOF
43954 #define wxUSE_SPLINES 1
43959 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43960 cat >>confdefs.h
<<\_ACEOF
43961 #define wxUSE_MOUSEWHEEL 1
43968 if test "$wxUSE_CONTROLS" = "yes"; then
43972 if test "$wxUSE_ACCEL" = "yes"; then
43973 cat >>confdefs.h
<<\_ACEOF
43974 #define wxUSE_ACCEL 1
43980 if test "$wxUSE_BUTTON" = "yes"; then
43981 cat >>confdefs.h
<<\_ACEOF
43982 #define wxUSE_BUTTON 1
43988 if test "$wxUSE_BMPBUTTON" = "yes"; then
43989 cat >>confdefs.h
<<\_ACEOF
43990 #define wxUSE_BMPBUTTON 1
43996 if test "$wxUSE_CALCTRL" = "yes"; then
43997 cat >>confdefs.h
<<\_ACEOF
43998 #define wxUSE_CALENDARCTRL 1
44002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44005 if test "$wxUSE_CARET" = "yes"; then
44006 cat >>confdefs.h
<<\_ACEOF
44007 #define wxUSE_CARET 1
44011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44014 if test "$wxUSE_COMBOBOX" = "yes"; then
44015 cat >>confdefs.h
<<\_ACEOF
44016 #define wxUSE_COMBOBOX 1
44022 if test "$wxUSE_COMBOCTRL" = "yes"; then
44023 cat >>confdefs.h
<<\_ACEOF
44024 #define wxUSE_COMBOCTRL 1
44030 if test "$wxUSE_CHOICE" = "yes"; then
44031 cat >>confdefs.h
<<\_ACEOF
44032 #define wxUSE_CHOICE 1
44038 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44039 cat >>confdefs.h
<<\_ACEOF
44040 #define wxUSE_CHOICEBOOK 1
44046 if test "$wxUSE_CHECKBOX" = "yes"; then
44047 cat >>confdefs.h
<<\_ACEOF
44048 #define wxUSE_CHECKBOX 1
44054 if test "$wxUSE_CHECKLST" = "yes"; then
44055 cat >>confdefs.h
<<\_ACEOF
44056 #define wxUSE_CHECKLISTBOX 1
44060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44063 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44064 cat >>confdefs.h
<<\_ACEOF
44065 #define wxUSE_COLOURPICKERCTRL 1
44071 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44072 cat >>confdefs.h
<<\_ACEOF
44073 #define wxUSE_DATEPICKCTRL 1
44079 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44080 cat >>confdefs.h
<<\_ACEOF
44081 #define wxUSE_DIRPICKERCTRL 1
44087 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44088 cat >>confdefs.h
<<\_ACEOF
44089 #define wxUSE_FILEPICKERCTRL 1
44095 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44096 cat >>confdefs.h
<<\_ACEOF
44097 #define wxUSE_FONTPICKERCTRL 1
44103 if test "$wxUSE_DISPLAY" = "yes"; then
44104 cat >>confdefs.h
<<\_ACEOF
44105 #define wxUSE_DISPLAY 1
44108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44111 if test "$wxUSE_GAUGE" = "yes"; then
44112 cat >>confdefs.h
<<\_ACEOF
44113 #define wxUSE_GAUGE 1
44119 if test "$wxUSE_GRID" = "yes"; then
44120 cat >>confdefs.h
<<\_ACEOF
44121 #define wxUSE_GRID 1
44125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44128 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44129 cat >>confdefs.h
<<\_ACEOF
44130 #define wxUSE_HYPERLINKCTRL 1
44136 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44137 cat >>confdefs.h
<<\_ACEOF
44138 #define wxUSE_DATAVIEWCTRL 1
44142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44145 if test "$wxUSE_IMAGLIST" = "yes"; then
44146 cat >>confdefs.h
<<\_ACEOF
44147 #define wxUSE_IMAGLIST 1
44152 if test "$wxUSE_LISTBOOK" = "yes"; then
44153 cat >>confdefs.h
<<\_ACEOF
44154 #define wxUSE_LISTBOOK 1
44160 if test "$wxUSE_LISTBOX" = "yes"; then
44161 cat >>confdefs.h
<<\_ACEOF
44162 #define wxUSE_LISTBOX 1
44166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44169 if test "$wxUSE_LISTCTRL" = "yes"; then
44170 if test "$wxUSE_IMAGLIST" = "yes"; then
44171 cat >>confdefs.h
<<\_ACEOF
44172 #define wxUSE_LISTCTRL 1
44176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44178 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44179 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44183 if test "$wxUSE_NOTEBOOK" = "yes"; then
44184 cat >>confdefs.h
<<\_ACEOF
44185 #define wxUSE_NOTEBOOK 1
44189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44192 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44193 cat >>confdefs.h
<<\_ACEOF
44194 #define wxUSE_ODCOMBOBOX 1
44198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44202 if test "$wxUSE_RADIOBOX" = "yes"; then
44203 cat >>confdefs.h
<<\_ACEOF
44204 #define wxUSE_RADIOBOX 1
44210 if test "$wxUSE_RADIOBTN" = "yes"; then
44211 cat >>confdefs.h
<<\_ACEOF
44212 #define wxUSE_RADIOBTN 1
44218 if test "$wxUSE_SASH" = "yes"; then
44219 cat >>confdefs.h
<<\_ACEOF
44220 #define wxUSE_SASH 1
44223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44226 if test "$wxUSE_SCROLLBAR" = "yes"; then
44227 cat >>confdefs.h
<<\_ACEOF
44228 #define wxUSE_SCROLLBAR 1
44232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44235 if test "$wxUSE_SLIDER" = "yes"; then
44236 cat >>confdefs.h
<<\_ACEOF
44237 #define wxUSE_SLIDER 1
44243 if test "$wxUSE_SPINBTN" = "yes"; then
44244 cat >>confdefs.h
<<\_ACEOF
44245 #define wxUSE_SPINBTN 1
44251 if test "$wxUSE_SPINCTRL" = "yes"; then
44252 cat >>confdefs.h
<<\_ACEOF
44253 #define wxUSE_SPINCTRL 1
44259 if test "$wxUSE_SPLITTER" = "yes"; then
44260 cat >>confdefs.h
<<\_ACEOF
44261 #define wxUSE_SPLITTER 1
44264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44267 if test "$wxUSE_STATBMP" = "yes"; then
44268 cat >>confdefs.h
<<\_ACEOF
44269 #define wxUSE_STATBMP 1
44275 if test "$wxUSE_STATBOX" = "yes"; then
44276 cat >>confdefs.h
<<\_ACEOF
44277 #define wxUSE_STATBOX 1
44283 if test "$wxUSE_STATTEXT" = "yes"; then
44284 cat >>confdefs.h
<<\_ACEOF
44285 #define wxUSE_STATTEXT 1
44291 if test "$wxUSE_STATLINE" = "yes"; then
44292 cat >>confdefs.h
<<\_ACEOF
44293 #define wxUSE_STATLINE 1
44299 if test "$wxUSE_STATUSBAR" = "yes"; then
44300 cat >>confdefs.h
<<\_ACEOF
44301 #define wxUSE_NATIVE_STATUSBAR 1
44304 cat >>confdefs.h
<<\_ACEOF
44305 #define wxUSE_STATUSBAR 1
44310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44313 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44314 cat >>confdefs.h
<<\_ACEOF
44315 #define wxUSE_TAB_DIALOG 1
44320 if test "$wxUSE_TEXTCTRL" = "yes"; then
44321 cat >>confdefs.h
<<\_ACEOF
44322 #define wxUSE_TEXTCTRL 1
44326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44329 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44330 if test "$wxUSE_COCOA" = 1 ; then
44331 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44332 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44336 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44337 cat >>confdefs.h
<<\_ACEOF
44338 #define wxUSE_TOGGLEBTN 1
44345 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44346 cat >>confdefs.h
<<\_ACEOF
44347 #define wxUSE_TOOLBAR_SIMPLE 1
44350 wxUSE_TOOLBAR
="yes"
44354 if test "$wxUSE_TOOLBAR" = "yes"; then
44355 cat >>confdefs.h
<<\_ACEOF
44356 #define wxUSE_TOOLBAR 1
44361 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44362 wxUSE_TOOLBAR_NATIVE
="yes"
44365 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44366 cat >>confdefs.h
<<\_ACEOF
44367 #define wxUSE_TOOLBAR_NATIVE 1
44373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44376 if test "$wxUSE_TOOLTIPS" = "yes"; then
44377 if test "$wxUSE_MOTIF" = 1; then
44378 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44379 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44381 if test "$wxUSE_UNIVERSAL" = "yes"; then
44382 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44383 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44385 cat >>confdefs.h
<<\_ACEOF
44386 #define wxUSE_TOOLTIPS 1
44393 if test "$wxUSE_TREEBOOK" = "yes"; then
44394 cat >>confdefs.h
<<\_ACEOF
44395 #define wxUSE_TREEBOOK 1
44401 if test "$wxUSE_TOOLBOOK" = "yes"; then
44402 cat >>confdefs.h
<<\_ACEOF
44403 #define wxUSE_TOOLBOOK 1
44409 if test "$wxUSE_TREECTRL" = "yes"; then
44410 if test "$wxUSE_IMAGLIST" = "yes"; then
44411 cat >>confdefs.h
<<\_ACEOF
44412 #define wxUSE_TREECTRL 1
44416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44418 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44419 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44423 if test "$wxUSE_POPUPWIN" = "yes"; then
44424 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44425 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44426 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44428 if test "$wxUSE_PM" = 1; then
44429 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44430 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44432 cat >>confdefs.h
<<\_ACEOF
44433 #define wxUSE_POPUPWIN 1
44436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44443 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44444 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44445 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44446 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44448 cat >>confdefs.h
<<\_ACEOF
44449 #define wxUSE_DIALUP_MANAGER 1
44452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44456 if test "$wxUSE_TIPWINDOW" = "yes"; then
44457 if test "$wxUSE_PM" = 1; then
44458 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44459 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44461 cat >>confdefs.h
<<\_ACEOF
44462 #define wxUSE_TIPWINDOW 1
44468 if test "$USES_CONTROLS" = 1; then
44469 cat >>confdefs.h
<<\_ACEOF
44470 #define wxUSE_CONTROLS 1
44476 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44477 cat >>confdefs.h
<<\_ACEOF
44478 #define wxUSE_ACCESSIBILITY 1
44481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44484 if test "$wxUSE_DC_CACHEING" = "yes"; then
44485 cat >>confdefs.h
<<\_ACEOF
44486 #define wxUSE_DC_CACHEING 1
44491 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44492 cat >>confdefs.h
<<\_ACEOF
44493 #define wxUSE_DRAGIMAGE 1
44496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44499 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44500 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44501 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44502 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44504 cat >>confdefs.h
<<\_ACEOF
44505 #define wxUSE_EXCEPTIONS 1
44508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44513 if test "$wxUSE_HTML" = "yes"; then
44514 cat >>confdefs.h
<<\_ACEOF
44515 #define wxUSE_HTML 1
44519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44520 if test "$wxUSE_MAC" = 1; then
44521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44524 if test "$wxUSE_WEBKIT" = "yes"; then
44525 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44526 old_CPPFLAGS
="$CPPFLAGS"
44527 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44528 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44529 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44530 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44531 echo $ECHO_N "(cached) $ECHO_C" >&6
44533 cat >conftest.
$ac_ext <<_ACEOF
44536 cat confdefs.h
>>conftest.
$ac_ext
44537 cat >>conftest.
$ac_ext <<_ACEOF
44538 /* end confdefs.h. */
44539 #include <Carbon/Carbon.h>
44541 #include <WebKit/HIWebView.h>
44543 rm -f conftest.
$ac_objext
44544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44545 (eval $ac_compile) 2>conftest.er1
44547 grep -v '^ *+' conftest.er1
>conftest.err
44549 cat conftest.err
>&5
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); } &&
44552 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44554 (eval $ac_try) 2>&5
44556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44557 (exit $ac_status); }; } &&
44558 { ac_try
='test -s conftest.$ac_objext'
44559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44560 (eval $ac_try) 2>&5
44562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44563 (exit $ac_status); }; }; then
44564 ac_cv_header_WebKit_HIWebView_h
=yes
44566 echo "$as_me: failed program was:" >&5
44567 sed 's/^/| /' conftest.
$ac_ext >&5
44569 ac_cv_header_WebKit_HIWebView_h
=no
44571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44573 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44574 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44575 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44577 cat >>confdefs.h
<<\_ACEOF
44578 #define wxUSE_WEBKIT 1
44581 WEBKIT_LINK
="-framework WebKit"
44585 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44586 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44592 CPPFLAGS
="$old_CPPFLAGS"
44593 elif test "$wxUSE_COCOA" = 1; then
44594 cat >>confdefs.h
<<\_ACEOF
44595 #define wxUSE_WEBKIT 1
44604 if test "$wxUSE_XRC" = "yes"; then
44605 if test "$wxUSE_XML" != "yes"; then
44606 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44607 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44610 cat >>confdefs.h
<<\_ACEOF
44611 #define wxUSE_XRC 1
44615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44619 if test "$wxUSE_MENUS" = "yes"; then
44620 cat >>confdefs.h
<<\_ACEOF
44621 #define wxUSE_MENUS 1
44624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44627 if test "$wxUSE_METAFILE" = "yes"; then
44628 cat >>confdefs.h
<<\_ACEOF
44629 #define wxUSE_METAFILE 1
44634 if test "$wxUSE_MIMETYPE" = "yes"; then
44635 cat >>confdefs.h
<<\_ACEOF
44636 #define wxUSE_MIMETYPE 1
44641 if test "$wxUSE_MINIFRAME" = "yes"; then
44642 cat >>confdefs.h
<<\_ACEOF
44643 #define wxUSE_MINIFRAME 1
44646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44649 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44650 cat >>confdefs.h
<<\_ACEOF
44651 #define wxUSE_SYSTEM_OPTIONS 1
44654 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44655 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44661 if test "$wxUSE_VALIDATORS" = "yes"; then
44662 cat >>confdefs.h
<<\_ACEOF
44663 #define wxUSE_VALIDATORS 1
44666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44669 if test "$wxUSE_PALETTE" = "yes" ; then
44670 cat >>confdefs.h
<<\_ACEOF
44671 #define wxUSE_PALETTE 1
44676 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44677 LIBS
=" -lunicows $LIBS"
44681 if test "$wxUSE_RICHTEXT" = "yes"; then
44682 cat >>confdefs.h
<<\_ACEOF
44683 #define wxUSE_RICHTEXT 1
44687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44691 if test "$wxUSE_IMAGE" = "yes" ; then
44692 cat >>confdefs.h
<<\_ACEOF
44693 #define wxUSE_IMAGE 1
44697 if test "$wxUSE_GIF" = "yes" ; then
44698 cat >>confdefs.h
<<\_ACEOF
44699 #define wxUSE_GIF 1
44704 if test "$wxUSE_PCX" = "yes" ; then
44705 cat >>confdefs.h
<<\_ACEOF
44706 #define wxUSE_PCX 1
44711 if test "$wxUSE_IFF" = "yes" ; then
44712 cat >>confdefs.h
<<\_ACEOF
44713 #define wxUSE_IFF 1
44718 if test "$wxUSE_PNM" = "yes" ; then
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_PNM 1
44725 if test "$wxUSE_XPM" = "yes" ; then
44726 cat >>confdefs.h
<<\_ACEOF
44727 #define wxUSE_XPM 1
44732 if test "$wxUSE_ICO_CUR" = "yes" ; then
44733 cat >>confdefs.h
<<\_ACEOF
44734 #define wxUSE_ICO_CUR 1
44741 if test "$wxUSE_CHOICEDLG" = "yes"; then
44742 cat >>confdefs.h
<<\_ACEOF
44743 #define wxUSE_CHOICEDLG 1
44748 if test "$wxUSE_COLOURDLG" = "yes"; then
44749 cat >>confdefs.h
<<\_ACEOF
44750 #define wxUSE_COLOURDLG 1
44755 if test "$wxUSE_FILEDLG" = "yes"; then
44756 cat >>confdefs.h
<<\_ACEOF
44757 #define wxUSE_FILEDLG 1
44762 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44763 cat >>confdefs.h
<<\_ACEOF
44764 #define wxUSE_FINDREPLDLG 1
44769 if test "$wxUSE_FONTDLG" = "yes"; then
44770 cat >>confdefs.h
<<\_ACEOF
44771 #define wxUSE_FONTDLG 1
44776 if test "$wxUSE_DIRDLG" = "yes"; then
44777 if test "$wxUSE_TREECTRL" != "yes"; then
44778 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44779 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44781 cat >>confdefs.h
<<\_ACEOF
44782 #define wxUSE_DIRDLG 1
44788 if test "$wxUSE_MSGDLG" = "yes"; then
44789 cat >>confdefs.h
<<\_ACEOF
44790 #define wxUSE_MSGDLG 1
44795 if test "$wxUSE_NUMBERDLG" = "yes"; then
44796 cat >>confdefs.h
<<\_ACEOF
44797 #define wxUSE_NUMBERDLG 1
44802 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44803 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44804 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44805 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44807 cat >>confdefs.h
<<\_ACEOF
44808 #define wxUSE_PROGRESSDLG 1
44814 if test "$wxUSE_SPLASH" = "yes"; then
44815 cat >>confdefs.h
<<\_ACEOF
44816 #define wxUSE_SPLASH 1
44819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44822 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44823 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44824 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44825 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44827 cat >>confdefs.h
<<\_ACEOF
44828 #define wxUSE_STARTUP_TIPS 1
44834 if test "$wxUSE_TEXTDLG" = "yes"; then
44835 cat >>confdefs.h
<<\_ACEOF
44836 #define wxUSE_TEXTDLG 1
44841 if test "$wxUSE_WIZARDDLG" = "yes"; then
44842 cat >>confdefs.h
<<\_ACEOF
44843 #define wxUSE_WIZARDDLG 1
44846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44852 if test "$wxUSE_MEDIACTRL" = "yes"; then
44853 if test "$wxUSE_GTK" = 1; then
44854 wxUSE_GSTREAMER
="yes"
44856 GST_VERSION_MAJOR
=0
44857 GST_VERSION_MINOR
=10
44858 GST_VERSION_RELEASE
=0
44859 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44860 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44862 if test "$wxUSE_GSTREAMER8" = "no"; then
44866 if test -z "$PKG_CONFIG"; then
44867 # Extract the first word of "pkg-config", so it can be a program name with args.
44868 set dummy pkg
-config; ac_word
=$2
44869 echo "$as_me:$LINENO: checking for $ac_word" >&5
44870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44871 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44872 echo $ECHO_N "(cached) $ECHO_C" >&6
44874 case $PKG_CONFIG in
44876 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44880 for as_dir
in $PATH
44883 test -z "$as_dir" && as_dir
=.
44884 for ac_exec_ext
in '' $ac_executable_extensions; do
44885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44886 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44893 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44897 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44899 if test -n "$PKG_CONFIG"; then
44900 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44901 echo "${ECHO_T}$PKG_CONFIG" >&6
44903 echo "$as_me:$LINENO: result: no" >&5
44904 echo "${ECHO_T}no" >&6
44909 if test "$PKG_CONFIG" = "no" ; then
44910 echo "*** The pkg-config script could not be found. Make sure it is"
44911 echo "*** in your path, or set the PKG_CONFIG environment variable"
44912 echo "*** to the full path to pkg-config."
44913 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44915 PKG_CONFIG_MIN_VERSION
=0.9.0
44916 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44917 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44918 gstreamer-plugins-base-$GST_MAJORMINOR
44920 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44921 gstreamer-plugins-base-$GST_MAJORMINOR
44922 gconf-2.0... $ECHO_C" >&6
44924 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44925 gstreamer-plugins-base-$GST_MAJORMINOR
44927 echo "$as_me:$LINENO: result: yes" >&5
44928 echo "${ECHO_T}yes" >&6
44931 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44932 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44933 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44934 gstreamer-plugins-base-$GST_MAJORMINOR
44936 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44937 echo "${ECHO_T}$GST_CFLAGS" >&6
44939 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44940 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44941 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44942 gstreamer-plugins-base-$GST_MAJORMINOR
44944 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44945 echo "${ECHO_T}$GST_LIBS" >&6
44949 ## If we have a custom action on failure, don't print errors, but
44950 ## do set a variable so people can do so.
44951 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44952 gstreamer-plugins-base-$GST_MAJORMINOR
44960 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44961 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44965 if test $succeeded = yes; then
44967 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44968 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44972 GST_VERSION_MINOR
=8
44977 GST_VERSION_MINOR
=8
44980 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44981 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44983 if test x
$GST_VERSION_MINOR = x8
; then
44987 if test -z "$PKG_CONFIG"; then
44988 # Extract the first word of "pkg-config", so it can be a program name with args.
44989 set dummy pkg
-config; ac_word
=$2
44990 echo "$as_me:$LINENO: checking for $ac_word" >&5
44991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44992 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44993 echo $ECHO_N "(cached) $ECHO_C" >&6
44995 case $PKG_CONFIG in
44997 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45001 for as_dir
in $PATH
45004 test -z "$as_dir" && as_dir
=.
45005 for ac_exec_ext
in '' $ac_executable_extensions; do
45006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45007 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45014 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
45018 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45020 if test -n "$PKG_CONFIG"; then
45021 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45022 echo "${ECHO_T}$PKG_CONFIG" >&6
45024 echo "$as_me:$LINENO: result: no" >&5
45025 echo "${ECHO_T}no" >&6
45030 if test "$PKG_CONFIG" = "no" ; then
45031 echo "*** The pkg-config script could not be found. Make sure it is"
45032 echo "*** in your path, or set the PKG_CONFIG environment variable"
45033 echo "*** to the full path to pkg-config."
45034 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45036 PKG_CONFIG_MIN_VERSION
=0.9.0
45037 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45038 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
45039 gstreamer-interfaces-$GST_MAJORMINOR
45040 gstreamer-gconf-$GST_MAJORMINOR" >&5
45041 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
45042 gstreamer-interfaces-$GST_MAJORMINOR
45043 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
45045 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
45046 gstreamer-interfaces-$GST_MAJORMINOR
45047 gstreamer-gconf-$GST_MAJORMINOR" ; then
45048 echo "$as_me:$LINENO: result: yes" >&5
45049 echo "${ECHO_T}yes" >&6
45052 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45053 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45054 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
45055 gstreamer-interfaces-$GST_MAJORMINOR
45056 gstreamer-gconf-$GST_MAJORMINOR"`
45057 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45058 echo "${ECHO_T}$GST_CFLAGS" >&6
45060 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45061 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45062 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
45063 gstreamer-interfaces-$GST_MAJORMINOR
45064 gstreamer-gconf-$GST_MAJORMINOR"`
45065 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45066 echo "${ECHO_T}$GST_LIBS" >&6
45070 ## If we have a custom action on failure, don't print errors, but
45071 ## do set a variable so people can do so.
45072 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
45073 gstreamer-interfaces-$GST_MAJORMINOR
45074 gstreamer-gconf-$GST_MAJORMINOR"`
45081 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45082 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45086 if test $succeeded = yes; then
45088 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45089 LIBS
="$LIBS $GST_LIBS"
45093 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
45094 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
45095 wxUSE_GSTREAMER
="no"
45102 if test "$wxUSE_GSTREAMER" = "yes"; then
45103 cat >>confdefs.h
<<\_ACEOF
45104 #define wxUSE_GSTREAMER 1
45107 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
45108 echo "${ECHO_T}GStreamer detection successful" >&6
45112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45113 cat >>confdefs.h
<<\_ACEOF
45114 #define wxUSE_MEDIACTRL 1
45120 if test "$cross_compiling" = "yes"; then
45123 OSINFO
=`uname -s -r -m`
45124 OSINFO
="\"$OSINFO\""
45127 cat >>confdefs.h
<<_ACEOF
45128 #define WXWIN_OS_DESCRIPTION $OSINFO
45133 if test "x$prefix" != "xNONE"; then
45136 wxPREFIX
=$ac_default_prefix
45139 cat >>confdefs.h
<<_ACEOF
45140 #define wxINSTALL_PREFIX "$wxPREFIX"
45146 CORE_BASE_LIBS
="net base"
45147 CORE_GUI_LIBS
="adv core"
45149 if test "$wxUSE_XML" = "yes" ; then
45150 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45152 if test "$wxUSE_ODBC" != "no" ; then
45153 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45154 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45156 if test "$wxUSE_HTML" = "yes" ; then
45157 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45159 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45160 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45162 if test "$wxUSE_XRC" = "yes" ; then
45163 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45166 if test "$wxUSE_GUI" != "yes"; then
45175 ac_cpp
='$CPP $CPPFLAGS'
45176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45182 if test "$wxUSE_MAC" = 1 ; then
45183 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45184 if test "$USE_DARWIN" = 1; then
45185 LDFLAGS
="$LDFLAGS -framework QuickTime"
45187 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45190 if test "$USE_DARWIN" = 1; then
45191 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45193 LDFLAGS
="$LDFLAGS -lCarbonLib"
45196 if test "$wxUSE_COCOA" = 1 ; then
45197 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45198 if test "$wxUSE_MEDIACTRL" = "yes"; then
45199 LDFLAGS
="$LDFLAGS -framework QuickTime"
45202 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45203 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45206 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45208 if test "$wxUSE_GUI" = "yes"; then
45211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45212 dynamic erase event exec font image minimal mobile \
45213 mobile/wxedit mobile/styles propsize render \
45214 rotate shaped vscroll widgets"
45216 if test "$wxUSE_MONOLITHIC" != "yes"; then
45217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45219 if test "$TOOLKIT" = "MSW"; then
45220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45221 if test "$wxUSE_UNIVERSAL" != "yes"; then
45222 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45225 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45229 SAMPLES_SUBDIRS
="console"
45233 if test "x$INTELCC" = "xyes" ; then
45234 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45235 elif test "$GCC" = yes ; then
45236 CWARNINGS
="-Wall -Wundef"
45239 if test "x$INTELCXX" = "xyes" ; then
45240 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45241 elif test "$GXX" = yes ; then
45242 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45246 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45247 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45250 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45251 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45252 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45255 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45256 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45257 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45259 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45262 if test "x$MWCC" = "xyes"; then
45264 CC
="$CC -cwd source -I-"
45265 CXX
="$CXX -cwd source -I-"
45270 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45271 EXTRALIBS_XML
="$EXPAT_LINK"
45272 EXTRALIBS_HTML
="$MSPACK_LINK"
45273 EXTRALIBS_ODBC
="$ODBC_LINK"
45274 if test "$wxUSE_GUI" = "yes"; then
45275 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45277 if test "$wxUSE_OPENGL" = "yes"; then
45278 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45281 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45283 WXCONFIG_LIBS
="$LIBS"
45285 if test "$wxUSE_REGEX" = "builtin" ; then
45286 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45288 if test "$wxUSE_EXPAT" = "builtin" ; then
45289 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45291 if test "$wxUSE_ODBC" = "builtin" ; then
45292 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45294 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45295 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45297 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45298 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45300 if test "$wxUSE_LIBPNG" = "builtin" ; then
45301 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45303 if test "$wxUSE_ZLIB" = "builtin" ; then
45304 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45307 for i
in $wxconfig_3rdparty ; do
45308 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45312 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45326 if test $wxUSE_MONOLITHIC = "yes" ; then
45332 if test $wxUSE_PLUGINS = "yes" ; then
45338 if test $wxUSE_ODBC != "no" ; then
45344 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45350 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45380 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45391 TOOLKIT_USER
="GTK+"
45392 if test "$WXGTK20" = 1; then
45393 TOOLKIT_USER
="$TOOLKIT_USER 2"
45398 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45402 if test "$wxUSE_WINE" = "yes"; then
45403 BAKEFILE_FORCE_PLATFORM
=win32
45406 if test "$wxUSE_MAC" = 1 ; then
45407 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45408 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45409 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45410 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45413 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45414 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45415 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45421 if test "x$BAKEFILE_HOST" = "x"; then
45422 if test "x${host}" = "x" ; then
45423 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45424 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45425 { (exit 1); exit 1; }; }
45428 BAKEFILE_HOST
="${host}"
45431 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45433 if test -n "$ac_tool_prefix"; then
45434 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45435 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45436 echo "$as_me:$LINENO: checking for $ac_word" >&5
45437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45438 if test "${ac_cv_prog_RANLIB+set}" = set; then
45439 echo $ECHO_N "(cached) $ECHO_C" >&6
45441 if test -n "$RANLIB"; then
45442 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45445 for as_dir
in $PATH
45448 test -z "$as_dir" && as_dir
=.
45449 for ac_exec_ext
in '' $ac_executable_extensions; do
45450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45451 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45460 RANLIB
=$ac_cv_prog_RANLIB
45461 if test -n "$RANLIB"; then
45462 echo "$as_me:$LINENO: result: $RANLIB" >&5
45463 echo "${ECHO_T}$RANLIB" >&6
45465 echo "$as_me:$LINENO: result: no" >&5
45466 echo "${ECHO_T}no" >&6
45470 if test -z "$ac_cv_prog_RANLIB"; then
45471 ac_ct_RANLIB
=$RANLIB
45472 # Extract the first word of "ranlib", so it can be a program name with args.
45473 set dummy ranlib
; ac_word
=$2
45474 echo "$as_me:$LINENO: checking for $ac_word" >&5
45475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45476 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45477 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 if test -n "$ac_ct_RANLIB"; then
45480 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45483 for as_dir
in $PATH
45486 test -z "$as_dir" && as_dir
=.
45487 for ac_exec_ext
in '' $ac_executable_extensions; do
45488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45489 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45496 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45499 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45500 if test -n "$ac_ct_RANLIB"; then
45501 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45502 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45504 echo "$as_me:$LINENO: result: no" >&5
45505 echo "${ECHO_T}no" >&6
45508 RANLIB
=$ac_ct_RANLIB
45510 RANLIB
="$ac_cv_prog_RANLIB"
45513 # Find a good install program. We prefer a C program (faster),
45514 # so one script is as good as another. But avoid the broken or
45515 # incompatible versions:
45516 # SysV /etc/install, /usr/sbin/install
45517 # SunOS /usr/etc/install
45518 # IRIX /sbin/install
45520 # AmigaOS /C/install, which installs bootblocks on floppy discs
45521 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45522 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45523 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45524 # OS/2's system install, which has a completely different semantic
45525 # ./install, which can be erroneously created by make from ./install.sh.
45526 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45527 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45528 if test -z "$INSTALL"; then
45529 if test "${ac_cv_path_install+set}" = set; then
45530 echo $ECHO_N "(cached) $ECHO_C" >&6
45532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45533 for as_dir
in $PATH
45536 test -z "$as_dir" && as_dir
=.
45537 # Account for people who put trailing slashes in PATH elements.
45539 .
/ | .
// | /cC
/* | \
45540 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45541 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45544 # OSF1 and SCO ODT 3.0 have their own names for install.
45545 # Don't use installbsd from OSF since it installs stuff as root
45547 for ac_prog
in ginstall scoinst
install; do
45548 for ac_exec_ext
in '' $ac_executable_extensions; do
45549 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45550 if test $ac_prog = install &&
45551 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45552 # AIX install. It has an incompatible calling convention.
45554 elif test $ac_prog = install &&
45555 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45556 # program-specific install script used by HP pwplus--don't use.
45559 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45571 if test "${ac_cv_path_install+set}" = set; then
45572 INSTALL
=$ac_cv_path_install
45574 # As a last resort, use the slow shell script. We don't cache a
45575 # path for INSTALL within a source directory, because that will
45576 # break other packages using the cache if that directory is
45577 # removed, or if the path is relative.
45578 INSTALL
=$ac_install_sh
45581 echo "$as_me:$LINENO: result: $INSTALL" >&5
45582 echo "${ECHO_T}$INSTALL" >&6
45584 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45585 # It thinks the first close brace ends the variable substitution.
45586 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45588 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45590 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45592 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45593 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45595 if test "$LN_S" = "ln -s"; then
45596 echo "$as_me:$LINENO: result: yes" >&5
45597 echo "${ECHO_T}yes" >&6
45599 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45600 echo "${ECHO_T}no, using $LN_S" >&6
45604 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45605 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45606 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45607 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45608 echo $ECHO_N "(cached) $ECHO_C" >&6
45610 cat >conftest.
make <<\_ACEOF
45612 @
echo 'ac_maketemp="$(MAKE)"'
45614 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45615 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45616 if test -n "$ac_maketemp"; then
45617 eval ac_cv_prog_make_
${ac_make}_set
=yes
45619 eval ac_cv_prog_make_
${ac_make}_set
=no
45621 rm -f conftest.
make
45623 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45624 echo "$as_me:$LINENO: result: yes" >&5
45625 echo "${ECHO_T}yes" >&6
45628 echo "$as_me:$LINENO: result: no" >&5
45629 echo "${ECHO_T}no" >&6
45630 SET_MAKE
="MAKE=${MAKE-make}"
45635 if test -n "$ac_tool_prefix"; then
45636 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45637 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45638 echo "$as_me:$LINENO: checking for $ac_word" >&5
45639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45640 if test "${ac_cv_prog_AR+set}" = set; then
45641 echo $ECHO_N "(cached) $ECHO_C" >&6
45643 if test -n "$AR"; then
45644 ac_cv_prog_AR
="$AR" # Let the user override the test.
45646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45647 for as_dir
in $PATH
45650 test -z "$as_dir" && as_dir
=.
45651 for ac_exec_ext
in '' $ac_executable_extensions; do
45652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45653 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45663 if test -n "$AR"; then
45664 echo "$as_me:$LINENO: result: $AR" >&5
45665 echo "${ECHO_T}$AR" >&6
45667 echo "$as_me:$LINENO: result: no" >&5
45668 echo "${ECHO_T}no" >&6
45672 if test -z "$ac_cv_prog_AR"; then
45674 # Extract the first word of "ar", so it can be a program name with args.
45675 set dummy
ar; ac_word
=$2
45676 echo "$as_me:$LINENO: checking for $ac_word" >&5
45677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45678 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45679 echo $ECHO_N "(cached) $ECHO_C" >&6
45681 if test -n "$ac_ct_AR"; then
45682 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45685 for as_dir
in $PATH
45688 test -z "$as_dir" && as_dir
=.
45689 for ac_exec_ext
in '' $ac_executable_extensions; do
45690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45691 ac_cv_prog_ac_ct_AR
="ar"
45692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45698 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45701 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45702 if test -n "$ac_ct_AR"; then
45703 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45704 echo "${ECHO_T}$ac_ct_AR" >&6
45706 echo "$as_me:$LINENO: result: no" >&5
45707 echo "${ECHO_T}no" >&6
45712 AR
="$ac_cv_prog_AR"
45715 if test -n "$ac_tool_prefix"; then
45716 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45717 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45718 echo "$as_me:$LINENO: checking for $ac_word" >&5
45719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45720 if test "${ac_cv_prog_STRIP+set}" = set; then
45721 echo $ECHO_N "(cached) $ECHO_C" >&6
45723 if test -n "$STRIP"; then
45724 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45727 for as_dir
in $PATH
45730 test -z "$as_dir" && as_dir
=.
45731 for ac_exec_ext
in '' $ac_executable_extensions; do
45732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45733 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45742 STRIP
=$ac_cv_prog_STRIP
45743 if test -n "$STRIP"; then
45744 echo "$as_me:$LINENO: result: $STRIP" >&5
45745 echo "${ECHO_T}$STRIP" >&6
45747 echo "$as_me:$LINENO: result: no" >&5
45748 echo "${ECHO_T}no" >&6
45752 if test -z "$ac_cv_prog_STRIP"; then
45754 # Extract the first word of "strip", so it can be a program name with args.
45755 set dummy strip
; ac_word
=$2
45756 echo "$as_me:$LINENO: checking for $ac_word" >&5
45757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45758 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45759 echo $ECHO_N "(cached) $ECHO_C" >&6
45761 if test -n "$ac_ct_STRIP"; then
45762 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45765 for as_dir
in $PATH
45768 test -z "$as_dir" && as_dir
=.
45769 for ac_exec_ext
in '' $ac_executable_extensions; do
45770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45771 ac_cv_prog_ac_ct_STRIP
="strip"
45772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45778 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45781 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45782 if test -n "$ac_ct_STRIP"; then
45783 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45784 echo "${ECHO_T}$ac_ct_STRIP" >&6
45786 echo "$as_me:$LINENO: result: no" >&5
45787 echo "${ECHO_T}no" >&6
45792 STRIP
="$ac_cv_prog_STRIP"
45795 if test -n "$ac_tool_prefix"; then
45796 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45797 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45798 echo "$as_me:$LINENO: checking for $ac_word" >&5
45799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45800 if test "${ac_cv_prog_NM+set}" = set; then
45801 echo $ECHO_N "(cached) $ECHO_C" >&6
45803 if test -n "$NM"; then
45804 ac_cv_prog_NM
="$NM" # Let the user override the test.
45806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45807 for as_dir
in $PATH
45810 test -z "$as_dir" && as_dir
=.
45811 for ac_exec_ext
in '' $ac_executable_extensions; do
45812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45813 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45823 if test -n "$NM"; then
45824 echo "$as_me:$LINENO: result: $NM" >&5
45825 echo "${ECHO_T}$NM" >&6
45827 echo "$as_me:$LINENO: result: no" >&5
45828 echo "${ECHO_T}no" >&6
45832 if test -z "$ac_cv_prog_NM"; then
45834 # Extract the first word of "nm", so it can be a program name with args.
45835 set dummy nm
; ac_word
=$2
45836 echo "$as_me:$LINENO: checking for $ac_word" >&5
45837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45838 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45839 echo $ECHO_N "(cached) $ECHO_C" >&6
45841 if test -n "$ac_ct_NM"; then
45842 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45845 for as_dir
in $PATH
45848 test -z "$as_dir" && as_dir
=.
45849 for ac_exec_ext
in '' $ac_executable_extensions; do
45850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45851 ac_cv_prog_ac_ct_NM
="nm"
45852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45858 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45861 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45862 if test -n "$ac_ct_NM"; then
45863 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45864 echo "${ECHO_T}$ac_ct_NM" >&6
45866 echo "$as_me:$LINENO: result: no" >&5
45867 echo "${ECHO_T}no" >&6
45872 NM
="$ac_cv_prog_NM"
45876 case ${BAKEFILE_HOST} in
45878 INSTALL_DIR
="mkdir -p"
45880 *) INSTALL_DIR
="$INSTALL -d"
45886 case ${BAKEFILE_HOST} in
45887 *-*-cygwin* | *-*-mingw32* )
45888 LDFLAGS_GUI
="-mwindows"
45894 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45895 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45896 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45897 echo $ECHO_N "(cached) $ECHO_C" >&6
45900 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45901 egrep -s GNU
> /dev
/null
); then
45902 bakefile_cv_prog_makeisgnu
="yes"
45904 bakefile_cv_prog_makeisgnu
="no"
45908 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45909 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45911 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45928 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45929 case "${BAKEFILE_HOST}" in
45936 *-pc-os2_emx | *-pc-os2-emx )
45946 powerpc
-apple-macos* )
45955 case "$BAKEFILE_FORCE_PLATFORM" in
45976 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45977 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45978 { (exit 1); exit 1; }; }
45993 # Check whether --enable-omf or --disable-omf was given.
45994 if test "${enable_omf+set}" = set; then
45995 enableval
="$enable_omf"
45996 bk_os2_use_omf
="$enableval"
45999 case "${BAKEFILE_HOST}" in
46001 if test "x$GCC" = "xyes"; then
46002 CFLAGS
="$CFLAGS -fno-common"
46003 CXXFLAGS
="$CXXFLAGS -fno-common"
46005 if test "x$XLCC" = "xyes"; then
46006 CFLAGS
="$CFLAGS -qnocommon"
46007 CXXFLAGS
="$CXXFLAGS -qnocommon"
46011 *-pc-os2_emx | *-pc-os2-emx )
46012 if test "x$bk_os2_use_omf" = "xyes" ; then
46015 LDFLAGS
="-Zomf $LDFLAGS"
46016 CFLAGS
="-Zomf $CFLAGS"
46017 CXXFLAGS
="-Zomf $CXXFLAGS"
46025 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46031 SO_SUFFIX_MODULE
="so"
46036 DLLPREFIX_MODULE
=""
46040 case "${BAKEFILE_HOST}" in
46043 SO_SUFFIX_MODULE
="sl"
46047 SO_SUFFIX_MODULE
="a"
46051 SO_SUFFIX_MODULE
="dll"
46052 DLLIMP_SUFFIX
="dll.a"
46059 SO_SUFFIX_MODULE
="dll"
46060 DLLIMP_SUFFIX
="dll.a"
46070 *-pc-os2_emx | *-pc-os2-emx )
46072 SO_SUFFIX_MODULE
="dll"
46073 DLLIMP_SUFFIX
=$OS2_LIBEXT
46077 LIBEXT
=".$OS2_LIBEXT"
46082 SO_SUFFIX_MODULE
="bundle"
46086 if test "x$DLLIMP_SUFFIX" = "x" ; then
46087 DLLIMP_SUFFIX
="$SO_SUFFIX"
46102 if test "x$GCC" = "xyes"; then
46106 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46107 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46110 case "${BAKEFILE_HOST}" in
46112 if test "x$GCC" != "xyes"; then
46113 LDFLAGS
="$LDFLAGS -L/usr/lib"
46115 SHARED_LD_CC
="${CC} -b -o"
46116 SHARED_LD_CXX
="${CXX} -b -o"
46122 if test "x$GCC" != "xyes"; then
46123 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46124 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46125 if test "${bakefile_cv_prog_icc+set}" = set; then
46126 echo $ECHO_N "(cached) $ECHO_C" >&6
46129 cat >conftest.
$ac_ext <<_ACEOF
46132 cat confdefs.h
>>conftest.
$ac_ext
46133 cat >>conftest.
$ac_ext <<_ACEOF
46134 /* end confdefs.h. */
46140 #ifndef __INTEL_COMPILER
46148 rm -f conftest.
$ac_objext
46149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46150 (eval $ac_compile) 2>conftest.er1
46152 grep -v '^ *+' conftest.er1
>conftest.err
46154 cat conftest.err
>&5
46155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46156 (exit $ac_status); } &&
46157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46159 (eval $ac_try) 2>&5
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); }; } &&
46163 { ac_try
='test -s conftest.$ac_objext'
46164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46165 (eval $ac_try) 2>&5
46167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46168 (exit $ac_status); }; }; then
46169 bakefile_cv_prog_icc
=yes
46171 echo "$as_me: failed program was:" >&5
46172 sed 's/^/| /' conftest.
$ac_ext >&5
46174 bakefile_cv_prog_icc
=no
46177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46180 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46181 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46182 if test "$bakefile_cv_prog_icc" = "yes"; then
46189 if test "x$GCC" != xyes
; then
46190 SHARED_LD_CC
="${CC} -G -o"
46191 SHARED_LD_CXX
="${CXX} -G -o"
46199 cat <<EOF >shared-ld-sh
46201 #-----------------------------------------------------------------------------
46202 #-- Name: distrib/mac/shared-ld-sh
46203 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46204 #-- Author: Gilles Depeyrot
46205 #-- Copyright: (c) 2002 Gilles Depeyrot
46206 #-- Licence: any use permitted
46207 #-----------------------------------------------------------------------------
46212 linking_flag="-dynamiclib"
46213 ldargs="-r -keep_private_externs -nostdlib"
46215 while test ${D}# -gt 0; do
46222 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46223 # collect these options and values
46224 args="${D}{args} ${D}1 ${D}2"
46229 # collect these load args
46230 ldargs="${D}{ldargs} ${D}1"
46233 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46234 # collect these options
46235 args="${D}{args} ${D}1"
46238 -dynamiclib|-bundle)
46239 linking_flag="${D}1"
46243 echo "shared-ld: unhandled option '${D}1'"
46247 *.o | *.a | *.dylib)
46248 # collect object files
46249 objects="${D}{objects} ${D}1"
46253 echo "shared-ld: unhandled argument '${D}1'"
46264 # Link one module containing all the others
46266 if test ${D}{verbose} = 1; then
46267 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46269 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46273 # Link the shared library from the single module created, but only if the
46274 # previous command didn't fail:
46276 if test ${D}{status} = 0; then
46277 if test ${D}{verbose} = 1; then
46278 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46280 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46285 # Remove intermediate module
46287 rm -f master.${D}${D}.o
46292 chmod +x shared
-ld-sh
46294 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46295 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46298 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46299 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46300 if test "${bakefile_cv_gcc31+set}" = set; then
46301 echo $ECHO_N "(cached) $ECHO_C" >&6
46304 cat >conftest.
$ac_ext <<_ACEOF
46307 cat confdefs.h
>>conftest.
$ac_ext
46308 cat >>conftest.
$ac_ext <<_ACEOF
46309 /* end confdefs.h. */
46315 #if (__GNUC__ < 3) || \
46316 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46324 rm -f conftest.
$ac_objext
46325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46326 (eval $ac_compile) 2>conftest.er1
46328 grep -v '^ *+' conftest.er1
>conftest.err
46330 cat conftest.err
>&5
46331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46332 (exit $ac_status); } &&
46333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46335 (eval $ac_try) 2>&5
46337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46338 (exit $ac_status); }; } &&
46339 { ac_try
='test -s conftest.$ac_objext'
46340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46341 (eval $ac_try) 2>&5
46343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46344 (exit $ac_status); }; }; then
46346 bakefile_cv_gcc31
=yes
46349 echo "$as_me: failed program was:" >&5
46350 sed 's/^/| /' conftest.
$ac_ext >&5
46353 bakefile_cv_gcc31
=no
46357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46360 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46361 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46362 if test "$bakefile_cv_gcc31" = "no"; then
46363 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46364 SHARED_LD_CXX
="$SHARED_LD_CC"
46366 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46367 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46370 if test "x$GCC" == "xyes"; then
46371 PIC_FLAG
="-dynamic -fPIC"
46373 if test "x$XLCC" = "xyes"; then
46374 PIC_FLAG
="-dynamic -DPIC"
46379 if test "x$GCC" = "xyes"; then
46382 case "${BAKEFILE_HOST}" in
46384 LD_EXPFULL
="-Wl,-bexpfull"
46388 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46389 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46391 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46392 set dummy makeC
++SharedLib
; ac_word
=$2
46393 echo "$as_me:$LINENO: checking for $ac_word" >&5
46394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46395 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46396 echo $ECHO_N "(cached) $ECHO_C" >&6
46398 if test -n "$AIX_CXX_LD"; then
46399 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46402 for as_dir
in $PATH
46405 test -z "$as_dir" && as_dir
=.
46406 for ac_exec_ext
in '' $ac_executable_extensions; do
46407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46408 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46415 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46418 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46419 if test -n "$AIX_CXX_LD"; then
46420 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46421 echo "${ECHO_T}$AIX_CXX_LD" >&6
46423 echo "$as_me:$LINENO: result: no" >&5
46424 echo "${ECHO_T}no" >&6
46427 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46428 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46433 SHARED_LD_CC
="${LD} -nostart -o"
46434 SHARED_LD_CXX
="${LD} -nostart -o"
46438 if test "x$GCC" != "xyes"; then
46443 *-*-cygwin* | *-*-mingw32* )
46445 SHARED_LD_CC
="\$(CC) -shared -o"
46446 SHARED_LD_CXX
="\$(CXX) -shared -o"
46450 *-pc-os2_emx | *-pc-os2-emx )
46451 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46452 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46456 cat <<EOF >dllar.sh
46459 # dllar - a tool to build both a .dll and an .a file
46460 # from a set of object (.o) files for EMX/OS2.
46462 # Written by Andrew Zabolotny, bit@freya.etu.ru
46463 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46465 # This script will accept a set of files on the command line.
46466 # All the public symbols from the .o files will be exported into
46467 # a .DEF file, then linker will be run (through gcc) against them to
46468 # build a shared library consisting of all given .o files. All libraries
46469 # (.a) will be first decompressed into component .o files then act as
46470 # described above. You can optionally give a description (-d "description")
46471 # which will be put into .DLL. To see the list of accepted options (as well
46472 # as command-line format) simply run this program without options. The .DLL
46473 # is built to be imported by name (there is no guarantee that new versions
46474 # of the library you build will have same ordinals for same symbols).
46476 # dllar is free software; you can redistribute it and/or modify
46477 # it under the terms of the GNU General Public License as published by
46478 # the Free Software Foundation; either version 2, or (at your option)
46479 # any later version.
46481 # dllar is distributed in the hope that it will be useful,
46482 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46483 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46484 # GNU General Public License for more details.
46486 # You should have received a copy of the GNU General Public License
46487 # along with dllar; see the file COPYING. If not, write to the Free
46488 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46491 # To successfuly run this program you will need:
46492 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46493 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46495 # (used to build the .dll)
46497 # (used to create .def file from .o files)
46499 # (used to create .a file from .def file)
46500 # - GNU text utilites (cat, sort, uniq)
46501 # used to process emxexp output
46502 # - GNU file utilities (mv, rm)
46504 # - lxlite (optional, see flag below)
46505 # (used for general .dll cleanup)
46512 # basnam, variant of basename, which does _not_ remove the path, _iff_
46513 # second argument (suffix to remove) is given
46517 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46520 echo ${D}1 | sed 's/'${D}2'${D}//'
46523 echo "error in basnam ${D}*"
46529 # Cleanup temporary files and output
46532 for i in ${D}inputFiles ; do
46535 rm -rf \`basnam ${D}i !\`
46542 # Kill result in case of failure as there is just to many stupid make/nmake
46543 # things out there which doesn't do this.
46544 if [ ${D}# -eq 0 ]; then
46545 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46549 # Print usage and exit script with rc=1.
46551 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46552 echo ' [-name-mangler-script script.sh]'
46553 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46554 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46555 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46556 echo ' [*.o] [*.a]'
46557 echo '*> "output_file" should have no extension.'
46558 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46559 echo ' The import library name is derived from this and is set to "name".a,'
46560 echo ' unless overridden by -import'
46561 echo '*> "importlib_name" should have no extension.'
46562 echo ' If it has the .o, or .a extension, it is automatically removed.'
46563 echo ' This name is used as the import library name and may be longer and'
46564 echo ' more descriptive than the DLL name which has to follow the old '
46565 echo ' 8.3 convention of FAT.'
46566 echo '*> "script.sh may be given to override the output_file name by a'
46567 echo ' different name. It is mainly useful if the regular make process'
46568 echo ' of some package does not take into account OS/2 restriction of'
46569 echo ' DLL name lengths. It takes the importlib name as input and is'
46570 echo ' supposed to procude a shorter name as output. The script should'
46571 echo ' expect to get importlib_name without extension and should produce'
46572 echo ' a (max.) 8 letter name without extension.'
46573 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46574 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46575 echo ' These flags will be put at the start of GCC command line.'
46576 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46577 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46578 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46579 echo ' If the last character of a symbol is "*", all symbols beginning'
46580 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46581 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46582 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46583 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46584 echo ' C runtime DLLs.'
46585 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46586 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46587 echo ' unchanged to GCC at the end of command line.'
46588 echo '*> If you create a DLL from a library and you do not specify -o,'
46589 echo ' the basename for DLL and import library will be set to library name,'
46590 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46591 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46592 echo ' library will be renamed into gcc_s.a.'
46595 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46596 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46601 # Execute a command.
46602 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46603 # @Uses Whatever CleanUp() uses.
46609 if [ ${D}rcCmd -ne 0 ]; then
46610 echo "command failed, exit code="${D}rcCmd
46625 CFLAGS="-s -Zcrtdll"
46627 EXPORT_BY_ORDINALS=0
46632 case ${D}curDirS in
46636 curDirS=${D}{curDirS}"/"
46639 # Parse commandline
46642 while [ ${D}1 ]; do
46645 EXPORT_BY_ORDINALS=1;
46655 -name-mangler-script)
46676 exclude_symbols=${D}{exclude_symbols}${D}1" "
46680 library_flags=${D}{library_flags}${D}1" "
46699 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46702 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46703 if [ ${D}omfLinking -eq 1 ]; then
46704 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46706 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46711 if [ ${D}libsToLink -ne 0 ]; then
46712 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46714 for file in ${D}1 ; do
46715 if [ -f ${D}file ]; then
46716 inputFiles="${D}{inputFiles} ${D}file"
46720 if [ ${D}found -eq 0 ]; then
46721 echo "ERROR: No file(s) found: "${D}1
46728 done # iterate cmdline words
46731 if [ -z "${D}inputFiles" ]; then
46732 echo "dllar: no input files"
46736 # Now extract all .o files from .a files
46738 for file in ${D}inputFiles ; do
46749 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46754 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46756 if [ ${D}? -ne 0 ]; then
46757 echo "Failed to create subdirectory ./${D}dirname"
46761 # Append '!' to indicate archive
46762 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46763 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46766 for subfile in ${D}dirname/*.o* ; do
46767 if [ -f ${D}subfile ]; then
46769 if [ -s ${D}subfile ]; then
46770 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46771 newInputFiles="${D}newInputFiles ${D}subfile"
46775 if [ ${D}found -eq 0 ]; then
46776 echo "WARNING: there are no files in archive \\'${D}file\\'"
46780 newInputFiles="${D}{newInputFiles} ${D}file"
46784 inputFiles="${D}newInputFiles"
46786 # Output filename(s).
46788 if [ -z ${D}outFile ]; then
46790 set outFile ${D}inputFiles; outFile=${D}2
46793 # If it is an archive, remove the '!' and the '_%' suffixes
46794 case ${D}outFile in
46796 outFile=\`basnam ${D}outFile _%!\`
46801 case ${D}outFile in
46803 outFile=\`basnam ${D}outFile .dll\`
46806 outFile=\`basnam ${D}outFile .DLL\`
46809 outFile=\`basnam ${D}outFile .o\`
46812 outFile=\`basnam ${D}outFile .obj\`
46815 outFile=\`basnam ${D}outFile .a\`
46818 outFile=\`basnam ${D}outFile .lib\`
46823 case ${D}outimpFile in
46825 outimpFile=\`basnam ${D}outimpFile .a\`
46828 outimpFile=\`basnam ${D}outimpFile .lib\`
46833 if [ -z ${D}outimpFile ]; then
46834 outimpFile=${D}outFile
46836 defFile="${D}{outFile}.def"
46837 arcFile="${D}{outimpFile}.a"
46838 arcFile2="${D}{outimpFile}.lib"
46840 #create ${D}dllFile as something matching 8.3 restrictions,
46841 if [ -z ${D}renameScript ] ; then
46842 dllFile="${D}outFile"
46844 dllFile=\`${D}renameScript ${D}outimpFile\`
46847 if [ ${D}do_backup -ne 0 ] ; then
46848 if [ -f ${D}arcFile ] ; then
46849 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46851 if [ -f ${D}arcFile2 ] ; then
46852 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46856 # Extract public symbols from all the object files.
46857 tmpdefFile=${D}{defFile}_%
46858 rm -f ${D}tmpdefFile
46859 for file in ${D}inputFiles ; do
46864 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46869 # Create the def file.
46871 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46872 dllFile="${D}{dllFile}.dll"
46873 if [ ! -z ${D}description ]; then
46874 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46876 echo "EXPORTS" >> ${D}defFile
46878 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46879 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46881 # Checks if the export is ok or not.
46882 for word in ${D}exclude_symbols; do
46883 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46884 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46888 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46889 sed "=" < ${D}tmpdefFile | \\
46893 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46895 ' > ${D}{tmpdefFile}%
46896 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46898 rm -f ${D}{tmpdefFile}%
46900 cat ${D}tmpdefFile >> ${D}defFile
46901 rm -f ${D}tmpdefFile
46903 # Do linking, create implib, and apply lxlite.
46905 for file in ${D}inputFiles ; do
46910 gccCmdl="${D}gccCmdl ${D}file"
46914 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46915 touch "${D}{outFile}.dll"
46917 doCommand "emximp -o ${D}arcFile ${D}defFile"
46918 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46920 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46923 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46925 doCommand "emxomf -s -l ${D}arcFile"
46935 powerpc
-apple-macos* | \
46936 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46945 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46946 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46947 { (exit 1); exit 1; }; }
46950 if test "x$PIC_FLAG" != "x" ; then
46951 PIC_FLAG
="$PIC_FLAG -DPIC"
46954 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46955 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46957 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46958 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46977 case "${BAKEFILE_HOST}" in
46978 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46979 SONAME_FLAG
="-Wl,-soname,"
47013 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47014 if test "${enable_dependency_tracking+set}" = set; then
47015 enableval
="$enable_dependency_tracking"
47016 bk_use_trackdeps
="$enableval"
47019 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47020 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47022 if test "x$bk_use_trackdeps" = "xno" ; then
47024 echo "$as_me:$LINENO: result: disabled" >&5
47025 echo "${ECHO_T}disabled" >&6
47029 if test "x$GCC" = "xyes"; then
47031 case "${BAKEFILE_HOST}" in
47033 DEPSFLAG
="-no-cpp-precomp -MMD"
47039 echo "$as_me:$LINENO: result: gcc" >&5
47040 echo "${ECHO_T}gcc" >&6
47041 elif test "x$MWCC" = "xyes"; then
47044 echo "$as_me:$LINENO: result: mwcc" >&5
47045 echo "${ECHO_T}mwcc" >&6
47046 elif test "x$SUNCC" = "xyes"; then
47049 echo "$as_me:$LINENO: result: Sun cc" >&5
47050 echo "${ECHO_T}Sun cc" >&6
47051 elif test "x$SGICC" = "xyes"; then
47054 echo "$as_me:$LINENO: result: SGI cc" >&5
47055 echo "${ECHO_T}SGI cc" >&6
47056 elif test "x$HPCC" = "xyes"; then
47059 echo "$as_me:$LINENO: result: HP cc" >&5
47060 echo "${ECHO_T}HP cc" >&6
47061 elif test "x$COMPAQCC" = "xyes"; then
47064 echo "$as_me:$LINENO: result: Compaq cc" >&5
47065 echo "${ECHO_T}Compaq cc" >&6
47068 echo "$as_me:$LINENO: result: none" >&5
47069 echo "${ECHO_T}none" >&6
47072 if test $DEPS_TRACKING = 1 ; then
47078 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47079 # script. It is used to track C/C++ files dependencies in portable way.
47081 # Permission is given to use this file in any way.
47083 DEPSMODE=${DEPSMODE}
47085 DEPSFLAG="${DEPSFLAG}"
47087 mkdir -p ${D}DEPSDIR
47089 if test ${D}DEPSMODE = gcc ; then
47090 ${D}* ${D}{DEPSFLAG}
47092 if test ${D}{status} != 0 ; then
47095 # move created file to the location we want it in:
47096 while test ${D}# -gt 0; do
47110 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47111 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47112 if test -f ${D}depfile ; then
47113 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47116 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47117 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47118 if test ! -f ${D}depfile ; then
47119 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47120 depfile="${D}objfile.d"
47122 if test -f ${D}depfile ; then
47123 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47128 elif test ${D}DEPSMODE = mwcc ; then
47129 ${D}* || exit ${D}?
47130 # Run mwcc again with -MM and redirect into the dep file we want
47131 # NOTE: We can't use shift here because we need ${D}* to be valid
47133 for arg in ${D}* ; do
47134 if test "${D}prevarg" = "-o"; then
47147 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47149 elif test ${D}DEPSMODE = unixcc; then
47150 ${D}* || exit ${D}?
47151 # Run compiler again with deps flag and redirect into the dep file.
47152 # It doesn't work if the '-o FILE' option is used, but without it the
47153 # dependency file will contain the wrong name for the object. So it is
47154 # removed from the command line, and the dep file is fixed with sed.
47156 while test ${D}# -gt 0; do
47163 eval arg${D}#=\\${D}1
47164 cmd="${D}cmd \\${D}arg${D}#"
47169 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47184 case ${BAKEFILE_HOST} in
47185 *-*-cygwin* | *-*-mingw32* )
47186 if test -n "$ac_tool_prefix"; then
47187 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47188 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47189 echo "$as_me:$LINENO: checking for $ac_word" >&5
47190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47191 if test "${ac_cv_prog_WINDRES+set}" = set; then
47192 echo $ECHO_N "(cached) $ECHO_C" >&6
47194 if test -n "$WINDRES"; then
47195 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47198 for as_dir
in $PATH
47201 test -z "$as_dir" && as_dir
=.
47202 for ac_exec_ext
in '' $ac_executable_extensions; do
47203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47204 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47213 WINDRES
=$ac_cv_prog_WINDRES
47214 if test -n "$WINDRES"; then
47215 echo "$as_me:$LINENO: result: $WINDRES" >&5
47216 echo "${ECHO_T}$WINDRES" >&6
47218 echo "$as_me:$LINENO: result: no" >&5
47219 echo "${ECHO_T}no" >&6
47223 if test -z "$ac_cv_prog_WINDRES"; then
47224 ac_ct_WINDRES
=$WINDRES
47225 # Extract the first word of "windres", so it can be a program name with args.
47226 set dummy windres
; ac_word
=$2
47227 echo "$as_me:$LINENO: checking for $ac_word" >&5
47228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47229 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47230 echo $ECHO_N "(cached) $ECHO_C" >&6
47232 if test -n "$ac_ct_WINDRES"; then
47233 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47236 for as_dir
in $PATH
47239 test -z "$as_dir" && as_dir
=.
47240 for ac_exec_ext
in '' $ac_executable_extensions; do
47241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47242 ac_cv_prog_ac_ct_WINDRES
="windres"
47243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47251 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47252 if test -n "$ac_ct_WINDRES"; then
47253 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47254 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47256 echo "$as_me:$LINENO: result: no" >&5
47257 echo "${ECHO_T}no" >&6
47260 WINDRES
=$ac_ct_WINDRES
47262 WINDRES
="$ac_cv_prog_WINDRES"
47267 *-*-darwin* | powerpc
-apple-macos* )
47268 # Extract the first word of "Rez", so it can be a program name with args.
47269 set dummy Rez
; ac_word
=$2
47270 echo "$as_me:$LINENO: checking for $ac_word" >&5
47271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47272 if test "${ac_cv_prog_REZ+set}" = set; then
47273 echo $ECHO_N "(cached) $ECHO_C" >&6
47275 if test -n "$REZ"; then
47276 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47279 for as_dir
in $PATH
47282 test -z "$as_dir" && as_dir
=.
47283 for ac_exec_ext
in '' $ac_executable_extensions; do
47284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47285 ac_cv_prog_REZ
="Rez"
47286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47292 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47295 REZ
=$ac_cv_prog_REZ
47296 if test -n "$REZ"; then
47297 echo "$as_me:$LINENO: result: $REZ" >&5
47298 echo "${ECHO_T}$REZ" >&6
47300 echo "$as_me:$LINENO: result: no" >&5
47301 echo "${ECHO_T}no" >&6
47304 # Extract the first word of "SetFile", so it can be a program name with args.
47305 set dummy SetFile
; ac_word
=$2
47306 echo "$as_me:$LINENO: checking for $ac_word" >&5
47307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47308 if test "${ac_cv_prog_SETFILE+set}" = set; then
47309 echo $ECHO_N "(cached) $ECHO_C" >&6
47311 if test -n "$SETFILE"; then
47312 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47315 for as_dir
in $PATH
47318 test -z "$as_dir" && as_dir
=.
47319 for ac_exec_ext
in '' $ac_executable_extensions; do
47320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47321 ac_cv_prog_SETFILE
="SetFile"
47322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47328 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47331 SETFILE
=$ac_cv_prog_SETFILE
47332 if test -n "$SETFILE"; then
47333 echo "$as_me:$LINENO: result: $SETFILE" >&5
47334 echo "${ECHO_T}$SETFILE" >&6
47336 echo "$as_me:$LINENO: result: no" >&5
47337 echo "${ECHO_T}no" >&6
47348 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47351 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47355 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47356 if test "${enable_precomp_headers+set}" = set; then
47357 enableval
="$enable_precomp_headers"
47358 bk_use_pch
="$enableval"
47365 case ${BAKEFILE_HOST} in
47371 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47372 if test "x$GCC" = "xyes"; then
47373 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47374 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47375 cat >conftest.
$ac_ext <<_ACEOF
47378 cat confdefs.h
>>conftest.
$ac_ext
47379 cat >>conftest.
$ac_ext <<_ACEOF
47380 /* end confdefs.h. */
47386 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47387 There is no PCH support
47390 There is no PCH support
47392 #if (__GNUC__ == 3) && \
47393 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47394 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47395 ( defined(__INTEL_COMPILER) )
47396 There is no PCH support
47403 rm -f conftest.
$ac_objext
47404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47405 (eval $ac_compile) 2>conftest.er1
47407 grep -v '^ *+' conftest.er1
>conftest.err
47409 cat conftest.err
>&5
47410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47411 (exit $ac_status); } &&
47412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47414 (eval $ac_try) 2>&5
47416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47417 (exit $ac_status); }; } &&
47418 { ac_try
='test -s conftest.$ac_objext'
47419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47420 (eval $ac_try) 2>&5
47422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47423 (exit $ac_status); }; }; then
47425 echo "$as_me:$LINENO: result: yes" >&5
47426 echo "${ECHO_T}yes" >&6
47430 echo "$as_me: failed program was:" >&5
47431 sed 's/^/| /' conftest.
$ac_ext >&5
47434 cat >conftest.
$ac_ext <<_ACEOF
47437 cat confdefs.h
>>conftest.
$ac_ext
47438 cat >>conftest.
$ac_ext <<_ACEOF
47439 /* end confdefs.h. */
47445 #if !defined(__INTEL_COMPILER) || \
47446 (__INTEL_COMPILER < 800)
47447 There is no PCH support
47454 rm -f conftest.
$ac_objext
47455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47456 (eval $ac_compile) 2>conftest.er1
47458 grep -v '^ *+' conftest.er1
>conftest.err
47460 cat conftest.err
>&5
47461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47462 (exit $ac_status); } &&
47463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47465 (eval $ac_try) 2>&5
47467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47468 (exit $ac_status); }; } &&
47469 { ac_try
='test -s conftest.$ac_objext'
47470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47471 (eval $ac_try) 2>&5
47473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47474 (exit $ac_status); }; }; then
47476 echo "$as_me:$LINENO: result: yes" >&5
47477 echo "${ECHO_T}yes" >&6
47481 echo "$as_me: failed program was:" >&5
47482 sed 's/^/| /' conftest.
$ac_ext >&5
47485 echo "$as_me:$LINENO: result: no" >&5
47486 echo "${ECHO_T}no" >&6
47489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47493 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47497 cat <<EOF >bk-make-pch
47500 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47501 # script. It is used to generated precompiled headers.
47503 # Permission is given to use this file in any way.
47513 while test ${D}{#} -gt 0; do
47517 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47518 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47519 headerfile="${D}{incdir}/${D}{header}"
47522 -use-pch|-use_pch )
47527 if test ${D}add_to_cmdline = 1 ; then
47528 compiler="${D}{compiler} ${D}{1}"
47533 if test "x${D}{headerfile}" = "x" ; then
47534 echo "error: can't find header ${D}{header} in include paths" >&2
47536 if test -f ${D}{outfile} ; then
47537 rm -f ${D}{outfile}
47539 mkdir -p \`dirname ${D}{outfile}\`
47541 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47543 if test "x${GCC_PCH}" = "x1" ; then
47544 # can do this because gcc is >= 3.4:
47545 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47546 elif test "x${ICC_PCH}" = "x1" ; then
47547 filename=pch_gen-${D}${D}
47548 file=${D}{filename}.c
47549 dfile=${D}{filename}.d
47550 cat > ${D}file <<EOT
47551 #include "${D}header"
47553 # using -MF icc complains about differing command lines in creation/use
47554 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47555 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47556 rm -f ${D}file ${D}dfile ${D}{filename}.o
47562 chmod +x bk
-make-pch
47570 COND_BUILD_DEBUG
="#"
47571 if test "x$BUILD" = "xdebug" ; then
47572 COND_BUILD_DEBUG
=""
47575 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47576 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47577 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47580 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47581 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47582 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47585 COND_BUILD_DEBUG_UNICODE_0
="#"
47586 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47587 COND_BUILD_DEBUG_UNICODE_0
=""
47590 COND_BUILD_DEBUG_UNICODE_1
="#"
47591 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47592 COND_BUILD_DEBUG_UNICODE_1
=""
47595 COND_BUILD_RELEASE
="#"
47596 if test "x$BUILD" = "xrelease" ; then
47597 COND_BUILD_RELEASE
=""
47600 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47601 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47602 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47605 COND_BUILD_RELEASE_UNICODE_0
="#"
47606 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47607 COND_BUILD_RELEASE_UNICODE_0
=""
47610 COND_BUILD_RELEASE_UNICODE_1
="#"
47611 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47612 COND_BUILD_RELEASE_UNICODE_1
=""
47615 COND_DEBUG_FLAG_1
="#"
47616 if test "x$DEBUG_FLAG" = "x1" ; then
47617 COND_DEBUG_FLAG_1
=""
47620 COND_DEBUG_INFO_0
="#"
47621 if test "x$DEBUG_INFO" = "x0" ; then
47622 COND_DEBUG_INFO_0
=""
47625 COND_DEBUG_INFO_1
="#"
47626 if test "x$DEBUG_INFO" = "x1" ; then
47627 COND_DEBUG_INFO_1
=""
47630 COND_DEPS_TRACKING_0
="#"
47631 if test "x$DEPS_TRACKING" = "x0" ; then
47632 COND_DEPS_TRACKING_0
=""
47635 COND_DEPS_TRACKING_1
="#"
47636 if test "x$DEPS_TRACKING" = "x1" ; then
47637 COND_DEPS_TRACKING_1
=""
47641 if test "x$GCC_PCH" = "x1" ; then
47646 if test "x$ICC_PCH" = "x1" ; then
47650 COND_MONOLITHIC_0
="#"
47651 if test "x$MONOLITHIC" = "x0" ; then
47652 COND_MONOLITHIC_0
=""
47655 COND_MONOLITHIC_0_SHARED_0
="#"
47656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47657 COND_MONOLITHIC_0_SHARED_0
=""
47660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47680 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47682 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47685 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47687 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47690 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47692 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47695 COND_MONOLITHIC_0_SHARED_1
="#"
47696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47697 COND_MONOLITHIC_0_SHARED_1
=""
47700 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47705 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47715 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47725 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47727 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47730 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47732 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47735 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47736 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47737 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47740 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47741 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47742 COND_MONOLITHIC_0_USE_ODBC_1
=""
47745 COND_MONOLITHIC_1
="#"
47746 if test "x$MONOLITHIC" = "x1" ; then
47747 COND_MONOLITHIC_1
=""
47750 COND_MONOLITHIC_1_SHARED_0
="#"
47751 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47752 COND_MONOLITHIC_1_SHARED_0
=""
47755 COND_MONOLITHIC_1_SHARED_1
="#"
47756 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47757 COND_MONOLITHIC_1_SHARED_1
=""
47760 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47761 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47762 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47765 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47766 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47767 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47770 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47771 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47772 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47775 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47776 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47777 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47780 COND_PLATFORM_MACOSX_1
="#"
47781 if test "x$PLATFORM_MACOSX" = "x1" ; then
47782 COND_PLATFORM_MACOSX_1
=""
47785 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47786 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47787 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47790 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47791 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47792 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47795 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47796 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47800 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47801 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47802 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47805 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47806 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47807 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47810 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47811 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47812 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47815 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47816 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47817 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47820 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47821 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47822 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47825 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47826 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47827 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47830 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47831 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47832 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47835 COND_PLATFORM_MACOS_1
="#"
47836 if test "x$PLATFORM_MACOS" = "x1" ; then
47837 COND_PLATFORM_MACOS_1
=""
47840 COND_PLATFORM_MAC_1
="#"
47841 if test "x$PLATFORM_MAC" = "x1" ; then
47842 COND_PLATFORM_MAC_1
=""
47845 COND_PLATFORM_MSDOS_0
="#"
47846 if test "x$PLATFORM_MSDOS" = "x0" ; then
47847 COND_PLATFORM_MSDOS_0
=""
47850 COND_PLATFORM_MSDOS_1
="#"
47851 if test "x$PLATFORM_MSDOS" = "x1" ; then
47852 COND_PLATFORM_MSDOS_1
=""
47855 COND_PLATFORM_OS2_1
="#"
47856 if test "x$PLATFORM_OS2" = "x1" ; then
47857 COND_PLATFORM_OS2_1
=""
47860 COND_PLATFORM_UNIX_0
="#"
47861 if test "x$PLATFORM_UNIX" = "x0" ; then
47862 COND_PLATFORM_UNIX_0
=""
47865 COND_PLATFORM_UNIX_1
="#"
47866 if test "x$PLATFORM_UNIX" = "x1" ; then
47867 COND_PLATFORM_UNIX_1
=""
47870 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47871 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47872 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47875 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47876 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47877 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47880 COND_PLATFORM_WIN32_0
="#"
47881 if test "x$PLATFORM_WIN32" = "x0" ; then
47882 COND_PLATFORM_WIN32_0
=""
47885 COND_PLATFORM_WIN32_1
="#"
47886 if test "x$PLATFORM_WIN32" = "x1" ; then
47887 COND_PLATFORM_WIN32_1
=""
47891 if test "x$SHARED" = "x0" ; then
47895 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47896 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47897 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47900 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47901 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47902 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47906 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47907 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47910 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47911 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47912 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47915 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47916 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47917 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47920 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47921 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47922 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47925 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47926 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47927 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47930 COND_SHARED_0_USE_XRC_1
="#"
47931 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47932 COND_SHARED_0_USE_XRC_1
=""
47935 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47936 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47937 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47940 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47941 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47942 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47945 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47946 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47947 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47950 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47951 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47952 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47956 if test "x$SHARED" = "x1" ; then
47960 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47961 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47962 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47965 COND_SHARED_1_USE_XRC_1
="#"
47966 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47967 COND_SHARED_1_USE_XRC_1
=""
47971 if test "x$TOOLKIT" = "x" ; then
47975 COND_TOOLKIT_COCOA
="#"
47976 if test "x$TOOLKIT" = "xCOCOA" ; then
47977 COND_TOOLKIT_COCOA
=""
47980 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47981 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47982 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47985 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47986 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47987 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47990 COND_TOOLKIT_GTK
="#"
47991 if test "x$TOOLKIT" = "xGTK" ; then
47992 COND_TOOLKIT_GTK
=""
47995 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47996 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47997 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48001 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48002 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48005 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48006 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48007 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48010 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48011 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48012 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48015 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48016 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48017 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48020 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48021 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48022 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48025 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48026 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48027 COND_TOOLKIT_GTK_USE_GUI_1
=""
48030 COND_TOOLKIT_MAC
="#"
48031 if test "x$TOOLKIT" = "xMAC" ; then
48032 COND_TOOLKIT_MAC
=""
48035 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48036 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48037 COND_TOOLKIT_MAC_USE_GUI_1
=""
48040 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48041 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48042 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48045 COND_TOOLKIT_MGL
="#"
48046 if test "x$TOOLKIT" = "xMGL" ; then
48047 COND_TOOLKIT_MGL
=""
48050 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48051 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48052 COND_TOOLKIT_MGL_USE_GUI_1
=""
48055 COND_TOOLKIT_MOTIF
="#"
48056 if test "x$TOOLKIT" = "xMOTIF" ; then
48057 COND_TOOLKIT_MOTIF
=""
48060 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48061 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48062 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48065 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48066 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48067 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48070 COND_TOOLKIT_MSW
="#"
48071 if test "x$TOOLKIT" = "xMSW" ; then
48072 COND_TOOLKIT_MSW
=""
48075 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48076 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48077 COND_TOOLKIT_MSW_USE_GUI_1
=""
48080 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48081 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48082 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48085 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48086 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48087 COND_TOOLKIT_MSW_WXUNIV_0
=""
48090 COND_TOOLKIT_PM
="#"
48091 if test "x$TOOLKIT" = "xPM" ; then
48095 COND_TOOLKIT_PM_USE_GUI_1
="#"
48096 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48097 COND_TOOLKIT_PM_USE_GUI_1
=""
48100 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48101 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48102 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48105 COND_TOOLKIT_WINCE
="#"
48106 if test "x$TOOLKIT" = "xWINCE" ; then
48107 COND_TOOLKIT_WINCE
=""
48110 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48111 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48112 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48115 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48116 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48117 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48120 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48121 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48122 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48125 COND_TOOLKIT_X11
="#"
48126 if test "x$TOOLKIT" = "xX11" ; then
48127 COND_TOOLKIT_X11
=""
48130 COND_TOOLKIT_X11_USE_GUI_1
="#"
48131 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48132 COND_TOOLKIT_X11_USE_GUI_1
=""
48136 if test "x$UNICODE" = "x1" ; then
48140 COND_USE_EXCEPTIONS_0
="#"
48141 if test "x$USE_EXCEPTIONS" = "x0" ; then
48142 COND_USE_EXCEPTIONS_0
=""
48145 COND_USE_EXCEPTIONS_1
="#"
48146 if test "x$USE_EXCEPTIONS" = "x1" ; then
48147 COND_USE_EXCEPTIONS_1
=""
48151 if test "x$USE_GUI" = "x0" ; then
48156 if test "x$USE_GUI" = "x1" ; then
48160 COND_USE_GUI_1_WXUNIV_0
="#"
48161 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48162 COND_USE_GUI_1_WXUNIV_0
=""
48165 COND_USE_GUI_1_WXUNIV_1
="#"
48166 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48167 COND_USE_GUI_1_WXUNIV_1
=""
48170 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48171 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48172 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48175 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48176 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48177 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48180 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48181 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48182 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48185 COND_USE_ODBC_1
="#"
48186 if test "x$USE_ODBC" = "x1" ; then
48190 COND_USE_OPENGL_1
="#"
48191 if test "x$USE_OPENGL" = "x1" ; then
48192 COND_USE_OPENGL_1
=""
48196 if test "x$USE_PCH" = "x1" ; then
48200 COND_USE_PLUGINS_0
="#"
48201 if test "x$USE_PLUGINS" = "x0" ; then
48202 COND_USE_PLUGINS_0
=""
48205 COND_USE_RTTI_0
="#"
48206 if test "x$USE_RTTI" = "x0" ; then
48210 COND_USE_RTTI_1
="#"
48211 if test "x$USE_RTTI" = "x1" ; then
48215 COND_USE_SOSYMLINKS_1
="#"
48216 if test "x$USE_SOSYMLINKS" = "x1" ; then
48217 COND_USE_SOSYMLINKS_1
=""
48220 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48221 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48222 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48225 COND_USE_SOVERLINUX_1
="#"
48226 if test "x$USE_SOVERLINUX" = "x1" ; then
48227 COND_USE_SOVERLINUX_1
=""
48230 COND_USE_SOVERSION_0
="#"
48231 if test "x$USE_SOVERSION" = "x0" ; then
48232 COND_USE_SOVERSION_0
=""
48235 COND_USE_SOVERSOLARIS_1
="#"
48236 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48237 COND_USE_SOVERSOLARIS_1
=""
48240 COND_USE_THREADS_0
="#"
48241 if test "x$USE_THREADS" = "x0" ; then
48242 COND_USE_THREADS_0
=""
48245 COND_USE_THREADS_1
="#"
48246 if test "x$USE_THREADS" = "x1" ; then
48247 COND_USE_THREADS_1
=""
48251 if test "x$USE_XRC" = "x1" ; then
48255 COND_WINDOWS_IMPLIB_1
="#"
48256 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48257 COND_WINDOWS_IMPLIB_1
=""
48260 COND_WITH_PLUGIN_SDL_1
="#"
48261 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48262 COND_WITH_PLUGIN_SDL_1
=""
48266 if test "x$WXUNIV" = "x0" ; then
48271 if test "x$WXUNIV" = "x1" ; then
48275 COND_WXUSE_EXPAT_BUILTIN
="#"
48276 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48277 COND_WXUSE_EXPAT_BUILTIN
=""
48280 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48281 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48282 COND_WXUSE_LIBJPEG_BUILTIN
=""
48285 COND_WXUSE_LIBPNG_BUILTIN
="#"
48286 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48287 COND_WXUSE_LIBPNG_BUILTIN
=""
48290 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48291 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48292 COND_WXUSE_LIBTIFF_BUILTIN
=""
48295 COND_WXUSE_ODBC_BUILTIN
="#"
48296 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48297 COND_WXUSE_ODBC_BUILTIN
=""
48300 COND_WXUSE_REGEX_BUILTIN
="#"
48301 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48302 COND_WXUSE_REGEX_BUILTIN
=""
48305 COND_WXUSE_ZLIB_BUILTIN
="#"
48306 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48307 COND_WXUSE_ZLIB_BUILTIN
=""
48312 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48313 { { 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
48314 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;}
48315 { (exit 1); exit 1; }; }
48318 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48319 { { 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
48320 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;}
48321 { (exit 1); exit 1; }; }
48326 if test "$wxUSE_MAC" = 1 ; then
48327 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48328 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48334 if test "$wxUSE_SHARED" = "yes"; then
48336 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48337 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48340 *-pc-os2_emx | *-pc-os2-emx )
48341 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48342 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48343 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48344 cp -p ${srcdir}/src
/os
2/dllar.sh .
48349 EXE_LINKER
="$CXX -o"
48352 if test "$wxUSE_OMF" = "yes"; then
48354 *-pc-os2_emx | *-pc-os2-emx )
48355 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48356 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48357 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48362 if test $GCC_PCH = 1 ; then
48363 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48366 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48368 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48430 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48431 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48432 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48433 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48434 echo $ECHO_N "(cached) $ECHO_C" >&6
48436 cat >conftest.
make <<\_ACEOF
48438 @
echo 'ac_maketemp="$(MAKE)"'
48440 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48441 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48442 if test -n "$ac_maketemp"; then
48443 eval ac_cv_prog_make_
${ac_make}_set
=yes
48445 eval ac_cv_prog_make_
${ac_make}_set
=no
48447 rm -f conftest.
make
48449 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48450 echo "$as_me:$LINENO: result: yes" >&5
48451 echo "${ECHO_T}yes" >&6
48454 echo "$as_me:$LINENO: result: no" >&5
48455 echo "${ECHO_T}no" >&6
48456 SET_MAKE
="MAKE=${MAKE-make}"
48461 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48464 if test "$USE_WIN32" = 1; then
48465 ac_config_commands
="$ac_config_commands
48471 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48474 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48477 ac_config_files
="$ac_config_files version-script Makefile"
48480 ac_config_commands
="$ac_config_commands wx-config"
48484 if test "$wxWITH_SUBDIRS" != "no"; then
48485 if test "$wxUSE_GUI" = "yes"; then
48486 SUBDIRS
="samples demos utils contrib"
48487 else SUBDIRS
="samples utils"
48492 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48493 if test "${with_cppunit_prefix+set}" = set; then
48494 withval
="$with_cppunit_prefix"
48495 cppunit_config_prefix
="$withval"
48497 cppunit_config_prefix
=""
48500 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48501 if test "${with_cppunit_exec_prefix+set}" = set; then
48502 withval
="$with_cppunit_exec_prefix"
48503 cppunit_config_exec_prefix
="$withval"
48505 cppunit_config_exec_prefix
=""
48508 if test x
$cppunit_config_exec_prefix != x
; then
48509 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48510 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48511 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48514 if test x
$cppunit_config_prefix != x
; then
48515 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48516 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48517 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48521 # Extract the first word of "cppunit-config", so it can be a program name with args.
48522 set dummy cppunit
-config; ac_word
=$2
48523 echo "$as_me:$LINENO: checking for $ac_word" >&5
48524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48525 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48526 echo $ECHO_N "(cached) $ECHO_C" >&6
48528 case $CPPUNIT_CONFIG in
48530 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48534 for as_dir
in $PATH
48537 test -z "$as_dir" && as_dir
=.
48538 for ac_exec_ext
in '' $ac_executable_extensions; do
48539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48540 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48547 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48551 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48553 if test -n "$CPPUNIT_CONFIG"; then
48554 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48555 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48557 echo "$as_me:$LINENO: result: no" >&5
48558 echo "${ECHO_T}no" >&6
48561 cppunit_version_min
=1.8.0
48563 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48564 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48566 if test "$CPPUNIT_CONFIG" = "no" ; then
48569 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48570 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48571 cppunit_version
=`$CPPUNIT_CONFIG --version`
48573 cppunit_major_version
=`echo $cppunit_version | \
48574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48575 cppunit_minor_version
=`echo $cppunit_version | \
48576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48577 cppunit_micro_version
=`echo $cppunit_version | \
48578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48580 cppunit_major_min
=`echo $cppunit_version_min | \
48581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48582 cppunit_minor_min
=`echo $cppunit_version_min | \
48583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48584 cppunit_micro_min
=`echo $cppunit_version_min | \
48585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48587 cppunit_version_proper
=`expr \
48588 $cppunit_major_version \> $cppunit_major_min \| \
48589 $cppunit_major_version \= $cppunit_major_min \& \
48590 $cppunit_minor_version \> $cppunit_minor_min \| \
48591 $cppunit_major_version \= $cppunit_major_min \& \
48592 $cppunit_minor_version \= $cppunit_minor_min \& \
48593 $cppunit_micro_version \>= $cppunit_micro_min `
48595 if test "$cppunit_version_proper" = "1" ; then
48596 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48597 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48599 echo "$as_me:$LINENO: result: no" >&5
48600 echo "${ECHO_T}no" >&6
48605 if test "x$no_cppunit" = x
; then
48606 SUBDIRS
="$SUBDIRS tests"
48617 for subdir
in `echo $SUBDIRS`; do
48618 if test -d ${srcdir}/${subdir} ; then
48619 if test "$wxUSE_GUI" = "yes"; then
48620 if test ${subdir} = "samples"; then
48621 makefiles
="samples/Makefile.in $makefiles"
48622 for sample
in `echo $SAMPLES_SUBDIRS`; do
48623 if test -d $srcdir/samples
/$sample; then
48624 makefiles
="samples/$sample/Makefile.in $makefiles"
48628 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48629 eval "disabled=\$$disabled_var"
48630 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48631 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48633 else if test ${subdir} = "samples"; then
48634 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48635 elif test ${subdir} = "utils"; then
48637 for util
in HelpGen tex2rtf
; do
48638 if test -d $srcdir/utils
/$util ; then
48639 makefiles
="utils/$util/Makefile.in \
48640 utils/$util/src/Makefile.in \
48644 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48648 for mkin
in $makefiles ; do
48649 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48650 ac_config_files
="$ac_config_files $mk"
48656 cat >confcache
<<\_ACEOF
48657 # This file is a shell script that caches the results of configure
48658 # tests run on this system so they can be shared between configure
48659 # scripts and configure runs, see configure's option --config-cache.
48660 # It is not useful on other systems. If it contains results you don't
48661 # want to keep, you may remove or edit it.
48663 # config.status only pays attention to the cache file if you give it
48664 # the --recheck option to rerun configure.
48666 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48667 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48668 # following values.
48672 # The following way of writing the cache mishandles newlines in values,
48673 # but we know of no workaround that is simple, portable, and efficient.
48674 # So, don't put newlines in cache variables' values.
48675 # Ultrix sh set writes to stderr and can't be redirected directly,
48676 # and sets the high bit in the cache file unless we assign to the vars.
48679 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48681 # `set' does not quote correctly, so add quotes (double-quote
48682 # substitution turns \\\\ into \\, and sed turns \\ into \).
48685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48688 # `set' quotes correctly as required by POSIX, so do not add quotes.
48690 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48697 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48699 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48701 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48702 if test -w $cache_file; then
48703 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48704 cat confcache
>$cache_file
48706 echo "not updating unwritable cache $cache_file"
48711 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48712 # Let make expand exec_prefix.
48713 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48715 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48716 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48717 # trailing colons and then remove the whole line if VPATH becomes empty
48718 # (actually we leave an empty line to preserve line numbers).
48719 if test "x$srcdir" = x.
; then
48720 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48721 s/:*\$(srcdir):*/:/;
48722 s/:*\${srcdir}:*/:/;
48724 s/^\([^=]*=[ ]*\):*/\1/;
48730 DEFS
=-DHAVE_CONFIG_H
48734 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48735 # 1. Remove the extension, and $U if already installed.
48736 ac_i
=`echo "$ac_i" |
48737 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48739 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48740 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48742 LIBOBJS
=$ac_libobjs
48744 LTLIBOBJS
=$ac_ltlibobjs
48748 : ${CONFIG_STATUS=./config.status}
48749 ac_clean_files_save
=$ac_clean_files
48750 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48751 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48752 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48753 cat >$CONFIG_STATUS <<_ACEOF
48755 # Generated by $as_me.
48756 # Run this file to recreate the current configuration.
48757 # Compiler output produced by configure, useful for debugging
48758 # configure, is in config.log if it exists.
48761 ac_cs_recheck=false
48763 SHELL=\${CONFIG_SHELL-$SHELL}
48766 cat >>$CONFIG_STATUS <<\_ACEOF
48767 ## --------------------- ##
48768 ## M4sh Initialization. ##
48769 ## --------------------- ##
48771 # Be Bourne compatible
48772 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48775 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48776 # is contrary to our usage. Disable this feature.
48777 alias -g '${1+"$@"}'='"$@"'
48778 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48781 DUALCASE
=1; export DUALCASE
# for MKS sh
48783 # Support unset when possible.
48784 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48791 # Work around bugs in pre-3.0 UWIN ksh.
48792 $as_unset ENV MAIL MAILPATH
48799 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48800 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48801 LC_TELEPHONE LC_TIME
48803 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48804 eval $as_var=C
; export $as_var
48810 # Required to use basename.
48811 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48817 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48818 as_basename
=basename
48824 # Name of the executable.
48825 as_me
=`$as_basename "$0" ||
48826 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48827 X"$0" : 'X\(//\)$' \| \
48828 X"$0" : 'X\(/\)$' \| \
48829 . : '\(.\)' 2>/dev/null ||
48831 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48832 /^X\/\(\/\/\)$/{ s//\1/; q; }
48833 /^X\/\(\/\).*/{ s//\1/; q; }
48837 # PATH needs CR, and LINENO needs CR and PATH.
48838 # Avoid depending upon Character Ranges.
48839 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48840 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48841 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48842 as_cr_digits
='0123456789'
48843 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48845 # The user is always right.
48846 if test "${PATH_SEPARATOR+set}" != set; then
48847 echo "#! /bin/sh" >conf$$.sh
48848 echo "exit 0" >>conf$$.sh
48850 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48859 as_lineno_1
=$LINENO
48860 as_lineno_2
=$LINENO
48861 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48862 test "x$as_lineno_1" != "x$as_lineno_2" &&
48863 test "x$as_lineno_3" = "x$as_lineno_2" || {
48864 # Find who we are. Look in the path if we contain no path at all
48867 *[\\/]* ) as_myself
=$0 ;;
48868 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48869 for as_dir
in $PATH
48872 test -z "$as_dir" && as_dir
=.
48873 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48878 # We did not find ourselves, most probably we were run as `sh COMMAND'
48879 # in which case we are not to be found in the path.
48880 if test "x$as_myself" = x
; then
48883 if test ! -f "$as_myself"; then
48884 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48885 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48886 { (exit 1); exit 1; }; }
48888 case $CONFIG_SHELL in
48890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48891 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48894 test -z "$as_dir" && as_dir
=.
48895 for as_base
in sh bash ksh sh5
; do
48898 if ("$as_dir/$as_base" -c '
48899 as_lineno_1=$LINENO
48900 as_lineno_2=$LINENO
48901 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48902 test "x$as_lineno_1" != "x$as_lineno_2" &&
48903 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48904 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48905 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48906 CONFIG_SHELL
=$as_dir/$as_base
48907 export CONFIG_SHELL
48908 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48916 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48917 # uniformly replaced by the line number. The first 'sed' inserts a
48918 # line-number line before each line; the second 'sed' does the real
48919 # work. The second script uses 'N' to pair each line-number line
48920 # with the numbered line, and appends trailing '-' during
48921 # substitution so that $LINENO is not a special case at line end.
48922 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48923 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48924 sed '=' <$as_myself |
48929 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48932 s,^['$as_cr_digits']*\n,,
48933 ' >$as_me.lineno
&&
48934 chmod +x
$as_me.lineno
||
48935 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48936 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48937 { (exit 1); exit 1; }; }
48939 # Don't try to exec as it changes $[0], causing all sort of problems
48940 # (the dirname of $[0] is not the place where we might find the
48941 # original and so on. Autoconf is especially sensible to this).
48943 # Exit status is that of the last command.
48948 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48949 *c
*,-n*) ECHO_N
= ECHO_C
='
48951 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48952 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48955 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48961 rm -f conf$$ conf$$.exe conf$$.
file
48963 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48964 # We could just check for DJGPP; but this test a) works b) is more generic
48965 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48966 if test -f conf$$.exe
; then
48967 # Don't use ln at all; we don't have any links
48972 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48977 rm -f conf$$ conf$$.exe conf$$.
file
48979 if mkdir -p .
2>/dev
/null
; then
48982 test -d .
/-p && rmdir .
/-p
48986 as_executable_p
="test -f"
48988 # Sed expression to map a string onto a valid CPP name.
48989 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48991 # Sed expression to map a string onto a valid variable name.
48992 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48996 # We need space, tab and new line, in precisely that order.
49006 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49007 # report actual input values of CONFIG_FILES etc. instead of their
49008 # values after options handling. Logging --version etc. is OK.
49012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49013 ## Running $as_me. ##
49018 This file was extended by wxWidgets $as_me 2.7.0, which was
49019 generated by GNU Autoconf 2.59. Invocation command line was
49021 CONFIG_FILES = $CONFIG_FILES
49022 CONFIG_HEADERS = $CONFIG_HEADERS
49023 CONFIG_LINKS = $CONFIG_LINKS
49024 CONFIG_COMMANDS = $CONFIG_COMMANDS
49028 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49032 # Files that config.status was made for.
49033 if test -n "$ac_config_files"; then
49034 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49037 if test -n "$ac_config_headers"; then
49038 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49041 if test -n "$ac_config_links"; then
49042 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49045 if test -n "$ac_config_commands"; then
49046 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49049 cat >>$CONFIG_STATUS <<\_ACEOF
49052 \`$as_me' instantiates files from templates according to the
49053 current configuration.
49055 Usage: $0 [OPTIONS] [FILE]...
49057 -h, --help print this help, then exit
49058 -V, --version print version number, then exit
49059 -q, --quiet do not print progress messages
49060 -d, --debug don't remove temporary files
49061 --recheck update $as_me by reconfiguring in the same conditions
49062 --file=FILE[:TEMPLATE]
49063 instantiate the configuration file FILE
49064 --header=FILE[:TEMPLATE]
49065 instantiate the configuration header FILE
49067 Configuration files:
49070 Configuration headers:
49073 Configuration commands:
49076 Report bugs to <bug-autoconf@gnu.org>."
49079 cat >>$CONFIG_STATUS <<_ACEOF
49081 wxWidgets config.status 2.7.0
49082 configured by $0, generated by GNU Autoconf 2.59,
49083 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49085 Copyright (C) 2003 Free Software Foundation, Inc.
49086 This config.status script is free software; the Free Software Foundation
49087 gives unlimited permission to copy, distribute and modify it."
49092 cat >>$CONFIG_STATUS <<\_ACEOF
49093 # If no file are specified by the user, then we need to provide default
49094 # value. By we need to know if files were specified by the user.
49100 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49101 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49109 *) # This is not an option, so the user has probably given explicit
49112 ac_need_defaults
=false
;;
49116 # Handling of the options.
49118 cat >>$CONFIG_STATUS <<\_ACEOF
49119 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49121 --version | --vers* | -V )
49122 echo "$ac_cs_version"; exit 0 ;;
49124 # Conflict between --help and --header
49125 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49126 Try \`$0 --help' for more information." >&5
49127 echo "$as_me: error: ambiguous option: $1
49128 Try \`$0 --help' for more information." >&2;}
49129 { (exit 1); exit 1; }; };;
49130 --help | --hel | -h )
49131 echo "$ac_cs_usage"; exit 0 ;;
49132 --debug | --d* | -d )
49134 --file | --fil | --fi | --f )
49136 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49137 ac_need_defaults
=false
;;
49138 --header | --heade | --head | --hea )
49140 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49141 ac_need_defaults
=false
;;
49142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49143 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49146 # This is an error.
49147 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49148 Try \`$0 --help' for more information." >&5
49149 echo "$as_me: error: unrecognized option: $1
49150 Try \`$0 --help' for more information." >&2;}
49151 { (exit 1); exit 1; }; } ;;
49153 *) ac_config_targets
="$ac_config_targets $1" ;;
49159 ac_configure_extra_args
=
49161 if $ac_cs_silent; then
49163 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49167 cat >>$CONFIG_STATUS <<_ACEOF
49168 if \$ac_cs_recheck; then
49169 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49170 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49175 cat >>$CONFIG_STATUS <<_ACEOF
49177 # INIT-COMMANDS section.
49182 infile="$srcdir/include/wx/msw/genrcdefs.h"
49183 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49186 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49187 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49188 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49196 cat >>$CONFIG_STATUS <<\_ACEOF
49197 for ac_config_target
in $ac_config_targets
49199 case "$ac_config_target" in
49200 # Handling of arguments.
49201 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49202 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49203 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49204 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49205 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49206 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49207 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49208 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49209 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49210 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49211 { (exit 1); exit 1; }; };;
49215 # If the user did not use the arguments to specify the items to instantiate,
49216 # then the envvar interface is used. Set only those that are not.
49217 # We use the long form for the default assignment because of an extremely
49218 # bizarre bug on SunOS 4.1.3.
49219 if $ac_need_defaults; then
49220 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49221 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49222 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49225 # Have a temporary directory for convenience. Make it in the build tree
49226 # simply because there is no reason to put it here, and in addition,
49227 # creating and moving files from /tmp can sometimes cause problems.
49228 # Create a temporary directory, and hook for its removal unless debugging.
49231 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49232 trap '{ (exit 1); exit 1; }' 1 2 13 15
49235 # Create a (secure) tmp directory for tmp files.
49238 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49239 test -n "$tmp" && test -d "$tmp"
49242 tmp
=.
/confstat$$
-$RANDOM
49243 (umask 077 && mkdir $tmp)
49246 echo "$me: cannot create a temporary directory in ." >&2
49247 { (exit 1); exit 1; }
49252 cat >>$CONFIG_STATUS <<_ACEOF
49255 # CONFIG_FILES section.
49258 # No need to generate the scripts if there are no CONFIG_FILES.
49259 # This happens for instance when ./config.status config.h
49260 if test -n "\$CONFIG_FILES"; then
49261 # Protect against being on the right side of a sed subst in config.status.
49262 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49263 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49264 s,@SHELL@,$SHELL,;t t
49265 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49266 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49267 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49268 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49269 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49270 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49271 s,@exec_prefix@,$exec_prefix,;t t
49272 s,@prefix@,$prefix,;t t
49273 s,@program_transform_name@,$program_transform_name,;t t
49274 s,@bindir@,$bindir,;t t
49275 s,@sbindir@,$sbindir,;t t
49276 s,@libexecdir@,$libexecdir,;t t
49277 s,@datadir@,$datadir,;t t
49278 s,@sysconfdir@,$sysconfdir,;t t
49279 s,@sharedstatedir@,$sharedstatedir,;t t
49280 s,@localstatedir@,$localstatedir,;t t
49281 s,@libdir@,$libdir,;t t
49282 s,@includedir@,$includedir,;t t
49283 s,@oldincludedir@,$oldincludedir,;t t
49284 s,@infodir@,$infodir,;t t
49285 s,@mandir@,$mandir,;t t
49286 s,@build_alias@,$build_alias,;t t
49287 s,@host_alias@,$host_alias,;t t
49288 s,@target_alias@,$target_alias,;t t
49289 s,@DEFS@,$DEFS,;t t
49290 s,@ECHO_C@,$ECHO_C,;t t
49291 s,@ECHO_N@,$ECHO_N,;t t
49292 s,@ECHO_T@,$ECHO_T,;t t
49293 s,@LIBS@,$LIBS,;t t
49294 s,@build@,$build,;t t
49295 s,@build_cpu@,$build_cpu,;t t
49296 s,@build_vendor@,$build_vendor,;t t
49297 s,@build_os@,$build_os,;t t
49298 s,@host@,$host,;t t
49299 s,@host_cpu@,$host_cpu,;t t
49300 s,@host_vendor@,$host_vendor,;t t
49301 s,@host_os@,$host_os,;t t
49302 s,@target@,$target,;t t
49303 s,@target_cpu@,$target_cpu,;t t
49304 s,@target_vendor@,$target_vendor,;t t
49305 s,@target_os@,$target_os,;t t
49307 s,@CFLAGS@,$CFLAGS,;t t
49308 s,@LDFLAGS@,$LDFLAGS,;t t
49309 s,@CPPFLAGS@,$CPPFLAGS,;t t
49310 s,@ac_ct_CC@,$ac_ct_CC,;t t
49311 s,@EXEEXT@,$EXEEXT,;t t
49312 s,@OBJEXT@,$OBJEXT,;t t
49314 s,@EGREP@,$EGREP,;t t
49316 s,@CXXFLAGS@,$CXXFLAGS,;t t
49317 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49318 s,@RANLIB@,$RANLIB,;t t
49319 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49321 s,@ac_ct_AR@,$ac_ct_AR,;t t
49322 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49323 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49324 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49325 s,@STRIP@,$STRIP,;t t
49326 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49327 s,@WINDRES@,$WINDRES,;t t
49328 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49329 s,@DLLTOOL@,$DLLTOOL,;t t
49330 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49331 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49332 s,@LN_S@,$LN_S,;t t
49333 s,@CXXCPP@,$CXXCPP,;t t
49334 s,@subdirs@,$subdirs,;t t
49335 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49336 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49337 s,@GTK_LIBS@,$GTK_LIBS,;t t
49338 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49339 s,@X_CFLAGS@,$X_CFLAGS,;t t
49340 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49341 s,@X_LIBS@,$X_LIBS,;t t
49342 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49343 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49344 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49345 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49346 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49347 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49348 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49350 s,@DEREZ@,$DEREZ,;t t
49351 s,@SETFILE@,$SETFILE,;t t
49352 s,@LIBICONV@,$LIBICONV,;t t
49353 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49354 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49355 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49356 s,@SDL_LIBS@,$SDL_LIBS,;t t
49357 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49358 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49359 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49360 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49361 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49362 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49363 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49364 s,@GST_LIBS@,$GST_LIBS,;t t
49365 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49366 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49367 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49368 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49369 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49370 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49371 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49372 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49373 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49374 s,@VENDOR@,$VENDOR,;t t
49375 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49376 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49377 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49378 s,@WXUNIV@,$WXUNIV,;t t
49379 s,@MONOLITHIC@,$MONOLITHIC,;t t
49380 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49381 s,@EXTRALIBS@,$EXTRALIBS,;t t
49382 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49383 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49384 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49385 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49386 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49387 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49388 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49389 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49390 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49391 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49392 s,@UNICODE@,$UNICODE,;t t
49393 s,@BUILD@,$BUILD,;t t
49394 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49395 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49396 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49397 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49398 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49399 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49400 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49401 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49402 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49403 s,@SET_MAKE@,$SET_MAKE,;t t
49404 s,@MAKE_SET@,$MAKE_SET,;t t
49406 s,@ac_ct_NM@,$ac_ct_NM,;t t
49407 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49408 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49409 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49410 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49411 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49412 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49413 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49414 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49415 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49416 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49417 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49418 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49419 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49420 s,@LIBPREFIX@,$LIBPREFIX,;t t
49421 s,@LIBEXT@,$LIBEXT,;t t
49422 s,@DLLPREFIX@,$DLLPREFIX,;t t
49423 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49424 s,@dlldir@,$dlldir,;t t
49425 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49426 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49427 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49428 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49429 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49430 s,@PIC_FLAG@,$PIC_FLAG,;t t
49431 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49432 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49433 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49434 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49435 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49436 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49437 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49438 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49439 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49440 s,@GCC_PCH@,$GCC_PCH,;t t
49441 s,@ICC_PCH@,$ICC_PCH,;t t
49442 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49443 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49444 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49445 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49446 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49447 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49448 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49449 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49450 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49451 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49452 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49453 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49454 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49455 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49456 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49457 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49458 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49459 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49460 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49461 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
49462 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
49463 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
49464 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
49465 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49466 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49467 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49468 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49469 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
49470 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
49471 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
49472 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
49473 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49474 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49475 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49476 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49477 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49478 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49479 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49480 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49481 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49482 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49483 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49484 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49485 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49486 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49487 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49488 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49489 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49490 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
49491 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49492 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49493 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49494 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49495 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49496 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49497 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49498 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49499 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49500 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49501 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49502 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49503 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49504 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49505 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49506 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49507 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49508 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49509 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49510 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49511 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49512 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49513 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49514 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49515 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49516 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49517 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49518 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49519 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49520 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49521 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49522 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49523 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49524 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49525 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49526 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49527 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49528 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49529 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49530 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
49531 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49532 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49533 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49534 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49535 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49536 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49537 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49538 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49539 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49540 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49541 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49542 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49543 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49544 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49545 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49546 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49547 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49548 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49549 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49550 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49551 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49552 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49553 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49554 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49555 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49556 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49557 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49558 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49559 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49560 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49561 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49562 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49563 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49564 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49565 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49566 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49567 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49568 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49569 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49570 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49571 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49572 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49573 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49574 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49575 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49576 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49577 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49578 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49579 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49580 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49581 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49582 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49583 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49584 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49585 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49586 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49587 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49588 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49589 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49590 s,@SHARED@,$SHARED,;t t
49591 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49592 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49593 s,@USE_GUI@,$USE_GUI,;t t
49594 s,@AFMINSTALL@,$AFMINSTALL,;t t
49595 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49596 s,@TOOLKIT@,$TOOLKIT,;t t
49597 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49598 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49599 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49600 s,@cross_compiling@,$cross_compiling,;t t
49601 s,@WIDGET_SET@,$WIDGET_SET,;t t
49602 s,@WX_RELEASE@,$WX_RELEASE,;t t
49603 s,@WX_VERSION@,$WX_VERSION,;t t
49604 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49605 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49606 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49607 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49608 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49609 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49610 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49611 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49612 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49613 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49614 s,@EXE_LINKER@,$EXE_LINKER,;t t
49615 s,@GUIDIST@,$GUIDIST,;t t
49616 s,@DISTDIR@,$DISTDIR,;t t
49617 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49618 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49619 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49620 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49621 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49622 s,@RESCOMP@,$RESCOMP,;t t
49623 s,@RESFLAGS@,$RESFLAGS,;t t
49624 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49625 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49626 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49627 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49628 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49629 s,@MACSETFILE@,$MACSETFILE,;t t
49631 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49632 s,@LIBOBJS@,$LIBOBJS,;t t
49633 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49638 cat >>$CONFIG_STATUS <<\_ACEOF
49639 # Split the substitutions into bite-sized pieces for seds with
49640 # small command number limits, like on Digital OSF/1 and HP-UX.
49641 ac_max_sed_lines
=48
49642 ac_sed_frag
=1 # Number of current file.
49643 ac_beg
=1 # First line for current file.
49644 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49647 while $ac_more_lines; do
49648 if test $ac_beg -gt 1; then
49649 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49651 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49653 if test ! -s $tmp/subs.frag
; then
49654 ac_more_lines
=false
49656 # The purpose of the label and of the branching condition is to
49657 # speed up the sed processing (if there are no `@' at all, there
49658 # is no need to browse any of the substitutions).
49659 # These are the two extra sed commands mentioned above.
49661 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49662 if test -z "$ac_sed_cmds"; then
49663 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49665 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49667 ac_sed_frag
=`expr $ac_sed_frag + 1`
49669 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49672 if test -z "$ac_sed_cmds"; then
49675 fi # test -n "$CONFIG_FILES"
49678 cat >>$CONFIG_STATUS <<\_ACEOF
49679 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49680 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49682 - | *:- | *:-:* ) # input from stdin
49684 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49685 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49686 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49687 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49688 * ) ac_file_in
=$ac_file.
in ;;
49691 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49692 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49694 X"$ac_file" : 'X\(//\)[^/]' \| \
49695 X"$ac_file" : 'X\(//\)$' \| \
49696 X"$ac_file" : 'X\(/\)' \| \
49697 . : '\(.\)' 2>/dev/null ||
49699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49701 /^X\(\/\/\)$/{ s//\1/; q; }
49702 /^X\(\/\).*/{ s//\1/; q; }
49704 { if $as_mkdir_p; then
49709 while test ! -d "$as_dir"; do
49710 as_dirs
="$as_dir $as_dirs"
49711 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49712 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49713 X"$as_dir" : 'X\(//\)[^/]' \| \
49714 X"$as_dir" : 'X\(//\)$' \| \
49715 X"$as_dir" : 'X\(/\)' \| \
49716 . : '\(.\)' 2>/dev/null ||
49718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49720 /^X\(\/\/\)$/{ s//\1/; q; }
49721 /^X\(\/\).*/{ s//\1/; q; }
49724 test ! -n "$as_dirs" || mkdir $as_dirs
49725 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49726 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49727 { (exit 1); exit 1; }; }; }
49731 if test "$ac_dir" != .
; then
49732 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49733 # A "../" for each directory in $ac_dir_suffix.
49734 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49736 ac_dir_suffix
= ac_top_builddir
=
49740 .
) # No --srcdir option. We are building in place.
49742 if test -z "$ac_top_builddir"; then
49745 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49747 [\\/]* | ?
:[\\/]* ) # Absolute path.
49748 ac_srcdir
=$srcdir$ac_dir_suffix;
49749 ac_top_srcdir
=$srcdir ;;
49750 *) # Relative path.
49751 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49752 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49755 # Do not use `cd foo && pwd` to compute absolute paths, because
49756 # the directories may not exist.
49758 .
) ac_abs_builddir
="$ac_dir";;
49761 .
) ac_abs_builddir
=`pwd`;;
49762 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49763 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49766 case $ac_abs_builddir in
49767 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49769 case ${ac_top_builddir}.
in
49770 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49771 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49772 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49775 case $ac_abs_builddir in
49776 .
) ac_abs_srcdir
=$ac_srcdir;;
49779 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49780 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49781 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49784 case $ac_abs_builddir in
49785 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49787 case $ac_top_srcdir in
49788 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49789 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49790 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49796 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49797 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49800 # Let's still pretend it is `configure' which instantiates (i.e., don't
49801 # use $as_me), people would be surprised to read:
49802 # /* config.h. Generated by config.status. */
49803 if test x
"$ac_file" = x
-; then
49806 configure_input
="$ac_file. "
49808 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49809 sed 's,.*/,,'` by configure."
49811 # First look for the input files in the build tree, otherwise in the
49813 ac_file_inputs
=`IFS=:
49814 for f in $ac_file_in; do
49816 -) echo $tmp/stdin ;;
49818 # Absolute (can't be DOS-style, as IFS=:)
49819 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49820 echo "$as_me: error: cannot find input file: $f" >&2;}
49821 { (exit 1); exit 1; }; }
49824 if test -f "$f"; then
49827 elif test -f "$srcdir/$f"; then
49832 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49833 echo "$as_me: error: cannot find input file: $f" >&2;}
49834 { (exit 1); exit 1; }; }
49837 done` || { (exit 1); exit 1; }
49839 if test x
"$ac_file" != x
-; then
49840 { echo "$as_me:$LINENO: creating $ac_file" >&5
49841 echo "$as_me: creating $ac_file" >&6;}
49845 cat >>$CONFIG_STATUS <<_ACEOF
49849 cat >>$CONFIG_STATUS <<\_ACEOF
49851 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49852 s
,@configure_input@
,$configure_input,;t t
49853 s
,@srcdir@
,$ac_srcdir,;t t
49854 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49855 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49856 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49857 s
,@builddir@
,$ac_builddir,;t t
49858 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49859 s
,@top_builddir@
,$ac_top_builddir,;t t
49860 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49861 s
,@INSTALL@
,$ac_INSTALL,;t t
49862 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49864 if test x"$ac_file" != x-; then
49865 mv $tmp/out $ac_file
49871 # Run the commands associated with the file.
49873 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49874 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49878 cat >>$CONFIG_STATUS <<\_ACEOF
49881 # CONFIG_HEADER section.
49884 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49885 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49887 # ac_d sets the value in "#define NAME VALUE" lines.
49888 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49889 ac_dB
='[ ].*$,\1#\2'
49892 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49893 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49894 ac_uB
='$,\1#\2define\3'
49898 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49899 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49901 - | *:- | *:-:* ) # input from stdin
49903 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49904 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49905 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49906 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49907 * ) ac_file_in
=$ac_file.
in ;;
49910 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49911 echo "$as_me: creating $ac_file" >&6;}
49913 # First look for the input files in the build tree, otherwise in the
49915 ac_file_inputs
=`IFS=:
49916 for f in $ac_file_in; do
49918 -) echo $tmp/stdin ;;
49920 # Absolute (can't be DOS-style, as IFS=:)
49921 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49922 echo "$as_me: error: cannot find input file: $f" >&2;}
49923 { (exit 1); exit 1; }; }
49924 # Do quote $f, to prevent DOS paths from being IFS'd.
49927 if test -f "$f"; then
49930 elif test -f "$srcdir/$f"; then
49935 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49936 echo "$as_me: error: cannot find input file: $f" >&2;}
49937 { (exit 1); exit 1; }; }
49940 done` || { (exit 1); exit 1; }
49941 # Remove the trailing spaces.
49942 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49946 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49947 # `conftest.undefs', that substitutes the proper values into
49948 # config.h.in to produce config.h. The first handles `#define'
49949 # templates, and the second `#undef' templates.
49950 # And first: Protect against being on the right side of a sed subst in
49951 # config.status. Protect against being in an unquoted here document
49952 # in config.status.
49953 rm -f conftest.defines conftest.undefs
49954 # Using a here document instead of a string reduces the quoting nightmare.
49955 # Putting comments in sed scripts is not portable.
49957 # `end' is used to avoid that the second main sed command (meant for
49958 # 0-ary CPP macros) applies to n-ary macro definitions.
49959 # See the Autoconf documentation for `clear'.
49960 cat >confdef2sed.
sed <<\_ACEOF
49965 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49967 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49970 # If some macros were called several times there might be several times
49971 # the same #defines, which is useless. Nevertheless, we may not want to
49972 # sort them, since we want the *last* AC-DEFINE to be honored.
49973 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49974 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49975 rm -f confdef2sed.sed
49977 # This sed command replaces #undef with comments. This is necessary, for
49978 # example, in the case of _POSIX_SOURCE, which is predefined and required
49979 # on some systems where configure will not decide to define it.
49980 cat >>conftest.undefs <<\_ACEOF
49981 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49984 # Break up conftest.defines because some shells have a limit on the size
49985 # of here documents, and old seds have small limits too (100 cmds).
49986 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49987 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49988 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49989 echo ' :' >>$CONFIG_STATUS
49990 rm -f conftest.tail
49991 while grep . conftest.defines >/dev/null
49993 # Write a limited-size here document to $tmp/defines.sed.
49994 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49995 # Speed up: don't consider the non `#define' lines.
49996 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49997 # Work around the forget-to-reset-the-flag bug.
49998 echo 't clr' >>$CONFIG_STATUS
49999 echo ': clr' >>$CONFIG_STATUS
50000 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50002 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50004 mv $tmp/out $tmp/in
50006 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50007 rm -f conftest.defines
50008 mv conftest.
tail conftest.defines
50010 rm -f conftest.defines
50011 echo ' fi # grep' >>$CONFIG_STATUS
50012 echo >>$CONFIG_STATUS
50014 # Break up conftest.undefs because some shells have a limit on the size
50015 # of here documents, and old seds have small limits too (100 cmds).
50016 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50017 rm -f conftest.
tail
50018 while grep . conftest.undefs
>/dev
/null
50020 # Write a limited-size here document to $tmp/undefs.sed.
50021 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50022 # Speed up: don't consider the non
`#undef'
50023 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50024 # Work around the forget-to-reset-the-flag bug.
50025 echo 't clr' >>$CONFIG_STATUS
50026 echo ': clr' >>$CONFIG_STATUS
50027 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50029 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50031 mv $tmp/out $tmp/in
50033 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50034 rm -f conftest.undefs
50035 mv conftest.tail conftest.undefs
50037 rm -f conftest.undefs
50039 cat >>$CONFIG_STATUS <<\_ACEOF
50040 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50041 # use $as_me), people would be surprised to read:
50042 # /* config.h. Generated by config.status. */
50043 if test x
"$ac_file" = x
-; then
50044 echo "/* Generated by configure. */" >$tmp/config.h
50046 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50048 cat $tmp/in >>$tmp/config.h
50050 if test x
"$ac_file" != x
-; then
50051 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50052 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50053 echo "$as_me: $ac_file is unchanged" >&6;}
50055 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50057 X"$ac_file" : 'X\(//\)[^/]' \| \
50058 X"$ac_file" : 'X\(//\)$' \| \
50059 X"$ac_file" : 'X\(/\)' \| \
50060 . : '\(.\)' 2>/dev/null ||
50062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50064 /^X\(\/\/\)$/{ s//\1/; q; }
50065 /^X\(\/\).*/{ s//\1/; q; }
50067 { if $as_mkdir_p; then
50072 while test ! -d "$as_dir"; do
50073 as_dirs
="$as_dir $as_dirs"
50074 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50076 X"$as_dir" : 'X\(//\)[^/]' \| \
50077 X"$as_dir" : 'X\(//\)$' \| \
50078 X"$as_dir" : 'X\(/\)' \| \
50079 . : '\(.\)' 2>/dev/null ||
50081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50083 /^X\(\/\/\)$/{ s//\1/; q; }
50084 /^X\(\/\).*/{ s//\1/; q; }
50087 test ! -n "$as_dirs" || mkdir $as_dirs
50088 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50089 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50090 { (exit 1); exit 1; }; }; }
50093 mv $tmp/config.h
$ac_file
50097 rm -f $tmp/config.h
50101 cat >>$CONFIG_STATUS <<\_ACEOF
50104 # CONFIG_COMMANDS section.
50106 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50107 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50108 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50109 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50110 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50111 X"$ac_dest" : 'X\(//\)[^/]' \| \
50112 X"$ac_dest" : 'X\(//\)$' \| \
50113 X"$ac_dest" : 'X\(/\)' \| \
50114 . : '\(.\)' 2>/dev/null ||
50116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50117 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50118 /^X\(\/\/\)$/{ s//\1/; q; }
50119 /^X\(\/\).*/{ s//\1/; q; }
50121 { if $as_mkdir_p; then
50126 while test ! -d "$as_dir"; do
50127 as_dirs
="$as_dir $as_dirs"
50128 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50130 X"$as_dir" : 'X\(//\)[^/]' \| \
50131 X"$as_dir" : 'X\(//\)$' \| \
50132 X"$as_dir" : 'X\(/\)' \| \
50133 . : '\(.\)' 2>/dev/null ||
50135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50137 /^X\(\/\/\)$/{ s//\1/; q; }
50138 /^X\(\/\).*/{ s//\1/; q; }
50141 test ! -n "$as_dirs" || mkdir $as_dirs
50142 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50143 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50144 { (exit 1); exit 1; }; }; }
50148 if test "$ac_dir" != .
; then
50149 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50150 # A "../" for each directory in $ac_dir_suffix.
50151 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50153 ac_dir_suffix
= ac_top_builddir
=
50157 .
) # No --srcdir option. We are building in place.
50159 if test -z "$ac_top_builddir"; then
50162 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50164 [\\/]* | ?
:[\\/]* ) # Absolute path.
50165 ac_srcdir
=$srcdir$ac_dir_suffix;
50166 ac_top_srcdir
=$srcdir ;;
50167 *) # Relative path.
50168 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50169 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50172 # Do not use `cd foo && pwd` to compute absolute paths, because
50173 # the directories may not exist.
50175 .
) ac_abs_builddir
="$ac_dir";;
50178 .
) ac_abs_builddir
=`pwd`;;
50179 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50180 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50183 case $ac_abs_builddir in
50184 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50186 case ${ac_top_builddir}.
in
50187 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50188 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50189 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50192 case $ac_abs_builddir in
50193 .
) ac_abs_srcdir
=$ac_srcdir;;
50196 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50197 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50198 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50201 case $ac_abs_builddir in
50202 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50204 case $ac_top_srcdir in
50205 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50206 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50207 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50212 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50213 echo "$as_me: executing $ac_dest commands" >&6;}
50216 mkdir -p $outdir &&
50217 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50219 wx
-config ) rm -f wx
-config
50220 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50226 cat >>$CONFIG_STATUS <<\_ACEOF
50228 { (exit 0); exit 0; }
50230 chmod +x
$CONFIG_STATUS
50231 ac_clean_files
=$ac_clean_files_save
50234 # configure is writing to config.log, and then calls config.status.
50235 # config.status does its own redirection, appending to config.log.
50236 # Unfortunately, on DOS this fails, as config.log is still kept open
50237 # by configure, so config.status won't be able to write to it; its
50238 # output is simply discarded. So we exec the FD to /dev/null,
50239 # effectively closing config.log, so it can be properly (re)opened and
50240 # appended to by config.status. When coming back to configure, we
50241 # need to make the FD available again.
50242 if test "$no_create" != yes; then
50244 ac_config_status_args
=
50245 test "$silent" = yes &&
50246 ac_config_status_args
="$ac_config_status_args --quiet"
50248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50251 # would make configure fail if this is the last instruction.
50252 $ac_cs_success || { (exit 1); exit 1; }
50256 # CONFIG_SUBDIRS section.
50258 if test "$no_recursion" != yes; then
50260 # Remove --cache-file and --srcdir arguments so they do not pile up.
50261 ac_sub_configure_args
=
50263 for ac_arg
in $ac_configure_args; do
50264 if test -n "$ac_prev"; then
50269 -cache-file | --cache-file | --cache-fil | --cache-fi \
50270 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50271 ac_prev
=cache_file
;;
50272 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50273 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50276 --config-cache | -C)
50278 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50280 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50282 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50284 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50286 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50290 # Always prepend --prefix to ensure using the same prefix
50291 # in subdir configurations.
50292 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50295 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50297 # Do not complain, so a configure script can configure whichever
50298 # parts of a large source tree are present.
50299 test -d $srcdir/$ac_dir || continue
50301 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50302 echo "$as_me: configuring in $ac_dir" >&6;}
50303 { if $as_mkdir_p; then
50308 while test ! -d "$as_dir"; do
50309 as_dirs
="$as_dir $as_dirs"
50310 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50312 X"$as_dir" : 'X\(//\)[^/]' \| \
50313 X"$as_dir" : 'X\(//\)$' \| \
50314 X"$as_dir" : 'X\(/\)' \| \
50315 . : '\(.\)' 2>/dev/null ||
50317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50318 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50319 /^X\(\/\/\)$/{ s//\1/; q; }
50320 /^X\(\/\).*/{ s//\1/; q; }
50323 test ! -n "$as_dirs" || mkdir $as_dirs
50324 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50325 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50326 { (exit 1); exit 1; }; }; }
50330 if test "$ac_dir" != .
; then
50331 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50332 # A "../" for each directory in $ac_dir_suffix.
50333 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50335 ac_dir_suffix
= ac_top_builddir
=
50339 .
) # No --srcdir option. We are building in place.
50341 if test -z "$ac_top_builddir"; then
50344 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50346 [\\/]* | ?
:[\\/]* ) # Absolute path.
50347 ac_srcdir
=$srcdir$ac_dir_suffix;
50348 ac_top_srcdir
=$srcdir ;;
50349 *) # Relative path.
50350 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50351 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50354 # Do not use `cd foo && pwd` to compute absolute paths, because
50355 # the directories may not exist.
50357 .
) ac_abs_builddir
="$ac_dir";;
50360 .
) ac_abs_builddir
=`pwd`;;
50361 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50362 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50365 case $ac_abs_builddir in
50366 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50368 case ${ac_top_builddir}.
in
50369 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50370 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50371 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50374 case $ac_abs_builddir in
50375 .
) ac_abs_srcdir
=$ac_srcdir;;
50378 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50379 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50380 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50383 case $ac_abs_builddir in
50384 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50386 case $ac_top_srcdir in
50387 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50388 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50389 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50396 # Check for guested configure; otherwise get Cygnus style configure.
50397 if test -f $ac_srcdir/configure.gnu
; then
50398 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50399 elif test -f $ac_srcdir/configure
; then
50400 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50401 elif test -f $ac_srcdir/configure.
in; then
50402 ac_sub_configure
=$ac_configure
50404 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50405 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50409 # The recursion is here.
50410 if test -n "$ac_sub_configure"; then
50411 # Make the cache file name correct relative to the subdirectory.
50412 case $cache_file in
50413 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50414 *) # Relative path.
50415 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50418 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50419 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50420 # The eval makes quoting arguments work.
50421 eval $ac_sub_configure $ac_sub_configure_args \
50422 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50423 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50424 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50425 { (exit 1); exit 1; }; }
50434 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50436 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50437 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50439 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50440 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50441 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50443 echo " What level of wxWidgets compatibility should be enabled?"
50444 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50445 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50447 echo " Which libraries should wxWidgets use?"
50448 echo " jpeg ${wxUSE_LIBJPEG-none}"
50449 echo " png ${wxUSE_LIBPNG-none}"
50450 echo " regex ${wxUSE_REGEX}"
50451 echo " tiff ${wxUSE_LIBTIFF-none}"
50452 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50453 echo " xpm ${wxUSE_LIBXPM-none}"
50455 echo " zlib ${wxUSE_ZLIB}"
50456 echo " odbc ${wxUSE_ODBC}"
50457 echo " expat ${wxUSE_EXPAT}"
50458 echo " libmspack ${wxUSE_LIBMSPACK}"
50459 echo " sdl ${wxUSE_LIBSDL}"
50460 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50461 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50462 echo " hildon ${wxUSE_LIBHILDON-none}"