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 ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
853 ac_env_GST_LIBS_set
=${GST_LIBS+set}
854 ac_env_GST_LIBS_value
=$GST_LIBS
855 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value
=$GST_LIBS
859 # Report the --help message.
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
867 Usage: $0 [OPTION]... [VAR=VALUE]...
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
872 Defaults for the options are specified in brackets.
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
899 For better control, use the options below.
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
919 --x-includes=DIR X include files are
in DIR
920 --x-libraries=DIR X library files are
in DIR
923 --build=BUILD configure
for building on BUILD
[guessed
]
924 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
925 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
936 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
937 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
944 --enable-gpe use GNOME PDA Environment features
if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL
for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C
++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
961 --enable-compat24 enable wxWidgets
2.4 compatibility
962 --disable-compat26 disable wxWidgets
2.6 compatibility
963 --disable-rpath disable use of rpath
for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig
(and derived
) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP
(requires wxProtocol
968 --enable-http use wxHTTP
(requires wxProtocol
969 --enable-fileproto use wxFileProto class
(requires wxProtocol
970 --enable-sockets use socket
/network classes
971 --enable-ole use OLE classes
(Win32 only
)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication
(wxSocket etc.
)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class
for getting backtraces
977 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class
for DLL loading
983 --enable-dynamicloader use
(new
) wxDynamicLibrary class
984 --enable-exceptions build exception
-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual
file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP
/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C
++ stream classes
998 --enable-std_string use standard C
++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support
in wxProtocol
1016 --enable-protocol-ftp FTP support
in wxProtocol
1017 --enable-protocol-file FILE support
in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use
help subsystem
1021 --enable-mshtmlhelp use MS HTML Help
(win32
)
1022 --enable-html use wxHTML sub
-library
1023 --enable-htmlhelp use wxHTML
-based help
1024 --enable-xrc use XRC resources sub
-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout
-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl
(Mac
)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-graphics_ctx use graphics context
2D drawing API
1036 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1037 --enable-prologio not available
; see contrib
1038 --enable-resources not available
; see contrib
1039 --enable-clipboard use wxClipboard class
1040 --enable-dnd use Drag
'n'Drop classes
1041 --enable-metafile use win32 metafiles
1042 --enable-controls use all usual controls
1043 --enable-accel use accelerators
1044 --enable-button use wxButton class
1045 --enable-bmpbutton use wxBitmapButton class
1046 --enable-bmpcombobox use wxBitmapComboBox class
1047 --enable-calendar use wxCalendarCtrl class
1048 --enable-caret use wxCaret class
1049 --enable-checkbox use wxCheckBox class
1050 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1051 --enable-choice use wxChoice class
1052 --enable-choicebook use wxChoicebook class
1053 --enable-colourpicker use wxColourPickerCtrl class
1054 --enable-combobox use wxComboBox class
1055 --enable-comboctrl use wxComboCtrl class
1056 --enable-datepick use wxDatePickerCtrl class
1057 --enable-dirpicker use wxDirPickerCtrl class
1058 --enable-display use wxDisplay class
1059 --enable-filepicker use wxFilePickerCtrl class
1060 --enable-fontpicker use wxFontPickerCtrl class
1061 --enable-gauge use wxGauge class
1062 --enable-grid use wxGrid class
1063 --enable-dataviewctrl, use wxDataViewCtrl class
1064 --enable-hyperlink use wxHyperlinkCtrl class
1065 --enable-imaglist use wxImageList class
1066 --enable-listbook use wxListbook class
1067 --enable-listbox use wxListBox class
1068 --enable-listctrl use wxListCtrl class
1069 --enable-notebook use wxNotebook class
1070 --enable-odcombobox use wxOwnerDrawnComboBox class
1071 --enable-radiobox use wxRadioBox class
1072 --enable-radiobtn use wxRadioButton class
1073 --enable-sash use wxSashWindow class
1074 --enable-scrollbar use wxScrollBar class and scrollable windows
1075 --enable-slider use wxSlider class
1076 --enable-spinbtn use wxSpinButton class
1077 --enable-spinctrl use wxSpinCtrl class
1078 --enable-splitter use wxSplitterWindow class
1079 --enable-statbmp use wxStaticBitmap class
1080 --enable-statbox use wxStaticBox class
1081 --enable-statline use wxStaticLine class
1082 --enable-stattext use wxStaticText class
1083 --enable-statusbar use wxStatusBar class
1084 --enable-tabdialog use wxTabControl class
1085 --enable-textctrl use wxTextCtrl class
1086 --enable-togglebtn use wxToggleButton class
1087 --enable-toolbar use wxToolBar class
1088 --enable-tbarnative use native wxToolBar class
1089 --enable-treebook use wxTreebook class
1090 --enable-toolbook use wxToolbook class
1091 --enable-treectrl use wxTreeCtrl class
1092 --enable-tipwindow use wxTipWindow class
1093 --enable-popupwin use wxPopUpWindow class
1094 --enable-commondlg use all common dialogs
1095 --enable-aboutdlg use wxAboutBox
1096 --enable-choicedlg use wxChoiceDialog
1097 --enable-coldlg use wxColourDialog
1098 --enable-filedlg use wxFileDialog
1099 --enable-finddlg use wxFindReplaceDialog
1100 --enable-fontdlg use wxFontDialog
1101 --enable-dirdlg use wxDirDialog
1102 --enable-msgdlg use wxMessageDialog
1103 --enable-numberdlg use wxNumberEntryDialog
1104 --enable-splash use wxSplashScreen
1105 --enable-textdlg use wxTextDialog
1106 --enable-tipdlg use startup tips
1107 --enable-progressdlg use wxProgressDialog
1108 --enable-wizarddlg use wxWizard
1109 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1110 --enable-miniframe use wxMiniFrame class
1111 --enable-tooltips use wxToolTip class
1112 --enable-splines use spline drawing code
1113 --enable-mousewheel use mousewheel
1114 --enable-validators use wxValidator and derived classes
1115 --enable-busyinfo use wxBusyInfo
1116 --enable-joystick use wxJoystick
1117 --enable-metafiles use wxMetaFile
(Win32 only
)
1118 --enable-dragimage use wxDragImage
1119 --enable-accessibility enable accessibility support
1120 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1121 --enable-palette use wxPalette class
1122 --enable-image use wxImage class
1123 --enable-gif use gif images
(GIF
file format
)
1124 --enable-pcx use pcx images
(PCX
file format
)
1125 --enable-iff use iff images
(IFF
file format
)
1126 --enable-pnm use pnm images
(PNM
file format
)
1127 --enable-xpm use xpm images
(XPM
file format
)
1128 --enable-icocur use Windows ICO and CUR formats
1129 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1130 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1131 --disable-largefile omit support
for large files
1132 --disable-gtktest do not try to compile and run a
test GTK
+ program
1133 --disable-gtktest Do not try to compile and run a
test GTK program
1134 --disable-sdltest Do not try to compile and run a
test SDL program
1135 --enable-omf use OMF object format
(OS
/2)
1136 --disable-dependency-tracking
1137 don
't use dependency tracking even if the compiler
1139 --disable-precomp-headers
1140 don't use precompiled headers even
if compiler can
1143 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1144 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1145 --without-subdirs don
't generate makefiles for samples/demos/...
1146 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1147 --with-motif use Motif/Lesstif
1148 --with-mac use Mac OS X
1149 --with-cocoa use Cocoa
1150 --with-wine use Wine
1151 --with-msw use MS-Windows
1152 --with-pm use OS/2 Presentation Manager
1153 --with-mgl use SciTech MGL
1154 --with-directfb use DirectFB
1155 --with-microwin use MicroWindows
1157 --with-libpng use libpng (PNG image format)
1158 --with-libjpeg use libjpeg (JPEG file format)
1159 --with-libtiff use libtiff (TIFF file format)
1160 --with-libxpm use libxpm (XPM file format)
1161 --with-libmspack use libmspack (CHM help files loading)
1162 --with-sdl use SDL for audio on Unix
1163 --with-gnomeprint use GNOME print for printing under GNOME
1164 --with-gnomevfs use GNOME VFS for associating MIME types
1165 --with-hildon use Hildon framework for Nokia 770
1166 --with-opengl use OpenGL (or Mesa)
1167 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1168 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1169 --with-regex enable support for wxRegEx class
1170 --with-zlib use zlib for LZW compression
1171 --with-odbc use the IODBC and wxODBC classes
1172 --with-expat enable XML support using expat parser
1173 --with-flavour=NAME specify a name to identify this build
1174 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1175 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1176 --with-x use the X Window System
1177 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1178 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1179 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1180 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1181 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1183 Some influential environment variables:
1184 CC C compiler command
1185 CFLAGS C compiler flags
1186 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1187 nonstandard directory <lib dir>
1188 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1189 headers in a nonstandard directory <include dir>
1191 CXX C++ compiler command
1192 CXXFLAGS C++ compiler flags
1193 CXXCPP C++ preprocessor
1194 PKG_CONFIG path to pkg-config utility
1196 C compiler flags for DIRECTFB, overriding pkg-config
1198 linker flags for DIRECTFB, overriding pkg-config
1200 C compiler flags for PANGOX, overriding pkg-config
1201 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1203 C compiler flags for PANGOFT2, overriding pkg-config
1205 linker flags for PANGOFT2, overriding pkg-config
1207 C compiler flags for PANGOXFT, overriding pkg-config
1209 linker flags for PANGOXFT, overriding pkg-config
1210 LIBGNOMEPRINTUI_CFLAGS
1211 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1212 LIBGNOMEPRINTUI_LIBS
1213 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1215 C compiler flags for GNOMEVFS, overriding pkg-config
1217 linker flags for GNOMEVFS, overriding pkg-config
1219 C compiler flags for HILDON, overriding pkg-config
1220 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1221 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1222 GST_LIBS linker flags for GST, overriding pkg-config
1224 Use these variables to override the choices made by `configure' or to
help
1225 it to
find libraries and programs with nonstandard names
/locations.
1227 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1231 if test "$ac_init_help" = "recursive"; then
1232 # If there are subdirs, report their specific --help.
1234 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1235 test -d $ac_dir || continue
1238 if test "$ac_dir" != .
; then
1239 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1240 # A "../" for each directory in $ac_dir_suffix.
1241 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1243 ac_dir_suffix
= ac_top_builddir
=
1247 .
) # No --srcdir option. We are building in place.
1249 if test -z "$ac_top_builddir"; then
1252 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1254 [\\/]* | ?
:[\\/]* ) # Absolute path.
1255 ac_srcdir
=$srcdir$ac_dir_suffix;
1256 ac_top_srcdir
=$srcdir ;;
1258 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1259 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1262 # Do not use `cd foo && pwd` to compute absolute paths, because
1263 # the directories may not exist.
1265 .
) ac_abs_builddir
="$ac_dir";;
1268 .
) ac_abs_builddir
=`pwd`;;
1269 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1270 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1273 case $ac_abs_builddir in
1274 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1276 case ${ac_top_builddir}.
in
1277 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1278 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1279 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1282 case $ac_abs_builddir in
1283 .
) ac_abs_srcdir
=$ac_srcdir;;
1286 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1287 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1288 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1291 case $ac_abs_builddir in
1292 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1294 case $ac_top_srcdir in
1295 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1296 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1297 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1302 # Check for guested configure; otherwise get Cygnus style configure.
1303 if test -f $ac_srcdir/configure.gnu
; then
1305 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1306 elif test -f $ac_srcdir/configure
; then
1308 $SHELL $ac_srcdir/configure
--help=recursive
1309 elif test -f $ac_srcdir/configure.ac
||
1310 test -f $ac_srcdir/configure.
in; then
1312 $ac_configure --help
1314 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1320 test -n "$ac_init_help" && exit 0
1321 if $ac_init_version; then
1323 wxWidgets configure
2.7.0
1324 generated by GNU Autoconf
2.59
1326 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1327 This configure
script is free software
; the Free Software Foundation
1328 gives unlimited permission to copy
, distribute and modify it.
1334 This file contains any messages produced by compilers while
1335 running configure, to aid debugging if configure makes a mistake.
1337 It was created by wxWidgets $as_me 2.7.0, which was
1338 generated by GNU Autoconf 2.59. Invocation command line was
1349 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1350 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1351 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1352 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1353 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1355 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1356 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1361 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1372 test -z "$as_dir" && as_dir
=.
1373 echo "PATH: $as_dir"
1388 # Keep a trace of the command line.
1389 # Strip out --no-create and --no-recursion so they do not pile up.
1390 # Strip out --silent because we don't want to record it for future runs.
1391 # Also quote any args containing shell meta-characters.
1392 # Make two passes to allow for proper duplicate-argument suppression.
1397 ac_must_keep_next
=false
1403 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1405 | -silent | --silent | --silen | --sile | --sil)
1407 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1408 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1411 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1413 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1414 if test $ac_must_keep_next = true
; then
1415 ac_must_keep_next
=false
# Got value, back to normal.
1418 *=* | --config-cache | -C | -disable-* | --disable-* \
1419 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1420 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1421 | -with-* | --with-* | -without-* | --without-* | --x)
1422 case "$ac_configure_args0 " in
1423 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1426 -* ) ac_must_keep_next
=true
;;
1429 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1430 # Get rid of the leading space.
1436 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1437 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1439 # When interrupted or exit'd, cleanup temporary files, and complete
1440 # config.log. We remove comments because anyway the quotes in there
1441 # would cause problems or look ugly.
1442 # WARNING: Be sure not to use single quotes in there, as some shells,
1443 # such as our DU 5.0 friend, will then `close' the trap.
1444 trap 'exit_status=$?
1445 # Save into config.log some information that might help in debugging.
1450 ## ---------------- ##
1451 ## Cache variables. ##
1452 ## ---------------- ##
1455 # The following way of writing the cache mishandles newlines in values,
1458 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1461 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1466 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1473 ## ----------------- ##
1474 ## Output variables. ##
1475 ## ----------------- ##
1478 for ac_var in $ac_subst_vars
1480 eval ac_val=$`echo $ac_var`
1481 echo "$ac_var='"'"'$ac_val'"'"'"
1485 if test -n "$ac_subst_files"; then
1492 for ac_var in $ac_subst_files
1494 eval ac_val=$`echo $ac_var`
1495 echo "$ac_var='"'"'$ac_val'"'"'"
1500 if test -s confdefs.h; then
1507 sed "/^$/d" confdefs.h | sort
1510 test "$ac_signal" != 0 &&
1511 echo "$as_me: caught signal $ac_signal"
1512 echo "$as_me: exit $exit_status"
1514 rm -f core *.core &&
1515 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1518 for ac_signal
in 1 2 13 15; do
1519 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1524 rm -rf conftest
* confdefs.h
1525 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1528 # Predefined preprocessor variables.
1530 cat >>confdefs.h
<<_ACEOF
1531 #define PACKAGE_NAME "$PACKAGE_NAME"
1535 cat >>confdefs.h
<<_ACEOF
1536 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1540 cat >>confdefs.h
<<_ACEOF
1541 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1545 cat >>confdefs.h
<<_ACEOF
1546 #define PACKAGE_STRING "$PACKAGE_STRING"
1550 cat >>confdefs.h
<<_ACEOF
1551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1555 # Let the site file select an alternate cache file if it wants to.
1556 # Prefer explicitly selected file to automatically selected ones.
1557 if test -z "$CONFIG_SITE"; then
1558 if test "x$prefix" != xNONE
; then
1559 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1561 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1564 for ac_site_file
in $CONFIG_SITE; do
1565 if test -r "$ac_site_file"; then
1566 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1567 echo "$as_me: loading site script $ac_site_file" >&6;}
1568 sed 's/^/| /' "$ac_site_file" >&5
1573 if test -r "$cache_file"; then
1574 # Some versions of bash will fail to source /dev/null (special
1575 # files actually), so we avoid doing that.
1576 if test -f "$cache_file"; then
1577 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1578 echo "$as_me: loading cache $cache_file" >&6;}
1580 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1581 *) . .
/$cache_file;;
1585 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1586 echo "$as_me: creating cache $cache_file" >&6;}
1590 # Check that the precious variables saved in the cache have kept the same
1592 ac_cache_corrupted
=false
1593 for ac_var
in `(set) 2>&1 |
1594 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1595 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1596 eval ac_new_set
=\
$ac_env_${ac_var}_set
1597 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1598 eval ac_new_val
="\$ac_env_${ac_var}_value"
1599 case $ac_old_set,$ac_new_set in
1601 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1602 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1603 ac_cache_corrupted
=: ;;
1605 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1606 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1607 ac_cache_corrupted
=: ;;
1610 if test "x$ac_old_val" != "x$ac_new_val"; then
1611 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1612 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1613 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1614 echo "$as_me: former value: $ac_old_val" >&2;}
1615 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1616 echo "$as_me: current value: $ac_new_val" >&2;}
1617 ac_cache_corrupted
=:
1620 # Pass precious variables to config.status.
1621 if test "$ac_new_set" = set; then
1623 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1624 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1625 *) ac_arg
=$ac_var=$ac_new_val ;;
1627 case " $ac_configure_args " in
1628 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1629 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1633 if $ac_cache_corrupted; then
1634 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1635 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1636 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1637 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1638 { (exit 1); exit 1; }; }
1642 ac_cpp
='$CPP $CPPFLAGS'
1643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1677 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1678 if test -f $ac_dir/install-sh; then
1680 ac_install_sh
="$ac_aux_dir/install-sh -c"
1682 elif test -f $ac_dir/install.sh
; then
1684 ac_install_sh
="$ac_aux_dir/install.sh -c"
1686 elif test -f $ac_dir/shtool
; then
1688 ac_install_sh
="$ac_aux_dir/shtool install -c"
1692 if test -z "$ac_aux_dir"; then
1693 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1694 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1695 { (exit 1); exit 1; }; }
1697 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1698 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1699 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1701 # Make sure we can run config.sub.
1702 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1703 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1704 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1705 { (exit 1); exit 1; }; }
1707 echo "$as_me:$LINENO: checking build system type" >&5
1708 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1709 if test "${ac_cv_build+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 ac_cv_build_alias
=$build_alias
1713 test -z "$ac_cv_build_alias" &&
1714 ac_cv_build_alias
=`$ac_config_guess`
1715 test -z "$ac_cv_build_alias" &&
1716 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1717 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1718 { (exit 1); exit 1; }; }
1719 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1720 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1721 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1722 { (exit 1); exit 1; }; }
1725 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1726 echo "${ECHO_T}$ac_cv_build" >&6
1728 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1729 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1730 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1733 echo "$as_me:$LINENO: checking host system type" >&5
1734 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1735 if test "${ac_cv_host+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 ac_cv_host_alias
=$host_alias
1739 test -z "$ac_cv_host_alias" &&
1740 ac_cv_host_alias
=$ac_cv_build_alias
1741 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1742 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1743 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1744 { (exit 1); exit 1; }; }
1747 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1748 echo "${ECHO_T}$ac_cv_host" >&6
1750 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1751 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1752 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1755 echo "$as_me:$LINENO: checking target system type" >&5
1756 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1757 if test "${ac_cv_target+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 ac_cv_target_alias
=$target_alias
1761 test "x$ac_cv_target_alias" = "x" &&
1762 ac_cv_target_alias
=$ac_cv_host_alias
1763 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1764 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1765 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1766 { (exit 1); exit 1; }; }
1769 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1770 echo "${ECHO_T}$ac_cv_target" >&6
1771 target
=$ac_cv_target
1772 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1773 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1774 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1777 # The aliases save the names the user supplied, while $host etc.
1778 # will get canonicalized.
1779 test -n "$target_alias" &&
1780 test "$program_prefix$program_suffix$program_transform_name" = \
1782 program_prefix
=${target_alias}-
1786 wx_major_version_number
=2
1787 wx_minor_version_number
=7
1789 wx_subrelease_number
=1
1791 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1792 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1793 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1795 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1808 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1814 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1822 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1824 DEFAULT_wxUSE_COCOA
=0
1828 DEFAULT_wxUSE_MICROWIN
=0
1829 DEFAULT_wxUSE_MOTIF
=0
1835 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1836 DEFAULT_DEFAULT_wxUSE_GTK
=0
1837 DEFAULT_DEFAULT_wxUSE_MAC
=0
1838 DEFAULT_DEFAULT_wxUSE_MGL
=0
1839 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1840 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1841 DEFAULT_DEFAULT_wxUSE_MSW
=0
1842 DEFAULT_DEFAULT_wxUSE_PM
=0
1843 DEFAULT_DEFAULT_wxUSE_X11
=0
1844 DEFAULT_DEFAULT_wxUSE_DFB
=0
1849 SAMPLES_RPATH_POSTLINK
=
1851 DEFAULT_STD_FLAG
=yes
1856 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1857 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1859 cat >>confdefs.h
<<\_ACEOF
1864 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1868 cat >>confdefs.h
<<\_ACEOF
1873 if test "x$TMP" = "xalpha"; then
1875 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_GTK
=1
1882 *-*-gnu* | *-*-k*bsd
*-gnu )
1885 if test "x$TMP" = "xalpha"; then
1887 cat >>confdefs.h
<<\_ACEOF
1892 DEFAULT_DEFAULT_wxUSE_GTK
=1
1894 *-*-irix5* | *-*-irix6* )
1897 cat >>confdefs.h
<<\_ACEOF
1901 cat >>confdefs.h
<<\_ACEOF
1905 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1911 cat >>confdefs.h
<<\_ACEOF
1915 cat >>confdefs.h
<<\_ACEOF
1916 #define __SOLARIS__ 1
1919 cat >>confdefs.h
<<\_ACEOF
1923 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1924 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1930 cat >>confdefs.h
<<\_ACEOF
1934 cat >>confdefs.h
<<\_ACEOF
1938 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1947 cat >>confdefs.h
<<\_ACEOF
1948 #define __FREEBSD__ 1
1951 cat >>confdefs.h
<<\_ACEOF
1955 DEFAULT_DEFAULT_wxUSE_GTK
=1
1957 *-*-openbsd*|*-*-mirbsd*)
1960 cat >>confdefs.h
<<\_ACEOF
1961 #define __OPENBSD__ 1
1964 cat >>confdefs.h
<<\_ACEOF
1968 DEFAULT_DEFAULT_wxUSE_GTK
=1
1973 cat >>confdefs.h
<<\_ACEOF
1974 #define __NETBSD__ 1
1977 cat >>confdefs.h
<<\_ACEOF
1981 DEFAULT_DEFAULT_wxUSE_GTK
=1
1982 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1984 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1989 cat >>confdefs.h
<<\_ACEOF
1993 cat >>confdefs.h
<<\_ACEOF
1997 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1998 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2003 cat >>confdefs.h
<<\_ACEOF
2007 cat >>confdefs.h
<<\_ACEOF
2011 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2016 cat >>confdefs.h
<<\_ACEOF
2020 cat >>confdefs.h
<<\_ACEOF
2024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2031 cat >>confdefs.h
<<\_ACEOF
2035 cat >>confdefs.h
<<\_ACEOF
2039 cat >>confdefs.h
<<\_ACEOF
2043 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2050 cat >>confdefs.h
<<\_ACEOF
2051 #define __UNIXWARE__ 1
2056 *-*-cygwin* | *-*-mingw32* )
2059 DEFAULT_DEFAULT_wxUSE_MSW
=1
2066 cat >>confdefs.h
<<\_ACEOF
2071 DEFAULT_DEFAULT_wxUSE_MGL
=1
2074 *-pc-os2_emx | *-pc-os2-emx )
2075 cat >>confdefs.h
<<\_ACEOF
2080 cat >>confdefs.h
<<\_ACEOF
2085 DEFAULT_DEFAULT_wxUSE_PM
=1
2087 LDFLAGS
="$LDFLAGS -Zcrtdll"
2088 ac_executable_extensions
=".exe"
2089 export ac_executable_extensions
2093 for ac_dir
in $PATH; do
2095 if test -z "$ac_TEMP_PATH"; then
2096 ac_TEMP_PATH
="$ac_dir"
2098 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2101 export PATH
="$ac_TEMP_PATH"
2110 cat >>confdefs.h
<<\_ACEOF
2114 cat >>confdefs.h
<<\_ACEOF
2115 #define __DARWIN__ 1
2118 cat >>confdefs.h
<<\_ACEOF
2119 #define TARGET_CARBON 1
2122 DEFAULT_DEFAULT_wxUSE_MAC
=1
2125 powerpc
-apple-macos* )
2127 ac_cv_c_bigendian
=yes
2129 DEFAULT_DEFAULT_wxUSE_MAC
=1
2135 cat >>confdefs.h
<<\_ACEOF
2142 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2143 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2144 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2145 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2147 DEFAULT_DEFAULT_wxUSE_X11
=1
2148 DEFAULT_wxUSE_SHARED
=no
2154 wx_arg_cache_file
="configarg.cache"
2155 echo "loading argument cache $wx_arg_cache_file"
2156 rm -f ${wx_arg_cache_file}.tmp
2157 touch ${wx_arg_cache_file}.tmp
2158 touch ${wx_arg_cache_file}
2162 if test $DEBUG_CONFIGURE = 1; then
2163 DEFAULT_wxUSE_UNIVERSAL
=no
2164 DEFAULT_wxUSE_STL
=no
2166 DEFAULT_wxUSE_NANOX
=no
2168 DEFAULT_wxUSE_THREADS
=yes
2170 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2171 DEFAULT_wxUSE_OPTIMISE
=no
2172 DEFAULT_wxUSE_PROFILE
=no
2173 DEFAULT_wxUSE_NO_DEPS
=no
2174 DEFAULT_wxUSE_NO_RTTI
=no
2175 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2176 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2177 DEFAULT_wxUSE_RPATH
=yes
2178 DEFAULT_wxUSE_PERMISSIVE
=no
2179 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2180 DEFAULT_wxUSE_DEBUG_INFO
=yes
2181 DEFAULT_wxUSE_DEBUG_GDB
=yes
2182 DEFAULT_wxUSE_MEM_TRACING
=no
2183 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2184 DEFAULT_wxUSE_DMALLOC
=no
2185 DEFAULT_wxUSE_APPLE_IEEE
=no
2187 DEFAULT_wxUSE_EXCEPTIONS
=no
2188 DEFAULT_wxUSE_LOG
=yes
2189 DEFAULT_wxUSE_LOGWINDOW
=no
2190 DEFAULT_wxUSE_LOGGUI
=no
2191 DEFAULT_wxUSE_LOGDIALOG
=no
2193 DEFAULT_wxUSE_GUI
=yes
2194 DEFAULT_wxUSE_CONTROLS
=no
2196 DEFAULT_wxUSE_REGEX
=no
2197 DEFAULT_wxUSE_XML
=no
2198 DEFAULT_wxUSE_EXPAT
=no
2199 DEFAULT_wxUSE_ZLIB
=no
2200 DEFAULT_wxUSE_LIBPNG
=no
2201 DEFAULT_wxUSE_LIBJPEG
=no
2202 DEFAULT_wxUSE_LIBTIFF
=no
2203 DEFAULT_wxUSE_LIBXPM
=no
2204 DEFAULT_wxUSE_LIBMSPACK
=no
2205 DEFAULT_wxUSE_LIBSDL
=no
2206 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2207 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2208 DEFAULT_wxUSE_LIBHILDON
=no
2209 DEFAULT_wxUSE_ODBC
=no
2210 DEFAULT_wxUSE_OPENGL
=no
2212 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2213 DEFAULT_wxUSE_STACKWALKER
=no
2214 DEFAULT_wxUSE_DEBUGREPORT
=no
2215 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2216 DEFAULT_wxUSE_STD_IOSTREAM
=no
2217 DEFAULT_wxUSE_STD_STRING
=no
2218 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2219 DEFAULT_wxUSE_DATETIME
=no
2220 DEFAULT_wxUSE_TIMER
=no
2221 DEFAULT_wxUSE_STOPWATCH
=no
2222 DEFAULT_wxUSE_FILE
=no
2223 DEFAULT_wxUSE_FFILE
=no
2224 DEFAULT_wxUSE_STDPATHS
=no
2225 DEFAULT_wxUSE_TEXTBUFFER
=no
2226 DEFAULT_wxUSE_TEXTFILE
=no
2227 DEFAULT_wxUSE_SOUND
=no
2228 DEFAULT_wxUSE_MEDIACTRL
=no
2229 DEFAULT_wxUSE_GSTREAMER8
=no
2230 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2231 DEFAULT_wxUSE_INTL
=no
2232 DEFAULT_wxUSE_CONFIG
=no
2233 DEFAULT_wxUSE_FONTMAP
=no
2234 DEFAULT_wxUSE_STREAMS
=no
2235 DEFAULT_wxUSE_SOCKETS
=no
2236 DEFAULT_wxUSE_OLE
=no
2237 DEFAULT_wxUSE_DATAOBJ
=no
2238 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2239 DEFAULT_wxUSE_JOYSTICK
=no
2240 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2241 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2242 DEFAULT_wxUSE_LONGLONG
=no
2243 DEFAULT_wxUSE_GEOMETRY
=no
2245 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2246 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2247 DEFAULT_wxUSE_POSTSCRIPT
=no
2249 DEFAULT_wxUSE_CLIPBOARD
=no
2250 DEFAULT_wxUSE_TOOLTIPS
=no
2251 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2252 DEFAULT_wxUSE_DRAGIMAGE
=no
2253 DEFAULT_wxUSE_SPLINES
=no
2254 DEFAULT_wxUSE_MOUSEWHEEL
=no
2256 DEFAULT_wxUSE_MDI
=no
2257 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2258 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2259 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2261 DEFAULT_wxUSE_RESOURCES
=no
2262 DEFAULT_wxUSE_CONSTRAINTS
=no
2263 DEFAULT_wxUSE_IPC
=no
2264 DEFAULT_wxUSE_HELP
=no
2265 DEFAULT_wxUSE_MS_HTML_HELP
=no
2266 DEFAULT_wxUSE_WXHTML_HELP
=no
2267 DEFAULT_wxUSE_TREELAYOUT
=no
2268 DEFAULT_wxUSE_METAFILE
=no
2269 DEFAULT_wxUSE_MIMETYPE
=no
2270 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2271 DEFAULT_wxUSE_PROTOCOL
=no
2272 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2273 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2274 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2275 DEFAULT_wxUSE_URL
=no
2276 DEFAULT_wxUSE_VARIANT
=no
2278 DEFAULT_wxUSE_ABOUTDLG
=no
2279 DEFAULT_wxUSE_COMMONDLGS
=no
2280 DEFAULT_wxUSE_CHOICEDLG
=no
2281 DEFAULT_wxUSE_COLOURDLG
=no
2282 DEFAULT_wxUSE_DIRDLG
=no
2283 DEFAULT_wxUSE_FILEDLG
=no
2284 DEFAULT_wxUSE_FINDREPLDLG
=no
2285 DEFAULT_wxUSE_FONTDLG
=no
2286 DEFAULT_wxUSE_MSGDLG
=no
2287 DEFAULT_wxUSE_NUMBERDLG
=no
2288 DEFAULT_wxUSE_TEXTDLG
=no
2289 DEFAULT_wxUSE_SPLASH
=no
2290 DEFAULT_wxUSE_STARTUP_TIPS
=no
2291 DEFAULT_wxUSE_PROGRESSDLG
=no
2292 DEFAULT_wxUSE_WIZARDDLG
=no
2294 DEFAULT_wxUSE_MENUS
=no
2295 DEFAULT_wxUSE_MINIFRAME
=no
2296 DEFAULT_wxUSE_HTML
=no
2297 DEFAULT_wxUSE_RICHTEXT
=no
2298 DEFAULT_wxUSE_XRC
=no
2299 DEFAULT_wxUSE_AUI
=no
2300 DEFAULT_wxUSE_WEBKIT
=no
2301 DEFAULT_wxUSE_FILESYSTEM
=no
2302 DEFAULT_wxUSE_FS_INET
=no
2303 DEFAULT_wxUSE_FS_ZIP
=no
2304 DEFAULT_wxUSE_BUSYINFO
=no
2305 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2306 DEFAULT_wxUSE_ZIPSTREAM
=no
2307 DEFAULT_wxUSE_VALIDATORS
=no
2309 DEFAULT_wxUSE_ACCEL
=no
2310 DEFAULT_wxUSE_BUTTON
=no
2311 DEFAULT_wxUSE_BMPBUTTON
=no
2312 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2313 DEFAULT_wxUSE_CALCTRL
=no
2314 DEFAULT_wxUSE_CARET
=no
2315 DEFAULT_wxUSE_CHECKBOX
=no
2316 DEFAULT_wxUSE_CHECKLST
=no
2317 DEFAULT_wxUSE_CHOICE
=no
2318 DEFAULT_wxUSE_CHOICEBOOK
=no
2319 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2320 DEFAULT_wxUSE_COMBOBOX
=no
2321 DEFAULT_wxUSE_COMBOCTRL
=no
2322 DEFAULT_wxUSE_DATEPICKCTRL
=no
2323 DEFAULT_wxUSE_DISPLAY
=no
2324 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2325 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2326 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2327 DEFAULT_wxUSE_GAUGE
=no
2328 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2329 DEFAULT_wxUSE_GRID
=no
2330 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2331 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2332 DEFAULT_wxUSE_IMAGLIST
=no
2333 DEFAULT_wxUSE_LISTBOOK
=no
2334 DEFAULT_wxUSE_LISTBOX
=no
2335 DEFAULT_wxUSE_LISTCTRL
=no
2336 DEFAULT_wxUSE_NOTEBOOK
=no
2337 DEFAULT_wxUSE_ODCOMBOBOX
=no
2338 DEFAULT_wxUSE_RADIOBOX
=no
2339 DEFAULT_wxUSE_RADIOBTN
=no
2340 DEFAULT_wxUSE_SASH
=no
2341 DEFAULT_wxUSE_SCROLLBAR
=no
2342 DEFAULT_wxUSE_SLIDER
=no
2343 DEFAULT_wxUSE_SPINBTN
=no
2344 DEFAULT_wxUSE_SPINCTRL
=no
2345 DEFAULT_wxUSE_SPLITTER
=no
2346 DEFAULT_wxUSE_STATBMP
=no
2347 DEFAULT_wxUSE_STATBOX
=no
2348 DEFAULT_wxUSE_STATLINE
=no
2349 DEFAULT_wxUSE_STATTEXT
=no
2350 DEFAULT_wxUSE_STATUSBAR
=yes
2351 DEFAULT_wxUSE_TAB_DIALOG
=no
2352 DEFAULT_wxUSE_TEXTCTRL
=no
2353 DEFAULT_wxUSE_TOGGLEBTN
=no
2354 DEFAULT_wxUSE_TOOLBAR
=no
2355 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2356 DEFAULT_wxUSE_TREEBOOK
=no
2357 DEFAULT_wxUSE_TOOLBOOK
=no
2358 DEFAULT_wxUSE_TREECTRL
=no
2359 DEFAULT_wxUSE_POPUPWIN
=no
2360 DEFAULT_wxUSE_TIPWINDOW
=no
2362 DEFAULT_wxUSE_UNICODE
=no
2363 DEFAULT_wxUSE_UNICODE_MSLU
=no
2364 DEFAULT_wxUSE_WCSRTOMBS
=no
2366 DEFAULT_wxUSE_PALETTE
=no
2367 DEFAULT_wxUSE_IMAGE
=no
2368 DEFAULT_wxUSE_GIF
=no
2369 DEFAULT_wxUSE_PCX
=no
2370 DEFAULT_wxUSE_PNM
=no
2371 DEFAULT_wxUSE_IFF
=no
2372 DEFAULT_wxUSE_XPM
=no
2373 DEFAULT_wxUSE_ICO_CUR
=no
2374 DEFAULT_wxUSE_ACCESSIBILITY
=no
2376 DEFAULT_wxUSE_MONOLITHIC
=no
2377 DEFAULT_wxUSE_PLUGINS
=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2380 DEFAULT_wxUSE_UNIVERSAL
=no
2381 DEFAULT_wxUSE_STL
=no
2383 DEFAULT_wxUSE_NANOX
=no
2385 DEFAULT_wxUSE_THREADS
=yes
2387 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2388 DEFAULT_wxUSE_OPTIMISE
=yes
2389 DEFAULT_wxUSE_PROFILE
=no
2390 DEFAULT_wxUSE_NO_DEPS
=no
2391 DEFAULT_wxUSE_NO_RTTI
=no
2392 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2393 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2394 DEFAULT_wxUSE_RPATH
=yes
2395 DEFAULT_wxUSE_PERMISSIVE
=no
2396 DEFAULT_wxUSE_DEBUG_FLAG
=no
2397 DEFAULT_wxUSE_DEBUG_INFO
=no
2398 DEFAULT_wxUSE_DEBUG_GDB
=no
2399 DEFAULT_wxUSE_MEM_TRACING
=no
2400 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2401 DEFAULT_wxUSE_DMALLOC
=no
2402 DEFAULT_wxUSE_APPLE_IEEE
=yes
2404 DEFAULT_wxUSE_EXCEPTIONS
=yes
2405 DEFAULT_wxUSE_LOG
=yes
2406 DEFAULT_wxUSE_LOGWINDOW
=yes
2407 DEFAULT_wxUSE_LOGGUI
=yes
2408 DEFAULT_wxUSE_LOGDIALOG
=yes
2410 DEFAULT_wxUSE_GUI
=yes
2412 DEFAULT_wxUSE_REGEX
=yes
2413 DEFAULT_wxUSE_XML
=yes
2414 DEFAULT_wxUSE_EXPAT
=yes
2415 DEFAULT_wxUSE_ZLIB
=yes
2416 DEFAULT_wxUSE_LIBPNG
=yes
2417 DEFAULT_wxUSE_LIBJPEG
=yes
2418 DEFAULT_wxUSE_LIBTIFF
=yes
2419 DEFAULT_wxUSE_LIBXPM
=yes
2420 DEFAULT_wxUSE_LIBMSPACK
=yes
2421 DEFAULT_wxUSE_LIBSDL
=no
2422 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2423 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2424 DEFAULT_wxUSE_LIBHILDON
=no
2425 DEFAULT_wxUSE_ODBC
=no
2426 DEFAULT_wxUSE_OPENGL
=no
2428 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2429 DEFAULT_wxUSE_STACKWALKER
=yes
2430 DEFAULT_wxUSE_DEBUGREPORT
=yes
2431 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2432 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2433 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2434 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2435 DEFAULT_wxUSE_DATETIME
=yes
2436 DEFAULT_wxUSE_TIMER
=yes
2437 DEFAULT_wxUSE_STOPWATCH
=yes
2438 DEFAULT_wxUSE_FILE
=yes
2439 DEFAULT_wxUSE_FFILE
=yes
2440 DEFAULT_wxUSE_STDPATHS
=yes
2441 DEFAULT_wxUSE_TEXTBUFFER
=yes
2442 DEFAULT_wxUSE_TEXTFILE
=yes
2443 DEFAULT_wxUSE_SOUND
=yes
2444 DEFAULT_wxUSE_MEDIACTRL
=no
2445 DEFAULT_wxUSE_GSTREAMER8
=no
2446 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2447 DEFAULT_wxUSE_INTL
=yes
2448 DEFAULT_wxUSE_CONFIG
=yes
2449 DEFAULT_wxUSE_FONTMAP
=yes
2450 DEFAULT_wxUSE_STREAMS
=yes
2451 DEFAULT_wxUSE_SOCKETS
=yes
2452 DEFAULT_wxUSE_OLE
=yes
2453 DEFAULT_wxUSE_DATAOBJ
=yes
2454 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2455 DEFAULT_wxUSE_JOYSTICK
=yes
2456 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2457 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2458 DEFAULT_wxUSE_LONGLONG
=yes
2459 DEFAULT_wxUSE_GEOMETRY
=yes
2461 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2462 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2463 DEFAULT_wxUSE_POSTSCRIPT
=yes
2465 DEFAULT_wxUSE_CLIPBOARD
=yes
2466 DEFAULT_wxUSE_TOOLTIPS
=yes
2467 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2468 DEFAULT_wxUSE_DRAGIMAGE
=yes
2469 DEFAULT_wxUSE_SPLINES
=yes
2470 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2472 DEFAULT_wxUSE_MDI
=yes
2473 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2474 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2475 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2477 DEFAULT_wxUSE_RESOURCES
=no
2478 DEFAULT_wxUSE_CONSTRAINTS
=yes
2479 DEFAULT_wxUSE_IPC
=yes
2480 DEFAULT_wxUSE_HELP
=yes
2481 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2482 DEFAULT_wxUSE_WXHTML_HELP
=yes
2483 DEFAULT_wxUSE_TREELAYOUT
=yes
2484 DEFAULT_wxUSE_METAFILE
=yes
2485 DEFAULT_wxUSE_MIMETYPE
=yes
2486 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2487 DEFAULT_wxUSE_PROTOCOL
=yes
2488 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2489 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2490 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2491 DEFAULT_wxUSE_URL
=yes
2492 DEFAULT_wxUSE_VARIANT
=yes
2494 DEFAULT_wxUSE_ABOUTDLG
=yes
2495 DEFAULT_wxUSE_COMMONDLGS
=yes
2496 DEFAULT_wxUSE_CHOICEDLG
=yes
2497 DEFAULT_wxUSE_COLOURDLG
=yes
2498 DEFAULT_wxUSE_DIRDLG
=yes
2499 DEFAULT_wxUSE_FILEDLG
=yes
2500 DEFAULT_wxUSE_FINDREPLDLG
=yes
2501 DEFAULT_wxUSE_FONTDLG
=yes
2502 DEFAULT_wxUSE_MSGDLG
=yes
2503 DEFAULT_wxUSE_NUMBERDLG
=yes
2504 DEFAULT_wxUSE_TEXTDLG
=yes
2505 DEFAULT_wxUSE_SPLASH
=yes
2506 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2507 DEFAULT_wxUSE_PROGRESSDLG
=yes
2508 DEFAULT_wxUSE_WIZARDDLG
=yes
2510 DEFAULT_wxUSE_MENUS
=yes
2511 DEFAULT_wxUSE_MINIFRAME
=yes
2512 DEFAULT_wxUSE_HTML
=yes
2513 DEFAULT_wxUSE_RICHTEXT
=yes
2514 DEFAULT_wxUSE_XRC
=yes
2515 DEFAULT_wxUSE_AUI
=yes
2516 DEFAULT_wxUSE_WEBKIT
=yes
2517 DEFAULT_wxUSE_FILESYSTEM
=yes
2518 DEFAULT_wxUSE_FS_INET
=yes
2519 DEFAULT_wxUSE_FS_ZIP
=yes
2520 DEFAULT_wxUSE_BUSYINFO
=yes
2521 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2522 DEFAULT_wxUSE_ZIPSTREAM
=yes
2523 DEFAULT_wxUSE_VALIDATORS
=yes
2525 DEFAULT_wxUSE_ACCEL
=yes
2526 DEFAULT_wxUSE_BUTTON
=yes
2527 DEFAULT_wxUSE_BMPBUTTON
=yes
2528 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2529 DEFAULT_wxUSE_CALCTRL
=yes
2530 DEFAULT_wxUSE_CARET
=yes
2531 DEFAULT_wxUSE_CHECKBOX
=yes
2532 DEFAULT_wxUSE_CHECKLST
=yes
2533 DEFAULT_wxUSE_CHOICE
=yes
2534 DEFAULT_wxUSE_CHOICEBOOK
=yes
2535 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2536 DEFAULT_wxUSE_COMBOBOX
=yes
2537 DEFAULT_wxUSE_COMBOCTRL
=yes
2538 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2539 DEFAULT_wxUSE_DISPLAY
=yes
2540 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2541 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2542 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2543 DEFAULT_wxUSE_GAUGE
=yes
2544 DEFAULT_wxUSE_GRID
=yes
2545 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2546 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2547 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2548 DEFAULT_wxUSE_IMAGLIST
=yes
2549 DEFAULT_wxUSE_LISTBOOK
=yes
2550 DEFAULT_wxUSE_LISTBOX
=yes
2551 DEFAULT_wxUSE_LISTCTRL
=yes
2552 DEFAULT_wxUSE_NOTEBOOK
=yes
2553 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2554 DEFAULT_wxUSE_RADIOBOX
=yes
2555 DEFAULT_wxUSE_RADIOBTN
=yes
2556 DEFAULT_wxUSE_SASH
=yes
2557 DEFAULT_wxUSE_SCROLLBAR
=yes
2558 DEFAULT_wxUSE_SLIDER
=yes
2559 DEFAULT_wxUSE_SPINBTN
=yes
2560 DEFAULT_wxUSE_SPINCTRL
=yes
2561 DEFAULT_wxUSE_SPLITTER
=yes
2562 DEFAULT_wxUSE_STATBMP
=yes
2563 DEFAULT_wxUSE_STATBOX
=yes
2564 DEFAULT_wxUSE_STATLINE
=yes
2565 DEFAULT_wxUSE_STATTEXT
=yes
2566 DEFAULT_wxUSE_STATUSBAR
=yes
2567 DEFAULT_wxUSE_TAB_DIALOG
=no
2568 DEFAULT_wxUSE_TEXTCTRL
=yes
2569 DEFAULT_wxUSE_TOGGLEBTN
=yes
2570 DEFAULT_wxUSE_TOOLBAR
=yes
2571 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2572 DEFAULT_wxUSE_TREEBOOK
=yes
2573 DEFAULT_wxUSE_TOOLBOOK
=yes
2574 DEFAULT_wxUSE_TREECTRL
=yes
2575 DEFAULT_wxUSE_POPUPWIN
=yes
2576 DEFAULT_wxUSE_TIPWINDOW
=yes
2578 DEFAULT_wxUSE_UNICODE
=no
2579 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2580 DEFAULT_wxUSE_WCSRTOMBS
=no
2582 DEFAULT_wxUSE_PALETTE
=yes
2583 DEFAULT_wxUSE_IMAGE
=yes
2584 DEFAULT_wxUSE_GIF
=yes
2585 DEFAULT_wxUSE_PCX
=yes
2586 DEFAULT_wxUSE_IFF
=no
2587 DEFAULT_wxUSE_PNM
=yes
2588 DEFAULT_wxUSE_XPM
=yes
2589 DEFAULT_wxUSE_ICO_CUR
=yes
2590 DEFAULT_wxUSE_ACCESSIBILITY
=no
2592 DEFAULT_wxUSE_MONOLITHIC
=no
2593 DEFAULT_wxUSE_PLUGINS
=no
2594 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2596 DEFAULT_wxUSE_GTK2
=yes
2602 for toolkit
in `echo $ALL_TOOLKITS`; do
2603 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2604 if test "x$LINE" != "x" ; then
2605 has_toolkit_in_cache
=1
2606 eval "DEFAULT_$LINE"
2607 eval "CACHE_$toolkit=1"
2609 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2610 if test "x$LINE" != "x" ; then
2611 eval "DEFAULT_$LINE"
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2622 # Check whether --enable-gui or --disable-gui was given.
2623 if test "${enable_gui+set}" = set; then
2624 enableval
="$enable_gui"
2626 if test "$enableval" = yes; then
2627 ac_cv_use_gui
='wxUSE_GUI=yes'
2629 ac_cv_use_gui
='wxUSE_GUI=no'
2634 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x
; then
2636 eval "DEFAULT_$LINE"
2641 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2645 eval "$ac_cv_use_gui"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_GUI" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2663 # Check whether --enable-monolithic or --disable-monolithic was given.
2664 if test "${enable_monolithic+set}" = set; then
2665 enableval
="$enable_monolithic"
2667 if test "$enableval" = yes; then
2668 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2670 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2675 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x
; then
2677 eval "DEFAULT_$LINE"
2682 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2686 eval "$ac_cv_use_monolithic"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_MONOLITHIC" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2704 # Check whether --enable-plugins or --disable-plugins was given.
2705 if test "${enable_plugins+set}" = set; then
2706 enableval
="$enable_plugins"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2711 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2716 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2727 eval "$ac_cv_use_plugins"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2732 if test "$wxUSE_PLUGINS" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2742 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2743 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2746 # Check whether --with-subdirs or --without-subdirs was given.
2747 if test "${with_subdirs+set}" = set; then
2748 withval
="$with_subdirs"
2750 if test "$withval" = yes; then
2751 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2753 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2758 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x
; then
2760 eval "DEFAULT_$LINE"
2765 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2769 eval "$ac_cv_use_subdirs"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2774 if test "$wxWITH_SUBDIRS" = yes; then
2775 echo "$as_me:$LINENO: result: yes" >&5
2776 echo "${ECHO_T}yes" >&6
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2783 if test "$wxUSE_GUI" = "yes"; then
2787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2788 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2790 # Check whether --enable-universal or --disable-universal was given.
2791 if test "${enable_universal+set}" = set; then
2792 enableval
="$enable_universal"
2794 if test "$enableval" = yes; then
2795 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2797 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2802 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2803 if test "x$LINE" != x
; then
2804 eval "DEFAULT_$LINE"
2809 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2813 eval "$ac_cv_use_universal"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2818 if test "$wxUSE_UNIVERSAL" = yes; then
2819 echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2827 # Check whether --with-gtk or --without-gtk was given.
2828 if test "${with_gtk+set}" = set; then
2830 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2833 # Check whether --with-motif or --without-motif was given.
2834 if test "${with_motif+set}" = set; then
2835 withval
="$with_motif"
2836 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2839 # Check whether --with-mac or --without-mac was given.
2840 if test "${with_mac+set}" = set; then
2842 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2845 # Check whether --with-cocoa or --without-cocoa was given.
2846 if test "${with_cocoa+set}" = set; then
2847 withval
="$with_cocoa"
2848 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2851 # Check whether --with-wine or --without-wine was given.
2852 if test "${with_wine+set}" = set; then
2853 withval
="$with_wine"
2854 wxUSE_WINE
="$withval" CACHE_WINE
=1
2857 # Check whether --with-msw or --without-msw was given.
2858 if test "${with_msw+set}" = set; then
2860 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2863 # Check whether --with-pm or --without-pm was given.
2864 if test "${with_pm+set}" = set; then
2866 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2869 # Check whether --with-mgl or --without-mgl was given.
2870 if test "${with_mgl+set}" = set; then
2872 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2875 # Check whether --with-directfb or --without-directfb was given.
2876 if test "${with_directfb+set}" = set; then
2877 withval
="$with_directfb"
2878 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2881 # Check whether --with-microwin or --without-microwin was given.
2882 if test "${with_microwin+set}" = set; then
2883 withval
="$with_microwin"
2884 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2887 # Check whether --with-x11 or --without-x11 was given.
2888 if test "${with_x11+set}" = set; then
2890 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2895 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2897 # Check whether --enable-nanox or --disable-nanox was given.
2898 if test "${enable_nanox+set}" = set; then
2899 enableval
="$enable_nanox"
2901 if test "$enableval" = yes; then
2902 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2904 ac_cv_use_nanox
='wxUSE_NANOX=no'
2909 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x
; then
2911 eval "DEFAULT_$LINE"
2916 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2920 eval "$ac_cv_use_nanox"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2925 if test "$wxUSE_NANOX" = yes; then
2926 echo "$as_me:$LINENO: result: yes" >&5
2927 echo "${ECHO_T}yes" >&6
2929 echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2934 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2935 if test "${enable_gtk2+set}" = set; then
2936 enableval
="$enable_gtk2"
2937 wxUSE_GTK2
="$enableval"
2941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2942 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2944 # Check whether --enable-gpe or --disable-gpe was given.
2945 if test "${enable_gpe+set}" = set; then
2946 enableval
="$enable_gpe"
2948 if test "$enableval" = yes; then
2949 ac_cv_use_gpe
='wxUSE_GPE=yes'
2951 ac_cv_use_gpe
='wxUSE_GPE=no'
2956 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x
; then
2958 eval "DEFAULT_$LINE"
2963 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2967 eval "$ac_cv_use_gpe"
2968 if test "$no_cache" != 1; then
2969 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2972 if test "$wxUSE_GPE" = yes; then
2973 echo "$as_me:$LINENO: result: yes" >&5
2974 echo "${ECHO_T}yes" >&6
2976 echo "$as_me:$LINENO: result: no" >&5
2977 echo "${ECHO_T}no" >&6
2982 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2983 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2986 # Check whether --with-libpng or --without-libpng was given.
2987 if test "${with_libpng+set}" = set; then
2988 withval
="$with_libpng"
2990 if test "$withval" = yes; then
2991 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2992 elif test "$withval" = no
; then
2993 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2994 elif test "$withval" = sys
; then
2995 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2996 elif test "$withval" = builtin; then
2997 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2999 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3000 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3001 { (exit 1); exit 1; }; }
3006 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x
; then
3008 eval "DEFAULT_$LINE"
3013 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3017 eval "$ac_cv_use_libpng"
3018 if test "$no_cache" != 1; then
3019 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3022 if test "$wxUSE_LIBPNG" = yes; then
3023 echo "$as_me:$LINENO: result: yes" >&5
3024 echo "${ECHO_T}yes" >&6
3025 elif test "$wxUSE_LIBPNG" = no
; then
3026 echo "$as_me:$LINENO: result: no" >&5
3027 echo "${ECHO_T}no" >&6
3028 elif test "$wxUSE_LIBPNG" = sys
; then
3029 echo "$as_me:$LINENO: result: system version" >&5
3030 echo "${ECHO_T}system version" >&6
3031 elif test "$wxUSE_LIBPNG" = builtin; then
3032 echo "$as_me:$LINENO: result: builtin version" >&5
3033 echo "${ECHO_T}builtin version" >&6
3035 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3036 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3037 { (exit 1); exit 1; }; }
3041 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3042 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3045 # Check whether --with-libjpeg or --without-libjpeg was given.
3046 if test "${with_libjpeg+set}" = set; then
3047 withval
="$with_libjpeg"
3049 if test "$withval" = yes; then
3050 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3051 elif test "$withval" = no
; then
3052 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3053 elif test "$withval" = sys
; then
3054 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3055 elif test "$withval" = builtin; then
3056 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3058 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3059 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3060 { (exit 1); exit 1; }; }
3065 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x
; then
3067 eval "DEFAULT_$LINE"
3072 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3076 eval "$ac_cv_use_libjpeg"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_LIBJPEG" = yes; then
3082 echo "$as_me:$LINENO: result: yes" >&5
3083 echo "${ECHO_T}yes" >&6
3084 elif test "$wxUSE_LIBJPEG" = no
; then
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3087 elif test "$wxUSE_LIBJPEG" = sys
; then
3088 echo "$as_me:$LINENO: result: system version" >&5
3089 echo "${ECHO_T}system version" >&6
3090 elif test "$wxUSE_LIBJPEG" = builtin; then
3091 echo "$as_me:$LINENO: result: builtin version" >&5
3092 echo "${ECHO_T}builtin version" >&6
3094 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3095 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3096 { (exit 1); exit 1; }; }
3100 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3101 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3104 # Check whether --with-libtiff or --without-libtiff was given.
3105 if test "${with_libtiff+set}" = set; then
3106 withval
="$with_libtiff"
3108 if test "$withval" = yes; then
3109 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3110 elif test "$withval" = no
; then
3111 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3112 elif test "$withval" = sys
; then
3113 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3114 elif test "$withval" = builtin; then
3115 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3117 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3118 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3119 { (exit 1); exit 1; }; }
3124 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x
; then
3126 eval "DEFAULT_$LINE"
3131 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3135 eval "$ac_cv_use_libtiff"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3140 if test "$wxUSE_LIBTIFF" = yes; then
3141 echo "$as_me:$LINENO: result: yes" >&5
3142 echo "${ECHO_T}yes" >&6
3143 elif test "$wxUSE_LIBTIFF" = no
; then
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3146 elif test "$wxUSE_LIBTIFF" = sys
; then
3147 echo "$as_me:$LINENO: result: system version" >&5
3148 echo "${ECHO_T}system version" >&6
3149 elif test "$wxUSE_LIBTIFF" = builtin; then
3150 echo "$as_me:$LINENO: result: builtin version" >&5
3151 echo "${ECHO_T}builtin version" >&6
3153 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3154 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3155 { (exit 1); exit 1; }; }
3159 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3160 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3163 # Check whether --with-libxpm or --without-libxpm was given.
3164 if test "${with_libxpm+set}" = set; then
3165 withval
="$with_libxpm"
3167 if test "$withval" = yes; then
3168 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3169 elif test "$withval" = no
; then
3170 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3171 elif test "$withval" = sys
; then
3172 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3173 elif test "$withval" = builtin; then
3174 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3176 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3177 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3178 { (exit 1); exit 1; }; }
3183 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x
; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3194 eval "$ac_cv_use_libxpm"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_LIBXPM" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 elif test "$wxUSE_LIBXPM" = no
; then
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 elif test "$wxUSE_LIBXPM" = sys
; then
3206 echo "$as_me:$LINENO: result: system version" >&5
3207 echo "${ECHO_T}system version" >&6
3208 elif test "$wxUSE_LIBXPM" = builtin; then
3209 echo "$as_me:$LINENO: result: builtin version" >&5
3210 echo "${ECHO_T}builtin version" >&6
3212 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3213 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3214 { (exit 1); exit 1; }; }
3219 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3220 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3223 # Check whether --with-libmspack or --without-libmspack was given.
3224 if test "${with_libmspack+set}" = set; then
3225 withval
="$with_libmspack"
3227 if test "$withval" = yes; then
3228 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3230 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3235 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x
; then
3237 eval "DEFAULT_$LINE"
3242 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3246 eval "$ac_cv_use_libmspack"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3251 if test "$wxUSE_LIBMSPACK" = yes; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3261 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3262 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3265 # Check whether --with-sdl or --without-sdl was given.
3266 if test "${with_sdl+set}" = set; then
3269 if test "$withval" = yes; then
3270 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3272 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3277 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x
; then
3279 eval "DEFAULT_$LINE"
3284 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3288 eval "$ac_cv_use_sdl"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_LIBSDL" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3303 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3304 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3307 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3308 if test "${with_gnomeprint+set}" = set; then
3309 withval
="$with_gnomeprint"
3311 if test "$withval" = yes; then
3312 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3314 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3319 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x
; then
3321 eval "DEFAULT_$LINE"
3326 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3330 eval "$ac_cv_use_gnomeprint"
3331 if test "$no_cache" != 1; then
3332 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3335 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3336 echo "$as_me:$LINENO: result: yes" >&5
3337 echo "${ECHO_T}yes" >&6
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3345 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3346 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3349 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3350 if test "${with_gnomevfs+set}" = set; then
3351 withval
="$with_gnomevfs"
3353 if test "$withval" = yes; then
3354 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3356 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3361 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x
; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3372 eval "$ac_cv_use_gnomevfs"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3377 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3378 echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3387 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3388 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3391 # Check whether --with-hildon or --without-hildon was given.
3392 if test "${with_hildon+set}" = set; then
3393 withval
="$with_hildon"
3395 if test "$withval" = yes; then
3396 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3398 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3403 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x
; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3414 eval "$ac_cv_use_hildon"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_LIBHILDON" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3429 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3430 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3433 # Check whether --with-opengl or --without-opengl was given.
3434 if test "${with_opengl+set}" = set; then
3435 withval
="$with_opengl"
3437 if test "$withval" = yes; then
3438 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3440 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3445 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x
; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3456 eval "$ac_cv_use_opengl"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_OPENGL" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3470 if test "$wxUSE_UNIVERSAL" = "yes"; then
3472 # Check whether --with-themes or --without-themes was given.
3473 if test "${with_themes+set}" = set; then
3474 withval
="$with_themes"
3475 wxUNIV_THEMES
="$withval"
3483 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3484 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3487 # Check whether --with-dmalloc or --without-dmalloc was given.
3488 if test "${with_dmalloc+set}" = set; then
3489 withval
="$with_dmalloc"
3491 if test "$withval" = yes; then
3492 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3494 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3499 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3510 eval "$ac_cv_use_dmalloc"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3515 if test "$wxUSE_DMALLOC" = yes; then
3516 echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3524 echo "$as_me:$LINENO: checking for --with-regex" >&5
3525 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3528 # Check whether --with-regex or --without-regex was given.
3529 if test "${with_regex+set}" = set; then
3530 withval
="$with_regex"
3532 if test "$withval" = yes; then
3533 ac_cv_use_regex
='wxUSE_REGEX=yes'
3534 elif test "$withval" = no
; then
3535 ac_cv_use_regex
='wxUSE_REGEX=no'
3536 elif test "$withval" = sys
; then
3537 ac_cv_use_regex
='wxUSE_REGEX=sys'
3538 elif test "$withval" = builtin; then
3539 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3541 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3542 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3543 { (exit 1); exit 1; }; }
3548 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x
; then
3550 eval "DEFAULT_$LINE"
3555 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3559 eval "$ac_cv_use_regex"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3564 if test "$wxUSE_REGEX" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3567 elif test "$wxUSE_REGEX" = no
; then
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 elif test "$wxUSE_REGEX" = sys
; then
3571 echo "$as_me:$LINENO: result: system version" >&5
3572 echo "${ECHO_T}system version" >&6
3573 elif test "$wxUSE_REGEX" = builtin; then
3574 echo "$as_me:$LINENO: result: builtin version" >&5
3575 echo "${ECHO_T}builtin version" >&6
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3583 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3584 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3587 # Check whether --with-zlib or --without-zlib was given.
3588 if test "${with_zlib+set}" = set; then
3589 withval
="$with_zlib"
3591 if test "$withval" = yes; then
3592 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3593 elif test "$withval" = no
; then
3594 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3595 elif test "$withval" = sys
; then
3596 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3597 elif test "$withval" = builtin; then
3598 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3600 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3601 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3602 { (exit 1); exit 1; }; }
3607 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x
; then
3609 eval "DEFAULT_$LINE"
3614 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3618 eval "$ac_cv_use_zlib"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3623 if test "$wxUSE_ZLIB" = yes; then
3624 echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6
3626 elif test "$wxUSE_ZLIB" = no
; then
3627 echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6
3629 elif test "$wxUSE_ZLIB" = sys
; then
3630 echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6
3632 elif test "$wxUSE_ZLIB" = builtin; then
3633 echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3642 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3643 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3646 # Check whether --with-odbc or --without-odbc was given.
3647 if test "${with_odbc+set}" = set; then
3648 withval
="$with_odbc"
3650 if test "$withval" = yes; then
3651 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3652 elif test "$withval" = no
; then
3653 ac_cv_use_odbc
='wxUSE_ODBC=no'
3654 elif test "$withval" = sys
; then
3655 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3656 elif test "$withval" = builtin; then
3657 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3666 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x
; then
3668 eval "DEFAULT_$LINE"
3673 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3677 eval "$ac_cv_use_odbc"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_ODBC" = yes; then
3683 echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6
3685 elif test "$wxUSE_ODBC" = no
; then
3686 echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3688 elif test "$wxUSE_ODBC" = sys
; then
3689 echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6
3691 elif test "$wxUSE_ODBC" = builtin; then
3692 echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 echo "$as_me:$LINENO: checking for --with-expat" >&5
3702 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3705 # Check whether --with-expat or --without-expat was given.
3706 if test "${with_expat+set}" = set; then
3707 withval
="$with_expat"
3709 if test "$withval" = yes; then
3710 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3711 elif test "$withval" = no
; then
3712 ac_cv_use_expat
='wxUSE_EXPAT=no'
3713 elif test "$withval" = sys
; then
3714 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3715 elif test "$withval" = builtin; then
3716 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3718 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3719 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3720 { (exit 1); exit 1; }; }
3725 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x
; then
3727 eval "DEFAULT_$LINE"
3732 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3736 eval "$ac_cv_use_expat"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_EXPAT" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3744 elif test "$wxUSE_EXPAT" = no
; then
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3747 elif test "$wxUSE_EXPAT" = sys
; then
3748 echo "$as_me:$LINENO: result: system version" >&5
3749 echo "${ECHO_T}system version" >&6
3750 elif test "$wxUSE_EXPAT" = builtin; then
3751 echo "$as_me:$LINENO: result: builtin version" >&5
3752 echo "${ECHO_T}builtin version" >&6
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3766 # Check whether --enable-shared or --disable-shared was given.
3767 if test "${enable_shared+set}" = set; then
3768 enableval
="$enable_shared"
3770 if test "$enableval" = yes; then
3771 ac_cv_use_shared
='wxUSE_SHARED=yes'
3773 ac_cv_use_shared
='wxUSE_SHARED=no'
3778 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x
; then
3780 eval "DEFAULT_$LINE"
3785 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3789 eval "$ac_cv_use_shared"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3794 if test "$wxUSE_SHARED" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3807 # Check whether --enable-optimise or --disable-optimise was given.
3808 if test "${enable_optimise+set}" = set; then
3809 enableval
="$enable_optimise"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3814 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3819 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x
; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3830 eval "$ac_cv_use_optimise"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3835 if test "$wxUSE_OPTIMISE" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3848 # Check whether --enable-debug or --disable-debug was given.
3849 if test "${enable_debug+set}" = set; then
3850 enableval
="$enable_debug"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3855 ac_cv_use_debug
='wxUSE_DEBUG=no'
3860 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x
; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3871 eval "$ac_cv_use_debug"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3876 if test "$wxUSE_DEBUG" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3889 # Check whether --enable-stl or --disable-stl was given.
3890 if test "${enable_stl+set}" = set; then
3891 enableval
="$enable_stl"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_stl
='wxUSE_STL=yes'
3896 ac_cv_use_stl
='wxUSE_STL=no'
3901 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3912 eval "$ac_cv_use_stl"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_STL" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3925 if test "$USE_OS2" = "1"; then
3926 DEFAULT_wxUSE_OMF
=no
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3932 # Check whether --enable-omf or --disable-omf was given.
3933 if test "${enable_omf+set}" = set; then
3934 enableval
="$enable_omf"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_omf
='wxUSE_OMF=yes'
3939 ac_cv_use_omf
='wxUSE_OMF=no'
3944 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x
; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3955 eval "$ac_cv_use_omf"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_OMF" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3970 if test "$wxUSE_DEBUG" = "yes"; then
3971 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3972 DEFAULT_wxUSE_DEBUG_INFO
=yes
3974 elif test "$wxUSE_DEBUG" = "no"; then
3975 DEFAULT_wxUSE_DEBUG_FLAG
=no
3976 DEFAULT_wxUSE_DEBUG_INFO
=no
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3985 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3986 if test "${enable_debug_flag+set}" = set; then
3987 enableval
="$enable_debug_flag"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3992 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3997 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x
; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4008 eval "$ac_cv_use_debug_flag"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_DEBUG_FLAG" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4024 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4026 # Check whether --enable-debug_info or --disable-debug_info was given.
4027 if test "${enable_debug_info+set}" = set; then
4028 enableval
="$enable_debug_info"
4030 if test "$enableval" = yes; then
4031 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4033 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4038 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x
; then
4040 eval "DEFAULT_$LINE"
4045 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4049 eval "$ac_cv_use_debug_info"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_DEBUG_INFO" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4067 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4068 if test "${enable_debug_gdb+set}" = set; then
4069 enableval
="$enable_debug_gdb"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4074 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4079 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x
; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4090 eval "$ac_cv_use_debug_gdb"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4095 if test "$wxUSE_DEBUG_GDB" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4108 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4109 if test "${enable_debug_cntxt+set}" = set; then
4110 enableval
="$enable_debug_cntxt"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4115 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4120 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x
; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4131 eval "$ac_cv_use_debug_cntxt"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4149 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4150 if test "${enable_mem_tracing+set}" = set; then
4151 enableval
="$enable_mem_tracing"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4156 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4161 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x
; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4172 eval "$ac_cv_use_mem_tracing"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_MEM_TRACING" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4190 # Check whether --enable-profile or --disable-profile was given.
4191 if test "${enable_profile+set}" = set; then
4192 enableval
="$enable_profile"
4194 if test "$enableval" = yes; then
4195 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4197 ac_cv_use_profile
='wxUSE_PROFILE=no'
4202 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x
; then
4204 eval "DEFAULT_$LINE"
4209 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4213 eval "$ac_cv_use_profile"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_PROFILE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4231 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4232 if test "${enable_no_rtti+set}" = set; then
4233 enableval
="$enable_no_rtti"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4238 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4243 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4254 eval "$ac_cv_use_no_rtti"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_NO_RTTI" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4272 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4273 if test "${enable_no_exceptions+set}" = set; then
4274 enableval
="$enable_no_exceptions"
4276 if test "$enableval" = yes; then
4277 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4279 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4284 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x
; then
4286 eval "DEFAULT_$LINE"
4291 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4295 eval "$ac_cv_use_no_exceptions"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4311 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4313 # Check whether --enable-permissive or --disable-permissive was given.
4314 if test "${enable_permissive+set}" = set; then
4315 enableval
="$enable_permissive"
4317 if test "$enableval" = yes; then
4318 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4320 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4325 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x
; then
4327 eval "DEFAULT_$LINE"
4332 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4336 eval "$ac_cv_use_permissive"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4341 if test "$wxUSE_PERMISSIVE" = yes; then
4342 echo "$as_me:$LINENO: result: yes" >&5
4343 echo "${ECHO_T}yes" >&6
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4352 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4354 # Check whether --enable-no_deps or --disable-no_deps was given.
4355 if test "${enable_no_deps+set}" = set; then
4356 enableval
="$enable_no_deps"
4358 if test "$enableval" = yes; then
4359 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4361 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4366 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x
; then
4368 eval "DEFAULT_$LINE"
4373 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4377 eval "$ac_cv_use_no_deps"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4382 if test "$wxUSE_NO_DEPS" = yes; then
4383 echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6
4386 echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4395 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4396 if test "${enable_universal_binary+set}" = set; then
4397 enableval
="$enable_universal_binary"
4399 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4403 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x
; then
4405 eval "DEFAULT_$LINE"
4406 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4409 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4414 eval "$wx_cv_use_universal_binary"
4415 if test "$no_cache" != 1; then
4416 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4419 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4420 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4428 # Check whether --enable-compat24 or --disable-compat24 was given.
4429 if test "${enable_compat24+set}" = set; then
4430 enableval
="$enable_compat24"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4435 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4440 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x
; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4451 eval "$ac_cv_use_compat24"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4456 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4465 enablestring
=disable
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4469 # Check whether --enable-compat26 or --disable-compat26 was given.
4470 if test "${enable_compat26+set}" = set; then
4471 enableval
="$enable_compat26"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4476 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4481 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x
; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4492 eval "$ac_cv_use_compat26"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4497 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4509 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4511 # Check whether --enable-rpath or --disable-rpath was given.
4512 if test "${enable_rpath+set}" = set; then
4513 enableval
="$enable_rpath"
4515 if test "$enableval" = yes; then
4516 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4518 ac_cv_use_rpath
='wxUSE_RPATH=no'
4523 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x
; then
4525 eval "DEFAULT_$LINE"
4530 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4534 eval "$ac_cv_use_rpath"
4535 if test "$no_cache" != 1; then
4536 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4539 if test "$wxUSE_RPATH" = yes; then
4540 echo "$as_me:$LINENO: result: yes" >&5
4541 echo "${ECHO_T}yes" >&6
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4555 # Check whether --enable-intl or --disable-intl was given.
4556 if test "${enable_intl+set}" = set; then
4557 enableval
="$enable_intl"
4559 if test "$enableval" = yes; then
4560 ac_cv_use_intl
='wxUSE_INTL=yes'
4562 ac_cv_use_intl
='wxUSE_INTL=no'
4567 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x
; then
4569 eval "DEFAULT_$LINE"
4574 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4578 eval "$ac_cv_use_intl"
4579 if test "$no_cache" != 1; then
4580 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4583 if test "$wxUSE_INTL" = yes; then
4584 echo "$as_me:$LINENO: result: yes" >&5
4585 echo "${ECHO_T}yes" >&6
4587 echo "$as_me:$LINENO: result: no" >&5
4588 echo "${ECHO_T}no" >&6
4593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4596 # Check whether --enable-config or --disable-config was given.
4597 if test "${enable_config+set}" = set; then
4598 enableval
="$enable_config"
4600 if test "$enableval" = yes; then
4601 ac_cv_use_config
='wxUSE_CONFIG=yes'
4603 ac_cv_use_config
='wxUSE_CONFIG=no'
4608 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x
; then
4610 eval "DEFAULT_$LINE"
4615 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4619 eval "$ac_cv_use_config"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_CONFIG" = yes; then
4625 echo "$as_me:$LINENO: result: yes" >&5
4626 echo "${ECHO_T}yes" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4638 # Check whether --enable-protocols or --disable-protocols was given.
4639 if test "${enable_protocols+set}" = set; then
4640 enableval
="$enable_protocols"
4642 if test "$enableval" = yes; then
4643 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4645 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4650 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x
; then
4652 eval "DEFAULT_$LINE"
4657 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4661 eval "$ac_cv_use_protocols"
4662 if test "$no_cache" != 1; then
4663 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4666 if test "$wxUSE_PROTOCOL" = yes; then
4667 echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4679 # Check whether --enable-ftp or --disable-ftp was given.
4680 if test "${enable_ftp+set}" = set; then
4681 enableval
="$enable_ftp"
4683 if test "$enableval" = yes; then
4684 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4686 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4691 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x
; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4702 eval "$ac_cv_use_ftp"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4707 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4720 # Check whether --enable-http or --disable-http was given.
4721 if test "${enable_http+set}" = set; then
4722 enableval
="$enable_http"
4724 if test "$enableval" = yes; then
4725 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4727 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4732 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x
; then
4734 eval "DEFAULT_$LINE"
4739 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4743 eval "$ac_cv_use_http"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4761 # Check whether --enable-fileproto or --disable-fileproto was given.
4762 if test "${enable_fileproto+set}" = set; then
4763 enableval
="$enable_fileproto"
4765 if test "$enableval" = yes; then
4766 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4768 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4773 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x
; then
4775 eval "DEFAULT_$LINE"
4780 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4784 eval "$ac_cv_use_fileproto"
4785 if test "$no_cache" != 1; then
4786 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4789 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4790 echo "$as_me:$LINENO: result: yes" >&5
4791 echo "${ECHO_T}yes" >&6
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4802 # Check whether --enable-sockets or --disable-sockets was given.
4803 if test "${enable_sockets+set}" = set; then
4804 enableval
="$enable_sockets"
4806 if test "$enableval" = yes; then
4807 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4809 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4814 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x
; then
4816 eval "DEFAULT_$LINE"
4821 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4825 eval "$ac_cv_use_sockets"
4826 if test "$no_cache" != 1; then
4827 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4830 if test "$wxUSE_SOCKETS" = yes; then
4831 echo "$as_me:$LINENO: result: yes" >&5
4832 echo "${ECHO_T}yes" >&6
4834 echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6
4840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4843 # Check whether --enable-ole or --disable-ole was given.
4844 if test "${enable_ole+set}" = set; then
4845 enableval
="$enable_ole"
4847 if test "$enableval" = yes; then
4848 ac_cv_use_ole
='wxUSE_OLE=yes'
4850 ac_cv_use_ole
='wxUSE_OLE=no'
4855 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x
; then
4857 eval "DEFAULT_$LINE"
4862 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4866 eval "$ac_cv_use_ole"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4871 if test "$wxUSE_OLE" = 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}-dataobj" >&5
4882 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4884 # Check whether --enable-dataobj or --disable-dataobj was given.
4885 if test "${enable_dataobj+set}" = set; then
4886 enableval
="$enable_dataobj"
4888 if test "$enableval" = yes; then
4889 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4891 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4896 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4897 if test "x$LINE" != x
; then
4898 eval "DEFAULT_$LINE"
4903 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4907 eval "$ac_cv_use_dataobj"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4912 if test "$wxUSE_DATAOBJ" = 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
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4926 # Check whether --enable-ipc or --disable-ipc was given.
4927 if test "${enable_ipc+set}" = set; then
4928 enableval
="$enable_ipc"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_ipc
='wxUSE_IPC=yes'
4933 ac_cv_use_ipc
='wxUSE_IPC=no'
4938 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x
; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4949 eval "$ac_cv_use_ipc"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_IPC" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4968 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4969 if test "${enable_apple_ieee+set}" = set; then
4970 enableval
="$enable_apple_ieee"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4975 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4980 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4991 eval "$ac_cv_use_apple_ieee"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_APPLE_IEEE" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5009 # Check whether --enable-arcstream or --disable-arcstream was given.
5010 if test "${enable_arcstream+set}" = set; then
5011 enableval
="$enable_arcstream"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5016 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5021 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5032 eval "$ac_cv_use_arcstream"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5050 # Check whether --enable-backtrace or --disable-backtrace was given.
5051 if test "${enable_backtrace+set}" = set; then
5052 enableval
="$enable_backtrace"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5057 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5062 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5073 eval "$ac_cv_use_backtrace"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_STACKWALKER" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5091 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5092 if test "${enable_catch_segvs+set}" = set; then
5093 enableval
="$enable_catch_segvs"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5098 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5103 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x
; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5114 eval "$ac_cv_use_catch_segvs"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5119 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5132 # Check whether --enable-cmdline or --disable-cmdline was given.
5133 if test "${enable_cmdline+set}" = set; then
5134 enableval
="$enable_cmdline"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5139 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5144 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x
; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5155 eval "$ac_cv_use_cmdline"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5173 # Check whether --enable-datetime or --disable-datetime was given.
5174 if test "${enable_datetime+set}" = set; then
5175 enableval
="$enable_datetime"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5180 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5185 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5196 eval "$ac_cv_use_datetime"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5201 if test "$wxUSE_DATETIME" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5214 # Check whether --enable-debugreport or --disable-debugreport was given.
5215 if test "${enable_debugreport+set}" = set; then
5216 enableval
="$enable_debugreport"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5221 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5226 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x
; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5237 eval "$ac_cv_use_debugreport"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_DEBUGREPORT" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5255 # Check whether --enable-dialupman or --disable-dialupman was given.
5256 if test "${enable_dialupman+set}" = set; then
5257 enableval
="$enable_dialupman"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5262 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5267 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5278 eval "$ac_cv_use_dialupman"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5296 # Check whether --enable-dynlib or --disable-dynlib was given.
5297 if test "${enable_dynlib+set}" = set; then
5298 enableval
="$enable_dynlib"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5303 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5308 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x
; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5319 eval "$ac_cv_use_dynlib"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5337 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5338 if test "${enable_dynamicloader+set}" = set; then
5339 enableval
="$enable_dynamicloader"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5344 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5349 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5360 eval "$ac_cv_use_dynamicloader"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5378 # Check whether --enable-exceptions or --disable-exceptions was given.
5379 if test "${enable_exceptions+set}" = set; then
5380 enableval
="$enable_exceptions"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5385 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5390 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5401 eval "$ac_cv_use_exceptions"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_EXCEPTIONS" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5419 # Check whether --enable-ffile or --disable-ffile was given.
5420 if test "${enable_ffile+set}" = set; then
5421 enableval
="$enable_ffile"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5426 ac_cv_use_ffile
='wxUSE_FFILE=no'
5431 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5442 eval "$ac_cv_use_ffile"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_FFILE" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5460 # Check whether --enable-file or --disable-file was given.
5461 if test "${enable_file+set}" = set; then
5462 enableval
="$enable_file"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_file
='wxUSE_FILE=yes'
5467 ac_cv_use_file
='wxUSE_FILE=no'
5472 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5483 eval "$ac_cv_use_file"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5488 if test "$wxUSE_FILE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5501 # Check whether --enable-filesystem or --disable-filesystem was given.
5502 if test "${enable_filesystem+set}" = set; then
5503 enableval
="$enable_filesystem"
5505 if test "$enableval" = yes; then
5506 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5508 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5513 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x
; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5524 eval "$ac_cv_use_filesystem"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5529 if test "$wxUSE_FILESYSTEM" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5542 # Check whether --enable-fontmap or --disable-fontmap was given.
5543 if test "${enable_fontmap+set}" = set; then
5544 enableval
="$enable_fontmap"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5549 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5554 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x
; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5565 eval "$ac_cv_use_fontmap"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5570 if test "$wxUSE_FONTMAP" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5583 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5584 if test "${enable_fs_inet+set}" = set; then
5585 enableval
="$enable_fs_inet"
5587 if test "$enableval" = yes; then
5588 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5590 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5595 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x
; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5606 eval "$ac_cv_use_fs_inet"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_FS_INET" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5624 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5625 if test "${enable_fs_zip+set}" = set; then
5626 enableval
="$enable_fs_zip"
5628 if test "$enableval" = yes; then
5629 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5631 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5636 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x
; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5647 eval "$ac_cv_use_fs_zip"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5652 if test "$wxUSE_FS_ZIP" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5665 # Check whether --enable-geometry or --disable-geometry was given.
5666 if test "${enable_geometry+set}" = set; then
5667 enableval
="$enable_geometry"
5669 if test "$enableval" = yes; then
5670 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5672 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5677 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x
; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5688 eval "$ac_cv_use_geometry"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5693 if test "$wxUSE_GEOMETRY" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5706 # Check whether --enable-log or --disable-log was given.
5707 if test "${enable_log+set}" = set; then
5708 enableval
="$enable_log"
5710 if test "$enableval" = yes; then
5711 ac_cv_use_log
='wxUSE_LOG=yes'
5713 ac_cv_use_log
='wxUSE_LOG=no'
5718 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x
; then
5720 eval "DEFAULT_$LINE"
5725 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5729 eval "$ac_cv_use_log"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5734 if test "$wxUSE_LOG" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5747 # Check whether --enable-longlong or --disable-longlong was given.
5748 if test "${enable_longlong+set}" = set; then
5749 enableval
="$enable_longlong"
5751 if test "$enableval" = yes; then
5752 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5754 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5759 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x
; then
5761 eval "DEFAULT_$LINE"
5766 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5770 eval "$ac_cv_use_longlong"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_LONGLONG" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5788 # Check whether --enable-mimetype or --disable-mimetype was given.
5789 if test "${enable_mimetype+set}" = set; then
5790 enableval
="$enable_mimetype"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5795 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5800 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x
; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5811 eval "$ac_cv_use_mimetype"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_MIMETYPE" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5829 # Check whether --enable-mslu or --disable-mslu was given.
5830 if test "${enable_mslu+set}" = set; then
5831 enableval
="$enable_mslu"
5833 if test "$enableval" = yes; then
5834 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5836 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5841 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x
; then
5843 eval "DEFAULT_$LINE"
5848 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5852 eval "$ac_cv_use_mslu"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_UNICODE_MSLU" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5870 # Check whether --enable-snglinst or --disable-snglinst was given.
5871 if test "${enable_snglinst+set}" = set; then
5872 enableval
="$enable_snglinst"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5877 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5882 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5893 eval "$ac_cv_use_snglinst"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5911 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5912 if test "${enable_std_iostreams+set}" = set; then
5913 enableval
="$enable_std_iostreams"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5918 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5923 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x
; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5934 eval "$ac_cv_use_std_iostreams"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_STD_IOSTREAM" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5952 # Check whether --enable-std_string or --disable-std_string was given.
5953 if test "${enable_std_string+set}" = set; then
5954 enableval
="$enable_std_string"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5959 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5964 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x
; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5975 eval "$ac_cv_use_std_string"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_STD_STRING" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5993 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5994 if test "${enable_stdpaths+set}" = set; then
5995 enableval
="$enable_stdpaths"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6000 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6005 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x
; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6016 eval "$ac_cv_use_stdpaths"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_STDPATHS" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6034 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6035 if test "${enable_stopwatch+set}" = set; then
6036 enableval
="$enable_stopwatch"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6041 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6046 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x
; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6057 eval "$ac_cv_use_stopwatch"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_STOPWATCH" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6075 # Check whether --enable-streams or --disable-streams was given.
6076 if test "${enable_streams+set}" = set; then
6077 enableval
="$enable_streams"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6082 ac_cv_use_streams
='wxUSE_STREAMS=no'
6087 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x
; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6098 eval "$ac_cv_use_streams"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_STREAMS" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6116 # Check whether --enable-system_options or --disable-system_options was given.
6117 if test "${enable_system_options+set}" = set; then
6118 enableval
="$enable_system_options"
6120 if test "$enableval" = yes; then
6121 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6123 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6128 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x
; then
6130 eval "DEFAULT_$LINE"
6135 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6139 eval "$ac_cv_use_system_options"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6144 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6157 # Check whether --enable-textbuf or --disable-textbuf was given.
6158 if test "${enable_textbuf+set}" = set; then
6159 enableval
="$enable_textbuf"
6161 if test "$enableval" = yes; then
6162 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6164 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6169 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x
; then
6171 eval "DEFAULT_$LINE"
6176 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6180 eval "$ac_cv_use_textbuf"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6185 if test "$wxUSE_TEXTBUFFER" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6198 # Check whether --enable-textfile or --disable-textfile was given.
6199 if test "${enable_textfile+set}" = set; then
6200 enableval
="$enable_textfile"
6202 if test "$enableval" = yes; then
6203 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6205 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6210 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x
; then
6212 eval "DEFAULT_$LINE"
6217 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6221 eval "$ac_cv_use_textfile"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6226 if test "$wxUSE_TEXTFILE" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6
6230 echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6239 # Check whether --enable-timer or --disable-timer was given.
6240 if test "${enable_timer+set}" = set; then
6241 enableval
="$enable_timer"
6243 if test "$enableval" = yes; then
6244 ac_cv_use_timer
='wxUSE_TIMER=yes'
6246 ac_cv_use_timer
='wxUSE_TIMER=no'
6251 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x
; then
6253 eval "DEFAULT_$LINE"
6258 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6262 eval "$ac_cv_use_timer"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_TIMER" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6280 # Check whether --enable-unicode or --disable-unicode was given.
6281 if test "${enable_unicode+set}" = set; then
6282 enableval
="$enable_unicode"
6284 if test "$enableval" = yes; then
6285 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6287 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6292 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x
; then
6294 eval "DEFAULT_$LINE"
6299 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6303 eval "$ac_cv_use_unicode"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_UNICODE" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6321 # Check whether --enable-sound or --disable-sound was given.
6322 if test "${enable_sound+set}" = set; then
6323 enableval
="$enable_sound"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_sound
='wxUSE_SOUND=yes'
6328 ac_cv_use_sound
='wxUSE_SOUND=no'
6333 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6344 eval "$ac_cv_use_sound"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_SOUND" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6362 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6363 if test "${enable_mediactrl+set}" = set; then
6364 enableval
="$enable_mediactrl"
6366 if test "$enableval" = yes; then
6367 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6369 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6374 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x
; then
6376 eval "DEFAULT_$LINE"
6381 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6385 eval "$ac_cv_use_mediactrl"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_MEDIACTRL" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6403 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6404 if test "${enable_gstreamer8+set}" = set; then
6405 enableval
="$enable_gstreamer8"
6407 if test "$enableval" = yes; then
6408 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6410 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6415 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x
; then
6417 eval "DEFAULT_$LINE"
6422 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6426 eval "$ac_cv_use_gstreamer8"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_GSTREAMER8" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6444 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6445 if test "${enable_printfposparam+set}" = set; then
6446 enableval
="$enable_printfposparam"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6451 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6456 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x
; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6467 eval "$ac_cv_use_printfposparam"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6485 # Check whether --enable-zipstream or --disable-zipstream was given.
6486 if test "${enable_zipstream+set}" = set; then
6487 enableval
="$enable_zipstream"
6489 if test "$enableval" = yes; then
6490 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6492 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6497 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x
; then
6499 eval "DEFAULT_$LINE"
6504 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6508 eval "$ac_cv_use_zipstream"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_ZIPSTREAM" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6527 # Check whether --enable-url or --disable-url was given.
6528 if test "${enable_url+set}" = set; then
6529 enableval
="$enable_url"
6531 if test "$enableval" = yes; then
6532 ac_cv_use_url
='wxUSE_URL=yes'
6534 ac_cv_use_url
='wxUSE_URL=no'
6539 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6540 if test "x$LINE" != x
; then
6541 eval "DEFAULT_$LINE"
6546 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6550 eval "$ac_cv_use_url"
6551 if test "$no_cache" != 1; then
6552 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6555 if test "$wxUSE_URL" = yes; then
6556 echo "$as_me:$LINENO: result: yes" >&5
6557 echo "${ECHO_T}yes" >&6
6559 echo "$as_me:$LINENO: result: no" >&5
6560 echo "${ECHO_T}no" >&6
6565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6568 # Check whether --enable-variant or --disable-variant was given.
6569 if test "${enable_variant+set}" = set; then
6570 enableval
="$enable_variant"
6572 if test "$enableval" = yes; then
6573 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6575 ac_cv_use_variant
='wxUSE_VARIANT=no'
6580 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6581 if test "x$LINE" != x
; then
6582 eval "DEFAULT_$LINE"
6587 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6591 eval "$ac_cv_use_variant"
6592 if test "$no_cache" != 1; then
6593 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6596 if test "$wxUSE_VARIANT" = yes; then
6597 echo "$as_me:$LINENO: result: yes" >&5
6598 echo "${ECHO_T}yes" >&6
6600 echo "$as_me:$LINENO: result: no" >&5
6601 echo "${ECHO_T}no" >&6
6606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6609 # Check whether --enable-protocol or --disable-protocol was given.
6610 if test "${enable_protocol+set}" = set; then
6611 enableval
="$enable_protocol"
6613 if test "$enableval" = yes; then
6614 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6616 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6621 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x
; then
6623 eval "DEFAULT_$LINE"
6628 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6632 eval "$ac_cv_use_protocol"
6633 if test "$no_cache" != 1; then
6634 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6637 if test "$wxUSE_PROTOCOL" = yes; then
6638 echo "$as_me:$LINENO: result: yes" >&5
6639 echo "${ECHO_T}yes" >&6
6641 echo "$as_me:$LINENO: result: no" >&5
6642 echo "${ECHO_T}no" >&6
6647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6650 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6651 if test "${enable_protocol_http+set}" = set; then
6652 enableval
="$enable_protocol_http"
6654 if test "$enableval" = yes; then
6655 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6657 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6662 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x
; then
6664 eval "DEFAULT_$LINE"
6669 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6673 eval "$ac_cv_use_protocol_http"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6678 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6679 echo "$as_me:$LINENO: result: yes" >&5
6680 echo "${ECHO_T}yes" >&6
6682 echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6
6688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6691 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6692 if test "${enable_protocol_ftp+set}" = set; then
6693 enableval
="$enable_protocol_ftp"
6695 if test "$enableval" = yes; then
6696 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6698 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6703 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6704 if test "x$LINE" != x
; then
6705 eval "DEFAULT_$LINE"
6710 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6714 eval "$ac_cv_use_protocol_ftp"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6719 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6720 echo "$as_me:$LINENO: result: yes" >&5
6721 echo "${ECHO_T}yes" >&6
6723 echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6
6729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6732 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6733 if test "${enable_protocol_file+set}" = set; then
6734 enableval
="$enable_protocol_file"
6736 if test "$enableval" = yes; then
6737 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6739 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6744 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x
; then
6746 eval "DEFAULT_$LINE"
6751 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6755 eval "$ac_cv_use_protocol_file"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6760 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6761 echo "$as_me:$LINENO: result: yes" >&5
6762 echo "${ECHO_T}yes" >&6
6764 echo "$as_me:$LINENO: result: no" >&5
6765 echo "${ECHO_T}no" >&6
6773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6776 # Check whether --enable-threads or --disable-threads was given.
6777 if test "${enable_threads+set}" = set; then
6778 enableval
="$enable_threads"
6780 if test "$enableval" = yes; then
6781 ac_cv_use_threads
='wxUSE_THREADS=yes'
6783 ac_cv_use_threads
='wxUSE_THREADS=no'
6788 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x
; then
6790 eval "DEFAULT_$LINE"
6795 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6799 eval "$ac_cv_use_threads"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6804 if test "$wxUSE_THREADS" = yes; then
6805 echo "$as_me:$LINENO: result: yes" >&5
6806 echo "${ECHO_T}yes" >&6
6808 echo "$as_me:$LINENO: result: no" >&5
6809 echo "${ECHO_T}no" >&6
6813 if test "$wxUSE_GUI" = "yes"; then
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6821 # Check whether --enable-docview or --disable-docview was given.
6822 if test "${enable_docview+set}" = set; then
6823 enableval
="$enable_docview"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6828 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6833 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x
; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6844 eval "$ac_cv_use_docview"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6849 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6862 # Check whether --enable-help or --disable-help was given.
6863 if test "${enable_help+set}" = set; then
6864 enableval
="$enable_help"
6866 if test "$enableval" = yes; then
6867 ac_cv_use_help
='wxUSE_HELP=yes'
6869 ac_cv_use_help
='wxUSE_HELP=no'
6874 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x
; then
6876 eval "DEFAULT_$LINE"
6881 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6885 eval "$ac_cv_use_help"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_HELP" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6903 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6904 if test "${enable_mshtmlhelp+set}" = set; then
6905 enableval
="$enable_mshtmlhelp"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6910 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6915 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x
; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6926 eval "$ac_cv_use_mshtmlhelp"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_MS_HTML_HELP" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6944 # Check whether --enable-html or --disable-html was given.
6945 if test "${enable_html+set}" = set; then
6946 enableval
="$enable_html"
6948 if test "$enableval" = yes; then
6949 ac_cv_use_html
='wxUSE_HTML=yes'
6951 ac_cv_use_html
='wxUSE_HTML=no'
6956 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x
; then
6958 eval "DEFAULT_$LINE"
6963 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6967 eval "$ac_cv_use_html"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6972 if test "$wxUSE_HTML" = yes; then
6973 echo "$as_me:$LINENO: result: yes" >&5
6974 echo "${ECHO_T}yes" >&6
6976 echo "$as_me:$LINENO: result: no" >&5
6977 echo "${ECHO_T}no" >&6
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6985 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6986 if test "${enable_htmlhelp+set}" = set; then
6987 enableval
="$enable_htmlhelp"
6989 if test "$enableval" = yes; then
6990 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6992 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6997 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x
; then
6999 eval "DEFAULT_$LINE"
7004 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7008 eval "$ac_cv_use_htmlhelp"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_WXHTML_HELP" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7026 # Check whether --enable-xrc or --disable-xrc was given.
7027 if test "${enable_xrc+set}" = set; then
7028 enableval
="$enable_xrc"
7030 if test "$enableval" = yes; then
7031 ac_cv_use_xrc
='wxUSE_XRC=yes'
7033 ac_cv_use_xrc
='wxUSE_XRC=no'
7038 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x
; then
7040 eval "DEFAULT_$LINE"
7045 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7049 eval "$ac_cv_use_xrc"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7054 if test "$wxUSE_XRC" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7067 # Check whether --enable-aui or --disable-aui was given.
7068 if test "${enable_aui+set}" = set; then
7069 enableval
="$enable_aui"
7071 if test "$enableval" = yes; then
7072 ac_cv_use_aui
='wxUSE_AUI=yes'
7074 ac_cv_use_aui
='wxUSE_AUI=no'
7079 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x
; then
7081 eval "DEFAULT_$LINE"
7086 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7090 eval "$ac_cv_use_aui"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7095 if test "$wxUSE_AUI" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7108 # Check whether --enable-constraints or --disable-constraints was given.
7109 if test "${enable_constraints+set}" = set; then
7110 enableval
="$enable_constraints"
7112 if test "$enableval" = yes; then
7113 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7115 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7120 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x
; then
7122 eval "DEFAULT_$LINE"
7127 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7131 eval "$ac_cv_use_constraints"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7136 if test "$wxUSE_CONSTRAINTS" = yes; then
7137 echo "$as_me:$LINENO: result: yes" >&5
7138 echo "${ECHO_T}yes" >&6
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7147 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7149 # Check whether --enable-printarch or --disable-printarch was given.
7150 if test "${enable_printarch+set}" = set; then
7151 enableval
="$enable_printarch"
7153 if test "$enableval" = yes; then
7154 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7156 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7161 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x
; then
7163 eval "DEFAULT_$LINE"
7168 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7172 eval "$ac_cv_use_printarch"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7177 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7178 echo "$as_me:$LINENO: result: yes" >&5
7179 echo "${ECHO_T}yes" >&6
7181 echo "$as_me:$LINENO: result: no" >&5
7182 echo "${ECHO_T}no" >&6
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7190 # Check whether --enable-mdi or --disable-mdi was given.
7191 if test "${enable_mdi+set}" = set; then
7192 enableval
="$enable_mdi"
7194 if test "$enableval" = yes; then
7195 ac_cv_use_mdi
='wxUSE_MDI=yes'
7197 ac_cv_use_mdi
='wxUSE_MDI=no'
7202 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x
; then
7204 eval "DEFAULT_$LINE"
7209 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7213 eval "$ac_cv_use_mdi"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7218 if test "$wxUSE_MDI" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7231 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7232 if test "${enable_mdidoc+set}" = set; then
7233 enableval
="$enable_mdidoc"
7235 if test "$enableval" = yes; then
7236 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7238 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7243 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x
; then
7245 eval "DEFAULT_$LINE"
7250 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7254 eval "$ac_cv_use_mdidoc"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7259 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7272 # Check whether --enable-loggui or --disable-loggui was given.
7273 if test "${enable_loggui+set}" = set; then
7274 enableval
="$enable_loggui"
7276 if test "$enableval" = yes; then
7277 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7279 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7284 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x
; then
7286 eval "DEFAULT_$LINE"
7291 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7295 eval "$ac_cv_use_loggui"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7300 if test "$wxUSE_LOGGUI" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7313 # Check whether --enable-logwin or --disable-logwin was given.
7314 if test "${enable_logwin+set}" = set; then
7315 enableval
="$enable_logwin"
7317 if test "$enableval" = yes; then
7318 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7320 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7325 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x
; then
7327 eval "DEFAULT_$LINE"
7332 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7336 eval "$ac_cv_use_logwin"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7341 if test "$wxUSE_LOGWINDOW" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7354 # Check whether --enable-logdialog or --disable-logdialog was given.
7355 if test "${enable_logdialog+set}" = set; then
7356 enableval
="$enable_logdialog"
7358 if test "$enableval" = yes; then
7359 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7361 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7366 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x
; then
7368 eval "DEFAULT_$LINE"
7373 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7377 eval "$ac_cv_use_logdialog"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7382 if test "$wxUSE_LOGDIALOG" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7395 # Check whether --enable-webkit or --disable-webkit was given.
7396 if test "${enable_webkit+set}" = set; then
7397 enableval
="$enable_webkit"
7399 if test "$enableval" = yes; then
7400 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7402 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7407 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x
; then
7409 eval "DEFAULT_$LINE"
7414 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7418 eval "$ac_cv_use_webkit"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7423 if test "$wxUSE_WEBKIT" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7436 # Check whether --enable-html or --disable-html was given.
7437 if test "${enable_html+set}" = set; then
7438 enableval
="$enable_html"
7440 if test "$enableval" = yes; then
7441 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7443 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7448 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x
; then
7450 eval "DEFAULT_$LINE"
7455 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7459 eval "$ac_cv_use_html"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_RICHTEXT" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7477 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7478 if test "${enable_graphics_ctx+set}" = set; then
7479 enableval
="$enable_graphics_ctx"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7484 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7489 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x
; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7500 eval "$ac_cv_use_graphics_ctx"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7519 # Check whether --enable-postscript or --disable-postscript was given.
7520 if test "${enable_postscript+set}" = set; then
7521 enableval
="$enable_postscript"
7523 if test "$enableval" = yes; then
7524 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7526 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7531 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x
; then
7533 eval "DEFAULT_$LINE"
7538 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7542 eval "$ac_cv_use_postscript"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7547 if test "$wxUSE_POSTSCRIPT" = yes; then
7548 echo "$as_me:$LINENO: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7563 # Check whether --enable-prologio or --disable-prologio was given.
7564 if test "${enable_prologio+set}" = set; then
7565 enableval
="$enable_prologio"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7570 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7575 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x
; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7586 eval "$ac_cv_use_prologio"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_PROLOGIO" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7604 # Check whether --enable-resources or --disable-resources was given.
7605 if test "${enable_resources+set}" = set; then
7606 enableval
="$enable_resources"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7611 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7616 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x
; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7627 eval "$ac_cv_use_resources"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_RESOURCES" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7645 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7647 # Check whether --enable-clipboard or --disable-clipboard was given.
7648 if test "${enable_clipboard+set}" = set; then
7649 enableval
="$enable_clipboard"
7651 if test "$enableval" = yes; then
7652 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7654 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7659 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7660 if test "x$LINE" != x
; then
7661 eval "DEFAULT_$LINE"
7666 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7670 eval "$ac_cv_use_clipboard"
7671 if test "$no_cache" != 1; then
7672 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7675 if test "$wxUSE_CLIPBOARD" = yes; then
7676 echo "$as_me:$LINENO: result: yes" >&5
7677 echo "${ECHO_T}yes" >&6
7679 echo "$as_me:$LINENO: result: no" >&5
7680 echo "${ECHO_T}no" >&6
7685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7688 # Check whether --enable-dnd or --disable-dnd was given.
7689 if test "${enable_dnd+set}" = set; then
7690 enableval
="$enable_dnd"
7692 if test "$enableval" = yes; then
7693 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7695 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7700 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7701 if test "x$LINE" != x
; then
7702 eval "DEFAULT_$LINE"
7707 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7711 eval "$ac_cv_use_dnd"
7712 if test "$no_cache" != 1; then
7713 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7716 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7717 echo "$as_me:$LINENO: result: yes" >&5
7718 echo "${ECHO_T}yes" >&6
7720 echo "$as_me:$LINENO: result: no" >&5
7721 echo "${ECHO_T}no" >&6
7726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7729 # Check whether --enable-metafile or --disable-metafile was given.
7730 if test "${enable_metafile+set}" = set; then
7731 enableval
="$enable_metafile"
7733 if test "$enableval" = yes; then
7734 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7736 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7741 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7742 if test "x$LINE" != x
; then
7743 eval "DEFAULT_$LINE"
7748 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7752 eval "$ac_cv_use_metafile"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7757 if test "$wxUSE_METAFILE" = yes; then
7758 echo "$as_me:$LINENO: result: yes" >&5
7759 echo "${ECHO_T}yes" >&6
7761 echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6
7770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7773 # Check whether --enable-controls or --disable-controls was given.
7774 if test "${enable_controls+set}" = set; then
7775 enableval
="$enable_controls"
7777 if test "$enableval" = yes; then
7778 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7780 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7785 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x
; then
7787 eval "DEFAULT_$LINE"
7792 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7796 eval "$ac_cv_use_controls"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7801 if test "$wxUSE_CONTROLS" = yes; then
7802 echo "$as_me:$LINENO: result: yes" >&5
7803 echo "${ECHO_T}yes" >&6
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7810 if test "$wxUSE_CONTROLS" = "yes"; then
7811 DEFAULT_wxUSE_ACCEL
=yes
7812 DEFAULT_wxUSE_BMPBUTTON
=yes
7813 DEFAULT_wxUSE_BUTTON
=yes
7814 DEFAULT_wxUSE_CALCTRL
=yes
7815 DEFAULT_wxUSE_CARET
=yes
7816 DEFAULT_wxUSE_COMBOBOX
=yes
7817 DEFAULT_wxUSE_CHECKBOX
=yes
7818 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7819 DEFAULT_wxUSE_CHOICE
=yes
7820 DEFAULT_wxUSE_CHOICEBOOK
=yes
7821 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7822 DEFAULT_wxUSE_COMBOBOX
=yes
7823 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7824 DEFAULT_wxUSE_DISPLAY
=yes
7825 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7826 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7827 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7828 DEFAULT_wxUSE_GAUGE
=yes
7829 DEFAULT_wxUSE_GRID
=yes
7830 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7831 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7832 DEFAULT_wxUSE_IMAGLIST
=yes
7833 DEFAULT_wxUSE_LISTBOOK
=yes
7834 DEFAULT_wxUSE_LISTBOX
=yes
7835 DEFAULT_wxUSE_LISTCTRL
=yes
7836 DEFAULT_wxUSE_NOTEBOOK
=yes
7837 DEFAULT_wxUSE_RADIOBOX
=yes
7838 DEFAULT_wxUSE_RADIOBTN
=yes
7839 DEFAULT_wxUSE_SASH
=yes
7840 DEFAULT_wxUSE_SCROLLBAR
=yes
7841 DEFAULT_wxUSE_SLIDER
=yes
7842 DEFAULT_wxUSE_SPINBTN
=yes
7843 DEFAULT_wxUSE_SPINCTRL
=yes
7844 DEFAULT_wxUSE_SPLITTER
=yes
7845 DEFAULT_wxUSE_STATBMP
=yes
7846 DEFAULT_wxUSE_STATBOX
=yes
7847 DEFAULT_wxUSE_STATLINE
=yes
7848 DEFAULT_wxUSE_STATUSBAR
=yes
7849 DEFAULT_wxUSE_TAB_DIALOG
=yes
7850 DEFAULT_wxUSE_TOGGLEBTN
=yes
7851 DEFAULT_wxUSE_TOOLBAR
=yes
7852 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7853 DEFAULT_wxUSE_TOOLTIPS
=yes
7854 DEFAULT_wxUSE_TREEBOOK
=yes
7855 DEFAULT_wxUSE_TOOLBOOK
=yes
7856 DEFAULT_wxUSE_TREECTRL
=yes
7857 DEFAULT_wxUSE_POPUPWIN
=yes
7858 DEFAULT_wxUSE_TIPWINDOW
=yes
7859 elif test "$wxUSE_CONTROLS" = "no"; then
7860 DEFAULT_wxUSE_ACCEL
=no
7861 DEFAULT_wxUSE_BMPBUTTON
=no
7862 DEFAULT_wxUSE_BUTTON
=no
7863 DEFAULT_wxUSE_CALCTRL
=no
7864 DEFAULT_wxUSE_CARET
=no
7865 DEFAULT_wxUSE_COMBOBOX
=no
7866 DEFAULT_wxUSE_CHECKBOX
=no
7867 DEFAULT_wxUSE_CHECKLISTBOX
=no
7868 DEFAULT_wxUSE_CHOICE
=no
7869 DEFAULT_wxUSE_CHOICEBOOK
=no
7870 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7871 DEFAULT_wxUSE_COMBOBOX
=no
7872 DEFAULT_wxUSE_DATEPICKCTRL
=no
7873 DEFAULT_wxUSE_DISPLAY
=no
7874 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7875 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7876 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7877 DEFAULT_wxUSE_GAUGE
=no
7878 DEFAULT_wxUSE_GRID
=no
7879 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7880 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7881 DEFAULT_wxUSE_IMAGLIST
=no
7882 DEFAULT_wxUSE_LISTBOOK
=no
7883 DEFAULT_wxUSE_LISTBOX
=no
7884 DEFAULT_wxUSE_LISTCTRL
=no
7885 DEFAULT_wxUSE_NOTEBOOK
=no
7886 DEFAULT_wxUSE_RADIOBOX
=no
7887 DEFAULT_wxUSE_RADIOBTN
=no
7888 DEFAULT_wxUSE_SASH
=no
7889 DEFAULT_wxUSE_SCROLLBAR
=no
7890 DEFAULT_wxUSE_SLIDER
=no
7891 DEFAULT_wxUSE_SPINBTN
=no
7892 DEFAULT_wxUSE_SPINCTRL
=no
7893 DEFAULT_wxUSE_SPLITTER
=no
7894 DEFAULT_wxUSE_STATBMP
=no
7895 DEFAULT_wxUSE_STATBOX
=no
7896 DEFAULT_wxUSE_STATLINE
=no
7897 DEFAULT_wxUSE_STATUSBAR
=no
7898 DEFAULT_wxUSE_TAB_DIALOG
=no
7899 DEFAULT_wxUSE_TOGGLEBTN
=no
7900 DEFAULT_wxUSE_TOOLBAR
=no
7901 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7902 DEFAULT_wxUSE_TOOLTIPS
=no
7903 DEFAULT_wxUSE_TREEBOOK
=no
7904 DEFAULT_wxUSE_TOOLBOOK
=no
7905 DEFAULT_wxUSE_TREECTRL
=no
7906 DEFAULT_wxUSE_POPUPWIN
=no
7907 DEFAULT_wxUSE_TIPWINDOW
=no
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7915 # Check whether --enable-accel or --disable-accel was given.
7916 if test "${enable_accel+set}" = set; then
7917 enableval
="$enable_accel"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7922 ac_cv_use_accel
='wxUSE_ACCEL=no'
7927 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7938 eval "$ac_cv_use_accel"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_ACCEL" = 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}-button" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7956 # Check whether --enable-button or --disable-button was given.
7957 if test "${enable_button+set}" = set; then
7958 enableval
="$enable_button"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_button
='wxUSE_BUTTON=yes'
7963 ac_cv_use_button
='wxUSE_BUTTON=no'
7968 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7979 eval "$ac_cv_use_button"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_BUTTON" = 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}-bmpbutton" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7997 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7998 if test "${enable_bmpbutton+set}" = set; then
7999 enableval
="$enable_bmpbutton"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8004 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8009 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8020 eval "$ac_cv_use_bmpbutton"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_BMPBUTTON" = 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}-bmpcombobox" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8038 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8039 if test "${enable_bmpcombobox+set}" = set; then
8040 enableval
="$enable_bmpcombobox"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8045 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8050 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8061 eval "$ac_cv_use_bmpcombobox"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_BITMAPCOMBOBOX" = 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}-calendar" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8079 # Check whether --enable-calendar or --disable-calendar was given.
8080 if test "${enable_calendar+set}" = set; then
8081 enableval
="$enable_calendar"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8086 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8091 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8102 eval "$ac_cv_use_calendar"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_CALCTRL" = 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}-caret" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8120 # Check whether --enable-caret or --disable-caret was given.
8121 if test "${enable_caret+set}" = set; then
8122 enableval
="$enable_caret"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_caret
='wxUSE_CARET=yes'
8127 ac_cv_use_caret
='wxUSE_CARET=no'
8132 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8143 eval "$ac_cv_use_caret"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_CARET" = 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}-checkbox" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8161 # Check whether --enable-checkbox or --disable-checkbox was given.
8162 if test "${enable_checkbox+set}" = set; then
8163 enableval
="$enable_checkbox"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8168 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8173 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8184 eval "$ac_cv_use_checkbox"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_CHECKBOX" = 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}-checklst" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8202 # Check whether --enable-checklst or --disable-checklst was given.
8203 if test "${enable_checklst+set}" = set; then
8204 enableval
="$enable_checklst"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8209 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8214 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8225 eval "$ac_cv_use_checklst"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_CHECKLST" = 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}-choice" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8243 # Check whether --enable-choice or --disable-choice was given.
8244 if test "${enable_choice+set}" = set; then
8245 enableval
="$enable_choice"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8250 ac_cv_use_choice
='wxUSE_CHOICE=no'
8255 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8266 eval "$ac_cv_use_choice"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_CHOICE" = 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}-choicebook" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8284 # Check whether --enable-choicebook or --disable-choicebook was given.
8285 if test "${enable_choicebook+set}" = set; then
8286 enableval
="$enable_choicebook"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8291 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8296 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8307 eval "$ac_cv_use_choicebook"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_CHOICEBOOK" = 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}-colourpicker" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8325 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8326 if test "${enable_colourpicker+set}" = set; then
8327 enableval
="$enable_colourpicker"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8332 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8337 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8348 eval "$ac_cv_use_colourpicker"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_COLOURPICKERCTRL" = 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}-combobox" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8366 # Check whether --enable-combobox or --disable-combobox was given.
8367 if test "${enable_combobox+set}" = set; then
8368 enableval
="$enable_combobox"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8373 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8378 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8389 eval "$ac_cv_use_combobox"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_COMBOBOX" = 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}-comboctrl" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8407 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8408 if test "${enable_comboctrl+set}" = set; then
8409 enableval
="$enable_comboctrl"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8414 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8419 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8430 eval "$ac_cv_use_comboctrl"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_COMBOCTRL" = 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}-datepick" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8448 # Check whether --enable-datepick or --disable-datepick was given.
8449 if test "${enable_datepick+set}" = set; then
8450 enableval
="$enable_datepick"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8455 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8460 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8471 eval "$ac_cv_use_datepick"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_DATEPICKCTRL" = 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}-dirpicker" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8489 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8490 if test "${enable_dirpicker+set}" = set; then
8491 enableval
="$enable_dirpicker"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8496 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8501 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8512 eval "$ac_cv_use_dirpicker"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_DIRPICKERCTRL" = 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}-display" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8530 # Check whether --enable-display or --disable-display was given.
8531 if test "${enable_display+set}" = set; then
8532 enableval
="$enable_display"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8537 ac_cv_use_display
='wxUSE_DISPLAY=no'
8542 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8553 eval "$ac_cv_use_display"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_DISPLAY" = 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}-filepicker" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8571 # Check whether --enable-filepicker or --disable-filepicker was given.
8572 if test "${enable_filepicker+set}" = set; then
8573 enableval
="$enable_filepicker"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8578 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8583 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8594 eval "$ac_cv_use_filepicker"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_FILEPICKERCTRL" = 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}-fontpicker" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8612 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8613 if test "${enable_fontpicker+set}" = set; then
8614 enableval
="$enable_fontpicker"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8619 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8624 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8635 eval "$ac_cv_use_fontpicker"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_FONTPICKERCTRL" = 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}-gauge" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8653 # Check whether --enable-gauge or --disable-gauge was given.
8654 if test "${enable_gauge+set}" = set; then
8655 enableval
="$enable_gauge"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8660 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8665 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8676 eval "$ac_cv_use_gauge"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_GAUGE" = 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}-grid" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8694 # Check whether --enable-grid or --disable-grid was given.
8695 if test "${enable_grid+set}" = set; then
8696 enableval
="$enable_grid"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_grid
='wxUSE_GRID=yes'
8701 ac_cv_use_grid
='wxUSE_GRID=no'
8706 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8717 eval "$ac_cv_use_grid"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_GRID" = 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}-dataviewctrl" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8735 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8736 if test "${enable_dataviewctrl+set}" = set; then
8737 enableval
="$enable_dataviewctrl"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8742 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8747 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8758 eval "$ac_cv_use_dataviewctrl"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_DATAVIEWCTRL" = 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}-hyperlink" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8776 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8777 if test "${enable_hyperlink+set}" = set; then
8778 enableval
="$enable_hyperlink"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8783 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8788 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8799 eval "$ac_cv_use_hyperlink"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_HYPERLINKCTRL" = 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}-imaglist" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8817 # Check whether --enable-imaglist or --disable-imaglist was given.
8818 if test "${enable_imaglist+set}" = set; then
8819 enableval
="$enable_imaglist"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8824 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8829 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8840 eval "$ac_cv_use_imaglist"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_IMAGLIST" = 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}-listbook" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8858 # Check whether --enable-listbook or --disable-listbook was given.
8859 if test "${enable_listbook+set}" = set; then
8860 enableval
="$enable_listbook"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8865 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8870 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8881 eval "$ac_cv_use_listbook"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_LISTBOOK" = 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}-listbox" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8899 # Check whether --enable-listbox or --disable-listbox was given.
8900 if test "${enable_listbox+set}" = set; then
8901 enableval
="$enable_listbox"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8906 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8911 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8922 eval "$ac_cv_use_listbox"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_LISTBOX" = 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}-listctrl" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8940 # Check whether --enable-listctrl or --disable-listctrl was given.
8941 if test "${enable_listctrl+set}" = set; then
8942 enableval
="$enable_listctrl"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8947 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8952 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8963 eval "$ac_cv_use_listctrl"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_LISTCTRL" = 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}-notebook" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8981 # Check whether --enable-notebook or --disable-notebook was given.
8982 if test "${enable_notebook+set}" = set; then
8983 enableval
="$enable_notebook"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8988 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8993 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9004 eval "$ac_cv_use_notebook"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_NOTEBOOK" = 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}-odcombobox" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9022 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9023 if test "${enable_odcombobox+set}" = set; then
9024 enableval
="$enable_odcombobox"
9026 if test "$enableval" = yes; then
9027 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9029 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9034 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x
; then
9036 eval "DEFAULT_$LINE"
9041 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9045 eval "$ac_cv_use_odcombobox"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9050 if test "$wxUSE_ODCOMBOBOX" = 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}-radiobox" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9063 # Check whether --enable-radiobox or --disable-radiobox was given.
9064 if test "${enable_radiobox+set}" = set; then
9065 enableval
="$enable_radiobox"
9067 if test "$enableval" = yes; then
9068 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9070 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9075 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x
; then
9077 eval "DEFAULT_$LINE"
9082 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9086 eval "$ac_cv_use_radiobox"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9091 if test "$wxUSE_RADIOBOX" = 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}-radiobtn" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9104 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9105 if test "${enable_radiobtn+set}" = set; then
9106 enableval
="$enable_radiobtn"
9108 if test "$enableval" = yes; then
9109 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9111 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9116 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x
; then
9118 eval "DEFAULT_$LINE"
9123 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9127 eval "$ac_cv_use_radiobtn"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9132 if test "$wxUSE_RADIOBTN" = 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}-sash" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9145 # Check whether --enable-sash or --disable-sash was given.
9146 if test "${enable_sash+set}" = set; then
9147 enableval
="$enable_sash"
9149 if test "$enableval" = yes; then
9150 ac_cv_use_sash
='wxUSE_SASH=yes'
9152 ac_cv_use_sash
='wxUSE_SASH=no'
9157 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x
; then
9159 eval "DEFAULT_$LINE"
9164 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9168 eval "$ac_cv_use_sash"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9173 if test "$wxUSE_SASH" = 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}-scrollbar" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9186 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9187 if test "${enable_scrollbar+set}" = set; then
9188 enableval
="$enable_scrollbar"
9190 if test "$enableval" = yes; then
9191 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9193 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9198 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x
; then
9200 eval "DEFAULT_$LINE"
9205 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9209 eval "$ac_cv_use_scrollbar"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9214 if test "$wxUSE_SCROLLBAR" = 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}-slider" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9227 # Check whether --enable-slider or --disable-slider was given.
9228 if test "${enable_slider+set}" = set; then
9229 enableval
="$enable_slider"
9231 if test "$enableval" = yes; then
9232 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9234 ac_cv_use_slider
='wxUSE_SLIDER=no'
9239 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x
; then
9241 eval "DEFAULT_$LINE"
9246 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9250 eval "$ac_cv_use_slider"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9255 if test "$wxUSE_SLIDER" = 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}-spinbtn" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9268 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9269 if test "${enable_spinbtn+set}" = set; then
9270 enableval
="$enable_spinbtn"
9272 if test "$enableval" = yes; then
9273 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9275 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9280 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x
; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9291 eval "$ac_cv_use_spinbtn"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9296 if test "$wxUSE_SPINBTN" = 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}-spinctrl" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9309 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9310 if test "${enable_spinctrl+set}" = set; then
9311 enableval
="$enable_spinctrl"
9313 if test "$enableval" = yes; then
9314 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9316 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9321 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9332 eval "$ac_cv_use_spinctrl"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9337 if test "$wxUSE_SPINCTRL" = 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}-splitter" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9350 # Check whether --enable-splitter or --disable-splitter was given.
9351 if test "${enable_splitter+set}" = set; then
9352 enableval
="$enable_splitter"
9354 if test "$enableval" = yes; then
9355 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9357 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9362 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x
; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9373 eval "$ac_cv_use_splitter"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9378 if test "$wxUSE_SPLITTER" = 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}-statbmp" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9391 # Check whether --enable-statbmp or --disable-statbmp was given.
9392 if test "${enable_statbmp+set}" = set; then
9393 enableval
="$enable_statbmp"
9395 if test "$enableval" = yes; then
9396 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9398 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9403 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x
; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9414 eval "$ac_cv_use_statbmp"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9419 if test "$wxUSE_STATBMP" = 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}-statbox" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9432 # Check whether --enable-statbox or --disable-statbox was given.
9433 if test "${enable_statbox+set}" = set; then
9434 enableval
="$enable_statbox"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9439 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9444 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9455 eval "$ac_cv_use_statbox"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_STATBOX" = 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}-statline" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9473 # Check whether --enable-statline or --disable-statline was given.
9474 if test "${enable_statline+set}" = set; then
9475 enableval
="$enable_statline"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9480 ac_cv_use_statline
='wxUSE_STATLINE=no'
9485 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9496 eval "$ac_cv_use_statline"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_STATLINE" = 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}-stattext" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9514 # Check whether --enable-stattext or --disable-stattext was given.
9515 if test "${enable_stattext+set}" = set; then
9516 enableval
="$enable_stattext"
9518 if test "$enableval" = yes; then
9519 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9521 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9526 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x
; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9537 eval "$ac_cv_use_stattext"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9542 if test "$wxUSE_STATTEXT" = 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}-statusbar" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9555 # Check whether --enable-statusbar or --disable-statusbar was given.
9556 if test "${enable_statusbar+set}" = set; then
9557 enableval
="$enable_statusbar"
9559 if test "$enableval" = yes; then
9560 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9562 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9567 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x
; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9578 eval "$ac_cv_use_statusbar"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9583 if test "$wxUSE_STATUSBAR" = 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}-tabdialog" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9596 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9597 if test "${enable_tabdialog+set}" = set; then
9598 enableval
="$enable_tabdialog"
9600 if test "$enableval" = yes; then
9601 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9603 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9608 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x
; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9619 eval "$ac_cv_use_tabdialog"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9624 if test "$wxUSE_TAB_DIALOG" = 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}-textctrl" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9637 # Check whether --enable-textctrl or --disable-textctrl was given.
9638 if test "${enable_textctrl+set}" = set; then
9639 enableval
="$enable_textctrl"
9641 if test "$enableval" = yes; then
9642 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9644 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9649 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x
; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9660 eval "$ac_cv_use_textctrl"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9665 if test "$wxUSE_TEXTCTRL" = 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}-togglebtn" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9678 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9679 if test "${enable_togglebtn+set}" = set; then
9680 enableval
="$enable_togglebtn"
9682 if test "$enableval" = yes; then
9683 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9685 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9690 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x
; then
9692 eval "DEFAULT_$LINE"
9697 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9701 eval "$ac_cv_use_togglebtn"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9706 if test "$wxUSE_TOGGLEBTN" = 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}-toolbar" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9719 # Check whether --enable-toolbar or --disable-toolbar was given.
9720 if test "${enable_toolbar+set}" = set; then
9721 enableval
="$enable_toolbar"
9723 if test "$enableval" = yes; then
9724 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9726 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9731 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x
; then
9733 eval "DEFAULT_$LINE"
9738 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9742 eval "$ac_cv_use_toolbar"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9747 if test "$wxUSE_TOOLBAR" = 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
9757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9760 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9761 if test "${enable_tbarnative+set}" = set; then
9762 enableval
="$enable_tbarnative"
9764 if test "$enableval" = yes; then
9765 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9767 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9772 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x
; then
9774 eval "DEFAULT_$LINE"
9779 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9783 eval "$ac_cv_use_tbarnative"
9784 if test "$no_cache" != 1; then
9785 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9788 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9789 echo "$as_me:$LINENO: result: yes" >&5
9790 echo "${ECHO_T}yes" >&6
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9801 # Check whether --enable-treebook or --disable-treebook was given.
9802 if test "${enable_treebook+set}" = set; then
9803 enableval
="$enable_treebook"
9805 if test "$enableval" = yes; then
9806 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9808 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9813 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9814 if test "x$LINE" != x
; then
9815 eval "DEFAULT_$LINE"
9820 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9824 eval "$ac_cv_use_treebook"
9825 if test "$no_cache" != 1; then
9826 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9829 if test "$wxUSE_TREEBOOK" = yes; then
9830 echo "$as_me:$LINENO: result: yes" >&5
9831 echo "${ECHO_T}yes" >&6
9833 echo "$as_me:$LINENO: result: no" >&5
9834 echo "${ECHO_T}no" >&6
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9842 # Check whether --enable-toolbook or --disable-toolbook was given.
9843 if test "${enable_toolbook+set}" = set; then
9844 enableval
="$enable_toolbook"
9846 if test "$enableval" = yes; then
9847 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9849 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9854 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x
; then
9856 eval "DEFAULT_$LINE"
9861 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9865 eval "$ac_cv_use_toolbook"
9866 if test "$no_cache" != 1; then
9867 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9870 if test "$wxUSE_TOOLBOOK" = yes; then
9871 echo "$as_me:$LINENO: result: yes" >&5
9872 echo "${ECHO_T}yes" >&6
9874 echo "$as_me:$LINENO: result: no" >&5
9875 echo "${ECHO_T}no" >&6
9880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9881 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9883 # Check whether --enable-treectrl or --disable-treectrl was given.
9884 if test "${enable_treectrl+set}" = set; then
9885 enableval
="$enable_treectrl"
9887 if test "$enableval" = yes; then
9888 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9890 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9895 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x
; then
9897 eval "DEFAULT_$LINE"
9902 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9906 eval "$ac_cv_use_treectrl"
9907 if test "$no_cache" != 1; then
9908 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9911 if test "$wxUSE_TREECTRL" = yes; then
9912 echo "$as_me:$LINENO: result: yes" >&5
9913 echo "${ECHO_T}yes" >&6
9915 echo "$as_me:$LINENO: result: no" >&5
9916 echo "${ECHO_T}no" >&6
9921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9924 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9925 if test "${enable_tipwindow+set}" = set; then
9926 enableval
="$enable_tipwindow"
9928 if test "$enableval" = yes; then
9929 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9931 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9936 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x
; then
9938 eval "DEFAULT_$LINE"
9943 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9947 eval "$ac_cv_use_tipwindow"
9948 if test "$no_cache" != 1; then
9949 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9952 if test "$wxUSE_TIPWINDOW" = yes; then
9953 echo "$as_me:$LINENO: result: yes" >&5
9954 echo "${ECHO_T}yes" >&6
9956 echo "$as_me:$LINENO: result: no" >&5
9957 echo "${ECHO_T}no" >&6
9962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9965 # Check whether --enable-popupwin or --disable-popupwin was given.
9966 if test "${enable_popupwin+set}" = set; then
9967 enableval
="$enable_popupwin"
9969 if test "$enableval" = yes; then
9970 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9972 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9977 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x
; then
9979 eval "DEFAULT_$LINE"
9984 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9988 eval "$ac_cv_use_popupwin"
9989 if test "$no_cache" != 1; then
9990 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9993 if test "$wxUSE_POPUPWIN" = yes; then
9994 echo "$as_me:$LINENO: result: yes" >&5
9995 echo "${ECHO_T}yes" >&6
9997 echo "$as_me:$LINENO: result: no" >&5
9998 echo "${ECHO_T}no" >&6
10005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10008 # Check whether --enable-commondlg or --disable-commondlg was given.
10009 if test "${enable_commondlg+set}" = set; then
10010 enableval
="$enable_commondlg"
10012 if test "$enableval" = yes; then
10013 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10015 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10020 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10021 if test "x$LINE" != x
; then
10022 eval "DEFAULT_$LINE"
10027 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10031 eval "$ac_cv_use_commondlg"
10032 if test "$no_cache" != 1; then
10033 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10036 if test "$wxUSE_COMMONDLGS" = 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}-aboutdlg" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10049 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10050 if test "${enable_aboutdlg+set}" = set; then
10051 enableval
="$enable_aboutdlg"
10053 if test "$enableval" = yes; then
10054 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10056 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10061 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x
; then
10063 eval "DEFAULT_$LINE"
10068 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10072 eval "$ac_cv_use_aboutdlg"
10073 if test "$no_cache" != 1; then
10074 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10077 if test "$wxUSE_ABOUTDLG" = 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}-choicedlg" >&5
10088 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10090 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10091 if test "${enable_choicedlg+set}" = set; then
10092 enableval
="$enable_choicedlg"
10094 if test "$enableval" = yes; then
10095 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10097 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10102 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10103 if test "x$LINE" != x
; then
10104 eval "DEFAULT_$LINE"
10109 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10113 eval "$ac_cv_use_choicedlg"
10114 if test "$no_cache" != 1; then
10115 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10118 if test "$wxUSE_CHOICEDLG" = 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}-coldlg" >&5
10129 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10131 # Check whether --enable-coldlg or --disable-coldlg was given.
10132 if test "${enable_coldlg+set}" = set; then
10133 enableval
="$enable_coldlg"
10135 if test "$enableval" = yes; then
10136 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10138 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10143 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10144 if test "x$LINE" != x
; then
10145 eval "DEFAULT_$LINE"
10150 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10154 eval "$ac_cv_use_coldlg"
10155 if test "$no_cache" != 1; then
10156 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10159 if test "$wxUSE_COLOURDLG" = 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}-filedlg" >&5
10170 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10172 # Check whether --enable-filedlg or --disable-filedlg was given.
10173 if test "${enable_filedlg+set}" = set; then
10174 enableval
="$enable_filedlg"
10176 if test "$enableval" = yes; then
10177 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10179 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10184 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10185 if test "x$LINE" != x
; then
10186 eval "DEFAULT_$LINE"
10191 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10195 eval "$ac_cv_use_filedlg"
10196 if test "$no_cache" != 1; then
10197 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10200 if test "$wxUSE_FILEDLG" = 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}-finddlg" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10213 # Check whether --enable-finddlg or --disable-finddlg was given.
10214 if test "${enable_finddlg+set}" = set; then
10215 enableval
="$enable_finddlg"
10217 if test "$enableval" = yes; then
10218 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10220 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10225 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10226 if test "x$LINE" != x
; then
10227 eval "DEFAULT_$LINE"
10232 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10236 eval "$ac_cv_use_finddlg"
10237 if test "$no_cache" != 1; then
10238 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10241 if test "$wxUSE_FINDREPLDLG" = 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}-fontdlg" >&5
10252 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10254 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10255 if test "${enable_fontdlg+set}" = set; then
10256 enableval
="$enable_fontdlg"
10258 if test "$enableval" = yes; then
10259 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10261 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10266 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10267 if test "x$LINE" != x
; then
10268 eval "DEFAULT_$LINE"
10273 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10277 eval "$ac_cv_use_fontdlg"
10278 if test "$no_cache" != 1; then
10279 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10282 if test "$wxUSE_FONTDLG" = 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}-dirdlg" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10295 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10296 if test "${enable_dirdlg+set}" = set; then
10297 enableval
="$enable_dirdlg"
10299 if test "$enableval" = yes; then
10300 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10302 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10307 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10308 if test "x$LINE" != x
; then
10309 eval "DEFAULT_$LINE"
10314 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10318 eval "$ac_cv_use_dirdlg"
10319 if test "$no_cache" != 1; then
10320 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10323 if test "$wxUSE_DIRDLG" = 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
10333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10336 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10337 if test "${enable_msgdlg+set}" = set; then
10338 enableval
="$enable_msgdlg"
10340 if test "$enableval" = yes; then
10341 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10343 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10348 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10349 if test "x$LINE" != x
; then
10350 eval "DEFAULT_$LINE"
10355 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10359 eval "$ac_cv_use_msgdlg"
10360 if test "$no_cache" != 1; then
10361 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10364 if test "$wxUSE_MSGDLG" = yes; then
10365 echo "$as_me:$LINENO: result: yes" >&5
10366 echo "${ECHO_T}yes" >&6
10368 echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10377 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10378 if test "${enable_numberdlg+set}" = set; then
10379 enableval
="$enable_numberdlg"
10381 if test "$enableval" = yes; then
10382 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10384 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10389 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x
; then
10391 eval "DEFAULT_$LINE"
10396 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10400 eval "$ac_cv_use_numberdlg"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10405 if test "$wxUSE_NUMBERDLG" = yes; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10409 echo "$as_me:$LINENO: result: no" >&5
10410 echo "${ECHO_T}no" >&6
10415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10418 # Check whether --enable-splash or --disable-splash was given.
10419 if test "${enable_splash+set}" = set; then
10420 enableval
="$enable_splash"
10422 if test "$enableval" = yes; then
10423 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10425 ac_cv_use_splash
='wxUSE_SPLASH=no'
10430 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x
; then
10432 eval "DEFAULT_$LINE"
10437 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10441 eval "$ac_cv_use_splash"
10442 if test "$no_cache" != 1; then
10443 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10446 if test "$wxUSE_SPLASH" = yes; then
10447 echo "$as_me:$LINENO: result: yes" >&5
10448 echo "${ECHO_T}yes" >&6
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10457 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10459 # Check whether --enable-textdlg or --disable-textdlg was given.
10460 if test "${enable_textdlg+set}" = set; then
10461 enableval
="$enable_textdlg"
10463 if test "$enableval" = yes; then
10464 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10466 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10471 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10472 if test "x$LINE" != x
; then
10473 eval "DEFAULT_$LINE"
10478 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10482 eval "$ac_cv_use_textdlg"
10483 if test "$no_cache" != 1; then
10484 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10487 if test "$wxUSE_TEXTDLG" = yes; then
10488 echo "$as_me:$LINENO: result: yes" >&5
10489 echo "${ECHO_T}yes" >&6
10491 echo "$as_me:$LINENO: result: no" >&5
10492 echo "${ECHO_T}no" >&6
10497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10498 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10500 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10501 if test "${enable_tipdlg+set}" = set; then
10502 enableval
="$enable_tipdlg"
10504 if test "$enableval" = yes; then
10505 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10507 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10512 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x
; then
10514 eval "DEFAULT_$LINE"
10519 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10523 eval "$ac_cv_use_tipdlg"
10524 if test "$no_cache" != 1; then
10525 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10528 if test "$wxUSE_STARTUP_TIPS" = yes; then
10529 echo "$as_me:$LINENO: result: yes" >&5
10530 echo "${ECHO_T}yes" >&6
10532 echo "$as_me:$LINENO: result: no" >&5
10533 echo "${ECHO_T}no" >&6
10538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10539 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10541 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10542 if test "${enable_progressdlg+set}" = set; then
10543 enableval
="$enable_progressdlg"
10545 if test "$enableval" = yes; then
10546 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10548 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10553 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10554 if test "x$LINE" != x
; then
10555 eval "DEFAULT_$LINE"
10560 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10564 eval "$ac_cv_use_progressdlg"
10565 if test "$no_cache" != 1; then
10566 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10569 if test "$wxUSE_PROGRESSDLG" = yes; then
10570 echo "$as_me:$LINENO: result: yes" >&5
10571 echo "${ECHO_T}yes" >&6
10573 echo "$as_me:$LINENO: result: no" >&5
10574 echo "${ECHO_T}no" >&6
10579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10582 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10583 if test "${enable_wizarddlg+set}" = set; then
10584 enableval
="$enable_wizarddlg"
10586 if test "$enableval" = yes; then
10587 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10589 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10594 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10595 if test "x$LINE" != x
; then
10596 eval "DEFAULT_$LINE"
10601 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10605 eval "$ac_cv_use_wizarddlg"
10606 if test "$no_cache" != 1; then
10607 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10610 if test "$wxUSE_WIZARDDLG" = yes; then
10611 echo "$as_me:$LINENO: result: yes" >&5
10612 echo "${ECHO_T}yes" >&6
10614 echo "$as_me:$LINENO: result: no" >&5
10615 echo "${ECHO_T}no" >&6
10622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10625 # Check whether --enable-menus or --disable-menus was given.
10626 if test "${enable_menus+set}" = set; then
10627 enableval
="$enable_menus"
10629 if test "$enableval" = yes; then
10630 ac_cv_use_menus
='wxUSE_MENUS=yes'
10632 ac_cv_use_menus
='wxUSE_MENUS=no'
10637 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10638 if test "x$LINE" != x
; then
10639 eval "DEFAULT_$LINE"
10644 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10648 eval "$ac_cv_use_menus"
10649 if test "$no_cache" != 1; then
10650 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10653 if test "$wxUSE_MENUS" = 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}-miniframe" >&5
10664 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10666 # Check whether --enable-miniframe or --disable-miniframe was given.
10667 if test "${enable_miniframe+set}" = set; then
10668 enableval
="$enable_miniframe"
10670 if test "$enableval" = yes; then
10671 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10673 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10678 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10679 if test "x$LINE" != x
; then
10680 eval "DEFAULT_$LINE"
10685 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10689 eval "$ac_cv_use_miniframe"
10690 if test "$no_cache" != 1; then
10691 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10694 if test "$wxUSE_MINIFRAME" = 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}-tooltips" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10707 # Check whether --enable-tooltips or --disable-tooltips was given.
10708 if test "${enable_tooltips+set}" = set; then
10709 enableval
="$enable_tooltips"
10711 if test "$enableval" = yes; then
10712 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10714 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10719 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10720 if test "x$LINE" != x
; then
10721 eval "DEFAULT_$LINE"
10726 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10730 eval "$ac_cv_use_tooltips"
10731 if test "$no_cache" != 1; then
10732 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10735 if test "$wxUSE_TOOLTIPS" = 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}-splines" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10748 # Check whether --enable-splines or --disable-splines was given.
10749 if test "${enable_splines+set}" = set; then
10750 enableval
="$enable_splines"
10752 if test "$enableval" = yes; then
10753 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10755 ac_cv_use_splines
='wxUSE_SPLINES=no'
10760 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x
; then
10762 eval "DEFAULT_$LINE"
10767 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10771 eval "$ac_cv_use_splines"
10772 if test "$no_cache" != 1; then
10773 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10776 if test "$wxUSE_SPLINES" = 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
10786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10789 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10790 if test "${enable_mousewheel+set}" = set; then
10791 enableval
="$enable_mousewheel"
10793 if test "$enableval" = yes; then
10794 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10796 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10801 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10802 if test "x$LINE" != x
; then
10803 eval "DEFAULT_$LINE"
10808 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10812 eval "$ac_cv_use_mousewheel"
10813 if test "$no_cache" != 1; then
10814 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10817 if test "$wxUSE_MOUSEWHEEL" = yes; then
10818 echo "$as_me:$LINENO: result: yes" >&5
10819 echo "${ECHO_T}yes" >&6
10821 echo "$as_me:$LINENO: result: no" >&5
10822 echo "${ECHO_T}no" >&6
10827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10828 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10830 # Check whether --enable-validators or --disable-validators was given.
10831 if test "${enable_validators+set}" = set; then
10832 enableval
="$enable_validators"
10834 if test "$enableval" = yes; then
10835 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10837 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10842 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10843 if test "x$LINE" != x
; then
10844 eval "DEFAULT_$LINE"
10849 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10853 eval "$ac_cv_use_validators"
10854 if test "$no_cache" != 1; then
10855 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10858 if test "$wxUSE_VALIDATORS" = yes; then
10859 echo "$as_me:$LINENO: result: yes" >&5
10860 echo "${ECHO_T}yes" >&6
10862 echo "$as_me:$LINENO: result: no" >&5
10863 echo "${ECHO_T}no" >&6
10868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10869 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10871 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10872 if test "${enable_busyinfo+set}" = set; then
10873 enableval
="$enable_busyinfo"
10875 if test "$enableval" = yes; then
10876 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10878 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10883 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10884 if test "x$LINE" != x
; then
10885 eval "DEFAULT_$LINE"
10890 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10894 eval "$ac_cv_use_busyinfo"
10895 if test "$no_cache" != 1; then
10896 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10899 if test "$wxUSE_BUSYINFO" = yes; then
10900 echo "$as_me:$LINENO: result: yes" >&5
10901 echo "${ECHO_T}yes" >&6
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10910 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10912 # Check whether --enable-joystick or --disable-joystick was given.
10913 if test "${enable_joystick+set}" = set; then
10914 enableval
="$enable_joystick"
10916 if test "$enableval" = yes; then
10917 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10919 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10924 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10925 if test "x$LINE" != x
; then
10926 eval "DEFAULT_$LINE"
10931 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10935 eval "$ac_cv_use_joystick"
10936 if test "$no_cache" != 1; then
10937 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10940 if test "$wxUSE_JOYSTICK" = yes; then
10941 echo "$as_me:$LINENO: result: yes" >&5
10942 echo "${ECHO_T}yes" >&6
10944 echo "$as_me:$LINENO: result: no" >&5
10945 echo "${ECHO_T}no" >&6
10950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10953 # Check whether --enable-metafile or --disable-metafile was given.
10954 if test "${enable_metafile+set}" = set; then
10955 enableval
="$enable_metafile"
10957 if test "$enableval" = yes; then
10958 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10960 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10965 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10966 if test "x$LINE" != x
; then
10967 eval "DEFAULT_$LINE"
10972 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10976 eval "$ac_cv_use_metafile"
10977 if test "$no_cache" != 1; then
10978 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10981 if test "$wxUSE_METAFILE" = yes; then
10982 echo "$as_me:$LINENO: result: yes" >&5
10983 echo "${ECHO_T}yes" >&6
10985 echo "$as_me:$LINENO: result: no" >&5
10986 echo "${ECHO_T}no" >&6
10991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10994 # Check whether --enable-dragimage or --disable-dragimage was given.
10995 if test "${enable_dragimage+set}" = set; then
10996 enableval
="$enable_dragimage"
10998 if test "$enableval" = yes; then
10999 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11001 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11006 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11007 if test "x$LINE" != x
; then
11008 eval "DEFAULT_$LINE"
11013 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11017 eval "$ac_cv_use_dragimage"
11018 if test "$no_cache" != 1; then
11019 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11022 if test "$wxUSE_DRAGIMAGE" = yes; then
11023 echo "$as_me:$LINENO: result: yes" >&5
11024 echo "${ECHO_T}yes" >&6
11026 echo "$as_me:$LINENO: result: no" >&5
11027 echo "${ECHO_T}no" >&6
11032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11035 # Check whether --enable-accessibility or --disable-accessibility was given.
11036 if test "${enable_accessibility+set}" = set; then
11037 enableval
="$enable_accessibility"
11039 if test "$enableval" = yes; then
11040 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11042 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11047 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11048 if test "x$LINE" != x
; then
11049 eval "DEFAULT_$LINE"
11054 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11058 eval "$ac_cv_use_accessibility"
11059 if test "$no_cache" != 1; then
11060 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11063 if test "$wxUSE_ACCESSIBILITY" = yes; then
11064 echo "$as_me:$LINENO: result: yes" >&5
11065 echo "${ECHO_T}yes" >&6
11067 echo "$as_me:$LINENO: result: no" >&5
11068 echo "${ECHO_T}no" >&6
11072 if test "$wxUSE_MSW" = "1"; then
11075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11078 # Check whether --enable-dccache or --disable-dccache was given.
11079 if test "${enable_dccache+set}" = set; then
11080 enableval
="$enable_dccache"
11082 if test "$enableval" = yes; then
11083 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11085 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11090 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x
; then
11092 eval "DEFAULT_$LINE"
11097 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11101 eval "$ac_cv_use_dccache"
11102 if test "$no_cache" != 1; then
11103 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11106 if test "$wxUSE_DC_CACHEING" = yes; then
11107 echo "$as_me:$LINENO: result: yes" >&5
11108 echo "${ECHO_T}yes" >&6
11110 echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6
11119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11122 # Check whether --enable-palette or --disable-palette was given.
11123 if test "${enable_palette+set}" = set; then
11124 enableval
="$enable_palette"
11126 if test "$enableval" = yes; then
11127 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11129 ac_cv_use_palette
='wxUSE_PALETTE=no'
11134 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x
; then
11136 eval "DEFAULT_$LINE"
11141 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11145 eval "$ac_cv_use_palette"
11146 if test "$no_cache" != 1; then
11147 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11150 if test "$wxUSE_PALETTE" = 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
11160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11161 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11163 # Check whether --enable-image or --disable-image was given.
11164 if test "${enable_image+set}" = set; then
11165 enableval
="$enable_image"
11167 if test "$enableval" = yes; then
11168 ac_cv_use_image
='wxUSE_IMAGE=yes'
11170 ac_cv_use_image
='wxUSE_IMAGE=no'
11175 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x
; then
11177 eval "DEFAULT_$LINE"
11182 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11186 eval "$ac_cv_use_image"
11187 if test "$no_cache" != 1; then
11188 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11191 if test "$wxUSE_IMAGE" = yes; then
11192 echo "$as_me:$LINENO: result: yes" >&5
11193 echo "${ECHO_T}yes" >&6
11195 echo "$as_me:$LINENO: result: no" >&5
11196 echo "${ECHO_T}no" >&6
11201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11204 # Check whether --enable-gif or --disable-gif was given.
11205 if test "${enable_gif+set}" = set; then
11206 enableval
="$enable_gif"
11208 if test "$enableval" = yes; then
11209 ac_cv_use_gif
='wxUSE_GIF=yes'
11211 ac_cv_use_gif
='wxUSE_GIF=no'
11216 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11217 if test "x$LINE" != x
; then
11218 eval "DEFAULT_$LINE"
11223 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11227 eval "$ac_cv_use_gif"
11228 if test "$no_cache" != 1; then
11229 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11232 if test "$wxUSE_GIF" = yes; then
11233 echo "$as_me:$LINENO: result: yes" >&5
11234 echo "${ECHO_T}yes" >&6
11236 echo "$as_me:$LINENO: result: no" >&5
11237 echo "${ECHO_T}no" >&6
11242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11245 # Check whether --enable-pcx or --disable-pcx was given.
11246 if test "${enable_pcx+set}" = set; then
11247 enableval
="$enable_pcx"
11249 if test "$enableval" = yes; then
11250 ac_cv_use_pcx
='wxUSE_PCX=yes'
11252 ac_cv_use_pcx
='wxUSE_PCX=no'
11257 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x
; then
11259 eval "DEFAULT_$LINE"
11264 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11268 eval "$ac_cv_use_pcx"
11269 if test "$no_cache" != 1; then
11270 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11273 if test "$wxUSE_PCX" = yes; then
11274 echo "$as_me:$LINENO: result: yes" >&5
11275 echo "${ECHO_T}yes" >&6
11277 echo "$as_me:$LINENO: result: no" >&5
11278 echo "${ECHO_T}no" >&6
11283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11286 # Check whether --enable-iff or --disable-iff was given.
11287 if test "${enable_iff+set}" = set; then
11288 enableval
="$enable_iff"
11290 if test "$enableval" = yes; then
11291 ac_cv_use_iff
='wxUSE_IFF=yes'
11293 ac_cv_use_iff
='wxUSE_IFF=no'
11298 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x
; then
11300 eval "DEFAULT_$LINE"
11305 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11309 eval "$ac_cv_use_iff"
11310 if test "$no_cache" != 1; then
11311 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11314 if test "$wxUSE_IFF" = yes; then
11315 echo "$as_me:$LINENO: result: yes" >&5
11316 echo "${ECHO_T}yes" >&6
11318 echo "$as_me:$LINENO: result: no" >&5
11319 echo "${ECHO_T}no" >&6
11324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11327 # Check whether --enable-pnm or --disable-pnm was given.
11328 if test "${enable_pnm+set}" = set; then
11329 enableval
="$enable_pnm"
11331 if test "$enableval" = yes; then
11332 ac_cv_use_pnm
='wxUSE_PNM=yes'
11334 ac_cv_use_pnm
='wxUSE_PNM=no'
11339 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11340 if test "x$LINE" != x
; then
11341 eval "DEFAULT_$LINE"
11346 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11350 eval "$ac_cv_use_pnm"
11351 if test "$no_cache" != 1; then
11352 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11355 if test "$wxUSE_PNM" = yes; then
11356 echo "$as_me:$LINENO: result: yes" >&5
11357 echo "${ECHO_T}yes" >&6
11359 echo "$as_me:$LINENO: result: no" >&5
11360 echo "${ECHO_T}no" >&6
11365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11368 # Check whether --enable-xpm or --disable-xpm was given.
11369 if test "${enable_xpm+set}" = set; then
11370 enableval
="$enable_xpm"
11372 if test "$enableval" = yes; then
11373 ac_cv_use_xpm
='wxUSE_XPM=yes'
11375 ac_cv_use_xpm
='wxUSE_XPM=no'
11380 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11381 if test "x$LINE" != x
; then
11382 eval "DEFAULT_$LINE"
11387 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11391 eval "$ac_cv_use_xpm"
11392 if test "$no_cache" != 1; then
11393 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11396 if test "$wxUSE_XPM" = yes; then
11397 echo "$as_me:$LINENO: result: yes" >&5
11398 echo "${ECHO_T}yes" >&6
11400 echo "$as_me:$LINENO: result: no" >&5
11401 echo "${ECHO_T}no" >&6
11406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11409 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11410 if test "${enable_ico_cur+set}" = set; then
11411 enableval
="$enable_ico_cur"
11413 if test "$enableval" = yes; then
11414 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11416 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11421 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x
; then
11423 eval "DEFAULT_$LINE"
11428 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11432 eval "$ac_cv_use_ico_cur"
11433 if test "$no_cache" != 1; then
11434 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11437 if test "$wxUSE_ICO_CUR" = yes; then
11438 echo "$as_me:$LINENO: result: yes" >&5
11439 echo "${ECHO_T}yes" >&6
11441 echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6
11450 # Check whether --with-flavour or --without-flavour was given.
11451 if test "${with_flavour+set}" = set; then
11452 withval
="$with_flavour"
11453 WX_FLAVOUR
="$withval"
11459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11462 # Check whether --enable-official_build or --disable-official_build was given.
11463 if test "${enable_official_build+set}" = set; then
11464 enableval
="$enable_official_build"
11466 if test "$enableval" = yes; then
11467 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11469 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11474 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11475 if test "x$LINE" != x
; then
11476 eval "DEFAULT_$LINE"
11481 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11485 eval "$ac_cv_use_official_build"
11486 if test "$no_cache" != 1; then
11487 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11490 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11491 echo "$as_me:$LINENO: result: yes" >&5
11492 echo "${ECHO_T}yes" >&6
11494 echo "$as_me:$LINENO: result: no" >&5
11495 echo "${ECHO_T}no" >&6
11498 # Check whether --enable-vendor or --disable-vendor was given.
11499 if test "${enable_vendor+set}" = set; then
11500 enableval
="$enable_vendor"
11501 VENDOR
="$enableval"
11503 if test "x$VENDOR" = "x"; then
11510 echo "saving argument cache $wx_arg_cache_file"
11511 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11515 echo "$as_me:$LINENO: checking for toolkit" >&5
11516 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11518 # In Wine, we need to default to MSW, not GTK or MOTIF
11519 if test "$wxUSE_WINE" = "yes"; then
11520 DEFAULT_DEFAULT_wxUSE_GTK
=0
11521 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11522 DEFAULT_DEFAULT_wxUSE_MSW
=1
11527 if test "$wxUSE_GUI" = "yes"; then
11529 if test "$USE_BEOS" = 1; then
11530 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11531 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11532 { (exit 1); exit 1; }; }
11535 if test "$TOOLKIT_GIVEN" = 1; then
11536 for toolkit
in `echo $ALL_TOOLKITS`; do
11538 eval "value=\$${var}"
11539 if test "x$value" = "xno"; then
11541 elif test "x$value" != "x"; then
11545 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11546 eval "wx${toolkit}_VERSION=$value"
11550 for toolkit
in `echo $ALL_TOOLKITS`; do
11551 if test "$has_toolkit_in_cache" != 1; then
11552 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11554 var
=DEFAULT_wxUSE_
$toolkit
11556 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11557 if test "x$version" != "x"; then
11558 eval "wx${toolkit}_VERSION=$version"
11561 eval "wxUSE_$toolkit=\$${var}"
11565 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11566 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11567 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11570 *-pc-os2_emx | *-pc-os2-emx )
11571 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11574 case "$NUM_TOOLKITS" in
11578 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11579 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11580 { (exit 1); exit 1; }; }
11583 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11584 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11585 { (exit 1); exit 1; }; }
11588 # to be removed when --disable-gtk2 isn't needed
11589 if test "x$wxUSE_GTK2" = "xyes"; then
11591 elif test "x$wxUSE_GTK2" = "xno"; then
11595 for toolkit
in `echo $ALL_TOOLKITS`; do
11597 eval "value=\$${var}"
11598 if test "x$value" != x
; then
11599 cache_var
=CACHE_
$toolkit
11600 eval "cache=\$${cache_var}"
11601 if test "$cache" = 1; then
11602 echo "$var=$value" >> ${wx_arg_cache_file}
11603 eval "version=\$wx${toolkit}_VERSION"
11604 if test "x$version" != "x"; then
11605 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11608 if test "$value" = 1; then
11609 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11610 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11611 echo "${ECHO_T}$toolkit_echo" >&6
11616 if test "x$host_alias" != "x"; then
11617 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11618 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11620 echo "$as_me:$LINENO: result: base only" >&5
11621 echo "${ECHO_T}base only" >&6
11626 doesnt_want_win32
=0
11629 if test "$wxUSE_MSW" = 1 ; then
11631 BAKEFILE_FORCE_PLATFORM
=win32
11633 doesnt_want_win32
=1
11641 if test "$wxUSE_WINE" = "yes"; then
11645 LDFLAGS_GUI
="-mwindows"
11648 if test "$wants_win32" = 1 ; then
11651 cat >>confdefs.h
<<\_ACEOF
11652 #define __WIN32__ 1
11655 cat >>confdefs.h
<<\_ACEOF
11656 #define __WIN95__ 1
11659 cat >>confdefs.h
<<\_ACEOF
11660 #define __WINDOWS__ 1
11663 cat >>confdefs.h
<<\_ACEOF
11664 #define __GNUWIN32__ 1
11667 cat >>confdefs.h
<<\_ACEOF
11671 cat >>confdefs.h
<<\_ACEOF
11672 #define WINVER 0x0400
11676 if test "$doesnt_want_win32" = 1 ; then
11681 if test "$USE_UNIX" = 1 ; then
11683 cat >>confdefs.h
<<\_ACEOF
11690 cat >confcache
<<\_ACEOF
11691 # This file is a shell script that caches the results of configure
11692 # tests run on this system so they can be shared between configure
11693 # scripts and configure runs, see configure's option --config-cache.
11694 # It is not useful on other systems. If it contains results you don't
11695 # want to keep, you may remove or edit it.
11697 # config.status only pays attention to the cache file if you give it
11698 # the --recheck option to rerun configure.
11700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11702 # following values.
11706 # The following way of writing the cache mishandles newlines in values,
11707 # but we know of no workaround that is simple, portable, and efficient.
11708 # So, don't put newlines in cache variables' values.
11709 # Ultrix sh set writes to stderr and can't be redirected directly,
11710 # and sets the high bit in the cache file unless we assign to the vars.
11713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11715 # `set' does not quote correctly, so add quotes (double-quote
11716 # substitution turns \\\\ into \\, and sed turns \\ into \).
11719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11722 # `set' quotes correctly as required by POSIX, so do not add quotes.
11724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11735 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11736 if test -w $cache_file; then
11737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11738 cat confcache
>$cache_file
11740 echo "not updating unwritable cache $cache_file"
11750 ac_cpp
='$CPP $CPPFLAGS'
11751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11754 if test -n "$ac_tool_prefix"; then
11755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11756 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11757 echo "$as_me:$LINENO: checking for $ac_word" >&5
11758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11759 if test "${ac_cv_prog_CC+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 if test -n "$CC"; then
11763 ac_cv_prog_CC
="$CC" # Let the user override the test.
11765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11766 for as_dir
in $PATH
11769 test -z "$as_dir" && as_dir
=.
11770 for ac_exec_ext
in '' $ac_executable_extensions; do
11771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11772 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11782 if test -n "$CC"; then
11783 echo "$as_me:$LINENO: result: $CC" >&5
11784 echo "${ECHO_T}$CC" >&6
11786 echo "$as_me:$LINENO: result: no" >&5
11787 echo "${ECHO_T}no" >&6
11791 if test -z "$ac_cv_prog_CC"; then
11793 # Extract the first word of "gcc", so it can be a program name with args.
11794 set dummy gcc
; ac_word
=$2
11795 echo "$as_me:$LINENO: checking for $ac_word" >&5
11796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 if test -n "$ac_ct_CC"; then
11801 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11804 for as_dir
in $PATH
11807 test -z "$as_dir" && as_dir
=.
11808 for ac_exec_ext
in '' $ac_executable_extensions; do
11809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11810 ac_cv_prog_ac_ct_CC
="gcc"
11811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11820 if test -n "$ac_ct_CC"; then
11821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11822 echo "${ECHO_T}$ac_ct_CC" >&6
11824 echo "$as_me:$LINENO: result: no" >&5
11825 echo "${ECHO_T}no" >&6
11830 CC
="$ac_cv_prog_CC"
11833 if test -z "$CC"; then
11834 if test -n "$ac_tool_prefix"; then
11835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11836 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11837 echo "$as_me:$LINENO: checking for $ac_word" >&5
11838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11839 if test "${ac_cv_prog_CC+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 if test -n "$CC"; then
11843 ac_cv_prog_CC
="$CC" # Let the user override the test.
11845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11846 for as_dir
in $PATH
11849 test -z "$as_dir" && as_dir
=.
11850 for ac_exec_ext
in '' $ac_executable_extensions; do
11851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11852 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11862 if test -n "$CC"; then
11863 echo "$as_me:$LINENO: result: $CC" >&5
11864 echo "${ECHO_T}$CC" >&6
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11871 if test -z "$ac_cv_prog_CC"; then
11873 # Extract the first word of "cc", so it can be a program name with args.
11874 set dummy cc
; ac_word
=$2
11875 echo "$as_me:$LINENO: checking for $ac_word" >&5
11876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 if test -n "$ac_ct_CC"; then
11881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11884 for as_dir
in $PATH
11887 test -z "$as_dir" && as_dir
=.
11888 for ac_exec_ext
in '' $ac_executable_extensions; do
11889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11890 ac_cv_prog_ac_ct_CC
="cc"
11891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11899 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11900 if test -n "$ac_ct_CC"; then
11901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11902 echo "${ECHO_T}$ac_ct_CC" >&6
11904 echo "$as_me:$LINENO: result: no" >&5
11905 echo "${ECHO_T}no" >&6
11910 CC
="$ac_cv_prog_CC"
11914 if test -z "$CC"; then
11915 # Extract the first word of "cc", so it can be a program name with args.
11916 set dummy cc
; ac_word
=$2
11917 echo "$as_me:$LINENO: checking for $ac_word" >&5
11918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11919 if test "${ac_cv_prog_CC+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 if test -n "$CC"; then
11923 ac_cv_prog_CC
="$CC" # Let the user override the test.
11925 ac_prog_rejected
=no
11926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11927 for as_dir
in $PATH
11930 test -z "$as_dir" && as_dir
=.
11931 for ac_exec_ext
in '' $ac_executable_extensions; do
11932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11934 ac_prog_rejected
=yes
11938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11944 if test $ac_prog_rejected = yes; then
11945 # We found a bogon in the path, so make sure we never use it.
11946 set dummy
$ac_cv_prog_CC
11948 if test $# != 0; then
11949 # We chose a different compiler from the bogus one.
11950 # However, it has the same basename, so the bogon will be chosen
11951 # first if we set CC to just the basename; use the full file name.
11953 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11959 if test -n "$CC"; then
11960 echo "$as_me:$LINENO: result: $CC" >&5
11961 echo "${ECHO_T}$CC" >&6
11963 echo "$as_me:$LINENO: result: no" >&5
11964 echo "${ECHO_T}no" >&6
11968 if test -z "$CC"; then
11969 if test -n "$ac_tool_prefix"; then
11972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11973 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11974 echo "$as_me:$LINENO: checking for $ac_word" >&5
11975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11976 if test "${ac_cv_prog_CC+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 if test -n "$CC"; then
11980 ac_cv_prog_CC
="$CC" # Let the user override the test.
11982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11983 for as_dir
in $PATH
11986 test -z "$as_dir" && as_dir
=.
11987 for ac_exec_ext
in '' $ac_executable_extensions; do
11988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11989 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11999 if test -n "$CC"; then
12000 echo "$as_me:$LINENO: result: $CC" >&5
12001 echo "${ECHO_T}$CC" >&6
12003 echo "$as_me:$LINENO: result: no" >&5
12004 echo "${ECHO_T}no" >&6
12007 test -n "$CC" && break
12010 if test -z "$CC"; then
12014 # Extract the first word of "$ac_prog", so it can be a program name with args.
12015 set dummy
$ac_prog; ac_word
=$2
12016 echo "$as_me:$LINENO: checking for $ac_word" >&5
12017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12021 if test -n "$ac_ct_CC"; then
12022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12025 for as_dir
in $PATH
12028 test -z "$as_dir" && as_dir
=.
12029 for ac_exec_ext
in '' $ac_executable_extensions; do
12030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12031 ac_cv_prog_ac_ct_CC
="$ac_prog"
12032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12041 if test -n "$ac_ct_CC"; then
12042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12043 echo "${ECHO_T}$ac_ct_CC" >&6
12045 echo "$as_me:$LINENO: result: no" >&5
12046 echo "${ECHO_T}no" >&6
12049 test -n "$ac_ct_CC" && break
12058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12059 See \`config.log' for more details." >&5
12060 echo "$as_me: error: no acceptable C compiler found in \$PATH
12061 See \`config.log' for more details." >&2;}
12062 { (exit 1); exit 1; }; }
12064 # Provide some information about the compiler.
12065 echo "$as_me:$LINENO:" \
12066 "checking for C compiler version" >&5
12067 ac_compiler
=`set X $ac_compile; echo $2`
12068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12069 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }
12073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12074 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }
12078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12079 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }
12084 cat >conftest.
$ac_ext <<_ACEOF
12087 cat confdefs.h
>>conftest.
$ac_ext
12088 cat >>conftest.
$ac_ext <<_ACEOF
12089 /* end confdefs.h. */
12099 ac_clean_files_save
=$ac_clean_files
12100 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12101 # Try to create an executable without -o first, disregard a.out.
12102 # It will help us diagnose broken compilers, and finding out an intuition
12104 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12105 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12106 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12107 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12108 (eval $ac_link_default) 2>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; then
12112 # Find the output, starting from the most likely. This scheme is
12113 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12116 # Be careful to initialize this variable, since it used to be cached.
12117 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12119 # b.out is created by i960 compilers.
12120 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12122 test -f "$ac_file" || continue
12124 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12127 # This is the source file.
12130 # We found the default executable, but exeext='' is most
12134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12135 # FIXME: I believe we export ac_cv_exeext for Libtool,
12136 # but it would be cool to find out if it's true. Does anybody
12137 # maintain Libtool? --akim.
12138 export ac_cv_exeext
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.
$ac_ext >&5
12148 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12149 See \`config.log' for more details." >&5
12150 echo "$as_me: error: C compiler cannot create executables
12151 See \`config.log' for more details." >&2;}
12152 { (exit 77); exit 77; }; }
12155 ac_exeext
=$ac_cv_exeext
12156 echo "$as_me:$LINENO: result: $ac_file" >&5
12157 echo "${ECHO_T}$ac_file" >&6
12159 # Check the compiler produces executables we can run. If not, either
12160 # the compiler is broken, or we cross compile.
12161 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12164 # If not cross compiling, check that we can run a simple program.
12165 if test "$cross_compiling" != yes; then
12166 if { ac_try
='./$ac_file'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; }; then
12174 if test "$cross_compiling" = maybe
; then
12175 cross_compiling
=yes
12177 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12178 If you meant to cross compile, use \`--host'.
12179 See \`config.log' for more details." >&5
12180 echo "$as_me: error: cannot run C compiled programs.
12181 If you meant to cross compile, use \`--host'.
12182 See \`config.log' for more details." >&2;}
12183 { (exit 1); exit 1; }; }
12187 echo "$as_me:$LINENO: result: yes" >&5
12188 echo "${ECHO_T}yes" >&6
12190 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12191 ac_clean_files
=$ac_clean_files_save
12192 # Check the compiler produces executables we can run. If not, either
12193 # the compiler is broken, or we cross compile.
12194 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12196 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12197 echo "${ECHO_T}$cross_compiling" >&6
12199 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12202 (eval $ac_link) 2>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; then
12206 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12208 # work properly (i.e., refer to `conftest.exe'), while it won't with
12210 for ac_file
in conftest.exe conftest conftest.
*; do
12211 test -f "$ac_file" || continue
12213 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12214 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12215 export ac_cv_exeext
12221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12222 See \`config.log' for more details." >&5
12223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12224 See \`config.log' for more details." >&2;}
12225 { (exit 1); exit 1; }; }
12228 rm -f conftest
$ac_cv_exeext
12229 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12230 echo "${ECHO_T}$ac_cv_exeext" >&6
12232 rm -f conftest.
$ac_ext
12233 EXEEXT
=$ac_cv_exeext
12235 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12237 if test "${ac_cv_objext+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 cat >conftest.
$ac_ext <<_ACEOF
12243 cat confdefs.h
>>conftest.
$ac_ext
12244 cat >>conftest.
$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12255 rm -f conftest.o conftest.obj
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); }; then
12261 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12263 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12264 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.
$ac_ext >&5
12272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12273 See \`config.log' for more details." >&5
12274 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12275 See \`config.log' for more details." >&2;}
12276 { (exit 1); exit 1; }; }
12279 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12281 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12282 echo "${ECHO_T}$ac_cv_objext" >&6
12283 OBJEXT
=$ac_cv_objext
12285 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 cat >conftest.
$ac_ext <<_ACEOF
12293 cat confdefs.h
>>conftest.
$ac_ext
12294 cat >>conftest.
$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12308 rm -f conftest.
$ac_objext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12310 (eval $ac_compile) 2>conftest.er1
12312 grep -v '^ *+' conftest.er1
>conftest.err
12314 cat conftest.err
>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } &&
12317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319 (eval $ac_try) 2>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; } &&
12323 { ac_try
='test -s conftest.$ac_objext'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; }; then
12329 ac_compiler_gnu
=yes
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.
$ac_ext >&5
12336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12337 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12340 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12341 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12342 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12343 ac_test_CFLAGS
=${CFLAGS+set}
12344 ac_save_CFLAGS
=$CFLAGS
12346 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12347 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12348 if test "${ac_cv_prog_cc_g+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 cat >conftest.
$ac_ext <<_ACEOF
12354 cat confdefs.h
>>conftest.
$ac_ext
12355 cat >>conftest.
$ac_ext <<_ACEOF
12356 /* end confdefs.h. */
12366 rm -f conftest.
$ac_objext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12368 (eval $ac_compile) 2>conftest.er1
12370 grep -v '^ *+' conftest.er1
>conftest.err
12372 cat conftest.err
>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } &&
12375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try
='test -s conftest.$ac_objext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_cv_prog_cc_g
=yes
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.
$ac_ext >&5
12394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12396 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12397 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12398 if test "$ac_test_CFLAGS" = set; then
12399 CFLAGS
=$ac_save_CFLAGS
12400 elif test $ac_cv_prog_cc_g = yes; then
12401 if test "$GCC" = yes; then
12407 if test "$GCC" = yes; then
12413 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12414 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12415 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 ac_cv_prog_cc_stdc
=no
12420 cat >conftest.
$ac_ext <<_ACEOF
12423 cat confdefs.h
>>conftest.
$ac_ext
12424 cat >>conftest.
$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12426 #include <stdarg.h>
12428 #include <sys/types.h>
12429 #include <sys/stat.h>
12430 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12431 struct buf { int x; };
12432 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12433 static char *e (p, i)
12439 static char *f (char * (*g) (char **, int), char **p, ...)
12444 s = g (p, va_arg (v,int));
12449 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12450 function prototypes and stuff, but not '\xHH' hex character constants.
12451 These don't provoke an error unfortunately, instead are silently treated
12452 as 'x'. The following induces an error, until -std1 is added to get
12453 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12454 array size at least. It's necessary to write '\x00'==0 to get something
12455 that's true only with -std1. */
12456 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12458 int test (int i, double x);
12459 struct s1 {int (*f) (int a);};
12460 struct s2 {int (*f) (double a);};
12461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12472 # Don't try gcc -ansi; that turns off useful extensions and
12473 # breaks some systems' header files.
12474 # AIX -qlanglvl=ansi
12475 # Ultrix and OSF/1 -std1
12476 # HP-UX 10.20 and later -Ae
12477 # HP-UX older versions -Aa -D_HPUX_SOURCE
12478 # SVR4 -Xc -D__EXTENSIONS__
12479 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12481 CC
="$ac_save_CC $ac_arg"
12482 rm -f conftest.
$ac_objext
12483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12484 (eval $ac_compile) 2>conftest.er1
12486 grep -v '^ *+' conftest.er1
>conftest.err
12488 cat conftest.err
>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); } &&
12491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 (eval $ac_try) 2>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; } &&
12497 { ac_try
='test -s conftest.$ac_objext'
12498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12499 (eval $ac_try) 2>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); }; }; then
12503 ac_cv_prog_cc_stdc
=$ac_arg
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.
$ac_ext >&5
12510 rm -f conftest.err conftest.
$ac_objext
12512 rm -f conftest.
$ac_ext conftest.
$ac_objext
12517 case "x$ac_cv_prog_cc_stdc" in
12519 echo "$as_me:$LINENO: result: none needed" >&5
12520 echo "${ECHO_T}none needed" >&6 ;;
12522 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12523 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12524 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12527 # Some people use a C++ compiler to compile C. Since we use `exit',
12528 # in C++ we need to declare it. In case someone uses the same compiler
12529 # for both compiling C and C++ we need to have the C++ compiler decide
12530 # the declaration of exit, since it's the most demanding environment.
12531 cat >conftest.
$ac_ext <<_ACEOF
12532 #ifndef __cplusplus
12536 rm -f conftest.
$ac_objext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12538 (eval $ac_compile) 2>conftest.er1
12540 grep -v '^ *+' conftest.er1
>conftest.err
12542 cat conftest.err
>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } &&
12545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12547 (eval $ac_try) 2>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); }; } &&
12551 { ac_try
='test -s conftest.$ac_objext'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; }; then
12557 for ac_declaration
in \
12559 'extern "C" void std::exit (int) throw (); using std::exit;' \
12560 'extern "C" void std::exit (int); using std::exit;' \
12561 'extern "C" void exit (int) throw ();' \
12562 'extern "C" void exit (int);' \
12565 cat >conftest.
$ac_ext <<_ACEOF
12568 cat confdefs.h
>>conftest.
$ac_ext
12569 cat >>conftest.
$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12572 #include <stdlib.h>
12581 rm -f conftest.
$ac_objext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12583 (eval $ac_compile) 2>conftest.er1
12585 grep -v '^ *+' conftest.er1
>conftest.err
12587 cat conftest.err
>&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try
='test -s conftest.$ac_objext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.
$ac_ext >&5
12609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12610 cat >conftest.
$ac_ext <<_ACEOF
12613 cat confdefs.h
>>conftest.
$ac_ext
12614 cat >>conftest.
$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12625 rm -f conftest.
$ac_objext
12626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12627 (eval $ac_compile) 2>conftest.er1
12629 grep -v '^ *+' conftest.er1
>conftest.err
12631 cat conftest.err
>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); } &&
12634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; } &&
12640 { ac_try
='test -s conftest.$ac_objext'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; }; then
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.
$ac_ext >&5
12652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12655 if test -n "$ac_declaration"; then
12656 echo '#ifdef __cplusplus' >>confdefs.h
12657 echo $ac_declaration >>confdefs.h
12658 echo '#endif' >>confdefs.h
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.
$ac_ext >&5
12666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12668 ac_cpp
='$CPP $CPPFLAGS'
12669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12676 ac_cpp
='$CPP $CPPFLAGS'
12677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12681 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12682 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12683 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 cat >conftest.
$ac_ext <<_ACEOF
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12697 #ifndef __INTEL_COMPILER
12705 rm -f conftest.
$ac_objext
12706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12707 (eval $ac_compile) 2>conftest.er1
12709 grep -v '^ *+' conftest.er1
>conftest.err
12711 cat conftest.err
>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } &&
12714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12716 (eval $ac_try) 2>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); }; } &&
12720 { ac_try
='test -s conftest.$ac_objext'
12721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 (eval $ac_try) 2>&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); }; }; then
12726 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12728 echo "$as_me: failed program was:" >&5
12729 sed 's/^/| /' conftest.
$ac_ext >&5
12731 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12738 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12739 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12741 ac_cpp
='$CPP $CPPFLAGS'
12742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12746 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12753 if test "x$GCC" != "xyes"; then
12754 if test "xCC" = "xC"; then
12755 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12756 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12757 if test "${bakefile_cv_c_exto+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 cat >conftest.
$ac_ext <<_ACEOF
12763 cat confdefs.h
>>conftest.
$ac_ext
12764 cat >>conftest.
$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12775 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12777 (eval $ac_compile) 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; then
12781 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12783 conftest.
$ac_ext.o
)
12784 bakefile_cv_c_exto
="-ext o"
12791 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12792 See \`config.log' for more details." >&5
12793 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12794 See \`config.log' for more details." >&2;}
12795 { (exit 1); exit 1; }; }
12799 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12802 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12803 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12804 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12805 if test "c" = "c"; then
12806 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12808 if test "c" = "cxx"; then
12809 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12813 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12814 unset ac_cv_prog_cc_g
12815 ac_test_CFLAGS
=${CFLAGS+set}
12816 ac_save_CFLAGS
=$CFLAGS
12818 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12819 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12820 if test "${ac_cv_prog_cc_g+set}" = set; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12823 cat >conftest.
$ac_ext <<_ACEOF
12826 cat confdefs.h
>>conftest.
$ac_ext
12827 cat >>conftest.
$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12838 rm -f conftest.
$ac_objext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12840 (eval $ac_compile) 2>conftest.er1
12842 grep -v '^ *+' conftest.er1
>conftest.err
12844 cat conftest.err
>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } &&
12847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; } &&
12853 { ac_try
='test -s conftest.$ac_objext'
12854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12855 (eval $ac_try) 2>&5
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 (exit $ac_status); }; }; then
12859 ac_cv_prog_cc_g
=yes
12861 echo "$as_me: failed program was:" >&5
12862 sed 's/^/| /' conftest.
$ac_ext >&5
12866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12868 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12869 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12870 if test "$ac_test_CFLAGS" = set; then
12871 CFLAGS
=$ac_save_CFLAGS
12872 elif test $ac_cv_prog_cc_g = yes; then
12873 if test "$GCC" = yes; then
12879 if test "$GCC" = yes; then
12891 ac_cpp
='$CPP $CPPFLAGS'
12892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12896 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12897 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12898 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 cat >conftest.
$ac_ext <<_ACEOF
12904 cat confdefs.h
>>conftest.
$ac_ext
12905 cat >>conftest.
$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12919 rm -f conftest.
$ac_objext
12920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12921 (eval $ac_compile) 2>conftest.er1
12923 grep -v '^ *+' conftest.er1
>conftest.err
12925 cat conftest.err
>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); } &&
12928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; } &&
12934 { ac_try
='test -s conftest.$ac_objext'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 bakefile_compiler_xlc
=yes
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.
$ac_ext >&5
12945 bakefile_compiler_xlc
=no
12947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12948 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12951 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12952 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12954 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12956 ac_cpp
='$CPP $CPPFLAGS'
12957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12966 ac_cpp
='$CPP $CPPFLAGS'
12967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12971 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12972 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12973 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 cat >conftest.
$ac_ext <<_ACEOF
12979 cat confdefs.h
>>conftest.
$ac_ext
12980 cat >>conftest.
$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12994 rm -f conftest.
$ac_objext
12995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12996 (eval $ac_compile) 2>conftest.er1
12998 grep -v '^ *+' conftest.er1
>conftest.err
13000 cat conftest.err
>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); } &&
13003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; } &&
13009 { ac_try
='test -s conftest.$ac_objext'
13010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 (eval $ac_try) 2>&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; }; then
13015 bakefile_compiler_mwerks
=yes
13017 echo "$as_me: failed program was:" >&5
13018 sed 's/^/| /' conftest.
$ac_ext >&5
13020 bakefile_compiler_mwerks
=no
13022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13023 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13026 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13027 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13029 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13031 ac_cpp
='$CPP $CPPFLAGS'
13032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13038 ac_cpp
='$CPP $CPPFLAGS'
13039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13043 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13044 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13045 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 cat >conftest.
$ac_ext <<_ACEOF
13051 cat confdefs.h
>>conftest.
$ac_ext
13052 cat >>conftest.
$ac_ext <<_ACEOF
13053 /* end confdefs.h. */
13066 rm -f conftest.
$ac_objext
13067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13068 (eval $ac_compile) 2>conftest.er1
13070 grep -v '^ *+' conftest.er1
>conftest.err
13072 cat conftest.err
>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } &&
13075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 (eval $ac_try) 2>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; } &&
13081 { ac_try
='test -s conftest.$ac_objext'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; }; then
13087 bakefile_compiler_xlc
=yes
13089 echo "$as_me: failed program was:" >&5
13090 sed 's/^/| /' conftest.
$ac_ext >&5
13092 bakefile_compiler_xlc
=no
13094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13095 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13098 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13099 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13101 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13103 ac_cpp
='$CPP $CPPFLAGS'
13104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13115 ac_cpp
='$CPP $CPPFLAGS'
13116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13120 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13121 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13122 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13136 #ifndef _SGI_COMPILER_VERSION
13144 rm -f conftest.
$ac_objext
13145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13146 (eval $ac_compile) 2>conftest.er1
13148 grep -v '^ *+' conftest.er1
>conftest.err
13150 cat conftest.err
>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; } &&
13159 { ac_try
='test -s conftest.$ac_objext'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13177 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13178 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13180 ac_cpp
='$CPP $CPPFLAGS'
13181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13185 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13198 ac_cpp
='$CPP $CPPFLAGS'
13199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13203 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13204 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13205 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13206 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 cat >conftest.
$ac_ext <<_ACEOF
13211 cat confdefs.h
>>conftest.
$ac_ext
13212 cat >>conftest.
$ac_ext <<_ACEOF
13213 /* end confdefs.h. */
13227 rm -f conftest.
$ac_objext
13228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13229 (eval $ac_compile) 2>conftest.er1
13231 grep -v '^ *+' conftest.er1
>conftest.err
13233 cat conftest.err
>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); } &&
13236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13238 (eval $ac_try) 2>&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); }; } &&
13242 { ac_try
='test -s conftest.$ac_objext'
13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13244 (eval $ac_try) 2>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; }; then
13248 bakefile_cv_c_compiler___HP_cc
=yes
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.
$ac_ext >&5
13253 bakefile_cv_c_compiler___HP_cc
=no
13256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13260 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13261 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13263 ac_cpp
='$CPP $CPPFLAGS'
13264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13268 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13281 ac_cpp
='$CPP $CPPFLAGS'
13282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13286 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13287 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13288 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 cat >conftest.
$ac_ext <<_ACEOF
13294 cat confdefs.h
>>conftest.
$ac_ext
13295 cat >>conftest.
$ac_ext <<_ACEOF
13296 /* end confdefs.h. */
13310 rm -f conftest.
$ac_objext
13311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13312 (eval $ac_compile) 2>conftest.er1
13314 grep -v '^ *+' conftest.er1
>conftest.err
13316 cat conftest.err
>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } &&
13319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; } &&
13325 { ac_try
='test -s conftest.$ac_objext'
13326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13327 (eval $ac_try) 2>&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); }; }; then
13331 bakefile_cv_c_compiler___DECC
=yes
13333 echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.
$ac_ext >&5
13336 bakefile_cv_c_compiler___DECC
=no
13339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13343 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13344 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13346 ac_cpp
='$CPP $CPPFLAGS'
13347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13351 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13364 ac_cpp
='$CPP $CPPFLAGS'
13365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13369 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13370 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13371 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 cat >conftest.
$ac_ext <<_ACEOF
13377 cat confdefs.h
>>conftest.
$ac_ext
13378 cat >>conftest.
$ac_ext <<_ACEOF
13379 /* end confdefs.h. */
13393 rm -f conftest.
$ac_objext
13394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13395 (eval $ac_compile) 2>conftest.er1
13397 grep -v '^ *+' conftest.er1
>conftest.err
13399 cat conftest.err
>&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } &&
13402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 (eval $ac_try) 2>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; } &&
13408 { ac_try
='test -s conftest.$ac_objext'
13409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13410 (eval $ac_try) 2>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); }; }; then
13414 bakefile_cv_c_compiler___SUNPRO_C
=yes
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.
$ac_ext >&5
13419 bakefile_cv_c_compiler___SUNPRO_C
=no
13422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13426 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13427 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13429 ac_cpp
='$CPP $CPPFLAGS'
13430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13434 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13448 ac_cpp
='$CPP $CPPFLAGS'
13449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13452 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13453 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13454 # On Suns, sometimes $CPP names a directory.
13455 if test -n "$CPP" && test -d "$CPP"; then
13458 if test -z "$CPP"; then
13459 if test "${ac_cv_prog_CPP+set}" = set; then
13460 echo $ECHO_N "(cached) $ECHO_C" >&6
13462 # Double quotes because CPP needs to be expanded
13463 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13465 ac_preproc_ok
=false
13466 for ac_c_preproc_warn_flag
in '' yes
13468 # Use a header file that comes with gcc, so configuring glibc
13469 # with a fresh cross-compiler works.
13470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13471 # <limits.h> exists even on freestanding compilers.
13472 # On the NeXT, cc -E runs the code through the compiler's parser,
13473 # not just through cpp. "Syntax error" is here to catch this case.
13474 cat >conftest.
$ac_ext <<_ACEOF
13477 cat confdefs.h
>>conftest.
$ac_ext
13478 cat >>conftest.
$ac_ext <<_ACEOF
13479 /* end confdefs.h. */
13481 # include <limits.h>
13483 # include <assert.h>
13487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13490 grep -v '^ *+' conftest.er1
>conftest.err
13492 cat conftest.err
>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } >/dev
/null
; then
13495 if test -s conftest.err
; then
13496 ac_cpp_err
=$ac_c_preproc_warn_flag
13497 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13504 if test -z "$ac_cpp_err"; then
13507 echo "$as_me: failed program was:" >&5
13508 sed 's/^/| /' conftest.
$ac_ext >&5
13510 # Broken: fails on valid input.
13513 rm -f conftest.err conftest.
$ac_ext
13515 # OK, works on sane cases. Now check whether non-existent headers
13516 # can be detected and how.
13517 cat >conftest.
$ac_ext <<_ACEOF
13520 cat confdefs.h
>>conftest.
$ac_ext
13521 cat >>conftest.
$ac_ext <<_ACEOF
13522 /* end confdefs.h. */
13523 #include <ac_nonexistent.h>
13525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13528 grep -v '^ *+' conftest.er1
>conftest.err
13530 cat conftest.err
>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); } >/dev
/null
; then
13533 if test -s conftest.err
; then
13534 ac_cpp_err
=$ac_c_preproc_warn_flag
13535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13542 if test -z "$ac_cpp_err"; then
13543 # Broken: success on invalid input.
13546 echo "$as_me: failed program was:" >&5
13547 sed 's/^/| /' conftest.
$ac_ext >&5
13549 # Passes both tests.
13553 rm -f conftest.err conftest.
$ac_ext
13556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13557 rm -f conftest.err conftest.
$ac_ext
13558 if $ac_preproc_ok; then
13563 ac_cv_prog_CPP
=$CPP
13566 CPP
=$ac_cv_prog_CPP
13568 ac_cv_prog_CPP
=$CPP
13570 echo "$as_me:$LINENO: result: $CPP" >&5
13571 echo "${ECHO_T}$CPP" >&6
13572 ac_preproc_ok
=false
13573 for ac_c_preproc_warn_flag
in '' yes
13575 # Use a header file that comes with gcc, so configuring glibc
13576 # with a fresh cross-compiler works.
13577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13578 # <limits.h> exists even on freestanding compilers.
13579 # On the NeXT, cc -E runs the code through the compiler's parser,
13580 # not just through cpp. "Syntax error" is here to catch this case.
13581 cat >conftest.
$ac_ext <<_ACEOF
13584 cat confdefs.h
>>conftest.
$ac_ext
13585 cat >>conftest.
$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13588 # include <limits.h>
13590 # include <assert.h>
13594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13595 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13597 grep -v '^ *+' conftest.er1
>conftest.err
13599 cat conftest.err
>&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); } >/dev
/null
; then
13602 if test -s conftest.err
; then
13603 ac_cpp_err
=$ac_c_preproc_warn_flag
13604 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13611 if test -z "$ac_cpp_err"; then
13614 echo "$as_me: failed program was:" >&5
13615 sed 's/^/| /' conftest.
$ac_ext >&5
13617 # Broken: fails on valid input.
13620 rm -f conftest.err conftest.
$ac_ext
13622 # OK, works on sane cases. Now check whether non-existent headers
13623 # can be detected and how.
13624 cat >conftest.
$ac_ext <<_ACEOF
13627 cat confdefs.h
>>conftest.
$ac_ext
13628 cat >>conftest.
$ac_ext <<_ACEOF
13629 /* end confdefs.h. */
13630 #include <ac_nonexistent.h>
13632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13635 grep -v '^ *+' conftest.er1
>conftest.err
13637 cat conftest.err
>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); } >/dev
/null
; then
13640 if test -s conftest.err
; then
13641 ac_cpp_err
=$ac_c_preproc_warn_flag
13642 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13649 if test -z "$ac_cpp_err"; then
13650 # Broken: success on invalid input.
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.
$ac_ext >&5
13656 # Passes both tests.
13660 rm -f conftest.err conftest.
$ac_ext
13663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13664 rm -f conftest.err conftest.
$ac_ext
13665 if $ac_preproc_ok; then
13668 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13669 See \`config.log' for more details." >&5
13670 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13671 See \`config.log' for more details." >&2;}
13672 { (exit 1); exit 1; }; }
13676 ac_cpp
='$CPP $CPPFLAGS'
13677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13682 echo "$as_me:$LINENO: checking for egrep" >&5
13683 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13684 if test "${ac_cv_prog_egrep+set}" = set; then
13685 echo $ECHO_N "(cached) $ECHO_C" >&6
13687 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13688 then ac_cv_prog_egrep
='grep -E'
13689 else ac_cv_prog_egrep
='egrep'
13692 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13693 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13694 EGREP
=$ac_cv_prog_egrep
13697 if test $ac_cv_c_compiler_gnu = yes; then
13698 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13699 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13700 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13701 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 ac_pattern
="Autoconf.*'x'"
13704 cat >conftest.
$ac_ext <<_ACEOF
13707 cat confdefs.h
>>conftest.
$ac_ext
13708 cat >>conftest.
$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13714 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13715 ac_cv_prog_gcc_traditional
=yes
13717 ac_cv_prog_gcc_traditional
=no
13722 if test $ac_cv_prog_gcc_traditional = no
; then
13723 cat >conftest.
$ac_ext <<_ACEOF
13726 cat confdefs.h
>>conftest.
$ac_ext
13727 cat >>conftest.
$ac_ext <<_ACEOF
13728 /* end confdefs.h. */
13729 #include <termio.h>
13732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13733 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13734 ac_cv_prog_gcc_traditional
=yes
13740 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13741 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13742 if test $ac_cv_prog_gcc_traditional = yes; then
13743 CC
="$CC -traditional"
13749 ac_cpp
='$CXXCPP $CPPFLAGS'
13750 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13751 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13752 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13755 CXXFLAGS
=${CXXFLAGS:=}
13760 ac_cpp
='$CXXCPP $CPPFLAGS'
13761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13764 if test -n "$ac_tool_prefix"; then
13765 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13768 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13769 echo "$as_me:$LINENO: checking for $ac_word" >&5
13770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13771 if test "${ac_cv_prog_CXX+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13774 if test -n "$CXX"; then
13775 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13778 for as_dir
in $PATH
13781 test -z "$as_dir" && as_dir
=.
13782 for ac_exec_ext
in '' $ac_executable_extensions; do
13783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13784 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13793 CXX
=$ac_cv_prog_CXX
13794 if test -n "$CXX"; then
13795 echo "$as_me:$LINENO: result: $CXX" >&5
13796 echo "${ECHO_T}$CXX" >&6
13798 echo "$as_me:$LINENO: result: no" >&5
13799 echo "${ECHO_T}no" >&6
13802 test -n "$CXX" && break
13805 if test -z "$CXX"; then
13807 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13809 # Extract the first word of "$ac_prog", so it can be a program name with args.
13810 set dummy
$ac_prog; ac_word
=$2
13811 echo "$as_me:$LINENO: checking for $ac_word" >&5
13812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13813 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 if test -n "$ac_ct_CXX"; then
13817 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13820 for as_dir
in $PATH
13823 test -z "$as_dir" && as_dir
=.
13824 for ac_exec_ext
in '' $ac_executable_extensions; do
13825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13826 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13835 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13836 if test -n "$ac_ct_CXX"; then
13837 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13838 echo "${ECHO_T}$ac_ct_CXX" >&6
13840 echo "$as_me:$LINENO: result: no" >&5
13841 echo "${ECHO_T}no" >&6
13844 test -n "$ac_ct_CXX" && break
13846 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13852 # Provide some information about the compiler.
13853 echo "$as_me:$LINENO:" \
13854 "checking for C++ compiler version" >&5
13855 ac_compiler
=`set X $ac_compile; echo $2`
13856 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13857 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }
13861 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13862 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }
13866 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13867 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }
13872 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13873 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13874 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 cat >conftest.
$ac_ext <<_ACEOF
13880 cat confdefs.h
>>conftest.
$ac_ext
13881 cat >>conftest.
$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13895 rm -f conftest.
$ac_objext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13897 (eval $ac_compile) 2>conftest.er1
13899 grep -v '^ *+' conftest.er1
>conftest.err
13901 cat conftest.err
>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } &&
13904 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906 (eval $ac_try) 2>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); }; } &&
13910 { ac_try
='test -s conftest.$ac_objext'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; }; then
13916 ac_compiler_gnu
=yes
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.
$ac_ext >&5
13923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13924 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13927 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13928 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13929 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13930 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13931 ac_save_CXXFLAGS
=$CXXFLAGS
13933 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13934 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13935 if test "${ac_cv_prog_cxx_g+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 cat >conftest.
$ac_ext <<_ACEOF
13941 cat confdefs.h
>>conftest.
$ac_ext
13942 cat >>conftest.
$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13953 rm -f conftest.
$ac_objext
13954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13955 (eval $ac_compile) 2>conftest.er1
13957 grep -v '^ *+' conftest.er1
>conftest.err
13959 cat conftest.err
>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); } &&
13962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13964 (eval $ac_try) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; } &&
13968 { ac_try
='test -s conftest.$ac_objext'
13969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970 (eval $ac_try) 2>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }; }; then
13974 ac_cv_prog_cxx_g
=yes
13976 echo "$as_me: failed program was:" >&5
13977 sed 's/^/| /' conftest.
$ac_ext >&5
13979 ac_cv_prog_cxx_g
=no
13981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13983 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13984 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13985 if test "$ac_test_CXXFLAGS" = set; then
13986 CXXFLAGS
=$ac_save_CXXFLAGS
13987 elif test $ac_cv_prog_cxx_g = yes; then
13988 if test "$GXX" = yes; then
13994 if test "$GXX" = yes; then
14000 for ac_declaration
in \
14002 'extern "C" void std::exit (int) throw (); using std::exit;' \
14003 'extern "C" void std::exit (int); using std::exit;' \
14004 'extern "C" void exit (int) throw ();' \
14005 'extern "C" void exit (int);' \
14008 cat >conftest.
$ac_ext <<_ACEOF
14011 cat confdefs.h
>>conftest.
$ac_ext
14012 cat >>conftest.
$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14015 #include <stdlib.h>
14024 rm -f conftest.
$ac_objext
14025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14026 (eval $ac_compile) 2>conftest.er1
14028 grep -v '^ *+' conftest.er1
>conftest.err
14030 cat conftest.err
>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } &&
14033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14035 (eval $ac_try) 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); }; } &&
14039 { ac_try
='test -s conftest.$ac_objext'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; }; then
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.
$ac_ext >&5
14052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14053 cat >conftest.
$ac_ext <<_ACEOF
14056 cat confdefs.h
>>conftest.
$ac_ext
14057 cat >>conftest.
$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14068 rm -f conftest.
$ac_objext
14069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14070 (eval $ac_compile) 2>conftest.er1
14072 grep -v '^ *+' conftest.er1
>conftest.err
14074 cat conftest.err
>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; } &&
14083 { ac_try
='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.
$ac_ext >&5
14095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14098 if test -n "$ac_declaration"; then
14099 echo '#ifdef __cplusplus' >>confdefs.h
14100 echo $ac_declaration >>confdefs.h
14101 echo '#endif' >>confdefs.h
14105 ac_cpp
='$CXXCPP $CPPFLAGS'
14106 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14107 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14108 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14113 ac_cpp
='$CXXCPP $CPPFLAGS'
14114 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14115 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14116 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14118 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14119 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14120 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14121 echo $ECHO_N "(cached) $ECHO_C" >&6
14123 cat >conftest.
$ac_ext <<_ACEOF
14126 cat confdefs.h
>>conftest.
$ac_ext
14127 cat >>conftest.
$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14134 #ifndef __INTEL_COMPILER
14142 rm -f conftest.
$ac_objext
14143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14144 (eval $ac_compile) 2>conftest.er1
14146 grep -v '^ *+' conftest.er1
>conftest.err
14148 cat conftest.err
>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); } &&
14151 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; } &&
14157 { ac_try
='test -s conftest.$ac_objext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14163 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.
$ac_ext >&5
14168 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14175 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14176 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14178 ac_cpp
='$CXXCPP $CPPFLAGS'
14179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14183 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14190 if test "x$GCXX" != "xyes"; then
14191 if test "xCXX" = "xC"; then
14192 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14193 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14194 if test "${bakefile_cv_cxx_exto+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 cat >conftest.
$ac_ext <<_ACEOF
14200 cat confdefs.h
>>conftest.
$ac_ext
14201 cat >>conftest.
$ac_ext <<_ACEOF
14202 /* end confdefs.h. */
14212 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14214 (eval $ac_compile) 2>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }; then
14218 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14220 conftest.
$ac_ext.o
)
14221 bakefile_cv_cxx_exto
="-ext o"
14228 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14229 See \`config.log' for more details." >&5
14230 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14231 See \`config.log' for more details." >&2;}
14232 { (exit 1); exit 1; }; }
14236 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14239 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14240 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14241 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14242 if test "cxx" = "c"; then
14243 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14245 if test "cxx" = "cxx"; then
14246 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14250 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14251 unset ac_cv_prog_cc_g
14252 ac_test_CFLAGS
=${CFLAGS+set}
14253 ac_save_CFLAGS
=$CFLAGS
14255 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14256 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14257 if test "${ac_cv_prog_cc_g+set}" = set; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 cat >conftest.
$ac_ext <<_ACEOF
14263 cat confdefs.h
>>conftest.
$ac_ext
14264 cat >>conftest.
$ac_ext <<_ACEOF
14265 /* end confdefs.h. */
14275 rm -f conftest.
$ac_objext
14276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14277 (eval $ac_compile) 2>conftest.er1
14279 grep -v '^ *+' conftest.er1
>conftest.err
14281 cat conftest.err
>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } &&
14284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; } &&
14290 { ac_try
='test -s conftest.$ac_objext'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; }; then
14296 ac_cv_prog_cc_g
=yes
14298 echo "$as_me: failed program was:" >&5
14299 sed 's/^/| /' conftest.
$ac_ext >&5
14303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14305 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14306 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14307 if test "$ac_test_CFLAGS" = set; then
14308 CFLAGS
=$ac_save_CFLAGS
14309 elif test $ac_cv_prog_cc_g = yes; then
14310 if test "$GCC" = yes; then
14316 if test "$GCC" = yes; then
14328 ac_cpp
='$CXXCPP $CPPFLAGS'
14329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14333 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14334 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14335 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 cat >conftest.
$ac_ext <<_ACEOF
14341 cat confdefs.h
>>conftest.
$ac_ext
14342 cat >>conftest.
$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14356 rm -f conftest.
$ac_objext
14357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14358 (eval $ac_compile) 2>conftest.er1
14360 grep -v '^ *+' conftest.er1
>conftest.err
14362 cat conftest.err
>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } &&
14365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try
='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 bakefile_compiler_xlc
=yes
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.
$ac_ext >&5
14382 bakefile_compiler_xlc
=no
14384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14385 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14388 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14389 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14391 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14393 ac_cpp
='$CXXCPP $CPPFLAGS'
14394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14403 ac_cpp
='$CXXCPP $CPPFLAGS'
14404 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14405 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14406 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14408 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14409 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14410 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 cat >conftest.
$ac_ext <<_ACEOF
14416 cat confdefs.h
>>conftest.
$ac_ext
14417 cat >>conftest.
$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14431 rm -f conftest.
$ac_objext
14432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14433 (eval $ac_compile) 2>conftest.er1
14435 grep -v '^ *+' conftest.er1
>conftest.err
14437 cat conftest.err
>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); } &&
14440 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; } &&
14446 { ac_try
='test -s conftest.$ac_objext'
14447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14448 (eval $ac_try) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; }; then
14452 bakefile_compiler_mwerks
=yes
14454 echo "$as_me: failed program was:" >&5
14455 sed 's/^/| /' conftest.
$ac_ext >&5
14457 bakefile_compiler_mwerks
=no
14459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14460 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14463 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14464 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14466 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14468 ac_cpp
='$CXXCPP $CPPFLAGS'
14469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14475 ac_cpp
='$CXXCPP $CPPFLAGS'
14476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14480 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14481 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14482 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14483 echo $ECHO_N "(cached) $ECHO_C" >&6
14485 cat >conftest.
$ac_ext <<_ACEOF
14488 cat confdefs.h
>>conftest.
$ac_ext
14489 cat >>conftest.
$ac_ext <<_ACEOF
14490 /* end confdefs.h. */
14503 rm -f conftest.
$ac_objext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505 (eval $ac_compile) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try
='test -s conftest.$ac_objext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 bakefile_compiler_xlc
=yes
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.
$ac_ext >&5
14529 bakefile_compiler_xlc
=no
14531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14532 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14535 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14536 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14538 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14540 ac_cpp
='$CXXCPP $CPPFLAGS'
14541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14552 ac_cpp
='$CXXCPP $CPPFLAGS'
14553 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14554 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14555 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14557 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14558 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14559 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 cat >conftest.
$ac_ext <<_ACEOF
14565 cat confdefs.h
>>conftest.
$ac_ext
14566 cat >>conftest.
$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14573 #ifndef _SGI_COMPILER_VERSION
14581 rm -f conftest.
$ac_objext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14583 (eval $ac_compile) 2>conftest.er1
14585 grep -v '^ *+' conftest.er1
>conftest.err
14587 cat conftest.err
>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; } &&
14596 { ac_try
='test -s conftest.$ac_objext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.
$ac_ext >&5
14607 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14614 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14615 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14617 ac_cpp
='$CXXCPP $CPPFLAGS'
14618 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14619 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14620 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14622 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14635 ac_cpp
='$CXXCPP $CPPFLAGS'
14636 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14637 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14638 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14640 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14641 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14642 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14643 echo $ECHO_N "(cached) $ECHO_C" >&6
14645 cat >conftest.
$ac_ext <<_ACEOF
14648 cat confdefs.h
>>conftest.
$ac_ext
14649 cat >>conftest.
$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14664 rm -f conftest.
$ac_objext
14665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14666 (eval $ac_compile) 2>conftest.er1
14668 grep -v '^ *+' conftest.er1
>conftest.err
14670 cat conftest.err
>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } &&
14673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; } &&
14679 { ac_try
='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 bakefile_cv_cxx_compiler___HP_aCC
=yes
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.
$ac_ext >&5
14690 bakefile_cv_cxx_compiler___HP_aCC
=no
14693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14697 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14700 ac_cpp
='$CXXCPP $CPPFLAGS'
14701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14705 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14718 ac_cpp
='$CXXCPP $CPPFLAGS'
14719 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14720 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14721 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14723 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14724 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14725 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14726 echo $ECHO_N "(cached) $ECHO_C" >&6
14728 cat >conftest.
$ac_ext <<_ACEOF
14731 cat confdefs.h
>>conftest.
$ac_ext
14732 cat >>conftest.
$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14747 rm -f conftest.
$ac_objext
14748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14749 (eval $ac_compile) 2>conftest.er1
14751 grep -v '^ *+' conftest.er1
>conftest.err
14753 cat conftest.err
>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } &&
14756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14758 (eval $ac_try) 2>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; } &&
14762 { ac_try
='test -s conftest.$ac_objext'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14768 bakefile_cv_cxx_compiler___DECCXX
=yes
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.
$ac_ext >&5
14773 bakefile_cv_cxx_compiler___DECCXX
=no
14776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14780 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14781 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14783 ac_cpp
='$CXXCPP $CPPFLAGS'
14784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14788 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14801 ac_cpp
='$CXXCPP $CPPFLAGS'
14802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14806 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14807 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14808 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14809 echo $ECHO_N "(cached) $ECHO_C" >&6
14811 cat >conftest.
$ac_ext <<_ACEOF
14814 cat confdefs.h
>>conftest.
$ac_ext
14815 cat >>conftest.
$ac_ext <<_ACEOF
14816 /* end confdefs.h. */
14822 #ifndef __SUNPRO_CC
14830 rm -f conftest.
$ac_objext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14832 (eval $ac_compile) 2>conftest.er1
14834 grep -v '^ *+' conftest.er1
>conftest.err
14836 cat conftest.err
>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; } &&
14845 { ac_try
='test -s conftest.$ac_objext'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; }; then
14851 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14853 echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.
$ac_ext >&5
14856 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14863 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14864 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14866 ac_cpp
='$CXXCPP $CPPFLAGS'
14867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14871 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14884 if test -n "$ac_tool_prefix"; then
14885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14886 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14887 echo "$as_me:$LINENO: checking for $ac_word" >&5
14888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14889 if test "${ac_cv_prog_RANLIB+set}" = set; then
14890 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 if test -n "$RANLIB"; then
14893 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14896 for as_dir
in $PATH
14899 test -z "$as_dir" && as_dir
=.
14900 for ac_exec_ext
in '' $ac_executable_extensions; do
14901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14902 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14911 RANLIB
=$ac_cv_prog_RANLIB
14912 if test -n "$RANLIB"; then
14913 echo "$as_me:$LINENO: result: $RANLIB" >&5
14914 echo "${ECHO_T}$RANLIB" >&6
14916 echo "$as_me:$LINENO: result: no" >&5
14917 echo "${ECHO_T}no" >&6
14921 if test -z "$ac_cv_prog_RANLIB"; then
14922 ac_ct_RANLIB
=$RANLIB
14923 # Extract the first word of "ranlib", so it can be a program name with args.
14924 set dummy ranlib
; ac_word
=$2
14925 echo "$as_me:$LINENO: checking for $ac_word" >&5
14926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14927 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14930 if test -n "$ac_ct_RANLIB"; then
14931 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14934 for as_dir
in $PATH
14937 test -z "$as_dir" && as_dir
=.
14938 for ac_exec_ext
in '' $ac_executable_extensions; do
14939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14940 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14947 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14950 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14951 if test -n "$ac_ct_RANLIB"; then
14952 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14953 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14955 echo "$as_me:$LINENO: result: no" >&5
14956 echo "${ECHO_T}no" >&6
14959 RANLIB
=$ac_ct_RANLIB
14961 RANLIB
="$ac_cv_prog_RANLIB"
14965 if test -n "$ac_tool_prefix"; then
14966 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14967 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14968 echo "$as_me:$LINENO: checking for $ac_word" >&5
14969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14970 if test "${ac_cv_prog_AR+set}" = set; then
14971 echo $ECHO_N "(cached) $ECHO_C" >&6
14973 if test -n "$AR"; then
14974 ac_cv_prog_AR
="$AR" # Let the user override the test.
14976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14977 for as_dir
in $PATH
14980 test -z "$as_dir" && as_dir
=.
14981 for ac_exec_ext
in '' $ac_executable_extensions; do
14982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14983 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14993 if test -n "$AR"; then
14994 echo "$as_me:$LINENO: result: $AR" >&5
14995 echo "${ECHO_T}$AR" >&6
14997 echo "$as_me:$LINENO: result: no" >&5
14998 echo "${ECHO_T}no" >&6
15002 if test -z "$ac_cv_prog_AR"; then
15004 # Extract the first word of "ar", so it can be a program name with args.
15005 set dummy
ar; ac_word
=$2
15006 echo "$as_me:$LINENO: checking for $ac_word" >&5
15007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15008 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15009 echo $ECHO_N "(cached) $ECHO_C" >&6
15011 if test -n "$ac_ct_AR"; then
15012 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15015 for as_dir
in $PATH
15018 test -z "$as_dir" && as_dir
=.
15019 for ac_exec_ext
in '' $ac_executable_extensions; do
15020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15021 ac_cv_prog_ac_ct_AR
="ar"
15022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15030 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15031 if test -n "$ac_ct_AR"; then
15032 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15033 echo "${ECHO_T}$ac_ct_AR" >&6
15035 echo "$as_me:$LINENO: result: no" >&5
15036 echo "${ECHO_T}no" >&6
15041 AR
="$ac_cv_prog_AR"
15044 if test "x$AR" = "x" ; then
15045 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15046 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15047 { (exit 1); exit 1; }; }
15050 # Find a good install program. We prefer a C program (faster),
15051 # so one script is as good as another. But avoid the broken or
15052 # incompatible versions:
15053 # SysV /etc/install, /usr/sbin/install
15054 # SunOS /usr/etc/install
15055 # IRIX /sbin/install
15057 # AmigaOS /C/install, which installs bootblocks on floppy discs
15058 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15059 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15060 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15061 # OS/2's system install, which has a completely different semantic
15062 # ./install, which can be erroneously created by make from ./install.sh.
15063 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15064 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15065 if test -z "$INSTALL"; then
15066 if test "${ac_cv_path_install+set}" = set; then
15067 echo $ECHO_N "(cached) $ECHO_C" >&6
15069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15070 for as_dir
in $PATH
15073 test -z "$as_dir" && as_dir
=.
15074 # Account for people who put trailing slashes in PATH elements.
15076 .
/ | .
// | /cC
/* | \
15077 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15078 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15081 # OSF1 and SCO ODT 3.0 have their own names for install.
15082 # Don't use installbsd from OSF since it installs stuff as root
15084 for ac_prog
in ginstall scoinst
install; do
15085 for ac_exec_ext
in '' $ac_executable_extensions; do
15086 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15087 if test $ac_prog = install &&
15088 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15089 # AIX install. It has an incompatible calling convention.
15091 elif test $ac_prog = install &&
15092 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15093 # program-specific install script used by HP pwplus--don't use.
15096 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15108 if test "${ac_cv_path_install+set}" = set; then
15109 INSTALL
=$ac_cv_path_install
15111 # As a last resort, use the slow shell script. We don't cache a
15112 # path for INSTALL within a source directory, because that will
15113 # break other packages using the cache if that directory is
15114 # removed, or if the path is relative.
15115 INSTALL
=$ac_install_sh
15118 echo "$as_me:$LINENO: result: $INSTALL" >&5
15119 echo "${ECHO_T}$INSTALL" >&6
15121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15122 # It thinks the first close brace ends the variable substitution.
15123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15127 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15133 ?
:* ) # Drive letter, considered as absolute.
15136 INSTALL
=`pwd`/${INSTALL} ;;
15143 INSTALL_PROGRAM
="cp -fp"
15144 INSTALL_DATA
="cp -fp"
15150 if test -n "$ac_tool_prefix"; then
15151 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15152 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15153 echo "$as_me:$LINENO: checking for $ac_word" >&5
15154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15155 if test "${ac_cv_prog_STRIP+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15158 if test -n "$STRIP"; then
15159 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15162 for as_dir
in $PATH
15165 test -z "$as_dir" && as_dir
=.
15166 for ac_exec_ext
in '' $ac_executable_extensions; do
15167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15168 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15177 STRIP
=$ac_cv_prog_STRIP
15178 if test -n "$STRIP"; then
15179 echo "$as_me:$LINENO: result: $STRIP" >&5
15180 echo "${ECHO_T}$STRIP" >&6
15182 echo "$as_me:$LINENO: result: no" >&5
15183 echo "${ECHO_T}no" >&6
15187 if test -z "$ac_cv_prog_STRIP"; then
15189 # Extract the first word of "strip", so it can be a program name with args.
15190 set dummy strip
; ac_word
=$2
15191 echo "$as_me:$LINENO: checking for $ac_word" >&5
15192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15193 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 if test -n "$ac_ct_STRIP"; then
15197 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15200 for as_dir
in $PATH
15203 test -z "$as_dir" && as_dir
=.
15204 for ac_exec_ext
in '' $ac_executable_extensions; do
15205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15206 ac_cv_prog_ac_ct_STRIP
="strip"
15207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15213 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15216 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15217 if test -n "$ac_ct_STRIP"; then
15218 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15219 echo "${ECHO_T}$ac_ct_STRIP" >&6
15221 echo "$as_me:$LINENO: result: no" >&5
15222 echo "${ECHO_T}no" >&6
15227 STRIP
="$ac_cv_prog_STRIP"
15231 if test "$wxUSE_WINE" = "yes"; then
15232 if test -n "$ac_tool_prefix"; then
15233 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15234 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15235 echo "$as_me:$LINENO: checking for $ac_word" >&5
15236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15237 if test "${ac_cv_prog_WINDRES+set}" = set; then
15238 echo $ECHO_N "(cached) $ECHO_C" >&6
15240 if test -n "$WINDRES"; then
15241 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15244 for as_dir
in $PATH
15247 test -z "$as_dir" && as_dir
=.
15248 for ac_exec_ext
in '' $ac_executable_extensions; do
15249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15250 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15259 WINDRES
=$ac_cv_prog_WINDRES
15260 if test -n "$WINDRES"; then
15261 echo "$as_me:$LINENO: result: $WINDRES" >&5
15262 echo "${ECHO_T}$WINDRES" >&6
15264 echo "$as_me:$LINENO: result: no" >&5
15265 echo "${ECHO_T}no" >&6
15269 if test -z "$ac_cv_prog_WINDRES"; then
15270 ac_ct_WINDRES
=$WINDRES
15271 # Extract the first word of "wrc", so it can be a program name with args.
15272 set dummy wrc
; ac_word
=$2
15273 echo "$as_me:$LINENO: checking for $ac_word" >&5
15274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15275 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 if test -n "$ac_ct_WINDRES"; then
15279 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15282 for as_dir
in $PATH
15285 test -z "$as_dir" && as_dir
=.
15286 for ac_exec_ext
in '' $ac_executable_extensions; do
15287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15288 ac_cv_prog_ac_ct_WINDRES
="wrc"
15289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15297 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15298 if test -n "$ac_ct_WINDRES"; then
15299 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15300 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15302 echo "$as_me:$LINENO: result: no" >&5
15303 echo "${ECHO_T}no" >&6
15306 WINDRES
=$ac_ct_WINDRES
15308 WINDRES
="$ac_cv_prog_WINDRES"
15314 *-*-cygwin* | *-*-mingw32* )
15315 if test -n "$ac_tool_prefix"; then
15316 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15317 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15318 echo "$as_me:$LINENO: checking for $ac_word" >&5
15319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15320 if test "${ac_cv_prog_WINDRES+set}" = set; then
15321 echo $ECHO_N "(cached) $ECHO_C" >&6
15323 if test -n "$WINDRES"; then
15324 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15327 for as_dir
in $PATH
15330 test -z "$as_dir" && as_dir
=.
15331 for ac_exec_ext
in '' $ac_executable_extensions; do
15332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15333 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15342 WINDRES
=$ac_cv_prog_WINDRES
15343 if test -n "$WINDRES"; then
15344 echo "$as_me:$LINENO: result: $WINDRES" >&5
15345 echo "${ECHO_T}$WINDRES" >&6
15347 echo "$as_me:$LINENO: result: no" >&5
15348 echo "${ECHO_T}no" >&6
15352 if test -z "$ac_cv_prog_WINDRES"; then
15353 ac_ct_WINDRES
=$WINDRES
15354 # Extract the first word of "windres", so it can be a program name with args.
15355 set dummy windres
; ac_word
=$2
15356 echo "$as_me:$LINENO: checking for $ac_word" >&5
15357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15358 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 if test -n "$ac_ct_WINDRES"; then
15362 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15365 for as_dir
in $PATH
15368 test -z "$as_dir" && as_dir
=.
15369 for ac_exec_ext
in '' $ac_executable_extensions; do
15370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15371 ac_cv_prog_ac_ct_WINDRES
="windres"
15372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15380 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15381 if test -n "$ac_ct_WINDRES"; then
15382 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15383 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15385 echo "$as_me:$LINENO: result: no" >&5
15386 echo "${ECHO_T}no" >&6
15389 WINDRES
=$ac_ct_WINDRES
15391 WINDRES
="$ac_cv_prog_WINDRES"
15395 if test -n "$ac_tool_prefix"; then
15396 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15397 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15398 echo "$as_me:$LINENO: checking for $ac_word" >&5
15399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15400 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 if test -n "$DLLTOOL"; then
15404 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15407 for as_dir
in $PATH
15410 test -z "$as_dir" && as_dir
=.
15411 for ac_exec_ext
in '' $ac_executable_extensions; do
15412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15413 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15422 DLLTOOL
=$ac_cv_prog_DLLTOOL
15423 if test -n "$DLLTOOL"; then
15424 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15425 echo "${ECHO_T}$DLLTOOL" >&6
15427 echo "$as_me:$LINENO: result: no" >&5
15428 echo "${ECHO_T}no" >&6
15432 if test -z "$ac_cv_prog_DLLTOOL"; then
15433 ac_ct_DLLTOOL
=$DLLTOOL
15434 # Extract the first word of "dlltool", so it can be a program name with args.
15435 set dummy dlltool
; ac_word
=$2
15436 echo "$as_me:$LINENO: checking for $ac_word" >&5
15437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15438 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15439 echo $ECHO_N "(cached) $ECHO_C" >&6
15441 if test -n "$ac_ct_DLLTOOL"; then
15442 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15445 for as_dir
in $PATH
15448 test -z "$as_dir" && as_dir
=.
15449 for ac_exec_ext
in '' $ac_executable_extensions; do
15450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15451 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15460 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15461 if test -n "$ac_ct_DLLTOOL"; then
15462 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15463 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15465 echo "$as_me:$LINENO: result: no" >&5
15466 echo "${ECHO_T}no" >&6
15469 DLLTOOL
=$ac_ct_DLLTOOL
15471 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15478 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15479 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15480 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15481 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15485 egrep -s GNU
> /dev
/null
); then
15486 wx_cv_prog_makeisgnu
="yes"
15488 wx_cv_prog_makeisgnu
="no"
15492 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15493 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15495 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15503 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15504 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15505 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15506 if test "${wx_cv_prog_makevpath+set}" = set; then
15507 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 cat - << EOF > confMake
15516 if test ! -d sub
; then
15519 echo dummy
> sub
/file
15520 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15522 rm -f sub
/file check final_file confMake
15524 if test "$RESULT" = 0; then
15525 wx_cv_prog_makevpath
="yes"
15527 wx_cv_prog_makevpath
="no"
15531 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15532 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15534 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15535 { { echo "$as_me:$LINENO: error:
15536 You need a make-utility that is able to use the variable
15538 If your version of make does not support VPATH correctly,
15539 please install GNU-make (possibly as gmake), and start
15540 configure with the following command:
15541 export MAKE=gmake; ./configure for sh-type shells
15542 setenv MAKE gmake; ./configure for csh-type shells
15543 Also please do remember to use gmake in this case every time
15544 you are trying to compile.
15546 echo "$as_me: error:
15547 You need a make-utility that is able to use the variable
15549 If your version of make does not support VPATH correctly,
15550 please install GNU-make (possibly as gmake), and start
15551 configure with the following command:
15552 export MAKE=gmake; ./configure for sh-type shells
15553 setenv MAKE gmake; ./configure for csh-type shells
15554 Also please do remember to use gmake in this case every time
15555 you are trying to compile.
15557 { (exit 1); exit 1; }; }
15559 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15560 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15562 if test "$LN_S" = "ln -s"; then
15563 echo "$as_me:$LINENO: result: yes" >&5
15564 echo "${ECHO_T}yes" >&6
15566 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15567 echo "${ECHO_T}no, using $LN_S" >&6
15573 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15574 CXXFLAGS
="-qunique $CXXFLAGS"
15578 powerpc
-*-darwin* )
15579 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15580 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15581 cat >conftest.
$ac_ext <<_ACEOF
15584 cat confdefs.h
>>conftest.
$ac_ext
15585 cat >>conftest.
$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15591 #ifndef __POWERPC__
15592 choke me for lack of PowerPC
15599 rm -f conftest.
$ac_objext
15600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15601 (eval $ac_compile) 2>conftest.er1
15603 grep -v '^ *+' conftest.er1
>conftest.err
15605 cat conftest.err
>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } &&
15608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; } &&
15614 { ac_try
='test -s conftest.$ac_objext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15620 echo "$as_me:$LINENO: result: yes" >&5
15621 echo "${ECHO_T}yes" >&6
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.
$ac_ext >&5
15626 echo "$as_me:$LINENO: result: no" >&5
15627 echo "${ECHO_T}no" >&6
15628 cat >>confdefs.h
<<\_ACEOF
15629 #define __POWERPC__ 1
15634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15640 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15641 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15642 cat >conftest.
$ac_ext <<_ACEOF
15645 cat confdefs.h
>>conftest.
$ac_ext
15646 cat >>conftest.
$ac_ext <<_ACEOF
15647 /* end confdefs.h. */
15648 #include <CoreFoundation/CFBase.h>
15658 rm -f conftest.
$ac_objext
15659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15660 (eval $ac_compile) 2>conftest.er1
15662 grep -v '^ *+' conftest.er1
>conftest.err
15664 cat conftest.err
>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); } &&
15667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; } &&
15673 { ac_try
='test -s conftest.$ac_objext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15679 echo "$as_me:$LINENO: result: yes" >&5
15680 echo "${ECHO_T}yes" >&6
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.
$ac_ext >&5
15685 echo "$as_me:$LINENO: result: no" >&5
15686 echo "${ECHO_T}no" >&6
15687 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15688 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15689 cat >conftest.
$ac_ext <<_ACEOF
15692 cat confdefs.h
>>conftest.
$ac_ext
15693 cat >>conftest.
$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 #define __CF_USE_FRAMEWORK_INCLUDES__
15696 #include <CoreFoundation/CFBase.h>
15706 rm -f conftest.
$ac_objext
15707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15708 (eval $ac_compile) 2>conftest.er1
15710 grep -v '^ *+' conftest.er1
>conftest.err
15712 cat conftest.err
>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); } &&
15715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15717 (eval $ac_try) 2>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; } &&
15721 { ac_try
='test -s conftest.$ac_objext'
15722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723 (eval $ac_try) 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 echo "$as_me:$LINENO: result: yes" >&5
15728 echo "${ECHO_T}yes" >&6
15729 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15731 echo "$as_me: failed program was:" >&5
15732 sed 's/^/| /' conftest.
$ac_ext >&5
15734 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15735 See \`config.log' for more details." >&5
15736 echo "$as_me: error: no. CoreFoundation not available.
15737 See \`config.log' for more details." >&2;}
15738 { (exit 1); exit 1; }; }
15741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15750 *-pc-os2_emx | *-pc-os2-emx )
15752 ac_cpp
='$CPP $CPPFLAGS'
15753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15757 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15758 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15759 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15760 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 ac_check_lib_save_LIBS
=$LIBS
15764 LIBS
="-lcExt $LIBS"
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15772 /* Override any gcc2 internal prototype to avoid an error. */
15776 /* We use char because int might match the return type of a gcc2
15777 builtin and then its argument prototype would still apply. */
15787 rm -f conftest.
$ac_objext conftest
$ac_exeext
15788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15789 (eval $ac_link) 2>conftest.er1
15791 grep -v '^ *+' conftest.er1
>conftest.err
15793 cat conftest.err
>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } &&
15796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; } &&
15802 { ac_try
='test -s conftest$ac_exeext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15808 ac_cv_lib_cExt_drand48
=yes
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.
$ac_ext >&5
15813 ac_cv_lib_cExt_drand48
=no
15815 rm -f conftest.err conftest.
$ac_objext \
15816 conftest
$ac_exeext conftest.
$ac_ext
15817 LIBS
=$ac_check_lib_save_LIBS
15819 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15820 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15821 if test $ac_cv_lib_cExt_drand48 = yes; then
15822 LIBS
="$LIBS -lcExt"
15826 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15828 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15829 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15830 if test "${wx_cv_gccversion+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15834 if test "$cross_compiling" = yes; then
15835 wx_cv_gccversion
="EMX2"
15838 cat >conftest.
$ac_ext <<_ACEOF
15841 cat confdefs.h
>>conftest.
$ac_ext
15842 cat >>conftest.
$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15849 FILE *f=fopen("conftestval", "w");
15854 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15856 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15866 rm -f conftest
$ac_exeext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15868 (eval $ac_link) 2>&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 wx_cv_gccversion
=`cat conftestval`
15879 echo "$as_me: program exited with status $ac_status" >&5
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.
$ac_ext >&5
15883 ( exit $ac_status )
15884 wx_cv_gccversion
="EMX2"
15886 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15890 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15891 echo "${ECHO_T}$wx_cv_gccversion" >&6
15893 ac_cpp
='$CXXCPP $CPPFLAGS'
15894 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15895 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15896 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15898 if test "$wx_cv_gccversion" = "EMX2"; then
15899 LIBS
="$LIBS -lstdcpp"
15900 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15902 if test "$wx_cv_gccversion" = "EMX3"; then
15903 LIBS
="$LIBS -lstdcxx -lgcc"
15904 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15906 LIBS
="$LIBS -lstdc++"
15909 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15910 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15911 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15918 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15919 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15920 if test "${ac_cv_string_strcasecmp+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15924 cat >conftest.
$ac_ext <<_ACEOF
15927 cat confdefs.h
>>conftest.
$ac_ext
15928 cat >>conftest.
$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15931 #include <string.h>
15937 strcasecmp("foo", "bar");
15943 rm -f conftest.
$ac_objext conftest
$ac_exeext
15944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15945 (eval $ac_link) 2>conftest.er1
15947 grep -v '^ *+' conftest.er1
>conftest.err
15949 cat conftest.err
>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } &&
15952 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; } &&
15958 { ac_try
='test -s conftest$ac_exeext'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15964 ac_cv_string_strcasecmp
=yes
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.
$ac_ext >&5
15969 ac_cv_string_strcasecmp
=no
15972 rm -f conftest.err conftest.
$ac_objext \
15973 conftest
$ac_exeext conftest.
$ac_ext
15976 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15977 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15979 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15980 cat >>confdefs.h
<<\_ACEOF
15981 #define HAVE_STRCASECMP_IN_STRING_H 1
15985 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15986 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15987 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 cat >conftest.
$ac_ext <<_ACEOF
15994 cat confdefs.h
>>conftest.
$ac_ext
15995 cat >>conftest.
$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15998 #include <strings.h>
16004 strcasecmp("foo", "bar");
16010 rm -f conftest.
$ac_objext conftest
$ac_exeext
16011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16012 (eval $ac_link) 2>conftest.er1
16014 grep -v '^ *+' conftest.er1
>conftest.err
16016 cat conftest.err
>&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } &&
16019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; } &&
16025 { ac_try
='test -s conftest$ac_exeext'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; }; then
16031 ac_cv_strings_strcasecmp
=yes
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.
$ac_ext >&5
16036 ac_cv_strings_strcasecmp
=no
16039 rm -f conftest.err conftest.
$ac_objext \
16040 conftest
$ac_exeext conftest.
$ac_ext
16043 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16044 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16046 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16047 cat >>confdefs.h
<<\_ACEOF
16048 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16052 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16053 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16054 { (exit 1); exit 1; }; }
16063 ac_cpp
='$CXXCPP $CPPFLAGS'
16064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16067 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16068 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16069 if test -z "$CXXCPP"; then
16070 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16071 echo $ECHO_N "(cached) $ECHO_C" >&6
16073 # Double quotes because CXXCPP needs to be expanded
16074 for CXXCPP
in "$CXX -E" "/lib/cpp"
16076 ac_preproc_ok
=false
16077 for ac_cxx_preproc_warn_flag
in '' yes
16079 # Use a header file that comes with gcc, so configuring glibc
16080 # with a fresh cross-compiler works.
16081 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16082 # <limits.h> exists even on freestanding compilers.
16083 # On the NeXT, cc -E runs the code through the compiler's parser,
16084 # not just through cpp. "Syntax error" is here to catch this case.
16085 cat >conftest.
$ac_ext <<_ACEOF
16088 cat confdefs.h
>>conftest.
$ac_ext
16089 cat >>conftest.
$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16092 # include <limits.h>
16094 # include <assert.h>
16098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16099 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16101 grep -v '^ *+' conftest.er1
>conftest.err
16103 cat conftest.err
>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } >/dev
/null
; then
16106 if test -s conftest.err
; then
16107 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16108 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16115 if test -z "$ac_cpp_err"; then
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.
$ac_ext >&5
16121 # Broken: fails on valid input.
16124 rm -f conftest.err conftest.
$ac_ext
16126 # OK, works on sane cases. Now check whether non-existent headers
16127 # can be detected and how.
16128 cat >conftest.
$ac_ext <<_ACEOF
16131 cat confdefs.h
>>conftest.
$ac_ext
16132 cat >>conftest.
$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16134 #include <ac_nonexistent.h>
16136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16139 grep -v '^ *+' conftest.er1
>conftest.err
16141 cat conftest.err
>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } >/dev
/null
; then
16144 if test -s conftest.err
; then
16145 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16146 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16153 if test -z "$ac_cpp_err"; then
16154 # Broken: success on invalid input.
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.
$ac_ext >&5
16160 # Passes both tests.
16164 rm -f conftest.err conftest.
$ac_ext
16167 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16168 rm -f conftest.err conftest.
$ac_ext
16169 if $ac_preproc_ok; then
16174 ac_cv_prog_CXXCPP
=$CXXCPP
16177 CXXCPP
=$ac_cv_prog_CXXCPP
16179 ac_cv_prog_CXXCPP
=$CXXCPP
16181 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16182 echo "${ECHO_T}$CXXCPP" >&6
16183 ac_preproc_ok
=false
16184 for ac_cxx_preproc_warn_flag
in '' yes
16186 # Use a header file that comes with gcc, so configuring glibc
16187 # with a fresh cross-compiler works.
16188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16189 # <limits.h> exists even on freestanding compilers.
16190 # On the NeXT, cc -E runs the code through the compiler's parser,
16191 # not just through cpp. "Syntax error" is here to catch this case.
16192 cat >conftest.
$ac_ext <<_ACEOF
16195 cat confdefs.h
>>conftest.
$ac_ext
16196 cat >>conftest.
$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16199 # include <limits.h>
16201 # include <assert.h>
16205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16208 grep -v '^ *+' conftest.er1
>conftest.err
16210 cat conftest.err
>&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); } >/dev
/null
; then
16213 if test -s conftest.err
; then
16214 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16215 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16222 if test -z "$ac_cpp_err"; then
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.
$ac_ext >&5
16228 # Broken: fails on valid input.
16231 rm -f conftest.err conftest.
$ac_ext
16233 # OK, works on sane cases. Now check whether non-existent headers
16234 # can be detected and how.
16235 cat >conftest.
$ac_ext <<_ACEOF
16238 cat confdefs.h
>>conftest.
$ac_ext
16239 cat >>conftest.
$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241 #include <ac_nonexistent.h>
16243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16246 grep -v '^ *+' conftest.er1
>conftest.err
16248 cat conftest.err
>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } >/dev
/null
; then
16251 if test -s conftest.err
; then
16252 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16253 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16260 if test -z "$ac_cpp_err"; then
16261 # Broken: success on invalid input.
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.
$ac_ext >&5
16267 # Passes both tests.
16271 rm -f conftest.err conftest.
$ac_ext
16274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16275 rm -f conftest.err conftest.
$ac_ext
16276 if $ac_preproc_ok; then
16279 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16280 See \`config.log' for more details." >&5
16281 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16282 See \`config.log' for more details." >&2;}
16283 { (exit 1); exit 1; }; }
16287 ac_cpp
='$CXXCPP $CPPFLAGS'
16288 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16289 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16290 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16293 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16294 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16295 if test "${ac_cv_header_stdc+set}" = set; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 cat >conftest.
$ac_ext <<_ACEOF
16301 cat confdefs.h
>>conftest.
$ac_ext
16302 cat >>conftest.
$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 #include <stdlib.h>
16305 #include <stdarg.h>
16306 #include <string.h>
16317 rm -f conftest.
$ac_objext
16318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16319 (eval $ac_compile) 2>conftest.er1
16321 grep -v '^ *+' conftest.er1
>conftest.err
16323 cat conftest.err
>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } &&
16326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; } &&
16332 { ac_try
='test -s conftest.$ac_objext'
16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16334 (eval $ac_try) 2>&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; }; then
16338 ac_cv_header_stdc
=yes
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.
$ac_ext >&5
16343 ac_cv_header_stdc
=no
16345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16347 if test $ac_cv_header_stdc = yes; then
16348 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16349 cat >conftest.
$ac_ext <<_ACEOF
16352 cat confdefs.h
>>conftest.
$ac_ext
16353 cat >>conftest.
$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16355 #include <string.h>
16358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16359 $EGREP "memchr" >/dev
/null
2>&1; then
16362 ac_cv_header_stdc
=no
16368 if test $ac_cv_header_stdc = yes; then
16369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16370 cat >conftest.
$ac_ext <<_ACEOF
16373 cat confdefs.h
>>conftest.
$ac_ext
16374 cat >>conftest.
$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 #include <stdlib.h>
16379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16380 $EGREP "free" >/dev
/null
2>&1; then
16383 ac_cv_header_stdc
=no
16389 if test $ac_cv_header_stdc = yes; then
16390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16391 if test "$cross_compiling" = yes; then
16394 cat >conftest.
$ac_ext <<_ACEOF
16397 cat confdefs.h
>>conftest.
$ac_ext
16398 cat >>conftest.
$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16401 #if ((' ' & 0x0FF) == 0x020)
16402 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16403 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16405 # define ISLOWER(c) \
16406 (('a' <= (c) && (c) <= 'i') \
16407 || ('j' <= (c) && (c) <= 'r') \
16408 || ('s' <= (c) && (c) <= 'z'))
16409 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16412 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16417 for (i = 0; i < 256; i++)
16418 if (XOR (islower (i), ISLOWER (i))
16419 || toupper (i) != TOUPPER (i))
16424 rm -f conftest
$ac_exeext
16425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16426 (eval $ac_link) 2>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; }; then
16437 echo "$as_me: program exited with status $ac_status" >&5
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.
$ac_ext >&5
16441 ( exit $ac_status )
16442 ac_cv_header_stdc
=no
16444 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16448 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16449 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16450 if test $ac_cv_header_stdc = yes; then
16452 cat >>confdefs.h
<<\_ACEOF
16453 #define STDC_HEADERS 1
16458 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16468 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16469 inttypes.h stdint.h unistd.h
16471 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16472 echo "$as_me:$LINENO: checking for $ac_header" >&5
16473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 cat >conftest.
$ac_ext <<_ACEOF
16480 cat confdefs.h
>>conftest.
$ac_ext
16481 cat >>conftest.
$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16483 $ac_includes_default
16485 #include <$ac_header>
16487 rm -f conftest.
$ac_objext
16488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16489 (eval $ac_compile) 2>conftest.er1
16491 grep -v '^ *+' conftest.er1
>conftest.err
16493 cat conftest.err
>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); } &&
16496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; } &&
16502 { ac_try
='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16508 eval "$as_ac_Header=yes"
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.
$ac_ext >&5
16513 eval "$as_ac_Header=no"
16515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16520 cat >>confdefs.h
<<_ACEOF
16521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16530 for ac_header
in stdlib.h
16532 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16534 echo "$as_me:$LINENO: checking for $ac_header" >&5
16535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16542 # Is the header compilable?
16543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16545 cat >conftest.
$ac_ext <<_ACEOF
16548 cat confdefs.h
>>conftest.
$ac_ext
16549 cat >>conftest.
$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 $ac_includes_default
16552 #include <$ac_header>
16554 rm -f conftest.
$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>conftest.er1
16558 grep -v '^ *+' conftest.er1
>conftest.err
16560 cat conftest.err
>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } &&
16563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; } &&
16569 { ac_try
='test -s conftest.$ac_objext'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16575 ac_header_compiler
=yes
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.
$ac_ext >&5
16580 ac_header_compiler
=no
16582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16584 echo "${ECHO_T}$ac_header_compiler" >&6
16586 # Is the header present?
16587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16589 cat >conftest.
$ac_ext <<_ACEOF
16592 cat confdefs.h
>>conftest.
$ac_ext
16593 cat >>conftest.
$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 #include <$ac_header>
16597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16598 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16600 grep -v '^ *+' conftest.er1
>conftest.err
16602 cat conftest.err
>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } >/dev
/null
; then
16605 if test -s conftest.err
; then
16606 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16607 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16614 if test -z "$ac_cpp_err"; then
16615 ac_header_preproc
=yes
16617 echo "$as_me: failed program was:" >&5
16618 sed 's/^/| /' conftest.
$ac_ext >&5
16620 ac_header_preproc
=no
16622 rm -f conftest.err conftest.
$ac_ext
16623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16624 echo "${ECHO_T}$ac_header_preproc" >&6
16626 # So? What about this header?
16627 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16632 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16633 ac_header_preproc
=yes
16636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16640 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16641 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16642 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16643 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16646 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16647 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16650 ## ----------------------------------------- ##
16651 ## Report this to wx-dev@lists.wxwidgets.org ##
16652 ## ----------------------------------------- ##
16655 sed "s/^/$as_me: WARNING: /" >&2
16658 echo "$as_me:$LINENO: checking for $ac_header" >&5
16659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 eval "$as_ac_Header=\$ac_header_preproc"
16665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16670 cat >>confdefs.h
<<_ACEOF
16671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16679 for ac_header
in malloc.h
16681 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16683 echo "$as_me:$LINENO: checking for $ac_header" >&5
16684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16691 # Is the header compilable?
16692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16694 cat >conftest.
$ac_ext <<_ACEOF
16697 cat confdefs.h
>>conftest.
$ac_ext
16698 cat >>conftest.
$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 $ac_includes_default
16701 #include <$ac_header>
16703 rm -f conftest.
$ac_objext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16705 (eval $ac_compile) 2>conftest.er1
16707 grep -v '^ *+' conftest.er1
>conftest.err
16709 cat conftest.err
>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } &&
16712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } &&
16718 { ac_try
='test -s conftest.$ac_objext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16724 ac_header_compiler
=yes
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.
$ac_ext >&5
16729 ac_header_compiler
=no
16731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16733 echo "${ECHO_T}$ac_header_compiler" >&6
16735 # Is the header present?
16736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16738 cat >conftest.
$ac_ext <<_ACEOF
16741 cat confdefs.h
>>conftest.
$ac_ext
16742 cat >>conftest.
$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 #include <$ac_header>
16746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16749 grep -v '^ *+' conftest.er1
>conftest.err
16751 cat conftest.err
>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } >/dev
/null
; then
16754 if test -s conftest.err
; then
16755 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16756 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16763 if test -z "$ac_cpp_err"; then
16764 ac_header_preproc
=yes
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.
$ac_ext >&5
16769 ac_header_preproc
=no
16771 rm -f conftest.err conftest.
$ac_ext
16772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16773 echo "${ECHO_T}$ac_header_preproc" >&6
16775 # So? What about this header?
16776 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16782 ac_header_preproc
=yes
16785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16799 ## ----------------------------------------- ##
16800 ## Report this to wx-dev@lists.wxwidgets.org ##
16801 ## ----------------------------------------- ##
16804 sed "s/^/$as_me: WARNING: /" >&2
16807 echo "$as_me:$LINENO: checking for $ac_header" >&5
16808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 eval "$as_ac_Header=\$ac_header_preproc"
16814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16819 cat >>confdefs.h
<<_ACEOF
16820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16828 for ac_header
in unistd.h
16830 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16832 echo "$as_me:$LINENO: checking for $ac_header" >&5
16833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16840 # Is the header compilable?
16841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16843 cat >conftest.
$ac_ext <<_ACEOF
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 $ac_includes_default
16850 #include <$ac_header>
16852 rm -f conftest.
$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>conftest.er1
16856 grep -v '^ *+' conftest.er1
>conftest.err
16858 cat conftest.err
>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; } &&
16867 { ac_try
='test -s conftest.$ac_objext'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; }; then
16873 ac_header_compiler
=yes
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.
$ac_ext >&5
16878 ac_header_compiler
=no
16880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16882 echo "${ECHO_T}$ac_header_compiler" >&6
16884 # Is the header present?
16885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16887 cat >conftest.
$ac_ext <<_ACEOF
16890 cat confdefs.h
>>conftest.
$ac_ext
16891 cat >>conftest.
$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 #include <$ac_header>
16895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16896 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16898 grep -v '^ *+' conftest.er1
>conftest.err
16900 cat conftest.err
>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } >/dev
/null
; then
16903 if test -s conftest.err
; then
16904 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16905 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16912 if test -z "$ac_cpp_err"; then
16913 ac_header_preproc
=yes
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.
$ac_ext >&5
16918 ac_header_preproc
=no
16920 rm -f conftest.err conftest.
$ac_ext
16921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16922 echo "${ECHO_T}$ac_header_preproc" >&6
16924 # So? What about this header?
16925 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16930 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16931 ac_header_preproc
=yes
16934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16938 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16939 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16940 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16941 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16944 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16945 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16948 ## ----------------------------------------- ##
16949 ## Report this to wx-dev@lists.wxwidgets.org ##
16950 ## ----------------------------------------- ##
16953 sed "s/^/$as_me: WARNING: /" >&2
16956 echo "$as_me:$LINENO: checking for $ac_header" >&5
16957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 eval "$as_ac_Header=\$ac_header_preproc"
16963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16968 cat >>confdefs.h
<<_ACEOF
16969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16977 for ac_header
in wchar.h
16979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16981 echo "$as_me:$LINENO: checking for $ac_header" >&5
16982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16989 # Is the header compilable?
16990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16992 cat >conftest.
$ac_ext <<_ACEOF
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998 $ac_includes_default
16999 #include <$ac_header>
17001 rm -f conftest.
$ac_objext
17002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17003 (eval $ac_compile) 2>conftest.er1
17005 grep -v '^ *+' conftest.er1
>conftest.err
17007 cat conftest.err
>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; } &&
17016 { ac_try
='test -s conftest.$ac_objext'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; }; then
17022 ac_header_compiler
=yes
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.
$ac_ext >&5
17027 ac_header_compiler
=no
17029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17031 echo "${ECHO_T}$ac_header_compiler" >&6
17033 # Is the header present?
17034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17036 cat >conftest.
$ac_ext <<_ACEOF
17039 cat confdefs.h
>>conftest.
$ac_ext
17040 cat >>conftest.
$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 #include <$ac_header>
17044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17047 grep -v '^ *+' conftest.er1
>conftest.err
17049 cat conftest.err
>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } >/dev
/null
; then
17052 if test -s conftest.err
; then
17053 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17054 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17061 if test -z "$ac_cpp_err"; then
17062 ac_header_preproc
=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 ac_header_preproc
=no
17069 rm -f conftest.err conftest.
$ac_ext
17070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17071 echo "${ECHO_T}$ac_header_preproc" >&6
17073 # So? What about this header?
17074 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17080 ac_header_preproc
=yes
17083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17097 ## ----------------------------------------- ##
17098 ## Report this to wx-dev@lists.wxwidgets.org ##
17099 ## ----------------------------------------- ##
17102 sed "s/^/$as_me: WARNING: /" >&2
17105 echo "$as_me:$LINENO: checking for $ac_header" >&5
17106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17110 eval "$as_ac_Header=\$ac_header_preproc"
17112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17117 cat >>confdefs.h
<<_ACEOF
17118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17126 if test "$ac_cv_header_wchar_h" != "yes"; then
17128 for ac_header
in wcstr.h
17130 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17132 echo "$as_me:$LINENO: checking for $ac_header" >&5
17133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17140 # Is the header compilable?
17141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17143 cat >conftest.
$ac_ext <<_ACEOF
17146 cat confdefs.h
>>conftest.
$ac_ext
17147 cat >>conftest.
$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 $ac_includes_default
17150 #include <$ac_header>
17152 rm -f conftest.
$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17156 grep -v '^ *+' conftest.er1
>conftest.err
17158 cat conftest.err
>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; } &&
17167 { ac_try
='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_header_compiler
=yes
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.
$ac_ext >&5
17178 ac_header_compiler
=no
17180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17182 echo "${ECHO_T}$ac_header_compiler" >&6
17184 # Is the header present?
17185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17187 cat >conftest.
$ac_ext <<_ACEOF
17190 cat confdefs.h
>>conftest.
$ac_ext
17191 cat >>conftest.
$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 #include <$ac_header>
17195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17198 grep -v '^ *+' conftest.er1
>conftest.err
17200 cat conftest.err
>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } >/dev
/null
; then
17203 if test -s conftest.err
; then
17204 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17205 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17212 if test -z "$ac_cpp_err"; then
17213 ac_header_preproc
=yes
17215 echo "$as_me: failed program was:" >&5
17216 sed 's/^/| /' conftest.
$ac_ext >&5
17218 ac_header_preproc
=no
17220 rm -f conftest.err conftest.
$ac_ext
17221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17222 echo "${ECHO_T}$ac_header_preproc" >&6
17224 # So? What about this header?
17225 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17231 ac_header_preproc
=yes
17234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17248 ## ----------------------------------------- ##
17249 ## Report this to wx-dev@lists.wxwidgets.org ##
17250 ## ----------------------------------------- ##
17253 sed "s/^/$as_me: WARNING: /" >&2
17256 echo "$as_me:$LINENO: checking for $ac_header" >&5
17257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17261 eval "$as_ac_Header=\$ac_header_preproc"
17263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17268 cat >>confdefs.h
<<_ACEOF
17269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17279 for ac_header
in fnmatch.h
17281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17283 echo "$as_me:$LINENO: checking for $ac_header" >&5
17284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17291 # Is the header compilable?
17292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17301 #include <$ac_header>
17303 rm -f conftest.
$ac_objext
17304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17305 (eval $ac_compile) 2>conftest.er1
17307 grep -v '^ *+' conftest.er1
>conftest.err
17309 cat conftest.err
>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } &&
17312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; } &&
17318 { ac_try
='test -s conftest.$ac_objext'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; }; then
17324 ac_header_compiler
=yes
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.
$ac_ext >&5
17329 ac_header_compiler
=no
17331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17333 echo "${ECHO_T}$ac_header_compiler" >&6
17335 # Is the header present?
17336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17338 cat >conftest.
$ac_ext <<_ACEOF
17341 cat confdefs.h
>>conftest.
$ac_ext
17342 cat >>conftest.
$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 #include <$ac_header>
17346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17349 grep -v '^ *+' conftest.er1
>conftest.err
17351 cat conftest.err
>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } >/dev
/null
; then
17354 if test -s conftest.err
; then
17355 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17356 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17363 if test -z "$ac_cpp_err"; then
17364 ac_header_preproc
=yes
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.
$ac_ext >&5
17369 ac_header_preproc
=no
17371 rm -f conftest.err conftest.
$ac_ext
17372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17373 echo "${ECHO_T}$ac_header_preproc" >&6
17375 # So? What about this header?
17376 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17382 ac_header_preproc
=yes
17385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17399 ## ----------------------------------------- ##
17400 ## Report this to wx-dev@lists.wxwidgets.org ##
17401 ## ----------------------------------------- ##
17404 sed "s/^/$as_me: WARNING: /" >&2
17407 echo "$as_me:$LINENO: checking for $ac_header" >&5
17408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 eval "$as_ac_Header=\$ac_header_preproc"
17414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17419 cat >>confdefs.h
<<_ACEOF
17420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17429 for ac_header
in langinfo.h
17431 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17433 echo "$as_me:$LINENO: checking for $ac_header" >&5
17434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17436 echo $ECHO_N "(cached) $ECHO_C" >&6
17438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17441 # Is the header compilable?
17442 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17443 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17444 cat >conftest.
$ac_ext <<_ACEOF
17447 cat confdefs.h
>>conftest.
$ac_ext
17448 cat >>conftest.
$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17451 #include <$ac_header>
17453 rm -f conftest.
$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>conftest.er1
17457 grep -v '^ *+' conftest.er1
>conftest.err
17459 cat conftest.err
>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try
='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_header_compiler
=yes
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.
$ac_ext >&5
17479 ac_header_compiler
=no
17481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17483 echo "${ECHO_T}$ac_header_compiler" >&6
17485 # Is the header present?
17486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17488 cat >conftest.
$ac_ext <<_ACEOF
17491 cat confdefs.h
>>conftest.
$ac_ext
17492 cat >>conftest.
$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 #include <$ac_header>
17496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17497 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17499 grep -v '^ *+' conftest.er1
>conftest.err
17501 cat conftest.err
>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } >/dev
/null
; then
17504 if test -s conftest.err
; then
17505 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17506 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17513 if test -z "$ac_cpp_err"; then
17514 ac_header_preproc
=yes
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 ac_header_preproc
=no
17521 rm -f conftest.err conftest.
$ac_ext
17522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17523 echo "${ECHO_T}$ac_header_preproc" >&6
17525 # So? What about this header?
17526 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17532 ac_header_preproc
=yes
17535 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17537 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17538 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17539 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17541 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17542 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17545 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17549 ## ----------------------------------------- ##
17550 ## Report this to wx-dev@lists.wxwidgets.org ##
17551 ## ----------------------------------------- ##
17554 sed "s/^/$as_me: WARNING: /" >&2
17557 echo "$as_me:$LINENO: checking for $ac_header" >&5
17558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17560 echo $ECHO_N "(cached) $ECHO_C" >&6
17562 eval "$as_ac_Header=\$ac_header_preproc"
17564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17569 cat >>confdefs.h
<<_ACEOF
17570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17579 *-pc-os2_emx | *-pc-os2-emx )
17580 if test $ac_cv_header_langinfo_h = "yes" \
17581 -a \
( "$wx_cv_gccversion" = "EMX2" \
17582 -o "$wx_cv_gccversion" = "EMX3" \
17583 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17584 LIBS
="$LIBS -lintl"
17589 if test "$USE_UNIX" = 1 ; then
17591 for ac_header
in sys
/select.h
17593 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17595 echo "$as_me:$LINENO: checking for $ac_header" >&5
17596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17598 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17603 # Is the header compilable?
17604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17606 cat >conftest.
$ac_ext <<_ACEOF
17609 cat confdefs.h
>>conftest.
$ac_ext
17610 cat >>conftest.
$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 $ac_includes_default
17613 #include <$ac_header>
17615 rm -f conftest.
$ac_objext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17617 (eval $ac_compile) 2>conftest.er1
17619 grep -v '^ *+' conftest.er1
>conftest.err
17621 cat conftest.err
>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try
='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 ac_header_compiler
=yes
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.
$ac_ext >&5
17641 ac_header_compiler
=no
17643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17645 echo "${ECHO_T}$ac_header_compiler" >&6
17647 # Is the header present?
17648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17650 cat >conftest.
$ac_ext <<_ACEOF
17653 cat confdefs.h
>>conftest.
$ac_ext
17654 cat >>conftest.
$ac_ext <<_ACEOF
17655 /* end confdefs.h. */
17656 #include <$ac_header>
17658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17659 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } >/dev
/null
; then
17666 if test -s conftest.err
; then
17667 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17668 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17675 if test -z "$ac_cpp_err"; then
17676 ac_header_preproc
=yes
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.
$ac_ext >&5
17681 ac_header_preproc
=no
17683 rm -f conftest.err conftest.
$ac_ext
17684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17685 echo "${ECHO_T}$ac_header_preproc" >&6
17687 # So? What about this header?
17688 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17694 ac_header_preproc
=yes
17697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17711 ## ----------------------------------------- ##
17712 ## Report this to wx-dev@lists.wxwidgets.org ##
17713 ## ----------------------------------------- ##
17716 sed "s/^/$as_me: WARNING: /" >&2
17719 echo "$as_me:$LINENO: checking for $ac_header" >&5
17720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 eval "$as_ac_Header=\$ac_header_preproc"
17726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17731 cat >>confdefs.h
<<_ACEOF
17732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17742 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17743 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17744 if test "${ac_cv_c_const+set}" = set; then
17745 echo $ECHO_N "(cached) $ECHO_C" >&6
17747 cat >conftest.
$ac_ext <<_ACEOF
17750 cat confdefs.h
>>conftest.
$ac_ext
17751 cat >>conftest.
$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17757 /* FIXME: Include the comments suggested by Paul. */
17758 #ifndef __cplusplus
17759 /* Ultrix mips cc rejects this. */
17760 typedef int charset[2];
17762 /* SunOS 4.1.1 cc rejects this. */
17763 char const *const *ccp;
17765 /* NEC SVR4.0.2 mips cc rejects this. */
17766 struct point {int x, y;};
17767 static struct point const zero = {0,0};
17768 /* AIX XL C 1.02.0.0 rejects this.
17769 It does not let you subtract one const X* pointer from another in
17770 an arm of an if-expression whose if-part is not a constant
17772 const char *g = "string";
17773 ccp = &g + (g ? g-g : 0);
17774 /* HPUX 7.0 cc rejects these. */
17777 ccp = (char const *const *) p;
17778 { /* SCO 3.2v4 cc rejects this. */
17780 char const *s = 0 ? (char *) 0 : (char const *) 0;
17784 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17785 int x[] = {25, 17};
17786 const int *foo = &x[0];
17789 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17790 typedef const int *iptr;
17794 { /* AIX XL C 1.02.0.0 rejects this saying
17795 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17796 struct s { int j; const int *ap[3]; };
17797 struct s *b; b->j = 5;
17799 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17800 const int foo = 10;
17808 rm -f conftest.
$ac_objext
17809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17810 (eval $ac_compile) 2>conftest.er1
17812 grep -v '^ *+' conftest.er1
>conftest.err
17814 cat conftest.err
>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } &&
17817 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try
='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17838 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17839 echo "${ECHO_T}$ac_cv_c_const" >&6
17840 if test $ac_cv_c_const = no
; then
17842 cat >>confdefs.h
<<\_ACEOF
17848 echo "$as_me:$LINENO: checking for inline" >&5
17849 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17850 if test "${ac_cv_c_inline+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17854 for ac_kw
in inline __inline__ __inline
; do
17855 cat >conftest.
$ac_ext <<_ACEOF
17858 cat confdefs.h
>>conftest.
$ac_ext
17859 cat >>conftest.
$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861 #ifndef __cplusplus
17863 static $ac_kw foo_t static_foo () {return 0; }
17864 $ac_kw foo_t foo () {return 0; }
17868 rm -f conftest.
$ac_objext
17869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17870 (eval $ac_compile) 2>conftest.er1
17872 grep -v '^ *+' conftest.er1
>conftest.err
17874 cat conftest.err
>&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } &&
17877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17879 (eval $ac_try) 2>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); }; } &&
17883 { ac_try
='test -s conftest.$ac_objext'
17884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17885 (eval $ac_try) 2>&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); }; }; then
17889 ac_cv_c_inline
=$ac_kw; break
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.
$ac_ext >&5
17895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17899 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17900 echo "${ECHO_T}$ac_cv_c_inline" >&6
17903 case $ac_cv_c_inline in
17906 case $ac_cv_c_inline in
17908 *) ac_val
=$ac_cv_c_inline;;
17910 cat >>confdefs.h
<<_ACEOF
17911 #ifndef __cplusplus
17912 #define inline $ac_val
17919 echo "$as_me:$LINENO: checking for char" >&5
17920 echo $ECHO_N "checking for char... $ECHO_C" >&6
17921 if test "${ac_cv_type_char+set}" = set; then
17922 echo $ECHO_N "(cached) $ECHO_C" >&6
17924 cat >conftest.
$ac_ext <<_ACEOF
17927 cat confdefs.h
>>conftest.
$ac_ext
17928 cat >>conftest.
$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 $ac_includes_default
17942 rm -f conftest.
$ac_objext
17943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17944 (eval $ac_compile) 2>conftest.er1
17946 grep -v '^ *+' conftest.er1
>conftest.err
17948 cat conftest.err
>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } &&
17951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try
='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 ac_cv_type_char
=yes
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.
$ac_ext >&5
17970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17972 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17973 echo "${ECHO_T}$ac_cv_type_char" >&6
17975 echo "$as_me:$LINENO: checking size of char" >&5
17976 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17977 if test "${ac_cv_sizeof_char+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 if test "$ac_cv_type_char" = yes; then
17981 # The cast to unsigned long works around a bug in the HP C Compiler
17982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17984 # This bug is HP SR number 8606223364.
17985 if test "$cross_compiling" = yes; then
17986 # Depending upon the size, compute the lo and hi bounds.
17987 cat >conftest.
$ac_ext <<_ACEOF
17990 cat confdefs.h
>>conftest.
$ac_ext
17991 cat >>conftest.
$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 $ac_includes_default
17997 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18004 rm -f conftest.
$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>conftest.er1
18008 grep -v '^ *+' conftest.er1
>conftest.err
18010 cat conftest.err
>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } &&
18013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; } &&
18019 { ac_try
='test -s conftest.$ac_objext'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18027 cat >conftest.
$ac_ext <<_ACEOF
18030 cat confdefs.h
>>conftest.
$ac_ext
18031 cat >>conftest.
$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18037 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18044 rm -f conftest.
$ac_objext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18046 (eval $ac_compile) 2>conftest.er1
18048 grep -v '^ *+' conftest.er1
>conftest.err
18050 cat conftest.err
>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; } &&
18059 { ac_try
='test -s conftest.$ac_objext'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 ac_hi
=$ac_mid; break
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.
$ac_ext >&5
18070 ac_lo
=`expr $ac_mid + 1`
18071 if test $ac_lo -le $ac_mid; then
18075 ac_mid
=`expr 2 '*' $ac_mid + 1`
18077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18080 echo "$as_me: failed program was:" >&5
18081 sed 's/^/| /' conftest.
$ac_ext >&5
18083 cat >conftest.
$ac_ext <<_ACEOF
18086 cat confdefs.h
>>conftest.
$ac_ext
18087 cat >>conftest.
$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 $ac_includes_default
18093 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18100 rm -f conftest.
$ac_objext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18102 (eval $ac_compile) 2>conftest.er1
18104 grep -v '^ *+' conftest.er1
>conftest.err
18106 cat conftest.err
>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } &&
18109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; } &&
18115 { ac_try
='test -s conftest.$ac_objext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18123 cat >conftest.
$ac_ext <<_ACEOF
18126 cat confdefs.h
>>conftest.
$ac_ext
18127 cat >>conftest.
$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18129 $ac_includes_default
18133 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18140 rm -f conftest.
$ac_objext
18141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18142 (eval $ac_compile) 2>conftest.er1
18144 grep -v '^ *+' conftest.er1
>conftest.err
18146 cat conftest.err
>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } &&
18149 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; } &&
18155 { ac_try
='test -s conftest.$ac_objext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 ac_lo
=$ac_mid; break
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.
$ac_ext >&5
18166 ac_hi
=`expr '(' $ac_mid ')' - 1`
18167 if test $ac_mid -le $ac_hi; then
18171 ac_mid
=`expr 2 '*' $ac_mid`
18173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.
$ac_ext >&5
18181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18184 # Binary search between lo and hi bounds.
18185 while test "x$ac_lo" != "x$ac_hi"; do
18186 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18187 cat >conftest.
$ac_ext <<_ACEOF
18190 cat confdefs.h
>>conftest.
$ac_ext
18191 cat >>conftest.
$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18193 $ac_includes_default
18197 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18204 rm -f conftest.
$ac_objext
18205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18206 (eval $ac_compile) 2>conftest.er1
18208 grep -v '^ *+' conftest.er1
>conftest.err
18210 cat conftest.err
>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } &&
18213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; } &&
18219 { ac_try
='test -s conftest.$ac_objext'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; }; then
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.
$ac_ext >&5
18230 ac_lo
=`expr '(' $ac_mid ')' + 1`
18232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18235 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18236 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18237 See \`config.log' for more details." >&5
18238 echo "$as_me: error: cannot compute sizeof (char), 77
18239 See \`config.log' for more details." >&2;}
18240 { (exit 1); exit 1; }; } ;;
18243 if test "$cross_compiling" = yes; then
18244 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18245 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18246 { (exit 1); exit 1; }; }
18248 cat >conftest.
$ac_ext <<_ACEOF
18251 cat confdefs.h
>>conftest.
$ac_ext
18252 cat >>conftest.
$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 $ac_includes_default
18255 long longval () { return (long) (sizeof (char)); }
18256 unsigned long ulongval () { return (long) (sizeof (char)); }
18258 #include <stdlib.h>
18263 FILE *f = fopen ("conftest.val", "w");
18266 if (((long) (sizeof (char))) < 0)
18268 long i = longval ();
18269 if (i != ((long) (sizeof (char))))
18271 fprintf (f, "%ld\n", i);
18275 unsigned long i = ulongval ();
18276 if (i != ((long) (sizeof (char))))
18278 fprintf (f, "%lu\n", i);
18280 exit (ferror (f) || fclose (f) != 0);
18286 rm -f conftest
$ac_exeext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18288 (eval $ac_link) 2>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 ac_cv_sizeof_char
=`cat conftest.val`
18299 echo "$as_me: program exited with status $ac_status" >&5
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.
$ac_ext >&5
18303 ( exit $ac_status )
18304 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18305 See \`config.log' for more details." >&5
18306 echo "$as_me: error: cannot compute sizeof (char), 77
18307 See \`config.log' for more details." >&2;}
18308 { (exit 1); exit 1; }; }
18310 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18315 ac_cv_sizeof_char
=0
18318 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18319 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18320 cat >>confdefs.h
<<_ACEOF
18321 #define SIZEOF_CHAR $ac_cv_sizeof_char
18325 echo "$as_me:$LINENO: checking for short" >&5
18326 echo $ECHO_N "checking for short... $ECHO_C" >&6
18327 if test "${ac_cv_type_short+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 cat >conftest.
$ac_ext <<_ACEOF
18333 cat confdefs.h
>>conftest.
$ac_ext
18334 cat >>conftest.
$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336 $ac_includes_default
18342 if (sizeof (short))
18348 rm -f conftest.
$ac_objext
18349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18350 (eval $ac_compile) 2>conftest.er1
18352 grep -v '^ *+' conftest.er1
>conftest.err
18354 cat conftest.err
>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } &&
18357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; } &&
18363 { ac_try
='test -s conftest.$ac_objext'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; }; then
18369 ac_cv_type_short
=yes
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.
$ac_ext >&5
18374 ac_cv_type_short
=no
18376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18378 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18379 echo "${ECHO_T}$ac_cv_type_short" >&6
18381 echo "$as_me:$LINENO: checking size of short" >&5
18382 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18383 if test "${ac_cv_sizeof_short+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 if test "$ac_cv_type_short" = yes; then
18387 # The cast to unsigned long works around a bug in the HP C Compiler
18388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18390 # This bug is HP SR number 8606223364.
18391 if test "$cross_compiling" = yes; then
18392 # Depending upon the size, compute the lo and hi bounds.
18393 cat >conftest.
$ac_ext <<_ACEOF
18396 cat confdefs.h
>>conftest.
$ac_ext
18397 cat >>conftest.
$ac_ext <<_ACEOF
18398 /* end confdefs.h. */
18399 $ac_includes_default
18403 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18410 rm -f conftest.
$ac_objext
18411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18412 (eval $ac_compile) 2>conftest.er1
18414 grep -v '^ *+' conftest.er1
>conftest.err
18416 cat conftest.err
>&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; } &&
18425 { ac_try
='test -s conftest.$ac_objext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18433 cat >conftest.
$ac_ext <<_ACEOF
18436 cat confdefs.h
>>conftest.
$ac_ext
18437 cat >>conftest.
$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 $ac_includes_default
18443 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18450 rm -f conftest.
$ac_objext
18451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18452 (eval $ac_compile) 2>conftest.er1
18454 grep -v '^ *+' conftest.er1
>conftest.err
18456 cat conftest.err
>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } &&
18459 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18461 (eval $ac_try) 2>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; } &&
18465 { ac_try
='test -s conftest.$ac_objext'
18466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18467 (eval $ac_try) 2>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); }; }; then
18471 ac_hi
=$ac_mid; break
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.
$ac_ext >&5
18476 ac_lo
=`expr $ac_mid + 1`
18477 if test $ac_lo -le $ac_mid; then
18481 ac_mid
=`expr 2 '*' $ac_mid + 1`
18483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.
$ac_ext >&5
18489 cat >conftest.
$ac_ext <<_ACEOF
18492 cat confdefs.h
>>conftest.
$ac_ext
18493 cat >>conftest.
$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18495 $ac_includes_default
18499 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18506 rm -f conftest.
$ac_objext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18508 (eval $ac_compile) 2>conftest.er1
18510 grep -v '^ *+' conftest.er1
>conftest.err
18512 cat conftest.err
>&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } &&
18515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; } &&
18521 { ac_try
='test -s conftest.$ac_objext'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; }; then
18529 cat >conftest.
$ac_ext <<_ACEOF
18532 cat confdefs.h
>>conftest.
$ac_ext
18533 cat >>conftest.
$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 $ac_includes_default
18539 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18546 rm -f conftest.
$ac_objext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18548 (eval $ac_compile) 2>conftest.er1
18550 grep -v '^ *+' conftest.er1
>conftest.err
18552 cat conftest.err
>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } &&
18555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; } &&
18561 { ac_try
='test -s conftest.$ac_objext'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; }; then
18567 ac_lo
=$ac_mid; break
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.
$ac_ext >&5
18572 ac_hi
=`expr '(' $ac_mid ')' - 1`
18573 if test $ac_mid -le $ac_hi; then
18577 ac_mid
=`expr 2 '*' $ac_mid`
18579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18590 # Binary search between lo and hi bounds.
18591 while test "x$ac_lo" != "x$ac_hi"; do
18592 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18593 cat >conftest.
$ac_ext <<_ACEOF
18596 cat confdefs.h
>>conftest.
$ac_ext
18597 cat >>conftest.
$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 $ac_includes_default
18603 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18610 rm -f conftest.
$ac_objext
18611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18612 (eval $ac_compile) 2>conftest.er1
18614 grep -v '^ *+' conftest.er1
>conftest.err
18616 cat conftest.err
>&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } &&
18619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try
='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.
$ac_ext >&5
18636 ac_lo
=`expr '(' $ac_mid ')' + 1`
18638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18641 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18642 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18643 See \`config.log' for more details." >&5
18644 echo "$as_me: error: cannot compute sizeof (short), 77
18645 See \`config.log' for more details." >&2;}
18646 { (exit 1); exit 1; }; } ;;
18649 if test "$cross_compiling" = yes; then
18650 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18651 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18652 { (exit 1); exit 1; }; }
18654 cat >conftest.
$ac_ext <<_ACEOF
18657 cat confdefs.h
>>conftest.
$ac_ext
18658 cat >>conftest.
$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18661 long longval () { return (long) (sizeof (short)); }
18662 unsigned long ulongval () { return (long) (sizeof (short)); }
18664 #include <stdlib.h>
18669 FILE *f = fopen ("conftest.val", "w");
18672 if (((long) (sizeof (short))) < 0)
18674 long i = longval ();
18675 if (i != ((long) (sizeof (short))))
18677 fprintf (f, "%ld\n", i);
18681 unsigned long i = ulongval ();
18682 if (i != ((long) (sizeof (short))))
18684 fprintf (f, "%lu\n", i);
18686 exit (ferror (f) || fclose (f) != 0);
18692 rm -f conftest
$ac_exeext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18694 (eval $ac_link) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; }; then
18703 ac_cv_sizeof_short
=`cat conftest.val`
18705 echo "$as_me: program exited with status $ac_status" >&5
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 ( exit $ac_status )
18710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18711 See \`config.log' for more details." >&5
18712 echo "$as_me: error: cannot compute sizeof (short), 77
18713 See \`config.log' for more details." >&2;}
18714 { (exit 1); exit 1; }; }
18716 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18721 ac_cv_sizeof_short
=0
18724 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18725 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18726 cat >>confdefs.h
<<_ACEOF
18727 #define SIZEOF_SHORT $ac_cv_sizeof_short
18731 echo "$as_me:$LINENO: checking for void *" >&5
18732 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18733 if test "${ac_cv_type_void_p+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 cat >conftest.
$ac_ext <<_ACEOF
18739 cat confdefs.h
>>conftest.
$ac_ext
18740 cat >>conftest.
$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 $ac_includes_default
18748 if (sizeof (void *))
18754 rm -f conftest.
$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756 (eval $ac_compile) 2>conftest.er1
18758 grep -v '^ *+' conftest.er1
>conftest.err
18760 cat conftest.err
>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try
='test -s conftest.$ac_objext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_cv_type_void_p
=yes
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.
$ac_ext >&5
18780 ac_cv_type_void_p
=no
18782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18784 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18785 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18787 echo "$as_me:$LINENO: checking size of void *" >&5
18788 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18789 if test "${ac_cv_sizeof_void_p+set}" = set; then
18790 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 if test "$ac_cv_type_void_p" = yes; then
18793 # The cast to unsigned long works around a bug in the HP C Compiler
18794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18796 # This bug is HP SR number 8606223364.
18797 if test "$cross_compiling" = yes; then
18798 # Depending upon the size, compute the lo and hi bounds.
18799 cat >conftest.
$ac_ext <<_ACEOF
18802 cat confdefs.h
>>conftest.
$ac_ext
18803 cat >>conftest.
$ac_ext <<_ACEOF
18804 /* end confdefs.h. */
18805 $ac_includes_default
18809 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18816 rm -f conftest.
$ac_objext
18817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18818 (eval $ac_compile) 2>conftest.er1
18820 grep -v '^ *+' conftest.er1
>conftest.err
18822 cat conftest.err
>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } &&
18825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18827 (eval $ac_try) 2>&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); }; } &&
18831 { ac_try
='test -s conftest.$ac_objext'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; }; then
18839 cat >conftest.
$ac_ext <<_ACEOF
18842 cat confdefs.h
>>conftest.
$ac_ext
18843 cat >>conftest.
$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 $ac_includes_default
18849 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18856 rm -f conftest.
$ac_objext
18857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18858 (eval $ac_compile) 2>conftest.er1
18860 grep -v '^ *+' conftest.er1
>conftest.err
18862 cat conftest.err
>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } &&
18865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; } &&
18871 { ac_try
='test -s conftest.$ac_objext'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; }; then
18877 ac_hi
=$ac_mid; break
18879 echo "$as_me: failed program was:" >&5
18880 sed 's/^/| /' conftest.
$ac_ext >&5
18882 ac_lo
=`expr $ac_mid + 1`
18883 if test $ac_lo -le $ac_mid; then
18887 ac_mid
=`expr 2 '*' $ac_mid + 1`
18889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18892 echo "$as_me: failed program was:" >&5
18893 sed 's/^/| /' conftest.
$ac_ext >&5
18895 cat >conftest.
$ac_ext <<_ACEOF
18898 cat confdefs.h
>>conftest.
$ac_ext
18899 cat >>conftest.
$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901 $ac_includes_default
18905 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18912 rm -f conftest.
$ac_objext
18913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18914 (eval $ac_compile) 2>conftest.er1
18916 grep -v '^ *+' conftest.er1
>conftest.err
18918 cat conftest.err
>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); } &&
18921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; } &&
18927 { ac_try
='test -s conftest.$ac_objext'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; }; then
18935 cat >conftest.
$ac_ext <<_ACEOF
18938 cat confdefs.h
>>conftest.
$ac_ext
18939 cat >>conftest.
$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18945 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18952 rm -f conftest.
$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18956 grep -v '^ *+' conftest.er1
>conftest.err
18958 cat conftest.err
>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try
='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_lo
=$ac_mid; break
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.
$ac_ext >&5
18978 ac_hi
=`expr '(' $ac_mid ')' - 1`
18979 if test $ac_mid -le $ac_hi; then
18983 ac_mid
=`expr 2 '*' $ac_mid`
18985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.
$ac_ext >&5
18993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18996 # Binary search between lo and hi bounds.
18997 while test "x$ac_lo" != "x$ac_hi"; do
18998 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18999 cat >conftest.
$ac_ext <<_ACEOF
19002 cat confdefs.h
>>conftest.
$ac_ext
19003 cat >>conftest.
$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005 $ac_includes_default
19009 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19016 rm -f conftest.
$ac_objext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19018 (eval $ac_compile) 2>conftest.er1
19020 grep -v '^ *+' conftest.er1
>conftest.err
19022 cat conftest.err
>&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } &&
19025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027 (eval $ac_try) 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; } &&
19031 { ac_try
='test -s conftest.$ac_objext'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; }; then
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.
$ac_ext >&5
19042 ac_lo
=`expr '(' $ac_mid ')' + 1`
19044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19047 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19048 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19049 See \`config.log' for more details." >&5
19050 echo "$as_me: error: cannot compute sizeof (void *), 77
19051 See \`config.log' for more details." >&2;}
19052 { (exit 1); exit 1; }; } ;;
19055 if test "$cross_compiling" = yes; then
19056 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19057 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19058 { (exit 1); exit 1; }; }
19060 cat >conftest.
$ac_ext <<_ACEOF
19063 cat confdefs.h
>>conftest.
$ac_ext
19064 cat >>conftest.
$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 $ac_includes_default
19067 long longval () { return (long) (sizeof (void *)); }
19068 unsigned long ulongval () { return (long) (sizeof (void *)); }
19070 #include <stdlib.h>
19075 FILE *f = fopen ("conftest.val", "w");
19078 if (((long) (sizeof (void *))) < 0)
19080 long i = longval ();
19081 if (i != ((long) (sizeof (void *))))
19083 fprintf (f, "%ld\n", i);
19087 unsigned long i = ulongval ();
19088 if (i != ((long) (sizeof (void *))))
19090 fprintf (f, "%lu\n", i);
19092 exit (ferror (f) || fclose (f) != 0);
19098 rm -f conftest
$ac_exeext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19100 (eval $ac_link) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; }; then
19109 ac_cv_sizeof_void_p
=`cat conftest.val`
19111 echo "$as_me: program exited with status $ac_status" >&5
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19115 ( exit $ac_status )
19116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19117 See \`config.log' for more details." >&5
19118 echo "$as_me: error: cannot compute sizeof (void *), 77
19119 See \`config.log' for more details." >&2;}
19120 { (exit 1); exit 1; }; }
19122 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19127 ac_cv_sizeof_void_p
=0
19130 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19131 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19132 cat >>confdefs.h
<<_ACEOF
19133 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19137 echo "$as_me:$LINENO: checking for int" >&5
19138 echo $ECHO_N "checking for int... $ECHO_C" >&6
19139 if test "${ac_cv_type_int+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 cat >conftest.
$ac_ext <<_ACEOF
19145 cat confdefs.h
>>conftest.
$ac_ext
19146 cat >>conftest.
$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 $ac_includes_default
19160 rm -f conftest.
$ac_objext
19161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19162 (eval $ac_compile) 2>conftest.er1
19164 grep -v '^ *+' conftest.er1
>conftest.err
19166 cat conftest.err
>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); } &&
19169 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; } &&
19175 { ac_try
='test -s conftest.$ac_objext'
19176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19177 (eval $ac_try) 2>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); }; }; then
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.
$ac_ext >&5
19188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19190 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19191 echo "${ECHO_T}$ac_cv_type_int" >&6
19193 echo "$as_me:$LINENO: checking size of int" >&5
19194 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19195 if test "${ac_cv_sizeof_int+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 if test "$ac_cv_type_int" = yes; then
19199 # The cast to unsigned long works around a bug in the HP C Compiler
19200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19202 # This bug is HP SR number 8606223364.
19203 if test "$cross_compiling" = yes; then
19204 # Depending upon the size, compute the lo and hi bounds.
19205 cat >conftest.
$ac_ext <<_ACEOF
19208 cat confdefs.h
>>conftest.
$ac_ext
19209 cat >>conftest.
$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19211 $ac_includes_default
19215 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19222 rm -f conftest.
$ac_objext
19223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19224 (eval $ac_compile) 2>conftest.er1
19226 grep -v '^ *+' conftest.er1
>conftest.err
19228 cat conftest.err
>&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); } &&
19231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; } &&
19237 { ac_try
='test -s conftest.$ac_objext'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; }; then
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19255 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19262 rm -f conftest.
$ac_objext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19264 (eval $ac_compile) 2>conftest.er1
19266 grep -v '^ *+' conftest.er1
>conftest.err
19268 cat conftest.err
>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } &&
19271 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273 (eval $ac_try) 2>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; } &&
19277 { ac_try
='test -s conftest.$ac_objext'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; }; then
19283 ac_hi
=$ac_mid; break
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.
$ac_ext >&5
19288 ac_lo
=`expr $ac_mid + 1`
19289 if test $ac_lo -le $ac_mid; then
19293 ac_mid
=`expr 2 '*' $ac_mid + 1`
19295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.
$ac_ext >&5
19301 cat >conftest.
$ac_ext <<_ACEOF
19304 cat confdefs.h
>>conftest.
$ac_ext
19305 cat >>conftest.
$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 $ac_includes_default
19311 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19318 rm -f conftest.
$ac_objext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19320 (eval $ac_compile) 2>conftest.er1
19322 grep -v '^ *+' conftest.er1
>conftest.err
19324 cat conftest.err
>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try
='test -s conftest.$ac_objext'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; }; then
19341 cat >conftest.
$ac_ext <<_ACEOF
19344 cat confdefs.h
>>conftest.
$ac_ext
19345 cat >>conftest.
$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19351 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19358 rm -f conftest.
$ac_objext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19360 (eval $ac_compile) 2>conftest.er1
19362 grep -v '^ *+' conftest.er1
>conftest.err
19364 cat conftest.err
>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; } &&
19373 { ac_try
='test -s conftest.$ac_objext'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; }; then
19379 ac_lo
=$ac_mid; break
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.
$ac_ext >&5
19384 ac_hi
=`expr '(' $ac_mid ')' - 1`
19385 if test $ac_mid -le $ac_hi; then
19389 ac_mid
=`expr 2 '*' $ac_mid`
19391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.
$ac_ext >&5
19399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19402 # Binary search between lo and hi bounds.
19403 while test "x$ac_lo" != "x$ac_hi"; do
19404 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19405 cat >conftest.
$ac_ext <<_ACEOF
19408 cat confdefs.h
>>conftest.
$ac_ext
19409 cat >>conftest.
$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 $ac_includes_default
19415 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19422 rm -f conftest.
$ac_objext
19423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19424 (eval $ac_compile) 2>conftest.er1
19426 grep -v '^ *+' conftest.er1
>conftest.err
19428 cat conftest.err
>&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); } &&
19431 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433 (eval $ac_try) 2>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; } &&
19437 { ac_try
='test -s conftest.$ac_objext'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.
$ac_ext >&5
19448 ac_lo
=`expr '(' $ac_mid ')' + 1`
19450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19453 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19455 See \`config.log' for more details." >&5
19456 echo "$as_me: error: cannot compute sizeof (int), 77
19457 See \`config.log' for more details." >&2;}
19458 { (exit 1); exit 1; }; } ;;
19461 if test "$cross_compiling" = yes; then
19462 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19463 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19464 { (exit 1); exit 1; }; }
19466 cat >conftest.
$ac_ext <<_ACEOF
19469 cat confdefs.h
>>conftest.
$ac_ext
19470 cat >>conftest.
$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 $ac_includes_default
19473 long longval () { return (long) (sizeof (int)); }
19474 unsigned long ulongval () { return (long) (sizeof (int)); }
19476 #include <stdlib.h>
19481 FILE *f = fopen ("conftest.val", "w");
19484 if (((long) (sizeof (int))) < 0)
19486 long i = longval ();
19487 if (i != ((long) (sizeof (int))))
19489 fprintf (f, "%ld\n", i);
19493 unsigned long i = ulongval ();
19494 if (i != ((long) (sizeof (int))))
19496 fprintf (f, "%lu\n", i);
19498 exit (ferror (f) || fclose (f) != 0);
19504 rm -f conftest
$ac_exeext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19506 (eval $ac_link) 2>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; }; then
19515 ac_cv_sizeof_int
=`cat conftest.val`
19517 echo "$as_me: program exited with status $ac_status" >&5
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.
$ac_ext >&5
19521 ( exit $ac_status )
19522 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19523 See \`config.log' for more details." >&5
19524 echo "$as_me: error: cannot compute sizeof (int), 77
19525 See \`config.log' for more details." >&2;}
19526 { (exit 1); exit 1; }; }
19528 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19536 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19537 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19538 cat >>confdefs.h
<<_ACEOF
19539 #define SIZEOF_INT $ac_cv_sizeof_int
19543 echo "$as_me:$LINENO: checking for long" >&5
19544 echo $ECHO_N "checking for long... $ECHO_C" >&6
19545 if test "${ac_cv_type_long+set}" = set; then
19546 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 cat >conftest.
$ac_ext <<_ACEOF
19551 cat confdefs.h
>>conftest.
$ac_ext
19552 cat >>conftest.
$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 $ac_includes_default
19566 rm -f conftest.
$ac_objext
19567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19568 (eval $ac_compile) 2>conftest.er1
19570 grep -v '^ *+' conftest.er1
>conftest.err
19572 cat conftest.err
>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } &&
19575 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; } &&
19581 { ac_try
='test -s conftest.$ac_objext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19587 ac_cv_type_long
=yes
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.
$ac_ext >&5
19594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19596 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19597 echo "${ECHO_T}$ac_cv_type_long" >&6
19599 echo "$as_me:$LINENO: checking size of long" >&5
19600 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19601 if test "${ac_cv_sizeof_long+set}" = set; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19604 if test "$ac_cv_type_long" = yes; then
19605 # The cast to unsigned long works around a bug in the HP C Compiler
19606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19608 # This bug is HP SR number 8606223364.
19609 if test "$cross_compiling" = yes; then
19610 # Depending upon the size, compute the lo and hi bounds.
19611 cat >conftest.
$ac_ext <<_ACEOF
19614 cat confdefs.h
>>conftest.
$ac_ext
19615 cat >>conftest.
$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 $ac_includes_default
19621 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19628 rm -f conftest.
$ac_objext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19630 (eval $ac_compile) 2>conftest.er1
19632 grep -v '^ *+' conftest.er1
>conftest.err
19634 cat conftest.err
>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } &&
19637 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19639 (eval $ac_try) 2>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; } &&
19643 { ac_try
='test -s conftest.$ac_objext'
19644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19645 (eval $ac_try) 2>&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); }; }; then
19651 cat >conftest.
$ac_ext <<_ACEOF
19654 cat confdefs.h
>>conftest.
$ac_ext
19655 cat >>conftest.
$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 $ac_includes_default
19661 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19668 rm -f conftest.
$ac_objext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19670 (eval $ac_compile) 2>conftest.er1
19672 grep -v '^ *+' conftest.er1
>conftest.err
19674 cat conftest.err
>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); } &&
19677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679 (eval $ac_try) 2>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); }; } &&
19683 { ac_try
='test -s conftest.$ac_objext'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; }; then
19689 ac_hi
=$ac_mid; break
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.
$ac_ext >&5
19694 ac_lo
=`expr $ac_mid + 1`
19695 if test $ac_lo -le $ac_mid; then
19699 ac_mid
=`expr 2 '*' $ac_mid + 1`
19701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.
$ac_ext >&5
19707 cat >conftest.
$ac_ext <<_ACEOF
19710 cat confdefs.h
>>conftest.
$ac_ext
19711 cat >>conftest.
$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 $ac_includes_default
19717 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19724 rm -f conftest.
$ac_objext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19726 (eval $ac_compile) 2>conftest.er1
19728 grep -v '^ *+' conftest.er1
>conftest.err
19730 cat conftest.err
>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } &&
19733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735 (eval $ac_try) 2>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); }; } &&
19739 { ac_try
='test -s conftest.$ac_objext'
19740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741 (eval $ac_try) 2>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; }; then
19747 cat >conftest.
$ac_ext <<_ACEOF
19750 cat confdefs.h
>>conftest.
$ac_ext
19751 cat >>conftest.
$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 $ac_includes_default
19757 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19764 rm -f conftest.
$ac_objext
19765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19766 (eval $ac_compile) 2>conftest.er1
19768 grep -v '^ *+' conftest.er1
>conftest.err
19770 cat conftest.err
>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } &&
19773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; } &&
19779 { ac_try
='test -s conftest.$ac_objext'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; }; then
19785 ac_lo
=$ac_mid; break
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.
$ac_ext >&5
19790 ac_hi
=`expr '(' $ac_mid ')' - 1`
19791 if test $ac_mid -le $ac_hi; then
19795 ac_mid
=`expr 2 '*' $ac_mid`
19797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.
$ac_ext >&5
19805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19808 # Binary search between lo and hi bounds.
19809 while test "x$ac_lo" != "x$ac_hi"; do
19810 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19811 cat >conftest.
$ac_ext <<_ACEOF
19814 cat confdefs.h
>>conftest.
$ac_ext
19815 cat >>conftest.
$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 $ac_includes_default
19821 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19828 rm -f conftest.
$ac_objext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19830 (eval $ac_compile) 2>conftest.er1
19832 grep -v '^ *+' conftest.er1
>conftest.err
19834 cat conftest.err
>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } &&
19837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; } &&
19843 { ac_try
='test -s conftest.$ac_objext'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.
$ac_ext >&5
19854 ac_lo
=`expr '(' $ac_mid ')' + 1`
19856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19859 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19860 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19861 See \`config.log' for more details." >&5
19862 echo "$as_me: error: cannot compute sizeof (long), 77
19863 See \`config.log' for more details." >&2;}
19864 { (exit 1); exit 1; }; } ;;
19867 if test "$cross_compiling" = yes; then
19868 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19869 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19870 { (exit 1); exit 1; }; }
19872 cat >conftest.
$ac_ext <<_ACEOF
19875 cat confdefs.h
>>conftest.
$ac_ext
19876 cat >>conftest.
$ac_ext <<_ACEOF
19877 /* end confdefs.h. */
19878 $ac_includes_default
19879 long longval () { return (long) (sizeof (long)); }
19880 unsigned long ulongval () { return (long) (sizeof (long)); }
19882 #include <stdlib.h>
19887 FILE *f = fopen ("conftest.val", "w");
19890 if (((long) (sizeof (long))) < 0)
19892 long i = longval ();
19893 if (i != ((long) (sizeof (long))))
19895 fprintf (f, "%ld\n", i);
19899 unsigned long i = ulongval ();
19900 if (i != ((long) (sizeof (long))))
19902 fprintf (f, "%lu\n", i);
19904 exit (ferror (f) || fclose (f) != 0);
19910 rm -f conftest
$ac_exeext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19912 (eval $ac_link) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; }; then
19921 ac_cv_sizeof_long
=`cat conftest.val`
19923 echo "$as_me: program exited with status $ac_status" >&5
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.
$ac_ext >&5
19927 ( exit $ac_status )
19928 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19929 See \`config.log' for more details." >&5
19930 echo "$as_me: error: cannot compute sizeof (long), 77
19931 See \`config.log' for more details." >&2;}
19932 { (exit 1); exit 1; }; }
19934 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19939 ac_cv_sizeof_long
=0
19942 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19943 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19944 cat >>confdefs.h
<<_ACEOF
19945 #define SIZEOF_LONG $ac_cv_sizeof_long
19949 echo "$as_me:$LINENO: checking for size_t" >&5
19950 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19951 if test "${ac_cv_type_size_t+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 cat >conftest.
$ac_ext <<_ACEOF
19957 cat confdefs.h
>>conftest.
$ac_ext
19958 cat >>conftest.
$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 $ac_includes_default
19966 if (sizeof (size_t))
19972 rm -f conftest.
$ac_objext
19973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19974 (eval $ac_compile) 2>conftest.er1
19976 grep -v '^ *+' conftest.er1
>conftest.err
19978 cat conftest.err
>&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } &&
19981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983 (eval $ac_try) 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; } &&
19987 { ac_try
='test -s conftest.$ac_objext'
19988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19989 (eval $ac_try) 2>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; }; then
19993 ac_cv_type_size_t
=yes
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.
$ac_ext >&5
19998 ac_cv_type_size_t
=no
20000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20002 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20003 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20005 echo "$as_me:$LINENO: checking size of size_t" >&5
20006 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20007 if test "${ac_cv_sizeof_size_t+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 if test "$ac_cv_type_size_t" = yes; then
20011 # The cast to unsigned long works around a bug in the HP C Compiler
20012 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20013 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20014 # This bug is HP SR number 8606223364.
20015 if test "$cross_compiling" = yes; then
20016 # Depending upon the size, compute the lo and hi bounds.
20017 cat >conftest.
$ac_ext <<_ACEOF
20020 cat confdefs.h
>>conftest.
$ac_ext
20021 cat >>conftest.
$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 $ac_includes_default
20027 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20034 rm -f conftest.
$ac_objext
20035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20036 (eval $ac_compile) 2>conftest.er1
20038 grep -v '^ *+' conftest.er1
>conftest.err
20040 cat conftest.err
>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } &&
20043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; } &&
20049 { ac_try
='test -s conftest.$ac_objext'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; }; then
20057 cat >conftest.
$ac_ext <<_ACEOF
20060 cat confdefs.h
>>conftest.
$ac_ext
20061 cat >>conftest.
$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20067 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20074 rm -f conftest.
$ac_objext
20075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20076 (eval $ac_compile) 2>conftest.er1
20078 grep -v '^ *+' conftest.er1
>conftest.err
20080 cat conftest.err
>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try
='test -s conftest.$ac_objext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 ac_hi
=$ac_mid; break
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.
$ac_ext >&5
20100 ac_lo
=`expr $ac_mid + 1`
20101 if test $ac_lo -le $ac_mid; then
20105 ac_mid
=`expr 2 '*' $ac_mid + 1`
20107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.
$ac_ext >&5
20113 cat >conftest.
$ac_ext <<_ACEOF
20116 cat confdefs.h
>>conftest.
$ac_ext
20117 cat >>conftest.
$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20123 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20130 rm -f conftest.
$ac_objext
20131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20132 (eval $ac_compile) 2>conftest.er1
20134 grep -v '^ *+' conftest.er1
>conftest.err
20136 cat conftest.err
>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } &&
20139 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141 (eval $ac_try) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; } &&
20145 { ac_try
='test -s conftest.$ac_objext'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; }; then
20153 cat >conftest.
$ac_ext <<_ACEOF
20156 cat confdefs.h
>>conftest.
$ac_ext
20157 cat >>conftest.
$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 $ac_includes_default
20163 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20170 rm -f conftest.
$ac_objext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20172 (eval $ac_compile) 2>conftest.er1
20174 grep -v '^ *+' conftest.er1
>conftest.err
20176 cat conftest.err
>&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; } &&
20185 { ac_try
='test -s conftest.$ac_objext'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_lo
=$ac_mid; break
20193 echo "$as_me: failed program was:" >&5
20194 sed 's/^/| /' conftest.
$ac_ext >&5
20196 ac_hi
=`expr '(' $ac_mid ')' - 1`
20197 if test $ac_mid -le $ac_hi; then
20201 ac_mid
=`expr 2 '*' $ac_mid`
20203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.
$ac_ext >&5
20211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20214 # Binary search between lo and hi bounds.
20215 while test "x$ac_lo" != "x$ac_hi"; do
20216 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20217 cat >conftest.
$ac_ext <<_ACEOF
20220 cat confdefs.h
>>conftest.
$ac_ext
20221 cat >>conftest.
$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20227 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20234 rm -f conftest.
$ac_objext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20236 (eval $ac_compile) 2>conftest.er1
20238 grep -v '^ *+' conftest.er1
>conftest.err
20240 cat conftest.err
>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
20243 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try
='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.
$ac_ext >&5
20260 ac_lo
=`expr '(' $ac_mid ')' + 1`
20262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20265 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20266 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20267 See \`config.log' for more details." >&5
20268 echo "$as_me: error: cannot compute sizeof (size_t), 77
20269 See \`config.log' for more details." >&2;}
20270 { (exit 1); exit 1; }; } ;;
20273 if test "$cross_compiling" = yes; then
20274 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20275 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20276 { (exit 1); exit 1; }; }
20278 cat >conftest.
$ac_ext <<_ACEOF
20281 cat confdefs.h
>>conftest.
$ac_ext
20282 cat >>conftest.
$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 $ac_includes_default
20285 long longval () { return (long) (sizeof (size_t)); }
20286 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20288 #include <stdlib.h>
20293 FILE *f = fopen ("conftest.val", "w");
20296 if (((long) (sizeof (size_t))) < 0)
20298 long i = longval ();
20299 if (i != ((long) (sizeof (size_t))))
20301 fprintf (f, "%ld\n", i);
20305 unsigned long i = ulongval ();
20306 if (i != ((long) (sizeof (size_t))))
20308 fprintf (f, "%lu\n", i);
20310 exit (ferror (f) || fclose (f) != 0);
20316 rm -f conftest
$ac_exeext
20317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20318 (eval $ac_link) 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20327 ac_cv_sizeof_size_t
=`cat conftest.val`
20329 echo "$as_me: program exited with status $ac_status" >&5
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.
$ac_ext >&5
20333 ( exit $ac_status )
20334 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20335 See \`config.log' for more details." >&5
20336 echo "$as_me: error: cannot compute sizeof (size_t), 77
20337 See \`config.log' for more details." >&2;}
20338 { (exit 1); exit 1; }; }
20340 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20345 ac_cv_sizeof_size_t
=0
20348 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20349 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20350 cat >>confdefs.h
<<_ACEOF
20351 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20358 echo "$as_me:$LINENO: checking for long long" >&5
20359 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20360 if test "${ac_cv_type_long_long+set}" = set; then
20361 echo $ECHO_N "(cached) $ECHO_C" >&6
20363 cat >conftest.
$ac_ext <<_ACEOF
20366 cat confdefs.h
>>conftest.
$ac_ext
20367 cat >>conftest.
$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 $ac_includes_default
20373 if ((long long *) 0)
20375 if (sizeof (long long))
20381 rm -f conftest.
$ac_objext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20383 (eval $ac_compile) 2>conftest.er1
20385 grep -v '^ *+' conftest.er1
>conftest.err
20387 cat conftest.err
>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } &&
20390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; } &&
20396 { ac_try
='test -s conftest.$ac_objext'
20397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20398 (eval $ac_try) 2>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; }; then
20402 ac_cv_type_long_long
=yes
20404 echo "$as_me: failed program was:" >&5
20405 sed 's/^/| /' conftest.
$ac_ext >&5
20407 ac_cv_type_long_long
=no
20409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20411 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20412 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20414 echo "$as_me:$LINENO: checking size of long long" >&5
20415 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20416 if test "${ac_cv_sizeof_long_long+set}" = set; then
20417 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 if test "$ac_cv_type_long_long" = yes; then
20420 # The cast to unsigned long works around a bug in the HP C Compiler
20421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20423 # This bug is HP SR number 8606223364.
20424 if test "$cross_compiling" = yes; then
20425 # Depending upon the size, compute the lo and hi bounds.
20426 cat >conftest.
$ac_ext <<_ACEOF
20429 cat confdefs.h
>>conftest.
$ac_ext
20430 cat >>conftest.
$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20436 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20443 rm -f conftest.
$ac_objext
20444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20445 (eval $ac_compile) 2>conftest.er1
20447 grep -v '^ *+' conftest.er1
>conftest.err
20449 cat conftest.err
>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); } &&
20452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; } &&
20458 { ac_try
='test -s conftest.$ac_objext'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; }; then
20466 cat >conftest.
$ac_ext <<_ACEOF
20469 cat confdefs.h
>>conftest.
$ac_ext
20470 cat >>conftest.
$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20472 $ac_includes_default
20476 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20483 rm -f conftest.
$ac_objext
20484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20485 (eval $ac_compile) 2>conftest.er1
20487 grep -v '^ *+' conftest.er1
>conftest.err
20489 cat conftest.err
>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; } &&
20498 { ac_try
='test -s conftest.$ac_objext'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; }; then
20504 ac_hi
=$ac_mid; break
20506 echo "$as_me: failed program was:" >&5
20507 sed 's/^/| /' conftest.
$ac_ext >&5
20509 ac_lo
=`expr $ac_mid + 1`
20510 if test $ac_lo -le $ac_mid; then
20514 ac_mid
=`expr 2 '*' $ac_mid + 1`
20516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.
$ac_ext >&5
20522 cat >conftest.
$ac_ext <<_ACEOF
20525 cat confdefs.h
>>conftest.
$ac_ext
20526 cat >>conftest.
$ac_ext <<_ACEOF
20527 /* end confdefs.h. */
20528 $ac_includes_default
20532 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20539 rm -f conftest.
$ac_objext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20541 (eval $ac_compile) 2>conftest.er1
20543 grep -v '^ *+' conftest.er1
>conftest.err
20545 cat conftest.err
>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } &&
20548 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; } &&
20554 { ac_try
='test -s conftest.$ac_objext'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; }; then
20562 cat >conftest.
$ac_ext <<_ACEOF
20565 cat confdefs.h
>>conftest.
$ac_ext
20566 cat >>conftest.
$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20572 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20579 rm -f conftest.
$ac_objext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20581 (eval $ac_compile) 2>conftest.er1
20583 grep -v '^ *+' conftest.er1
>conftest.err
20585 cat conftest.err
>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } &&
20594 { ac_try
='test -s conftest.$ac_objext'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; }; then
20600 ac_lo
=$ac_mid; break
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.
$ac_ext >&5
20605 ac_hi
=`expr '(' $ac_mid ')' - 1`
20606 if test $ac_mid -le $ac_hi; then
20610 ac_mid
=`expr 2 '*' $ac_mid`
20612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.
$ac_ext >&5
20620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20623 # Binary search between lo and hi bounds.
20624 while test "x$ac_lo" != "x$ac_hi"; do
20625 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20626 cat >conftest.
$ac_ext <<_ACEOF
20629 cat confdefs.h
>>conftest.
$ac_ext
20630 cat >>conftest.
$ac_ext <<_ACEOF
20631 /* end confdefs.h. */
20632 $ac_includes_default
20636 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20643 rm -f conftest.
$ac_objext
20644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20645 (eval $ac_compile) 2>conftest.er1
20647 grep -v '^ *+' conftest.er1
>conftest.err
20649 cat conftest.err
>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); } &&
20652 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; } &&
20658 { ac_try
='test -s conftest.$ac_objext'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; }; then
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.
$ac_ext >&5
20669 ac_lo
=`expr '(' $ac_mid ')' + 1`
20671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20674 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20675 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20676 See \`config.log' for more details." >&5
20677 echo "$as_me: error: cannot compute sizeof (long long), 77
20678 See \`config.log' for more details." >&2;}
20679 { (exit 1); exit 1; }; } ;;
20682 if test "$cross_compiling" = yes; then
20683 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20684 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20685 { (exit 1); exit 1; }; }
20687 cat >conftest.
$ac_ext <<_ACEOF
20690 cat confdefs.h
>>conftest.
$ac_ext
20691 cat >>conftest.
$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20693 $ac_includes_default
20694 long longval () { return (long) (sizeof (long long)); }
20695 unsigned long ulongval () { return (long) (sizeof (long long)); }
20697 #include <stdlib.h>
20702 FILE *f = fopen ("conftest.val", "w");
20705 if (((long) (sizeof (long long))) < 0)
20707 long i = longval ();
20708 if (i != ((long) (sizeof (long long))))
20710 fprintf (f, "%ld\n", i);
20714 unsigned long i = ulongval ();
20715 if (i != ((long) (sizeof (long long))))
20717 fprintf (f, "%lu\n", i);
20719 exit (ferror (f) || fclose (f) != 0);
20725 rm -f conftest
$ac_exeext
20726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20727 (eval $ac_link) 2>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; }; then
20736 ac_cv_sizeof_long_long
=`cat conftest.val`
20738 echo "$as_me: program exited with status $ac_status" >&5
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.
$ac_ext >&5
20742 ( exit $ac_status )
20743 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20744 See \`config.log' for more details." >&5
20745 echo "$as_me: error: cannot compute sizeof (long long), 77
20746 See \`config.log' for more details." >&2;}
20747 { (exit 1); exit 1; }; }
20749 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20754 ac_cv_sizeof_long_long
=0
20757 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20758 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20759 cat >>confdefs.h
<<_ACEOF
20760 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20766 echo "$as_me:$LINENO: checking for long long" >&5
20767 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20768 if test "${ac_cv_type_long_long+set}" = set; then
20769 echo $ECHO_N "(cached) $ECHO_C" >&6
20771 cat >conftest.
$ac_ext <<_ACEOF
20774 cat confdefs.h
>>conftest.
$ac_ext
20775 cat >>conftest.
$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20777 $ac_includes_default
20781 if ((long long *) 0)
20783 if (sizeof (long long))
20789 rm -f conftest.
$ac_objext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791 (eval $ac_compile) 2>conftest.er1
20793 grep -v '^ *+' conftest.er1
>conftest.err
20795 cat conftest.err
>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try
='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 ac_cv_type_long_long
=yes
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.
$ac_ext >&5
20815 ac_cv_type_long_long
=no
20817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20819 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20820 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20822 echo "$as_me:$LINENO: checking size of long long" >&5
20823 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20824 if test "${ac_cv_sizeof_long_long+set}" = set; then
20825 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 if test "$ac_cv_type_long_long" = yes; then
20828 # The cast to unsigned long works around a bug in the HP C Compiler
20829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20831 # This bug is HP SR number 8606223364.
20832 if test "$cross_compiling" = yes; then
20833 # Depending upon the size, compute the lo and hi bounds.
20834 cat >conftest.
$ac_ext <<_ACEOF
20837 cat confdefs.h
>>conftest.
$ac_ext
20838 cat >>conftest.
$ac_ext <<_ACEOF
20839 /* end confdefs.h. */
20840 $ac_includes_default
20844 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20851 rm -f conftest.
$ac_objext
20852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20853 (eval $ac_compile) 2>conftest.er1
20855 grep -v '^ *+' conftest.er1
>conftest.err
20857 cat conftest.err
>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; } &&
20866 { ac_try
='test -s conftest.$ac_objext'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20874 cat >conftest.
$ac_ext <<_ACEOF
20877 cat confdefs.h
>>conftest.
$ac_ext
20878 cat >>conftest.
$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20880 $ac_includes_default
20884 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20891 rm -f conftest.
$ac_objext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20893 (eval $ac_compile) 2>conftest.er1
20895 grep -v '^ *+' conftest.er1
>conftest.err
20897 cat conftest.err
>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; } &&
20906 { ac_try
='test -s conftest.$ac_objext'
20907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 (eval $ac_try) 2>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; }; then
20912 ac_hi
=$ac_mid; break
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.
$ac_ext >&5
20917 ac_lo
=`expr $ac_mid + 1`
20918 if test $ac_lo -le $ac_mid; then
20922 ac_mid
=`expr 2 '*' $ac_mid + 1`
20924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.
$ac_ext >&5
20930 cat >conftest.
$ac_ext <<_ACEOF
20933 cat confdefs.h
>>conftest.
$ac_ext
20934 cat >>conftest.
$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 $ac_includes_default
20940 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20947 rm -f conftest.
$ac_objext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20949 (eval $ac_compile) 2>conftest.er1
20951 grep -v '^ *+' conftest.er1
>conftest.err
20953 cat conftest.err
>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } &&
20956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; } &&
20962 { ac_try
='test -s conftest.$ac_objext'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20970 cat >conftest.
$ac_ext <<_ACEOF
20973 cat confdefs.h
>>conftest.
$ac_ext
20974 cat >>conftest.
$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20980 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20987 rm -f conftest.
$ac_objext
20988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20989 (eval $ac_compile) 2>conftest.er1
20991 grep -v '^ *+' conftest.er1
>conftest.err
20993 cat conftest.err
>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); } &&
20996 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998 (eval $ac_try) 2>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; } &&
21002 { ac_try
='test -s conftest.$ac_objext'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 ac_lo
=$ac_mid; break
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.
$ac_ext >&5
21013 ac_hi
=`expr '(' $ac_mid ')' - 1`
21014 if test $ac_mid -le $ac_hi; then
21018 ac_mid
=`expr 2 '*' $ac_mid`
21020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.
$ac_ext >&5
21028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21031 # Binary search between lo and hi bounds.
21032 while test "x$ac_lo" != "x$ac_hi"; do
21033 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21034 cat >conftest.
$ac_ext <<_ACEOF
21037 cat confdefs.h
>>conftest.
$ac_ext
21038 cat >>conftest.
$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 $ac_includes_default
21044 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21051 rm -f conftest.
$ac_objext
21052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21053 (eval $ac_compile) 2>conftest.er1
21055 grep -v '^ *+' conftest.er1
>conftest.err
21057 cat conftest.err
>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); } &&
21060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062 (eval $ac_try) 2>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; } &&
21066 { ac_try
='test -s conftest.$ac_objext'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; }; then
21074 echo "$as_me: failed program was:" >&5
21075 sed 's/^/| /' conftest.
$ac_ext >&5
21077 ac_lo
=`expr '(' $ac_mid ')' + 1`
21079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21082 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21083 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21084 See \`config.log' for more details." >&5
21085 echo "$as_me: error: cannot compute sizeof (long long), 77
21086 See \`config.log' for more details." >&2;}
21087 { (exit 1); exit 1; }; } ;;
21090 if test "$cross_compiling" = yes; then
21091 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21092 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21093 { (exit 1); exit 1; }; }
21095 cat >conftest.
$ac_ext <<_ACEOF
21098 cat confdefs.h
>>conftest.
$ac_ext
21099 cat >>conftest.
$ac_ext <<_ACEOF
21100 /* end confdefs.h. */
21101 $ac_includes_default
21102 long longval () { return (long) (sizeof (long long)); }
21103 unsigned long ulongval () { return (long) (sizeof (long long)); }
21105 #include <stdlib.h>
21110 FILE *f = fopen ("conftest.val", "w");
21113 if (((long) (sizeof (long long))) < 0)
21115 long i = longval ();
21116 if (i != ((long) (sizeof (long long))))
21118 fprintf (f, "%ld\n", i);
21122 unsigned long i = ulongval ();
21123 if (i != ((long) (sizeof (long long))))
21125 fprintf (f, "%lu\n", i);
21127 exit (ferror (f) || fclose (f) != 0);
21133 rm -f conftest
$ac_exeext
21134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21135 (eval $ac_link) 2>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21140 (eval $ac_try) 2>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; }; then
21144 ac_cv_sizeof_long_long
=`cat conftest.val`
21146 echo "$as_me: program exited with status $ac_status" >&5
21147 echo "$as_me: failed program was:" >&5
21148 sed 's/^/| /' conftest.
$ac_ext >&5
21150 ( exit $ac_status )
21151 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21152 See \`config.log' for more details." >&5
21153 echo "$as_me: error: cannot compute sizeof (long long), 77
21154 See \`config.log' for more details." >&2;}
21155 { (exit 1); exit 1; }; }
21157 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21162 ac_cv_sizeof_long_long
=0
21165 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21166 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21167 cat >>confdefs.h
<<_ACEOF
21168 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21172 if test "$ac_cv_sizeof_long_long" != "0"; then
21173 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21177 echo "$as_me:$LINENO: checking for long long" >&5
21178 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21179 if test "${ac_cv_type_long_long+set}" = set; then
21180 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 cat >conftest.
$ac_ext <<_ACEOF
21185 cat confdefs.h
>>conftest.
$ac_ext
21186 cat >>conftest.
$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 $ac_includes_default
21192 if ((long long *) 0)
21194 if (sizeof (long long))
21200 rm -f conftest.
$ac_objext
21201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21202 (eval $ac_compile) 2>conftest.er1
21204 grep -v '^ *+' conftest.er1
>conftest.err
21206 cat conftest.err
>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } &&
21209 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; } &&
21215 { ac_try
='test -s conftest.$ac_objext'
21216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217 (eval $ac_try) 2>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); }; }; then
21221 ac_cv_type_long_long
=yes
21223 echo "$as_me: failed program was:" >&5
21224 sed 's/^/| /' conftest.
$ac_ext >&5
21226 ac_cv_type_long_long
=no
21228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21230 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21231 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21233 echo "$as_me:$LINENO: checking size of long long" >&5
21234 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21235 if test "${ac_cv_sizeof_long_long+set}" = set; then
21236 echo $ECHO_N "(cached) $ECHO_C" >&6
21238 if test "$ac_cv_type_long_long" = yes; then
21239 # The cast to unsigned long works around a bug in the HP C Compiler
21240 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21241 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21242 # This bug is HP SR number 8606223364.
21243 if test "$cross_compiling" = yes; then
21244 # Depending upon the size, compute the lo and hi bounds.
21245 cat >conftest.
$ac_ext <<_ACEOF
21248 cat confdefs.h
>>conftest.
$ac_ext
21249 cat >>conftest.
$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21255 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21262 rm -f conftest.
$ac_objext
21263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21264 (eval $ac_compile) 2>conftest.er1
21266 grep -v '^ *+' conftest.er1
>conftest.err
21268 cat conftest.err
>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; } &&
21277 { ac_try
='test -s conftest.$ac_objext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21285 cat >conftest.
$ac_ext <<_ACEOF
21288 cat confdefs.h
>>conftest.
$ac_ext
21289 cat >>conftest.
$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 $ac_includes_default
21295 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21302 rm -f conftest.
$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21306 grep -v '^ *+' conftest.er1
>conftest.err
21308 cat conftest.err
>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try
='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_hi
=$ac_mid; break
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.
$ac_ext >&5
21328 ac_lo
=`expr $ac_mid + 1`
21329 if test $ac_lo -le $ac_mid; then
21333 ac_mid
=`expr 2 '*' $ac_mid + 1`
21335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.
$ac_ext >&5
21341 cat >conftest.
$ac_ext <<_ACEOF
21344 cat confdefs.h
>>conftest.
$ac_ext
21345 cat >>conftest.
$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 $ac_includes_default
21351 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21358 rm -f conftest.
$ac_objext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21360 (eval $ac_compile) 2>conftest.er1
21362 grep -v '^ *+' conftest.er1
>conftest.err
21364 cat conftest.err
>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; } &&
21373 { ac_try
='test -s conftest.$ac_objext'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; }; then
21381 cat >conftest.
$ac_ext <<_ACEOF
21384 cat confdefs.h
>>conftest.
$ac_ext
21385 cat >>conftest.
$ac_ext <<_ACEOF
21386 /* end confdefs.h. */
21387 $ac_includes_default
21391 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21398 rm -f conftest.
$ac_objext
21399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21400 (eval $ac_compile) 2>conftest.er1
21402 grep -v '^ *+' conftest.er1
>conftest.err
21404 cat conftest.err
>&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } &&
21407 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; } &&
21413 { ac_try
='test -s conftest.$ac_objext'
21414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21415 (eval $ac_try) 2>&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; }; then
21419 ac_lo
=$ac_mid; break
21421 echo "$as_me: failed program was:" >&5
21422 sed 's/^/| /' conftest.
$ac_ext >&5
21424 ac_hi
=`expr '(' $ac_mid ')' - 1`
21425 if test $ac_mid -le $ac_hi; then
21429 ac_mid
=`expr 2 '*' $ac_mid`
21431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21434 echo "$as_me: failed program was:" >&5
21435 sed 's/^/| /' conftest.
$ac_ext >&5
21439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21442 # Binary search between lo and hi bounds.
21443 while test "x$ac_lo" != "x$ac_hi"; do
21444 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21445 cat >conftest.
$ac_ext <<_ACEOF
21448 cat confdefs.h
>>conftest.
$ac_ext
21449 cat >>conftest.
$ac_ext <<_ACEOF
21450 /* end confdefs.h. */
21451 $ac_includes_default
21455 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21462 rm -f conftest.
$ac_objext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21464 (eval $ac_compile) 2>conftest.er1
21466 grep -v '^ *+' conftest.er1
>conftest.err
21468 cat conftest.err
>&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); } &&
21471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21473 (eval $ac_try) 2>&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); }; } &&
21477 { ac_try
='test -s conftest.$ac_objext'
21478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21479 (eval $ac_try) 2>&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); }; }; then
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.
$ac_ext >&5
21488 ac_lo
=`expr '(' $ac_mid ')' + 1`
21490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21493 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21494 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21495 See \`config.log' for more details." >&5
21496 echo "$as_me: error: cannot compute sizeof (long long), 77
21497 See \`config.log' for more details." >&2;}
21498 { (exit 1); exit 1; }; } ;;
21501 if test "$cross_compiling" = yes; then
21502 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21503 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21504 { (exit 1); exit 1; }; }
21506 cat >conftest.
$ac_ext <<_ACEOF
21509 cat confdefs.h
>>conftest.
$ac_ext
21510 cat >>conftest.
$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 $ac_includes_default
21513 long longval () { return (long) (sizeof (long long)); }
21514 unsigned long ulongval () { return (long) (sizeof (long long)); }
21516 #include <stdlib.h>
21521 FILE *f = fopen ("conftest.val", "w");
21524 if (((long) (sizeof (long long))) < 0)
21526 long i = longval ();
21527 if (i != ((long) (sizeof (long long))))
21529 fprintf (f, "%ld\n", i);
21533 unsigned long i = ulongval ();
21534 if (i != ((long) (sizeof (long long))))
21536 fprintf (f, "%lu\n", i);
21538 exit (ferror (f) || fclose (f) != 0);
21544 rm -f conftest
$ac_exeext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21546 (eval $ac_link) 2>&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 ac_cv_sizeof_long_long
=`cat conftest.val`
21557 echo "$as_me: program exited with status $ac_status" >&5
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.
$ac_ext >&5
21561 ( exit $ac_status )
21562 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21563 See \`config.log' for more details." >&5
21564 echo "$as_me: error: cannot compute sizeof (long long), 77
21565 See \`config.log' for more details." >&2;}
21566 { (exit 1); exit 1; }; }
21568 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21573 ac_cv_sizeof_long_long
=0
21576 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21577 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21578 cat >>confdefs.h
<<_ACEOF
21579 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21585 echo "$as_me:$LINENO: checking for wchar_t" >&5
21586 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21587 if test "${ac_cv_type_wchar_t+set}" = set; then
21588 echo $ECHO_N "(cached) $ECHO_C" >&6
21590 cat >conftest.
$ac_ext <<_ACEOF
21593 cat confdefs.h
>>conftest.
$ac_ext
21594 cat >>conftest.
$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21597 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21598 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21599 # error "fake wchar_t"
21601 #ifdef HAVE_WCHAR_H
21603 # include <stddef.h>
21605 # include <wchar.h>
21607 #ifdef HAVE_STDLIB_H
21608 # include <stdlib.h>
21619 if (sizeof (wchar_t))
21625 rm -f conftest.
$ac_objext
21626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21627 (eval $ac_compile) 2>conftest.er1
21629 grep -v '^ *+' conftest.er1
>conftest.err
21631 cat conftest.err
>&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); } &&
21634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21636 (eval $ac_try) 2>&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); }; } &&
21640 { ac_try
='test -s conftest.$ac_objext'
21641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21642 (eval $ac_try) 2>&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); }; }; then
21646 ac_cv_type_wchar_t
=yes
21648 echo "$as_me: failed program was:" >&5
21649 sed 's/^/| /' conftest.
$ac_ext >&5
21651 ac_cv_type_wchar_t
=no
21653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21655 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21656 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21658 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21659 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21660 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21663 if test "$ac_cv_type_wchar_t" = yes; then
21664 # The cast to unsigned long works around a bug in the HP C Compiler
21665 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21666 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21667 # This bug is HP SR number 8606223364.
21668 if test "$cross_compiling" = yes; then
21669 # Depending upon the size, compute the lo and hi bounds.
21670 cat >conftest.
$ac_ext <<_ACEOF
21673 cat confdefs.h
>>conftest.
$ac_ext
21674 cat >>conftest.
$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21677 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21678 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21679 # error "fake wchar_t"
21681 #ifdef HAVE_WCHAR_H
21683 # include <stddef.h>
21685 # include <wchar.h>
21687 #ifdef HAVE_STDLIB_H
21688 # include <stdlib.h>
21697 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21704 rm -f conftest.
$ac_objext
21705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21706 (eval $ac_compile) 2>conftest.er1
21708 grep -v '^ *+' conftest.er1
>conftest.err
21710 cat conftest.err
>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } &&
21713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; } &&
21719 { ac_try
='test -s conftest.$ac_objext'
21720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721 (eval $ac_try) 2>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; }; then
21727 cat >conftest.
$ac_ext <<_ACEOF
21730 cat confdefs.h
>>conftest.
$ac_ext
21731 cat >>conftest.
$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21734 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21735 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21736 # error "fake wchar_t"
21738 #ifdef HAVE_WCHAR_H
21740 # include <stddef.h>
21742 # include <wchar.h>
21744 #ifdef HAVE_STDLIB_H
21745 # include <stdlib.h>
21754 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21761 rm -f conftest.
$ac_objext
21762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21763 (eval $ac_compile) 2>conftest.er1
21765 grep -v '^ *+' conftest.er1
>conftest.err
21767 cat conftest.err
>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } &&
21770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try
='test -s conftest.$ac_objext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 ac_hi
=$ac_mid; break
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.
$ac_ext >&5
21787 ac_lo
=`expr $ac_mid + 1`
21788 if test $ac_lo -le $ac_mid; then
21792 ac_mid
=`expr 2 '*' $ac_mid + 1`
21794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.
$ac_ext >&5
21800 cat >conftest.
$ac_ext <<_ACEOF
21803 cat confdefs.h
>>conftest.
$ac_ext
21804 cat >>conftest.
$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21807 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21809 # error "fake wchar_t"
21811 #ifdef HAVE_WCHAR_H
21813 # include <stddef.h>
21815 # include <wchar.h>
21817 #ifdef HAVE_STDLIB_H
21818 # include <stdlib.h>
21827 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21834 rm -f conftest.
$ac_objext
21835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21836 (eval $ac_compile) 2>conftest.er1
21838 grep -v '^ *+' conftest.er1
>conftest.err
21840 cat conftest.err
>&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; } &&
21849 { ac_try
='test -s conftest.$ac_objext'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; }; then
21857 cat >conftest.
$ac_ext <<_ACEOF
21860 cat confdefs.h
>>conftest.
$ac_ext
21861 cat >>conftest.
$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21864 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21865 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21866 # error "fake wchar_t"
21868 #ifdef HAVE_WCHAR_H
21870 # include <stddef.h>
21872 # include <wchar.h>
21874 #ifdef HAVE_STDLIB_H
21875 # include <stdlib.h>
21884 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21891 rm -f conftest.
$ac_objext
21892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21893 (eval $ac_compile) 2>conftest.er1
21895 grep -v '^ *+' conftest.er1
>conftest.err
21897 cat conftest.err
>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; } &&
21906 { ac_try
='test -s conftest.$ac_objext'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; }; then
21912 ac_lo
=$ac_mid; break
21914 echo "$as_me: failed program was:" >&5
21915 sed 's/^/| /' conftest.
$ac_ext >&5
21917 ac_hi
=`expr '(' $ac_mid ')' - 1`
21918 if test $ac_mid -le $ac_hi; then
21922 ac_mid
=`expr 2 '*' $ac_mid`
21924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.
$ac_ext >&5
21932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21935 # Binary search between lo and hi bounds.
21936 while test "x$ac_lo" != "x$ac_hi"; do
21937 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21938 cat >conftest.
$ac_ext <<_ACEOF
21941 cat confdefs.h
>>conftest.
$ac_ext
21942 cat >>conftest.
$ac_ext <<_ACEOF
21943 /* end confdefs.h. */
21945 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21946 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21947 # error "fake wchar_t"
21949 #ifdef HAVE_WCHAR_H
21951 # include <stddef.h>
21953 # include <wchar.h>
21955 #ifdef HAVE_STDLIB_H
21956 # include <stdlib.h>
21965 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21972 rm -f conftest.
$ac_objext
21973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21974 (eval $ac_compile) 2>conftest.er1
21976 grep -v '^ *+' conftest.er1
>conftest.err
21978 cat conftest.err
>&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983 (eval $ac_try) 2>&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; } &&
21987 { ac_try
='test -s conftest.$ac_objext'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; }; then
21995 echo "$as_me: failed program was:" >&5
21996 sed 's/^/| /' conftest.
$ac_ext >&5
21998 ac_lo
=`expr '(' $ac_mid ')' + 1`
22000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22003 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22004 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22005 See \`config.log' for more details." >&5
22006 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22007 See \`config.log' for more details." >&2;}
22008 { (exit 1); exit 1; }; } ;;
22011 if test "$cross_compiling" = yes; then
22012 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22013 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22014 { (exit 1); exit 1; }; }
22016 cat >conftest.
$ac_ext <<_ACEOF
22019 cat confdefs.h
>>conftest.
$ac_ext
22020 cat >>conftest.
$ac_ext <<_ACEOF
22021 /* end confdefs.h. */
22023 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22024 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22025 # error "fake wchar_t"
22027 #ifdef HAVE_WCHAR_H
22029 # include <stddef.h>
22031 # include <wchar.h>
22033 #ifdef HAVE_STDLIB_H
22034 # include <stdlib.h>
22040 long longval () { return (long) (sizeof (wchar_t)); }
22041 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22043 #include <stdlib.h>
22048 FILE *f = fopen ("conftest.val", "w");
22051 if (((long) (sizeof (wchar_t))) < 0)
22053 long i = longval ();
22054 if (i != ((long) (sizeof (wchar_t))))
22056 fprintf (f, "%ld\n", i);
22060 unsigned long i = ulongval ();
22061 if (i != ((long) (sizeof (wchar_t))))
22063 fprintf (f, "%lu\n", i);
22065 exit (ferror (f) || fclose (f) != 0);
22071 rm -f conftest
$ac_exeext
22072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22073 (eval $ac_link) 2>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; }; then
22082 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22084 echo "$as_me: program exited with status $ac_status" >&5
22085 echo "$as_me: failed program was:" >&5
22086 sed 's/^/| /' conftest.
$ac_ext >&5
22088 ( exit $ac_status )
22089 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22090 See \`config.log' for more details." >&5
22091 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22092 See \`config.log' for more details." >&2;}
22093 { (exit 1); exit 1; }; }
22095 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22100 ac_cv_sizeof_wchar_t
=0
22103 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22104 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22105 cat >>confdefs.h
<<_ACEOF
22106 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22110 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22116 echo "$as_me:$LINENO: checking for va_copy" >&5
22117 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22118 if test "${wx_cv_func_va_copy+set}" = set; then
22119 echo $ECHO_N "(cached) $ECHO_C" >&6
22122 cat >conftest.
$ac_ext <<_ACEOF
22124 #include <stdarg.h>
22125 void foo(char *f, ...)
22139 rm -f conftest.
$ac_objext conftest
$ac_exeext
22140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22141 (eval $ac_link) 2>conftest.er1
22143 grep -v '^ *+' conftest.er1
>conftest.err
22145 cat conftest.err
>&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); } &&
22148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150 (eval $ac_try) 2>&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; } &&
22154 { ac_try
='test -s conftest$ac_exeext'
22155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22156 (eval $ac_try) 2>&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); }; }; then
22160 wx_cv_func_va_copy
=yes
22162 echo "$as_me: failed program was:" >&5
22163 sed 's/^/| /' conftest.
$ac_ext >&5
22165 wx_cv_func_va_copy
=no
22168 rm -f conftest.err conftest.
$ac_objext \
22169 conftest
$ac_exeext conftest.
$ac_ext
22173 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22174 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22176 if test $wx_cv_func_va_copy = "yes"; then
22177 cat >>confdefs.h
<<\_ACEOF
22178 #define HAVE_VA_COPY 1
22182 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22183 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22184 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22188 if test "$cross_compiling" = yes; then
22189 wx_cv_type_va_list_lvalue
=yes
22192 cat >conftest.
$ac_ext <<_ACEOF
22194 #include <stdarg.h>
22195 int foo(char *f, ...)
22200 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22208 return foo("hi", 17);
22211 rm -f conftest
$ac_exeext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22213 (eval $ac_link) 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 wx_cv_type_va_list_lvalue
=yes
22224 echo "$as_me: program exited with status $ac_status" >&5
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.
$ac_ext >&5
22228 ( exit $ac_status )
22229 wx_cv_type_va_list_lvalue
=no
22231 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22236 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22237 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22239 if test $wx_cv_type_va_list_lvalue != "yes"; then
22240 cat >>confdefs.h
<<\_ACEOF
22241 #define VA_LIST_IS_ARRAY 1
22247 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22248 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22249 if test "${wx_cv_have_variadic_macros+set}" = set; then
22250 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 cat >conftest.
$ac_ext <<_ACEOF
22256 cat confdefs.h
>>conftest.
$ac_ext
22257 cat >>conftest.
$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22261 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22267 test("%s %d %p", "test", 1, 0);
22274 rm -f conftest.
$ac_objext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22276 (eval $ac_compile) 2>conftest.er1
22278 grep -v '^ *+' conftest.er1
>conftest.err
22280 cat conftest.err
>&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } &&
22283 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; } &&
22289 { ac_try
='test -s conftest.$ac_objext'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; }; then
22295 wx_cv_have_variadic_macros
=yes
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.
$ac_ext >&5
22300 wx_cv_have_variadic_macros
=no
22303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22307 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22308 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22310 if test $wx_cv_have_variadic_macros = "yes"; then
22311 cat >>confdefs.h
<<\_ACEOF
22312 #define HAVE_VARIADIC_MACROS 1
22317 # Check whether --enable-largefile or --disable-largefile was given.
22318 if test "${enable_largefile+set}" = set; then
22319 enableval
="$enable_largefile"
22322 if test "$enable_largefile" != no
; then
22325 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22326 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22327 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 cat >conftest.
$ac_ext <<_ACEOF
22334 cat confdefs.h
>>conftest.
$ac_ext
22335 cat >>conftest.
$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 #define _FILE_OFFSET_BITS 64
22338 #include <sys/types.h>
22343 unsigned int field: sizeof(off_t) == 8;
22350 rm -f conftest.
$ac_objext
22351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22352 (eval $ac_compile) 2>conftest.er1
22354 grep -v '^ *+' conftest.er1
>conftest.err
22356 cat conftest.err
>&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); } &&
22359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try
='test -s conftest.$ac_objext'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371 ac_cv_sys_file_offset_bits
=64
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.
$ac_ext >&5
22376 ac_cv_sys_file_offset_bits
=no
22378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22382 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22383 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22385 if test "$ac_cv_sys_file_offset_bits" != no
; then
22387 cat >>confdefs.h
<<_ACEOF
22388 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22393 if test "x$wx_largefile" != "xyes"; then
22395 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22396 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22397 if test "${ac_cv_sys_large_files+set}" = set; then
22398 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 cat >conftest.
$ac_ext <<_ACEOF
22404 cat confdefs.h
>>conftest.
$ac_ext
22405 cat >>conftest.
$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 #define _LARGE_FILES 1
22408 #include <sys/types.h>
22413 unsigned int field: sizeof(off_t) == 8;
22420 rm -f conftest.
$ac_objext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22422 (eval $ac_compile) 2>conftest.er1
22424 grep -v '^ *+' conftest.er1
>conftest.err
22426 cat conftest.err
>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22435 { ac_try
='test -s conftest.$ac_objext'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; }; then
22441 ac_cv_sys_large_files
=1
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.
$ac_ext >&5
22446 ac_cv_sys_large_files
=no
22448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22452 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22453 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22455 if test "$ac_cv_sys_large_files" != no
; then
22457 cat >>confdefs.h
<<_ACEOF
22458 #define _LARGE_FILES $ac_cv_sys_large_files
22465 echo "$as_me:$LINENO: checking if large file support is available" >&5
22466 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22467 if test "x$wx_largefile" = "xyes"; then
22468 cat >>confdefs.h
<<\_ACEOF
22469 #define HAVE_LARGEFILE_SUPPORT 1
22473 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22474 echo "${ECHO_T}$wx_largefile" >&6
22478 if test "x$wx_largefile" = "xyes"; then
22479 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22480 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22482 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22483 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22484 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22485 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 cat >conftest.
$ac_ext <<_ACEOF
22492 cat confdefs.h
>>conftest.
$ac_ext
22493 cat >>conftest.
$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22500 #ifndef __STDC_EXT__
22508 rm -f conftest.
$ac_objext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>conftest.er1
22512 grep -v '^ *+' conftest.er1
>conftest.err
22514 cat conftest.err
>&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try
='test -s conftest.$ac_objext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 wx_cv_STDC_EXT_required
=no
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.
$ac_ext >&5
22534 wx_cv_STDC_EXT_required
=yes
22537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22541 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22542 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22543 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22544 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22548 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22550 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22551 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22552 if test "${ac_cv_sys_largefile_source+set}" = set; then
22553 echo $ECHO_N "(cached) $ECHO_C" >&6
22556 ac_cv_sys_largefile_source
=no
22557 cat >conftest.
$ac_ext <<_ACEOF
22560 cat confdefs.h
>>conftest.
$ac_ext
22561 cat >>conftest.
$ac_ext <<_ACEOF
22562 /* end confdefs.h. */
22572 rm -f conftest.
$ac_objext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22574 (eval $ac_compile) 2>conftest.er1
22576 grep -v '^ *+' conftest.er1
>conftest.err
22578 cat conftest.err
>&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } &&
22581 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; } &&
22587 { ac_try
='test -s conftest.$ac_objext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.
$ac_ext >&5
22599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22600 cat >conftest.
$ac_ext <<_ACEOF
22603 cat confdefs.h
>>conftest.
$ac_ext
22604 cat >>conftest.
$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 #define _LARGEFILE_SOURCE 1
22616 rm -f conftest.
$ac_objext
22617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22618 (eval $ac_compile) 2>conftest.er1
22620 grep -v '^ *+' conftest.er1
>conftest.err
22622 cat conftest.err
>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } &&
22625 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; } &&
22631 { ac_try
='test -s conftest.$ac_objext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 ac_cv_sys_largefile_source
=1; break
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.
$ac_ext >&5
22643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22647 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22648 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22649 if test "$ac_cv_sys_largefile_source" != no
; then
22651 cat >>confdefs.h
<<_ACEOF
22652 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22658 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22659 # in glibc 2.1.3, but that breaks too many other things.
22660 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22661 echo "$as_me:$LINENO: checking for fseeko" >&5
22662 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22663 if test "${ac_cv_func_fseeko+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22666 cat >conftest.
$ac_ext <<_ACEOF
22669 cat confdefs.h
>>conftest.
$ac_ext
22670 cat >>conftest.
$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22676 return fseeko && fseeko (stdin, 0, 0);
22681 rm -f conftest.
$ac_objext conftest
$ac_exeext
22682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22683 (eval $ac_link) 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_exeext'
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
22702 ac_cv_func_fseeko
=yes
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.
$ac_ext >&5
22707 ac_cv_func_fseeko
=no
22709 rm -f conftest.err conftest.
$ac_objext \
22710 conftest
$ac_exeext conftest.
$ac_ext
22712 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22713 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22714 if test $ac_cv_func_fseeko = yes; then
22716 cat >>confdefs.h
<<\_ACEOF
22717 #define HAVE_FSEEKO 1
22722 if test "$ac_cv_sys_largefile_source" != no
; then
22723 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22727 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22728 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22729 if test "${ac_cv_c_bigendian+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22732 ac_cv_c_bigendian
=unknown
22733 # See if sys/param.h defines the BYTE_ORDER macro.
22734 cat >conftest.
$ac_ext <<_ACEOF
22737 cat confdefs.h
>>conftest.
$ac_ext
22738 cat >>conftest.
$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740 #include <sys/types.h>
22741 #include <sys/param.h>
22746 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22747 bogus endian macros
22753 rm -f conftest.
$ac_objext
22754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22755 (eval $ac_compile) 2>conftest.er1
22757 grep -v '^ *+' conftest.er1
>conftest.err
22759 cat conftest.err
>&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); } &&
22762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764 (eval $ac_try) 2>&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); }; } &&
22768 { ac_try
='test -s conftest.$ac_objext'
22769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770 (eval $ac_try) 2>&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 # It does; now see whether it defined to BIG_ENDIAN or not.
22775 cat >conftest.
$ac_ext <<_ACEOF
22778 cat confdefs.h
>>conftest.
$ac_ext
22779 cat >>conftest.
$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22781 #include <sys/types.h>
22782 #include <sys/param.h>
22787 #if BYTE_ORDER != BIG_ENDIAN
22794 rm -f conftest.
$ac_objext
22795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22796 (eval $ac_compile) 2>conftest.er1
22798 grep -v '^ *+' conftest.er1
>conftest.err
22800 cat conftest.err
>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } &&
22803 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; } &&
22809 { ac_try
='test -s conftest.$ac_objext'
22810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811 (eval $ac_try) 2>&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); }; }; then
22815 ac_cv_c_bigendian
=yes
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.
$ac_ext >&5
22820 ac_cv_c_bigendian
=no
22822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22824 echo "$as_me: failed program was:" >&5
22825 sed 's/^/| /' conftest.
$ac_ext >&5
22828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22829 if test $ac_cv_c_bigendian = unknown
; then
22830 if test "$cross_compiling" = yes; then
22831 ac_cv_c_bigendian
=unknown
22833 cat >conftest.
$ac_ext <<_ACEOF
22836 cat confdefs.h
>>conftest.
$ac_ext
22837 cat >>conftest.
$ac_ext <<_ACEOF
22838 /* end confdefs.h. */
22840 /* Are we little or big endian? From Harbison&Steele. */
22844 char c[sizeof (long)];
22847 exit (u.c[sizeof (long) - 1] == 1);
22850 rm -f conftest
$ac_exeext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22852 (eval $ac_link) 2>&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22857 (eval $ac_try) 2>&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); }; }; then
22861 ac_cv_c_bigendian
=no
22863 echo "$as_me: program exited with status $ac_status" >&5
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.
$ac_ext >&5
22867 ( exit $ac_status )
22868 ac_cv_c_bigendian
=yes
22870 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22874 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22875 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22876 if test $ac_cv_c_bigendian = unknown
; then
22877 { 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
22878 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;}
22880 if test $ac_cv_c_bigendian = yes; then
22881 cat >>confdefs.h
<<\_ACEOF
22882 #define WORDS_BIGENDIAN 1
22892 ac_cpp
='$CXXCPP $CPPFLAGS'
22893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22899 for ac_header
in iostream
22901 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22903 echo "$as_me:$LINENO: checking for $ac_header" >&5
22904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22906 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22911 # Is the header compilable?
22912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22914 cat >conftest.
$ac_ext <<_ACEOF
22917 cat confdefs.h
>>conftest.
$ac_ext
22918 cat >>conftest.
$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 $ac_includes_default
22921 #include <$ac_header>
22923 rm -f conftest.
$ac_objext
22924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22925 (eval $ac_compile) 2>conftest.er1
22927 grep -v '^ *+' conftest.er1
>conftest.err
22929 cat conftest.err
>&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); } &&
22932 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; } &&
22938 { ac_try
='test -s conftest.$ac_objext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_header_compiler
=yes
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.
$ac_ext >&5
22949 ac_header_compiler
=no
22951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22953 echo "${ECHO_T}$ac_header_compiler" >&6
22955 # Is the header present?
22956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22958 cat >conftest.
$ac_ext <<_ACEOF
22961 cat confdefs.h
>>conftest.
$ac_ext
22962 cat >>conftest.
$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 #include <$ac_header>
22966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22969 grep -v '^ *+' conftest.er1
>conftest.err
22971 cat conftest.err
>&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); } >/dev
/null
; then
22974 if test -s conftest.err
; then
22975 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22976 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22983 if test -z "$ac_cpp_err"; then
22984 ac_header_preproc
=yes
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.
$ac_ext >&5
22989 ac_header_preproc
=no
22991 rm -f conftest.err conftest.
$ac_ext
22992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22993 echo "${ECHO_T}$ac_header_preproc" >&6
22995 # So? What about this header?
22996 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23002 ac_header_preproc
=yes
23005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23019 ## ----------------------------------------- ##
23020 ## Report this to wx-dev@lists.wxwidgets.org ##
23021 ## ----------------------------------------- ##
23024 sed "s/^/$as_me: WARNING: /" >&2
23027 echo "$as_me:$LINENO: checking for $ac_header" >&5
23028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23030 echo $ECHO_N "(cached) $ECHO_C" >&6
23032 eval "$as_ac_Header=\$ac_header_preproc"
23034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23039 cat >>confdefs.h
<<_ACEOF
23040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23048 if test "$ac_cv_header_iostream" = "yes" ; then
23051 cat >>confdefs.h
<<\_ACEOF
23052 #define wxUSE_IOSTREAMH 1
23058 ac_cpp
='$CXXCPP $CPPFLAGS'
23059 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23060 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23061 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23066 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23067 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23068 if test "${wx_cv_cpp_bool+set}" = set; then
23069 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 ac_cpp
='$CXXCPP $CPPFLAGS'
23076 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23077 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23078 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23081 cat >conftest.
$ac_ext <<_ACEOF
23084 cat confdefs.h
>>conftest.
$ac_ext
23085 cat >>conftest.
$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23101 rm -f conftest.
$ac_objext
23102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23103 (eval $ac_compile) 2>conftest.er1
23105 grep -v '^ *+' conftest.er1
>conftest.err
23107 cat conftest.err
>&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); } &&
23110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; } &&
23116 { ac_try
='test -s conftest.$ac_objext'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; }; then
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.
$ac_ext >&5
23134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23137 ac_cpp
='$CXXCPP $CPPFLAGS'
23138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23144 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23145 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23147 if test "$wx_cv_cpp_bool" = "yes"; then
23148 cat >>confdefs.h
<<\_ACEOF
23149 #define HAVE_BOOL 1
23156 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23157 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23158 if test "${wx_cv_explicit+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23165 ac_cpp
='$CXXCPP $CPPFLAGS'
23166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23171 cat >conftest.
$ac_ext <<_ACEOF
23174 cat confdefs.h
>>conftest.
$ac_ext
23175 cat >>conftest.
$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23178 class Foo { public: explicit Foo(int) {} };
23190 rm -f conftest.
$ac_objext
23191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23192 (eval $ac_compile) 2>conftest.er1
23194 grep -v '^ *+' conftest.er1
>conftest.err
23196 cat conftest.err
>&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } &&
23199 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201 (eval $ac_try) 2>&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); }; } &&
23205 { ac_try
='test -s conftest.$ac_objext'
23206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23207 (eval $ac_try) 2>&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); }; }; then
23212 cat >conftest.
$ac_ext <<_ACEOF
23215 cat confdefs.h
>>conftest.
$ac_ext
23216 cat >>conftest.
$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23219 class Foo { public: explicit Foo(int) {} };
23220 static void TakeFoo(const Foo& foo) { }
23233 rm -f conftest.
$ac_objext
23234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23235 (eval $ac_compile) 2>conftest.er1
23237 grep -v '^ *+' conftest.er1
>conftest.err
23239 cat conftest.err
>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; } &&
23248 { ac_try
='test -s conftest.$ac_objext'
23249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23250 (eval $ac_try) 2>&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); }; }; then
23256 echo "$as_me: failed program was:" >&5
23257 sed 's/^/| /' conftest.
$ac_ext >&5
23262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23265 echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.
$ac_ext >&5
23271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23274 ac_cpp
='$CXXCPP $CPPFLAGS'
23275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23281 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23282 echo "${ECHO_T}$wx_cv_explicit" >&6
23284 if test "$wx_cv_explicit" = "yes"; then
23285 cat >>confdefs.h
<<\_ACEOF
23286 #define HAVE_EXPLICIT 1
23292 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23293 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23294 if test "${ac_cv_cxx_const_cast+set}" = set; then
23295 echo $ECHO_N "(cached) $ECHO_C" >&6
23300 ac_cpp
='$CXXCPP $CPPFLAGS'
23301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23305 cat >conftest.
$ac_ext <<_ACEOF
23308 cat confdefs.h
>>conftest.
$ac_ext
23309 cat >>conftest.
$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23315 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23320 rm -f conftest.
$ac_objext
23321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23322 (eval $ac_compile) 2>conftest.er1
23324 grep -v '^ *+' conftest.er1
>conftest.err
23326 cat conftest.err
>&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); } &&
23329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23331 (eval $ac_try) 2>&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); }; } &&
23335 { ac_try
='test -s conftest.$ac_objext'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 ac_cv_cxx_const_cast
=yes
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.
$ac_ext >&5
23346 ac_cv_cxx_const_cast
=no
23348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23350 ac_cpp
='$CXXCPP $CPPFLAGS'
23351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23357 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23358 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23359 if test "$ac_cv_cxx_const_cast" = yes; then
23361 cat >>confdefs.h
<<\_ACEOF
23362 #define HAVE_CONST_CAST
23367 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23368 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23369 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23375 ac_cpp
='$CXXCPP $CPPFLAGS'
23376 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23380 cat >conftest.
$ac_ext <<_ACEOF
23383 cat confdefs.h
>>conftest.
$ac_ext
23384 cat >>conftest.
$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386 #include <typeinfo>
23387 class Base { public : Base () {} virtual void f () = 0;};
23388 class Derived : public Base { public : Derived () {} virtual void f () {} };
23389 class Unrelated { public : Unrelated () {} };
23390 int g (Unrelated&) { return 0; }
23395 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23400 rm -f conftest.
$ac_objext
23401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23402 (eval $ac_compile) 2>conftest.er1
23404 grep -v '^ *+' conftest.er1
>conftest.err
23406 cat conftest.err
>&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } &&
23409 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411 (eval $ac_try) 2>&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; } &&
23415 { ac_try
='test -s conftest.$ac_objext'
23416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23417 (eval $ac_try) 2>&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); }; }; then
23421 ac_cv_cxx_reinterpret_cast
=yes
23423 echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.
$ac_ext >&5
23426 ac_cv_cxx_reinterpret_cast
=no
23428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23430 ac_cpp
='$CXXCPP $CPPFLAGS'
23431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23437 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23438 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23439 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23441 cat >>confdefs.h
<<\_ACEOF
23442 #define HAVE_REINTERPRET_CAST
23447 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23448 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23449 if test "${ac_cv_cxx_static_cast+set}" = set; then
23450 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 ac_cpp
='$CXXCPP $CPPFLAGS'
23456 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23460 cat >conftest.
$ac_ext <<_ACEOF
23463 cat confdefs.h
>>conftest.
$ac_ext
23464 cat >>conftest.
$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 #include <typeinfo>
23467 class Base { public : Base () {} virtual void f () = 0; };
23468 class Derived : public Base { public : Derived () {} virtual void f () {} };
23469 int g (Derived&) { return 0; }
23474 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23479 rm -f conftest.
$ac_objext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23481 (eval $ac_compile) 2>conftest.er1
23483 grep -v '^ *+' conftest.er1
>conftest.err
23485 cat conftest.err
>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try
='test -s conftest.$ac_objext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_cv_cxx_static_cast
=yes
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.
$ac_ext >&5
23505 ac_cv_cxx_static_cast
=no
23507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23509 ac_cpp
='$CXXCPP $CPPFLAGS'
23510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23516 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23517 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23518 if test "$ac_cv_cxx_static_cast" = yes; then
23520 cat >>confdefs.h
<<\_ACEOF
23521 #define HAVE_STATIC_CAST
23527 if test "x$SUNCXX" = xyes
; then
23528 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23531 if test "x$SUNCC" = xyes
; then
23532 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23535 if test "x$SGICC" = "xyes"; then
23536 CFLAGS
="-woff 3970 $CFLAGS"
23538 if test "x$SGICXX" = "xyes"; then
23539 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23542 if test "x$HPCC" = "xyes"; then
23543 CFLAGS
="+W 2011,2450 $CFLAGS"
23545 if test "x$HPCXX" = "xyes"; then
23546 CXXFLAGS
="+W 2340 $CXXFLAGS"
23549 if test "x$COMPAQCXX" = "xyes"; then
23550 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23553 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23554 if test "$wxUSE_UNICODE" = "yes"; then
23555 std_string
="std::wstring"
23556 char_type
="wchar_t"
23558 std_string
="std::string"
23562 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23563 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23564 cat >conftest.
$ac_ext <<_ACEOF
23567 cat confdefs.h
>>conftest.
$ac_ext
23568 cat >>conftest.
$ac_ext <<_ACEOF
23569 /* end confdefs.h. */
23579 rm -f conftest.
$ac_objext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23581 (eval $ac_compile) 2>conftest.er1
23583 grep -v '^ *+' conftest.er1
>conftest.err
23585 cat conftest.err
>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; } &&
23594 { ac_try
='test -s conftest.$ac_objext'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23600 echo "$as_me:$LINENO: result: yes" >&5
23601 echo "${ECHO_T}yes" >&6
23602 cat >>confdefs.h
<<\_ACEOF
23603 #define HAVE_STD_WSTRING 1
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.
$ac_ext >&5
23610 echo "$as_me:$LINENO: result: no" >&5
23611 echo "${ECHO_T}no" >&6
23612 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23613 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23614 cat >conftest.
$ac_ext <<_ACEOF
23617 cat confdefs.h
>>conftest.
$ac_ext
23618 cat >>conftest.
$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23621 #ifdef HAVE_WCHAR_H
23623 # include <stddef.h>
23625 # include <wchar.h>
23627 #ifdef HAVE_STDLIB_H
23628 # include <stdlib.h>
23636 std::basic_string<$char_type> foo;
23637 const $char_type* dummy = foo.c_str();
23642 rm -f conftest.
$ac_objext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23644 (eval $ac_compile) 2>conftest.er1
23646 grep -v '^ *+' conftest.er1
>conftest.err
23648 cat conftest.err
>&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } &&
23651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; } &&
23657 { ac_try
='test -s conftest.$ac_objext'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; }; then
23663 echo "$as_me:$LINENO: result: yes" >&5
23664 echo "${ECHO_T}yes" >&6
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.
$ac_ext >&5
23669 echo "$as_me:$LINENO: result: no" >&5
23670 echo "${ECHO_T}no" >&6
23671 if test "$wxUSE_STL" = "yes"; then
23672 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23673 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23674 { (exit 1); exit 1; }; }
23675 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23676 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23677 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23678 { (exit 1); exit 1; }; }
23680 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23681 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23682 wxUSE_STD_STRING
=no
23687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23693 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23694 echo "$as_me:$LINENO: checking for std::istream" >&5
23695 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23696 if test "${ac_cv_type_std__istream+set}" = set; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23699 cat >conftest.
$ac_ext <<_ACEOF
23702 cat confdefs.h
>>conftest.
$ac_ext
23703 cat >>conftest.
$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #include <iostream>
23710 if ((std::istream *) 0)
23712 if (sizeof (std::istream))
23718 rm -f conftest.
$ac_objext
23719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23720 (eval $ac_compile) 2>conftest.er1
23722 grep -v '^ *+' conftest.er1
>conftest.err
23724 cat conftest.err
>&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); } &&
23727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; } &&
23733 { ac_try
='test -s conftest.$ac_objext'
23734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23735 (eval $ac_try) 2>&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); }; }; then
23739 ac_cv_type_std__istream
=yes
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.
$ac_ext >&5
23744 ac_cv_type_std__istream
=no
23746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23748 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23749 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23750 if test $ac_cv_type_std__istream = yes; then
23752 cat >>confdefs.h
<<_ACEOF
23753 #define HAVE_STD__ISTREAM 1
23758 wxUSE_STD_IOSTREAM
=no
23760 echo "$as_me:$LINENO: checking for std::ostream" >&5
23761 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23762 if test "${ac_cv_type_std__ostream+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23765 cat >conftest.
$ac_ext <<_ACEOF
23768 cat confdefs.h
>>conftest.
$ac_ext
23769 cat >>conftest.
$ac_ext <<_ACEOF
23770 /* end confdefs.h. */
23771 #include <iostream>
23776 if ((std::ostream *) 0)
23778 if (sizeof (std::ostream))
23784 rm -f conftest.
$ac_objext
23785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23786 (eval $ac_compile) 2>conftest.er1
23788 grep -v '^ *+' conftest.er1
>conftest.err
23790 cat conftest.err
>&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; } &&
23799 { ac_try
='test -s conftest.$ac_objext'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 ac_cv_type_std__ostream
=yes
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.
$ac_ext >&5
23810 ac_cv_type_std__ostream
=no
23812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23814 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23815 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23816 if test $ac_cv_type_std__ostream = yes; then
23818 cat >>confdefs.h
<<_ACEOF
23819 #define HAVE_STD__OSTREAM 1
23824 wxUSE_STD_IOSTREAM
=no
23828 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23829 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23830 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23831 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23832 { (exit 1); exit 1; }; }
23834 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23835 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23840 if test "$wxUSE_STL" = "yes"; then
23841 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23842 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23843 cat >conftest.
$ac_ext <<_ACEOF
23846 cat confdefs.h
>>conftest.
$ac_ext
23847 cat >>conftest.
$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23850 #include <functional>
23851 #include <algorithm>
23857 std::vector<int> moo;
23858 std::list<int> foo;
23859 std::vector<int>::iterator it =
23860 std::find_if(moo.begin(), moo.end(),
23861 std::bind2nd(std::less<int>(), 3));
23866 rm -f conftest.
$ac_objext
23867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23868 (eval $ac_compile) 2>conftest.er1
23870 grep -v '^ *+' conftest.er1
>conftest.err
23872 cat conftest.err
>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; } &&
23881 { ac_try
='test -s conftest.$ac_objext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 echo "$as_me:$LINENO: result: yes" >&5
23888 echo "${ECHO_T}yes" >&6
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.
$ac_ext >&5
23893 echo "$as_me:$LINENO: result: no" >&5
23894 echo "${ECHO_T}no" >&6
23895 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23896 echo "$as_me: error: Basic STL functionality missing" >&2;}
23897 { (exit 1); exit 1; }; }
23899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23901 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23902 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23903 cat >conftest.
$ac_ext <<_ACEOF
23906 cat confdefs.h
>>conftest.
$ac_ext
23907 cat >>conftest.
$ac_ext <<_ACEOF
23908 /* end confdefs.h. */
23913 std::string foo, bar;
23915 foo.compare(1, 1, bar);
23916 foo.compare(1, 1, bar, 1, 1);
23918 foo.compare(1, 1, "");
23919 foo.compare(1, 1, "", 2);
23924 rm -f conftest.
$ac_objext
23925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23926 (eval $ac_compile) 2>conftest.er1
23928 grep -v '^ *+' conftest.er1
>conftest.err
23930 cat conftest.err
>&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } &&
23933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; } &&
23939 { ac_try
='test -s conftest.$ac_objext'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 echo "$as_me:$LINENO: result: yes" >&5
23946 echo "${ECHO_T}yes" >&6
23947 cat >>confdefs.h
<<\_ACEOF
23948 #define HAVE_STD_STRING_COMPARE 1
23952 echo "$as_me: failed program was:" >&5
23953 sed 's/^/| /' conftest.
$ac_ext >&5
23955 echo "$as_me:$LINENO: result: no" >&5
23956 echo "${ECHO_T}no" >&6
23958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23960 if test "${ac_cv_header_hash_map+set}" = set; then
23961 echo "$as_me:$LINENO: checking for hash_map" >&5
23962 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23963 if test "${ac_cv_header_hash_map+set}" = set; then
23964 echo $ECHO_N "(cached) $ECHO_C" >&6
23966 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23967 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23969 # Is the header compilable?
23970 echo "$as_me:$LINENO: checking hash_map usability" >&5
23971 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23972 cat >conftest.
$ac_ext <<_ACEOF
23975 cat confdefs.h
>>conftest.
$ac_ext
23976 cat >>conftest.
$ac_ext <<_ACEOF
23977 /* end confdefs.h. */
23978 $ac_includes_default
23979 #include <hash_map>
23981 rm -f conftest.
$ac_objext
23982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23983 (eval $ac_compile) 2>conftest.er1
23985 grep -v '^ *+' conftest.er1
>conftest.err
23987 cat conftest.err
>&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } &&
23990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992 (eval $ac_try) 2>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); }; } &&
23996 { ac_try
='test -s conftest.$ac_objext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 ac_header_compiler
=yes
24004 echo "$as_me: failed program was:" >&5
24005 sed 's/^/| /' conftest.
$ac_ext >&5
24007 ac_header_compiler
=no
24009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24011 echo "${ECHO_T}$ac_header_compiler" >&6
24013 # Is the header present?
24014 echo "$as_me:$LINENO: checking hash_map presence" >&5
24015 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24016 cat >conftest.
$ac_ext <<_ACEOF
24019 cat confdefs.h
>>conftest.
$ac_ext
24020 cat >>conftest.
$ac_ext <<_ACEOF
24021 /* end confdefs.h. */
24022 #include <hash_map>
24024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24025 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24027 grep -v '^ *+' conftest.er1
>conftest.err
24029 cat conftest.err
>&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); } >/dev
/null
; then
24032 if test -s conftest.err
; then
24033 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24034 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24041 if test -z "$ac_cpp_err"; then
24042 ac_header_preproc
=yes
24044 echo "$as_me: failed program was:" >&5
24045 sed 's/^/| /' conftest.
$ac_ext >&5
24047 ac_header_preproc
=no
24049 rm -f conftest.err conftest.
$ac_ext
24050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24051 echo "${ECHO_T}$ac_header_preproc" >&6
24053 # So? What about this header?
24054 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24056 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24057 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24058 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24059 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24060 ac_header_preproc
=yes
24063 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24064 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24065 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24066 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24067 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24068 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24069 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24070 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24071 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24072 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24073 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24074 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24077 ## ----------------------------------------- ##
24078 ## Report this to wx-dev@lists.wxwidgets.org ##
24079 ## ----------------------------------------- ##
24082 sed "s/^/$as_me: WARNING: /" >&2
24085 echo "$as_me:$LINENO: checking for hash_map" >&5
24086 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24087 if test "${ac_cv_header_hash_map+set}" = set; then
24088 echo $ECHO_N "(cached) $ECHO_C" >&6
24090 ac_cv_header_hash_map
=$ac_header_preproc
24092 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24093 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24096 if test $ac_cv_header_hash_map = yes; then
24097 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24098 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24099 cat >conftest.
$ac_ext <<_ACEOF
24102 cat confdefs.h
>>conftest.
$ac_ext
24103 cat >>conftest.
$ac_ext <<_ACEOF
24104 /* end confdefs.h. */
24105 #include <hash_map>
24106 #include <hash_set>
24110 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24111 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24116 rm -f conftest.
$ac_objext
24117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24118 (eval $ac_compile) 2>conftest.er1
24120 grep -v '^ *+' conftest.er1
>conftest.err
24122 cat conftest.err
>&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } &&
24125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; } &&
24131 { ac_try
='test -s conftest.$ac_objext'
24132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24133 (eval $ac_try) 2>&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); }; }; then
24137 echo "$as_me:$LINENO: result: yes" >&5
24138 echo "${ECHO_T}yes" >&6
24139 cat >>confdefs.h
<<\_ACEOF
24140 #define HAVE_HASH_MAP 1
24143 cat >>confdefs.h
<<\_ACEOF
24144 #define HAVE_STD_HASH_MAP 1
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.
$ac_ext >&5
24151 echo "$as_me:$LINENO: result: no" >&5
24152 echo "${ECHO_T}no" >&6
24154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24160 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24161 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24162 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24163 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24166 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24167 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24169 # Is the header compilable?
24170 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24171 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24172 cat >conftest.
$ac_ext <<_ACEOF
24175 cat confdefs.h
>>conftest.
$ac_ext
24176 cat >>conftest.
$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24178 $ac_includes_default
24179 #include <ext/hash_map>
24181 rm -f conftest.
$ac_objext
24182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24183 (eval $ac_compile) 2>conftest.er1
24185 grep -v '^ *+' conftest.er1
>conftest.err
24187 cat conftest.err
>&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); } &&
24190 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; } &&
24196 { ac_try
='test -s conftest.$ac_objext'
24197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24198 (eval $ac_try) 2>&5
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); }; }; then
24202 ac_header_compiler
=yes
24204 echo "$as_me: failed program was:" >&5
24205 sed 's/^/| /' conftest.
$ac_ext >&5
24207 ac_header_compiler
=no
24209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24211 echo "${ECHO_T}$ac_header_compiler" >&6
24213 # Is the header present?
24214 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24215 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24216 cat >conftest.
$ac_ext <<_ACEOF
24219 cat confdefs.h
>>conftest.
$ac_ext
24220 cat >>conftest.
$ac_ext <<_ACEOF
24221 /* end confdefs.h. */
24222 #include <ext/hash_map>
24224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24225 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24227 grep -v '^ *+' conftest.er1
>conftest.err
24229 cat conftest.err
>&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); } >/dev
/null
; then
24232 if test -s conftest.err
; then
24233 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24234 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24241 if test -z "$ac_cpp_err"; then
24242 ac_header_preproc
=yes
24244 echo "$as_me: failed program was:" >&5
24245 sed 's/^/| /' conftest.
$ac_ext >&5
24247 ac_header_preproc
=no
24249 rm -f conftest.err conftest.
$ac_ext
24250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24251 echo "${ECHO_T}$ac_header_preproc" >&6
24253 # So? What about this header?
24254 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24256 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24257 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24258 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24259 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24260 ac_header_preproc
=yes
24263 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24264 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24265 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24266 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24267 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24268 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24269 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24270 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24271 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24272 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24273 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24274 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24277 ## ----------------------------------------- ##
24278 ## Report this to wx-dev@lists.wxwidgets.org ##
24279 ## ----------------------------------------- ##
24282 sed "s/^/$as_me: WARNING: /" >&2
24285 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24286 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24287 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24288 echo $ECHO_N "(cached) $ECHO_C" >&6
24290 ac_cv_header_ext_hash_map
=$ac_header_preproc
24292 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24293 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24296 if test $ac_cv_header_ext_hash_map = yes; then
24297 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24298 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24299 cat >conftest.
$ac_ext <<_ACEOF
24302 cat confdefs.h
>>conftest.
$ac_ext
24303 cat >>conftest.
$ac_ext <<_ACEOF
24304 /* end confdefs.h. */
24305 #include <ext/hash_map>
24306 #include <ext/hash_set>
24310 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24311 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24316 rm -f conftest.
$ac_objext
24317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24318 (eval $ac_compile) 2>conftest.er1
24320 grep -v '^ *+' conftest.er1
>conftest.err
24322 cat conftest.err
>&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); } &&
24325 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24327 (eval $ac_try) 2>&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); }; } &&
24331 { ac_try
='test -s conftest.$ac_objext'
24332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24333 (eval $ac_try) 2>&5
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); }; }; then
24337 echo "$as_me:$LINENO: result: yes" >&5
24338 echo "${ECHO_T}yes" >&6
24339 cat >>confdefs.h
<<\_ACEOF
24340 #define HAVE_EXT_HASH_MAP 1
24343 cat >>confdefs.h
<<\_ACEOF
24344 #define HAVE_GNU_CXX_HASH_MAP 1
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.
$ac_ext >&5
24351 echo "$as_me:$LINENO: result: no" >&5
24352 echo "${ECHO_T}no" >&6
24354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24363 /usr/local/include \
24365 /usr/Motif-2.1/include \
24366 /usr/Motif-1.2/include \
24367 /usr/include/Motif1.2 \
24370 /usr/openwin/include \
24374 /usr/X11R6/include \
24375 /usr/X11R6.4/include \
24376 /usr/X11R5/include \
24377 /usr/X11R4/include \
24379 /usr/include/X11R6 \
24380 /usr/include/X11R5 \
24381 /usr/include/X11R4 \
24383 /usr/local/X11R6/include \
24384 /usr/local/X11R5/include \
24385 /usr/local/X11R4/include \
24387 /usr/local/include/X11R6 \
24388 /usr/local/include/X11R5 \
24389 /usr/local/include/X11R4 \
24393 /usr/local/X11/include \
24394 /usr/local/include/X11 \
24396 /usr/XFree86/include/X11 \
24399 /usr/openwin/share/include"
24401 echo "$as_me:$LINENO: checking for libraries directory" >&5
24402 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24406 if test "${wx_cv_std_libpath+set}" = set; then
24407 echo $ECHO_N "(cached) $ECHO_C" >&6
24410 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24411 for e
in a so sl dylib dll.a
; do
24413 if test -f $libc; then
24416 cat >conftest.
$ac_ext <<_ACEOF
24417 int main() { return 0; }
24419 rm -f conftest.
$ac_objext conftest
$ac_exeext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24421 (eval $ac_link) 2>conftest.er1
24423 grep -v '^ *+' conftest.er1
>conftest.err
24425 cat conftest.err
>&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); } &&
24428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24430 (eval $ac_try) 2>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; } &&
24434 { ac_try
='test -s conftest$ac_exeext'
24435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436 (eval $ac_try) 2>&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); }; }; then
24440 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24442 echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.
$ac_ext >&5
24446 rm -f conftest.err conftest.
$ac_objext \
24447 conftest
$ac_exeext conftest.
$ac_ext
24449 if test "x$wx_cv_std_libpath" != "x"; then
24455 if test "x$wx_cv_std_libpath" = "x"; then
24456 wx_cv_std_libpath
="lib"
24465 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24466 wx_cv_std_libpath
="lib/64"
24468 wx_cv_std_libpath
="lib"
24473 if test "$ac_cv_sizeof_void_p" = 8 -a \
24474 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24475 wx_cv_std_libpath
="lib64"
24477 wx_cv_std_libpath
="lib"
24482 wx_cv_std_libpath
="lib";
24486 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24487 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24489 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24491 if test "$build" != "$host" -a "$GCC" = yes; then
24492 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24493 cross_root
=`dirname $cross_root`
24494 cross_root
=`dirname $cross_root`
24496 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24497 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24498 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24500 if test -z "$PKG_CONFIG_PATH"; then
24501 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24502 export PKG_CONFIG_PATH
24505 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24508 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24510 if test -f "$ac_dir/X11/Intrinsic.h"; then
24511 ac_find_includes
=$ac_dir
24516 x_includes
=$ac_find_includes
24518 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24521 for ac_dir
in $SEARCH_LIB;
24523 for ac_extension
in a so sl dylib dll.a
; do
24524 if test -f "$ac_dir/libXt.$ac_extension"; then
24525 ac_find_libraries
=$ac_dir
24531 x_libraries
=$ac_find_libraries
24537 cat >confcache
<<\_ACEOF
24538 # This file is a shell script that caches the results of configure
24539 # tests run on this system so they can be shared between configure
24540 # scripts and configure runs, see configure's option --config-cache.
24541 # It is not useful on other systems. If it contains results you don't
24542 # want to keep, you may remove or edit it.
24544 # config.status only pays attention to the cache file if you give it
24545 # the --recheck option to rerun configure.
24547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24549 # following values.
24553 # The following way of writing the cache mishandles newlines in values,
24554 # but we know of no workaround that is simple, portable, and efficient.
24555 # So, don't put newlines in cache variables' values.
24556 # Ultrix sh set writes to stderr and can't be redirected directly,
24557 # and sets the high bit in the cache file unless we assign to the vars.
24560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24562 # `set' does not quote correctly, so add quotes (double-quote
24563 # substitution turns \\\\ into \\, and sed turns \\ into \).
24566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24569 # `set' quotes correctly as required by POSIX, so do not add quotes.
24571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24582 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24583 if test -w $cache_file; then
24584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24585 cat confcache
>$cache_file
24587 echo "not updating unwritable cache $cache_file"
24592 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24593 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24594 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24595 if test "${wx_cv_lib_glibc21+set}" = set; then
24596 echo $ECHO_N "(cached) $ECHO_C" >&6
24599 cat >conftest.
$ac_ext <<_ACEOF
24602 cat confdefs.h
>>conftest.
$ac_ext
24603 cat >>conftest.
$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605 #include <features.h>
24610 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24618 rm -f conftest.
$ac_objext
24619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24620 (eval $ac_compile) 2>conftest.er1
24622 grep -v '^ *+' conftest.er1
>conftest.err
24624 cat conftest.err
>&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } &&
24627 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24629 (eval $ac_try) 2>&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); }; } &&
24633 { ac_try
='test -s conftest.$ac_objext'
24634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24635 (eval $ac_try) 2>&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); }; }; then
24640 wx_cv_lib_glibc21
=yes
24643 echo "$as_me: failed program was:" >&5
24644 sed 's/^/| /' conftest.
$ac_ext >&5
24647 wx_cv_lib_glibc21
=no
24651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24654 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24655 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24656 if test "$wx_cv_lib_glibc21" = "yes"; then
24657 cat >>confdefs.h
<<\_ACEOF
24658 #define wxHAVE_GLIBC2 1
24664 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24665 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24666 cat >>confdefs.h
<<\_ACEOF
24667 #define _GNU_SOURCE 1
24678 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24679 echo "$as_me:$LINENO: checking for $ac_func" >&5
24680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24681 if eval "test \"\${$as_ac_var+set}\" = set"; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24684 cat >conftest.
$ac_ext <<_ACEOF
24687 cat confdefs.h
>>conftest.
$ac_ext
24688 cat >>conftest.
$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24692 #define $ac_func innocuous_$ac_func
24694 /* System header to define __stub macros and hopefully few prototypes,
24695 which can conflict with char $ac_func (); below.
24696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24697 <limits.h> exists even on freestanding compilers. */
24700 # include <limits.h>
24702 # include <assert.h>
24707 /* Override any gcc2 internal prototype to avoid an error. */
24712 /* We use char because int might match the return type of a gcc2
24713 builtin and then its argument prototype would still apply. */
24715 /* The GNU C library defines this for functions which it implements
24716 to always fail with ENOSYS. Some functions are actually named
24717 something starting with __ and the normal name is an alias. */
24718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24721 char (*f) () = $ac_func;
24730 return f != $ac_func;
24735 rm -f conftest.
$ac_objext conftest
$ac_exeext
24736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24737 (eval $ac_link) 2>conftest.er1
24739 grep -v '^ *+' conftest.er1
>conftest.err
24741 cat conftest.err
>&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } &&
24744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746 (eval $ac_try) 2>&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); }; } &&
24750 { ac_try
='test -s conftest$ac_exeext'
24751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24752 (eval $ac_try) 2>&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); }; }; then
24756 eval "$as_ac_var=yes"
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.
$ac_ext >&5
24761 eval "$as_ac_var=no"
24763 rm -f conftest.err conftest.
$ac_objext \
24764 conftest
$ac_exeext conftest.
$ac_ext
24766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24768 if test `eval echo '${'$as_ac_var'}'` = yes; then
24769 cat >>confdefs.h
<<_ACEOF
24770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24777 for ac_func
in floor
24779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24780 echo "$as_me:$LINENO: checking for $ac_func" >&5
24781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24782 if eval "test \"\${$as_ac_var+set}\" = set"; then
24783 echo $ECHO_N "(cached) $ECHO_C" >&6
24785 cat >conftest.
$ac_ext <<_ACEOF
24788 cat confdefs.h
>>conftest.
$ac_ext
24789 cat >>conftest.
$ac_ext <<_ACEOF
24790 /* end confdefs.h. */
24791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24793 #define $ac_func innocuous_$ac_func
24795 /* System header to define __stub macros and hopefully few prototypes,
24796 which can conflict with char $ac_func (); below.
24797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24798 <limits.h> exists even on freestanding compilers. */
24801 # include <limits.h>
24803 # include <assert.h>
24808 /* Override any gcc2 internal prototype to avoid an error. */
24813 /* We use char because int might match the return type of a gcc2
24814 builtin and then its argument prototype would still apply. */
24816 /* The GNU C library defines this for functions which it implements
24817 to always fail with ENOSYS. Some functions are actually named
24818 something starting with __ and the normal name is an alias. */
24819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24822 char (*f) () = $ac_func;
24831 return f != $ac_func;
24836 rm -f conftest.
$ac_objext conftest
$ac_exeext
24837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24838 (eval $ac_link) 2>conftest.er1
24840 grep -v '^ *+' conftest.er1
>conftest.err
24842 cat conftest.err
>&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); } &&
24845 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; } &&
24851 { ac_try
='test -s conftest$ac_exeext'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; }; then
24857 eval "$as_ac_var=yes"
24859 echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.
$ac_ext >&5
24862 eval "$as_ac_var=no"
24864 rm -f conftest.err conftest.
$ac_objext \
24865 conftest
$ac_exeext conftest.
$ac_ext
24867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24869 if test `eval echo '${'$as_ac_var'}'` = yes; then
24870 cat >>confdefs.h
<<_ACEOF
24871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24877 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24878 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24879 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24880 echo "$as_me:$LINENO: result: yes" >&5
24881 echo "${ECHO_T}yes" >&6
24883 echo "$as_me:$LINENO: result: no" >&5
24884 echo "${ECHO_T}no" >&6
24886 # use different functions to avoid configure caching
24892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24893 echo "$as_me:$LINENO: checking for $ac_func" >&5
24894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24895 if eval "test \"\${$as_ac_var+set}\" = set"; then
24896 echo $ECHO_N "(cached) $ECHO_C" >&6
24898 cat >conftest.
$ac_ext <<_ACEOF
24901 cat confdefs.h
>>conftest.
$ac_ext
24902 cat >>conftest.
$ac_ext <<_ACEOF
24903 /* end confdefs.h. */
24904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24906 #define $ac_func innocuous_$ac_func
24908 /* System header to define __stub macros and hopefully few prototypes,
24909 which can conflict with char $ac_func (); below.
24910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24911 <limits.h> exists even on freestanding compilers. */
24914 # include <limits.h>
24916 # include <assert.h>
24921 /* Override any gcc2 internal prototype to avoid an error. */
24926 /* We use char because int might match the return type of a gcc2
24927 builtin and then its argument prototype would still apply. */
24929 /* The GNU C library defines this for functions which it implements
24930 to always fail with ENOSYS. Some functions are actually named
24931 something starting with __ and the normal name is an alias. */
24932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24935 char (*f) () = $ac_func;
24944 return f != $ac_func;
24949 rm -f conftest.
$ac_objext conftest
$ac_exeext
24950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24951 (eval $ac_link) 2>conftest.er1
24953 grep -v '^ *+' conftest.er1
>conftest.err
24955 cat conftest.err
>&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } &&
24958 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24960 (eval $ac_try) 2>&5
24962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963 (exit $ac_status); }; } &&
24964 { ac_try
='test -s conftest$ac_exeext'
24965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24966 (eval $ac_try) 2>&5
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); }; }; then
24970 eval "$as_ac_var=yes"
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.
$ac_ext >&5
24975 eval "$as_ac_var=no"
24977 rm -f conftest.err conftest.
$ac_objext \
24978 conftest
$ac_exeext conftest.
$ac_ext
24980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24982 if test `eval echo '${'$as_ac_var'}'` = yes; then
24983 cat >>confdefs.h
<<_ACEOF
24984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24991 for ac_func
in ceil
24993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24994 echo "$as_me:$LINENO: checking for $ac_func" >&5
24995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24996 if eval "test \"\${$as_ac_var+set}\" = set"; then
24997 echo $ECHO_N "(cached) $ECHO_C" >&6
24999 cat >conftest.
$ac_ext <<_ACEOF
25002 cat confdefs.h
>>conftest.
$ac_ext
25003 cat >>conftest.
$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25007 #define $ac_func innocuous_$ac_func
25009 /* System header to define __stub macros and hopefully few prototypes,
25010 which can conflict with char $ac_func (); below.
25011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25012 <limits.h> exists even on freestanding compilers. */
25015 # include <limits.h>
25017 # include <assert.h>
25022 /* Override any gcc2 internal prototype to avoid an error. */
25027 /* We use char because int might match the return type of a gcc2
25028 builtin and then its argument prototype would still apply. */
25030 /* The GNU C library defines this for functions which it implements
25031 to always fail with ENOSYS. Some functions are actually named
25032 something starting with __ and the normal name is an alias. */
25033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25036 char (*f) () = $ac_func;
25045 return f != $ac_func;
25050 rm -f conftest.
$ac_objext conftest
$ac_exeext
25051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25052 (eval $ac_link) 2>conftest.er1
25054 grep -v '^ *+' conftest.er1
>conftest.err
25056 cat conftest.err
>&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } &&
25059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25061 (eval $ac_try) 2>&5
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); }; } &&
25065 { ac_try
='test -s conftest$ac_exeext'
25066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25067 (eval $ac_try) 2>&5
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); }; }; then
25071 eval "$as_ac_var=yes"
25073 echo "$as_me: failed program was:" >&5
25074 sed 's/^/| /' conftest.
$ac_ext >&5
25076 eval "$as_ac_var=no"
25078 rm -f conftest.err conftest.
$ac_objext \
25079 conftest
$ac_exeext conftest.
$ac_ext
25081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25083 if test `eval echo '${'$as_ac_var'}'` = yes; then
25084 cat >>confdefs.h
<<_ACEOF
25085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25091 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25092 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25093 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25094 echo "$as_me:$LINENO: result: yes" >&5
25095 echo "${ECHO_T}yes" >&6
25097 echo "$as_me:$LINENO: result: no" >&5
25098 echo "${ECHO_T}no" >&6
25099 # not sure we should warn the user, crash, etc.
25105 if test "$wxUSE_REGEX" != "no"; then
25106 cat >>confdefs.h
<<\_ACEOF
25107 #define wxUSE_REGEX 1
25111 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25112 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25113 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25114 wxUSE_REGEX
=builtin
25117 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25118 if test "${ac_cv_header_regex_h+set}" = set; then
25119 echo "$as_me:$LINENO: checking for regex.h" >&5
25120 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25121 if test "${ac_cv_header_regex_h+set}" = set; then
25122 echo $ECHO_N "(cached) $ECHO_C" >&6
25124 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25125 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25127 # Is the header compilable?
25128 echo "$as_me:$LINENO: checking regex.h usability" >&5
25129 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25130 cat >conftest.
$ac_ext <<_ACEOF
25133 cat confdefs.h
>>conftest.
$ac_ext
25134 cat >>conftest.
$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25136 $ac_includes_default
25139 rm -f conftest.
$ac_objext
25140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25141 (eval $ac_compile) 2>conftest.er1
25143 grep -v '^ *+' conftest.er1
>conftest.err
25145 cat conftest.err
>&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); } &&
25148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25150 (eval $ac_try) 2>&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); }; } &&
25154 { ac_try
='test -s conftest.$ac_objext'
25155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25156 (eval $ac_try) 2>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); }; }; then
25160 ac_header_compiler
=yes
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.
$ac_ext >&5
25165 ac_header_compiler
=no
25167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25169 echo "${ECHO_T}$ac_header_compiler" >&6
25171 # Is the header present?
25172 echo "$as_me:$LINENO: checking regex.h presence" >&5
25173 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25174 cat >conftest.
$ac_ext <<_ACEOF
25177 cat confdefs.h
>>conftest.
$ac_ext
25178 cat >>conftest.
$ac_ext <<_ACEOF
25179 /* end confdefs.h. */
25182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25185 grep -v '^ *+' conftest.er1
>conftest.err
25187 cat conftest.err
>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } >/dev
/null
; then
25190 if test -s conftest.err
; then
25191 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25192 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25199 if test -z "$ac_cpp_err"; then
25200 ac_header_preproc
=yes
25202 echo "$as_me: failed program was:" >&5
25203 sed 's/^/| /' conftest.
$ac_ext >&5
25205 ac_header_preproc
=no
25207 rm -f conftest.err conftest.
$ac_ext
25208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25209 echo "${ECHO_T}$ac_header_preproc" >&6
25211 # So? What about this header?
25212 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25214 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25215 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25216 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25217 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25218 ac_header_preproc
=yes
25221 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25222 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25223 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25224 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25225 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25226 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25227 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25228 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25229 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25230 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25231 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25232 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25235 ## ----------------------------------------- ##
25236 ## Report this to wx-dev@lists.wxwidgets.org ##
25237 ## ----------------------------------------- ##
25240 sed "s/^/$as_me: WARNING: /" >&2
25243 echo "$as_me:$LINENO: checking for regex.h" >&5
25244 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25245 if test "${ac_cv_header_regex_h+set}" = set; then
25246 echo $ECHO_N "(cached) $ECHO_C" >&6
25248 ac_cv_header_regex_h
=$ac_header_preproc
25250 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25251 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25254 if test $ac_cv_header_regex_h = yes; then
25257 for ac_func
in regcomp re_search
25259 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25260 echo "$as_me:$LINENO: checking for $ac_func" >&5
25261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25262 if eval "test \"\${$as_ac_var+set}\" = set"; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25265 cat >conftest.
$ac_ext <<_ACEOF
25268 cat confdefs.h
>>conftest.
$ac_ext
25269 cat >>conftest.
$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25273 #define $ac_func innocuous_$ac_func
25275 /* System header to define __stub macros and hopefully few prototypes,
25276 which can conflict with char $ac_func (); below.
25277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25278 <limits.h> exists even on freestanding compilers. */
25281 # include <limits.h>
25283 # include <assert.h>
25288 /* Override any gcc2 internal prototype to avoid an error. */
25293 /* We use char because int might match the return type of a gcc2
25294 builtin and then its argument prototype would still apply. */
25296 /* The GNU C library defines this for functions which it implements
25297 to always fail with ENOSYS. Some functions are actually named
25298 something starting with __ and the normal name is an alias. */
25299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25302 char (*f) () = $ac_func;
25311 return f != $ac_func;
25316 rm -f conftest.
$ac_objext conftest
$ac_exeext
25317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25318 (eval $ac_link) 2>conftest.er1
25320 grep -v '^ *+' conftest.er1
>conftest.err
25322 cat conftest.err
>&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); } &&
25325 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; } &&
25331 { ac_try
='test -s conftest$ac_exeext'
25332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25333 (eval $ac_try) 2>&5
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); }; }; then
25337 eval "$as_ac_var=yes"
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.
$ac_ext >&5
25342 eval "$as_ac_var=no"
25344 rm -f conftest.err conftest.
$ac_objext \
25345 conftest
$ac_exeext conftest.
$ac_ext
25347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25349 if test `eval echo '${'$as_ac_var'}'` = yes; then
25350 cat >>confdefs.h
<<_ACEOF
25351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25361 if test "x$ac_cv_func_regcomp" != "xyes"; then
25362 if test "$wxUSE_REGEX" = "sys" ; then
25363 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25364 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25365 { (exit 1); exit 1; }; }
25367 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25368 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25369 wxUSE_REGEX
=builtin
25373 cat >>confdefs.h
<<\_ACEOF
25374 #define WX_NO_REGEX_ADVANCED 1
25383 if test "$wxUSE_ZLIB" != "no" ; then
25384 cat >>confdefs.h
<<\_ACEOF
25385 #define wxUSE_ZLIB 1
25389 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25390 if test "$USE_DARWIN" = 1; then
25391 system_zlib_h_ok
="yes"
25393 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25394 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25395 if test "${ac_cv_header_zlib_h+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 if test "$cross_compiling" = yes; then
25399 unset ac_cv_header_zlib_h
25402 cat >conftest.
$ac_ext <<_ACEOF
25405 cat confdefs.h
>>conftest.
$ac_ext
25406 cat >>conftest.
$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25414 FILE *f=fopen("conftestval", "w");
25417 ZLIB_VERSION[0] == '1' &&
25418 (ZLIB_VERSION[2] > '1' ||
25419 (ZLIB_VERSION[2] == '1' &&
25420 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25425 rm -f conftest
$ac_exeext
25426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25427 (eval $ac_link) 2>&5
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25432 (eval $ac_try) 2>&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); }; }; then
25436 ac_cv_header_zlib_h
=`cat conftestval`
25438 echo "$as_me: program exited with status $ac_status" >&5
25439 echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.
$ac_ext >&5
25442 ( exit $ac_status )
25443 ac_cv_header_zlib_h
=no
25445 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25449 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25450 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25451 if test "${ac_cv_header_zlib_h+set}" = set; then
25452 echo "$as_me:$LINENO: checking for zlib.h" >&5
25453 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25454 if test "${ac_cv_header_zlib_h+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25458 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25460 # Is the header compilable?
25461 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25462 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25463 cat >conftest.
$ac_ext <<_ACEOF
25466 cat confdefs.h
>>conftest.
$ac_ext
25467 cat >>conftest.
$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25469 $ac_includes_default
25472 rm -f conftest.
$ac_objext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25474 (eval $ac_compile) 2>conftest.er1
25476 grep -v '^ *+' conftest.er1
>conftest.err
25478 cat conftest.err
>&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try
='test -s conftest.$ac_objext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_header_compiler
=yes
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.
$ac_ext >&5
25498 ac_header_compiler
=no
25500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25502 echo "${ECHO_T}$ac_header_compiler" >&6
25504 # Is the header present?
25505 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25506 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25507 cat >conftest.
$ac_ext <<_ACEOF
25510 cat confdefs.h
>>conftest.
$ac_ext
25511 cat >>conftest.
$ac_ext <<_ACEOF
25512 /* end confdefs.h. */
25515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25518 grep -v '^ *+' conftest.er1
>conftest.err
25520 cat conftest.err
>&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } >/dev
/null
; then
25523 if test -s conftest.err
; then
25524 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25525 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25532 if test -z "$ac_cpp_err"; then
25533 ac_header_preproc
=yes
25535 echo "$as_me: failed program was:" >&5
25536 sed 's/^/| /' conftest.
$ac_ext >&5
25538 ac_header_preproc
=no
25540 rm -f conftest.err conftest.
$ac_ext
25541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25542 echo "${ECHO_T}$ac_header_preproc" >&6
25544 # So? What about this header?
25545 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25547 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25548 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25549 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25550 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25551 ac_header_preproc
=yes
25554 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25555 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25556 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25557 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25558 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25559 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25560 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25561 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25562 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25563 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25564 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25565 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25568 ## ----------------------------------------- ##
25569 ## Report this to wx-dev@lists.wxwidgets.org ##
25570 ## ----------------------------------------- ##
25573 sed "s/^/$as_me: WARNING: /" >&2
25576 echo "$as_me:$LINENO: checking for zlib.h" >&5
25577 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25578 if test "${ac_cv_header_zlib_h+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 ac_cv_header_zlib_h
=$ac_header_preproc
25583 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25584 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25590 system_zlib_h_ok
=$ac_cv_header_zlib_h
25593 if test "$system_zlib_h_ok" = "yes"; then
25594 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25595 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25596 if test "${ac_cv_lib_z_deflate+set}" = set; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25599 ac_check_lib_save_LIBS
=$LIBS
25601 cat >conftest.
$ac_ext <<_ACEOF
25604 cat confdefs.h
>>conftest.
$ac_ext
25605 cat >>conftest.
$ac_ext <<_ACEOF
25606 /* end confdefs.h. */
25608 /* Override any gcc2 internal prototype to avoid an error. */
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
25623 rm -f conftest.
$ac_objext conftest
$ac_exeext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625 (eval $ac_link) 2>conftest.er1
25627 grep -v '^ *+' conftest.er1
>conftest.err
25629 cat conftest.err
>&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } &&
25632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; } &&
25638 { ac_try
='test -s conftest$ac_exeext'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; }; then
25644 ac_cv_lib_z_deflate
=yes
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.
$ac_ext >&5
25649 ac_cv_lib_z_deflate
=no
25651 rm -f conftest.err conftest.
$ac_objext \
25652 conftest
$ac_exeext conftest.
$ac_ext
25653 LIBS
=$ac_check_lib_save_LIBS
25655 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25656 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25657 if test $ac_cv_lib_z_deflate = yes; then
25663 if test "x$ZLIB_LINK" = "x" ; then
25664 if test "$wxUSE_ZLIB" = "sys" ; then
25665 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25666 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25667 { (exit 1); exit 1; }; }
25669 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25670 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25681 if test "$wxUSE_LIBPNG" != "no" ; then
25682 cat >>confdefs.h
<<\_ACEOF
25683 #define wxUSE_LIBPNG 1
25687 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25688 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25689 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25693 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25694 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25695 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25696 wxUSE_LIBPNG
=builtin
25699 if test "$wxUSE_MGL" != 1 ; then
25700 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25701 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25702 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25703 if test "${ac_cv_header_png_h+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 if test "$cross_compiling" = yes; then
25707 unset ac_cv_header_png_h
25710 cat >conftest.
$ac_ext <<_ACEOF
25713 cat confdefs.h
>>conftest.
$ac_ext
25714 cat >>conftest.
$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25722 FILE *f=fopen("conftestval", "w");
25725 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25730 rm -f conftest
$ac_exeext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25732 (eval $ac_link) 2>&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741 ac_cv_header_png_h
=`cat conftestval`
25743 echo "$as_me: program exited with status $ac_status" >&5
25744 echo "$as_me: failed program was:" >&5
25745 sed 's/^/| /' conftest.
$ac_ext >&5
25747 ( exit $ac_status )
25748 ac_cv_header_png_h
=no
25750 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25754 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25755 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25756 if test "${ac_cv_header_png_h+set}" = set; then
25757 echo "$as_me:$LINENO: checking for png.h" >&5
25758 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25759 if test "${ac_cv_header_png_h+set}" = set; then
25760 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25763 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25765 # Is the header compilable?
25766 echo "$as_me:$LINENO: checking png.h usability" >&5
25767 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25768 cat >conftest.
$ac_ext <<_ACEOF
25771 cat confdefs.h
>>conftest.
$ac_ext
25772 cat >>conftest.
$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25774 $ac_includes_default
25777 rm -f conftest.
$ac_objext
25778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25779 (eval $ac_compile) 2>conftest.er1
25781 grep -v '^ *+' conftest.er1
>conftest.err
25783 cat conftest.err
>&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } &&
25786 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25788 (eval $ac_try) 2>&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); }; } &&
25792 { ac_try
='test -s conftest.$ac_objext'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; }; then
25798 ac_header_compiler
=yes
25800 echo "$as_me: failed program was:" >&5
25801 sed 's/^/| /' conftest.
$ac_ext >&5
25803 ac_header_compiler
=no
25805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25807 echo "${ECHO_T}$ac_header_compiler" >&6
25809 # Is the header present?
25810 echo "$as_me:$LINENO: checking png.h presence" >&5
25811 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25812 cat >conftest.
$ac_ext <<_ACEOF
25815 cat confdefs.h
>>conftest.
$ac_ext
25816 cat >>conftest.
$ac_ext <<_ACEOF
25817 /* end confdefs.h. */
25820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25823 grep -v '^ *+' conftest.er1
>conftest.err
25825 cat conftest.err
>&5
25826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25827 (exit $ac_status); } >/dev
/null
; then
25828 if test -s conftest.err
; then
25829 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25830 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25837 if test -z "$ac_cpp_err"; then
25838 ac_header_preproc
=yes
25840 echo "$as_me: failed program was:" >&5
25841 sed 's/^/| /' conftest.
$ac_ext >&5
25843 ac_header_preproc
=no
25845 rm -f conftest.err conftest.
$ac_ext
25846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25847 echo "${ECHO_T}$ac_header_preproc" >&6
25849 # So? What about this header?
25850 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25852 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25853 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25854 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25855 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25856 ac_header_preproc
=yes
25859 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25860 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25861 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25862 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25863 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25864 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25865 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25866 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25867 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25868 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25869 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25870 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25873 ## ----------------------------------------- ##
25874 ## Report this to wx-dev@lists.wxwidgets.org ##
25875 ## ----------------------------------------- ##
25878 sed "s/^/$as_me: WARNING: /" >&2
25881 echo "$as_me:$LINENO: checking for png.h" >&5
25882 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25883 if test "${ac_cv_header_png_h+set}" = set; then
25884 echo $ECHO_N "(cached) $ECHO_C" >&6
25886 ac_cv_header_png_h
=$ac_header_preproc
25888 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25889 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25895 if test "$ac_cv_header_png_h" = "yes"; then
25896 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25897 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25898 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 ac_check_lib_save_LIBS
=$LIBS
25902 LIBS
="-lpng -lz -lm $LIBS"
25903 cat >conftest.
$ac_ext <<_ACEOF
25906 cat confdefs.h
>>conftest.
$ac_ext
25907 cat >>conftest.
$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25910 /* Override any gcc2 internal prototype to avoid an error. */
25914 /* We use char because int might match the return type of a gcc2
25915 builtin and then its argument prototype would still apply. */
25916 char png_check_sig ();
25925 rm -f conftest.
$ac_objext conftest
$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927 (eval $ac_link) 2>conftest.er1
25929 grep -v '^ *+' conftest.er1
>conftest.err
25931 cat conftest.err
>&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try
='test -s conftest$ac_exeext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946 ac_cv_lib_png_png_check_sig
=yes
25948 echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.
$ac_ext >&5
25951 ac_cv_lib_png_png_check_sig
=no
25953 rm -f conftest.err conftest.
$ac_objext \
25954 conftest
$ac_exeext conftest.
$ac_ext
25955 LIBS
=$ac_check_lib_save_LIBS
25957 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25958 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25959 if test $ac_cv_lib_png_png_check_sig = yes; then
25960 PNG_LINK
=" -lpng -lz"
25965 if test "x$PNG_LINK" = "x" ; then
25966 if test "$wxUSE_LIBPNG" = "sys" ; then
25967 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25968 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25969 { (exit 1); exit 1; }; }
25971 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25972 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25973 wxUSE_LIBPNG
=builtin
25981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25986 if test "$wxUSE_LIBJPEG" != "no" ; then
25987 cat >>confdefs.h
<<\_ACEOF
25988 #define wxUSE_LIBJPEG 1
25992 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25993 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25994 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25998 if test "$wxUSE_MGL" != 1 ; then
25999 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26000 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26001 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26002 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26005 cat >conftest.
$ac_ext <<_ACEOF
26008 cat confdefs.h
>>conftest.
$ac_ext
26009 cat >>conftest.
$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26012 #undef HAVE_STDLIB_H
26014 #include <jpeglib.h>
26025 rm -f conftest.
$ac_objext
26026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26027 (eval $ac_compile) 2>conftest.er1
26029 grep -v '^ *+' conftest.er1
>conftest.err
26031 cat conftest.err
>&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); } &&
26034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26036 (eval $ac_try) 2>&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); }; } &&
26040 { ac_try
='test -s conftest.$ac_objext'
26041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 (eval $ac_try) 2>&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); }; }; then
26046 ac_cv_header_jpeglib_h
=yes
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.
$ac_ext >&5
26051 ac_cv_header_jpeglib_h
=no
26054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26058 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26059 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26061 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26062 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26063 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26064 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 ac_check_lib_save_LIBS
=$LIBS
26068 LIBS
="-ljpeg $LIBS"
26069 cat >conftest.
$ac_ext <<_ACEOF
26072 cat confdefs.h
>>conftest.
$ac_ext
26073 cat >>conftest.
$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26076 /* Override any gcc2 internal prototype to avoid an error. */
26080 /* We use char because int might match the return type of a gcc2
26081 builtin and then its argument prototype would still apply. */
26082 char jpeg_read_header ();
26086 jpeg_read_header ();
26091 rm -f conftest.
$ac_objext conftest
$ac_exeext
26092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26093 (eval $ac_link) 2>conftest.er1
26095 grep -v '^ *+' conftest.er1
>conftest.err
26097 cat conftest.err
>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; } &&
26106 { ac_try
='test -s conftest$ac_exeext'
26107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108 (eval $ac_try) 2>&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; }; then
26112 ac_cv_lib_jpeg_jpeg_read_header
=yes
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.
$ac_ext >&5
26117 ac_cv_lib_jpeg_jpeg_read_header
=no
26119 rm -f conftest.err conftest.
$ac_objext \
26120 conftest
$ac_exeext conftest.
$ac_ext
26121 LIBS
=$ac_check_lib_save_LIBS
26123 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26124 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26125 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26126 JPEG_LINK
=" -ljpeg"
26131 if test "x$JPEG_LINK" = "x" ; then
26132 if test "$wxUSE_LIBJPEG" = "sys" ; then
26133 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26134 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26135 { (exit 1); exit 1; }; }
26137 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26138 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26139 wxUSE_LIBJPEG
=builtin
26150 TIFF_PREREQ_LINKS
=-lm
26151 if test "$wxUSE_LIBTIFF" != "no" ; then
26152 cat >>confdefs.h
<<\_ACEOF
26153 #define wxUSE_LIBTIFF 1
26157 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26158 if test "$wxUSE_LIBJPEG" = "sys"; then
26159 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26161 if test "$wxUSE_ZLIB" = "sys"; then
26162 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26164 if test "${ac_cv_header_tiffio_h+set}" = set; then
26165 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26166 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26167 if test "${ac_cv_header_tiffio_h+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26171 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26173 # Is the header compilable?
26174 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26175 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26176 cat >conftest.
$ac_ext <<_ACEOF
26179 cat confdefs.h
>>conftest.
$ac_ext
26180 cat >>conftest.
$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26182 $ac_includes_default
26183 #include <tiffio.h>
26185 rm -f conftest.
$ac_objext
26186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26187 (eval $ac_compile) 2>conftest.er1
26189 grep -v '^ *+' conftest.er1
>conftest.err
26191 cat conftest.err
>&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } &&
26194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; } &&
26200 { ac_try
='test -s conftest.$ac_objext'
26201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26202 (eval $ac_try) 2>&5
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); }; }; then
26206 ac_header_compiler
=yes
26208 echo "$as_me: failed program was:" >&5
26209 sed 's/^/| /' conftest.
$ac_ext >&5
26211 ac_header_compiler
=no
26213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26215 echo "${ECHO_T}$ac_header_compiler" >&6
26217 # Is the header present?
26218 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26219 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26220 cat >conftest.
$ac_ext <<_ACEOF
26223 cat confdefs.h
>>conftest.
$ac_ext
26224 cat >>conftest.
$ac_ext <<_ACEOF
26225 /* end confdefs.h. */
26226 #include <tiffio.h>
26228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26231 grep -v '^ *+' conftest.er1
>conftest.err
26233 cat conftest.err
>&5
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); } >/dev
/null
; then
26236 if test -s conftest.err
; then
26237 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26238 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26245 if test -z "$ac_cpp_err"; then
26246 ac_header_preproc
=yes
26248 echo "$as_me: failed program was:" >&5
26249 sed 's/^/| /' conftest.
$ac_ext >&5
26251 ac_header_preproc
=no
26253 rm -f conftest.err conftest.
$ac_ext
26254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26255 echo "${ECHO_T}$ac_header_preproc" >&6
26257 # So? What about this header?
26258 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26260 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26261 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26262 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26263 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26264 ac_header_preproc
=yes
26267 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26268 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26269 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26270 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26271 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26272 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26273 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26274 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26275 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26276 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26277 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26278 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26281 ## ----------------------------------------- ##
26282 ## Report this to wx-dev@lists.wxwidgets.org ##
26283 ## ----------------------------------------- ##
26286 sed "s/^/$as_me: WARNING: /" >&2
26289 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26290 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26291 if test "${ac_cv_header_tiffio_h+set}" = set; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 ac_cv_header_tiffio_h
=$ac_header_preproc
26296 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26297 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26300 if test $ac_cv_header_tiffio_h = yes; then
26302 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26303 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26304 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26305 echo $ECHO_N "(cached) $ECHO_C" >&6
26307 ac_check_lib_save_LIBS
=$LIBS
26308 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26309 cat >conftest.
$ac_ext <<_ACEOF
26312 cat confdefs.h
>>conftest.
$ac_ext
26313 cat >>conftest.
$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26316 /* Override any gcc2 internal prototype to avoid an error. */
26320 /* We use char because int might match the return type of a gcc2
26321 builtin and then its argument prototype would still apply. */
26331 rm -f conftest.
$ac_objext conftest
$ac_exeext
26332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26333 (eval $ac_link) 2>conftest.er1
26335 grep -v '^ *+' conftest.er1
>conftest.err
26337 cat conftest.err
>&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); } &&
26340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; } &&
26346 { ac_try
='test -s conftest$ac_exeext'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; }; then
26352 ac_cv_lib_tiff_TIFFError
=yes
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.
$ac_ext >&5
26357 ac_cv_lib_tiff_TIFFError
=no
26359 rm -f conftest.err conftest.
$ac_objext \
26360 conftest
$ac_exeext conftest.
$ac_ext
26361 LIBS
=$ac_check_lib_save_LIBS
26363 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26364 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26365 if test $ac_cv_lib_tiff_TIFFError = yes; then
26366 TIFF_LINK
=" -ltiff"
26375 if test "x$TIFF_LINK" = "x" ; then
26376 if test "$wxUSE_LIBTIFF" = "sys" ; then
26377 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26378 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26379 { (exit 1); exit 1; }; }
26381 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26382 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26383 wxUSE_LIBTIFF
=builtin
26392 if test "$wxUSE_WCHAR_T" != "yes"; then
26393 if test "$wxUSE_EXPAT" != "no"; then
26394 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26395 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26398 if test "$wxUSE_XML" != "no"; then
26399 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26400 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26405 if test "$wxUSE_EXPAT" != "no"; then
26407 cat >>confdefs.h
<<\_ACEOF
26408 #define wxUSE_EXPAT 1
26411 cat >>confdefs.h
<<\_ACEOF
26412 #define wxUSE_XML 1
26416 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26417 if test "${ac_cv_header_expat_h+set}" = set; then
26418 echo "$as_me:$LINENO: checking for expat.h" >&5
26419 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26420 if test "${ac_cv_header_expat_h+set}" = set; then
26421 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26424 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26426 # Is the header compilable?
26427 echo "$as_me:$LINENO: checking expat.h usability" >&5
26428 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26429 cat >conftest.
$ac_ext <<_ACEOF
26432 cat confdefs.h
>>conftest.
$ac_ext
26433 cat >>conftest.
$ac_ext <<_ACEOF
26434 /* end confdefs.h. */
26435 $ac_includes_default
26438 rm -f conftest.
$ac_objext
26439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26440 (eval $ac_compile) 2>conftest.er1
26442 grep -v '^ *+' conftest.er1
>conftest.err
26444 cat conftest.err
>&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } &&
26447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449 (eval $ac_try) 2>&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); }; } &&
26453 { ac_try
='test -s conftest.$ac_objext'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; }; then
26459 ac_header_compiler
=yes
26461 echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.
$ac_ext >&5
26464 ac_header_compiler
=no
26466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26468 echo "${ECHO_T}$ac_header_compiler" >&6
26470 # Is the header present?
26471 echo "$as_me:$LINENO: checking expat.h presence" >&5
26472 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26473 cat >conftest.
$ac_ext <<_ACEOF
26476 cat confdefs.h
>>conftest.
$ac_ext
26477 cat >>conftest.
$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26484 grep -v '^ *+' conftest.er1
>conftest.err
26486 cat conftest.err
>&5
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); } >/dev
/null
; then
26489 if test -s conftest.err
; then
26490 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26491 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26498 if test -z "$ac_cpp_err"; then
26499 ac_header_preproc
=yes
26501 echo "$as_me: failed program was:" >&5
26502 sed 's/^/| /' conftest.
$ac_ext >&5
26504 ac_header_preproc
=no
26506 rm -f conftest.err conftest.
$ac_ext
26507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26508 echo "${ECHO_T}$ac_header_preproc" >&6
26510 # So? What about this header?
26511 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26513 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26514 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26515 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26516 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26517 ac_header_preproc
=yes
26520 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26521 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26522 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26523 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26524 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26525 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26526 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26527 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26528 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26529 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26530 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26531 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26534 ## ----------------------------------------- ##
26535 ## Report this to wx-dev@lists.wxwidgets.org ##
26536 ## ----------------------------------------- ##
26539 sed "s/^/$as_me: WARNING: /" >&2
26542 echo "$as_me:$LINENO: checking for expat.h" >&5
26543 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26544 if test "${ac_cv_header_expat_h+set}" = set; then
26545 echo $ECHO_N "(cached) $ECHO_C" >&6
26547 ac_cv_header_expat_h
=$ac_header_preproc
26549 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26550 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26553 if test $ac_cv_header_expat_h = yes; then
26558 if test "x$found_expat_h" = "x1"; then
26559 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26560 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26561 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26562 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 cat >conftest.
$ac_ext <<_ACEOF
26568 cat confdefs.h
>>conftest.
$ac_ext
26569 cat >>conftest.
$ac_ext <<_ACEOF
26570 /* end confdefs.h. */
26580 rm -f conftest.
$ac_objext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>conftest.er1
26584 grep -v '^ *+' conftest.er1
>conftest.err
26586 cat conftest.err
>&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } &&
26589 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; } &&
26595 { ac_try
='test -s conftest.$ac_objext'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; }; then
26601 wx_cv_expat_is_not_broken
=yes
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.
$ac_ext >&5
26606 wx_cv_expat_is_not_broken
=no
26609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26613 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26614 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26615 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26616 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26617 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26618 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 ac_check_lib_save_LIBS
=$LIBS
26622 LIBS
="-lexpat $LIBS"
26623 cat >conftest.
$ac_ext <<_ACEOF
26626 cat confdefs.h
>>conftest.
$ac_ext
26627 cat >>conftest.
$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26630 /* Override any gcc2 internal prototype to avoid an error. */
26634 /* We use char because int might match the return type of a gcc2
26635 builtin and then its argument prototype would still apply. */
26636 char XML_ParserCreate ();
26640 XML_ParserCreate ();
26645 rm -f conftest.
$ac_objext conftest
$ac_exeext
26646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26647 (eval $ac_link) 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); } &&
26654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; } &&
26660 { ac_try
='test -s conftest$ac_exeext'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; }; then
26666 ac_cv_lib_expat_XML_ParserCreate
=yes
26668 echo "$as_me: failed program was:" >&5
26669 sed 's/^/| /' conftest.
$ac_ext >&5
26671 ac_cv_lib_expat_XML_ParserCreate
=no
26673 rm -f conftest.err conftest.
$ac_objext \
26674 conftest
$ac_exeext conftest.
$ac_ext
26675 LIBS
=$ac_check_lib_save_LIBS
26677 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26678 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26679 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26680 EXPAT_LINK
=" -lexpat"
26685 if test "x$EXPAT_LINK" = "x" ; then
26686 if test "$wxUSE_EXPAT" = "sys" ; then
26687 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26688 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26689 { (exit 1); exit 1; }; }
26691 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26692 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26693 wxUSE_EXPAT
=builtin
26699 if test "$wxUSE_EXPAT" = "builtin" ; then
26702 subdirs
="$subdirs src/expat"
26709 if test "$wxUSE_LIBMSPACK" != "no"; then
26710 if test "${ac_cv_header_mspack_h+set}" = set; then
26711 echo "$as_me:$LINENO: checking for mspack.h" >&5
26712 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26713 if test "${ac_cv_header_mspack_h+set}" = set; then
26714 echo $ECHO_N "(cached) $ECHO_C" >&6
26716 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26717 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26719 # Is the header compilable?
26720 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26721 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26722 cat >conftest.
$ac_ext <<_ACEOF
26725 cat confdefs.h
>>conftest.
$ac_ext
26726 cat >>conftest.
$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26728 $ac_includes_default
26729 #include <mspack.h>
26731 rm -f conftest.
$ac_objext
26732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26733 (eval $ac_compile) 2>conftest.er1
26735 grep -v '^ *+' conftest.er1
>conftest.err
26737 cat conftest.err
>&5
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); } &&
26740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; } &&
26746 { ac_try
='test -s conftest.$ac_objext'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; }; then
26752 ac_header_compiler
=yes
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.
$ac_ext >&5
26757 ac_header_compiler
=no
26759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26761 echo "${ECHO_T}$ac_header_compiler" >&6
26763 # Is the header present?
26764 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26765 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26766 cat >conftest.
$ac_ext <<_ACEOF
26769 cat confdefs.h
>>conftest.
$ac_ext
26770 cat >>conftest.
$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772 #include <mspack.h>
26774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26775 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26777 grep -v '^ *+' conftest.er1
>conftest.err
26779 cat conftest.err
>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } >/dev
/null
; then
26782 if test -s conftest.err
; then
26783 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26784 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26791 if test -z "$ac_cpp_err"; then
26792 ac_header_preproc
=yes
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.
$ac_ext >&5
26797 ac_header_preproc
=no
26799 rm -f conftest.err conftest.
$ac_ext
26800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26801 echo "${ECHO_T}$ac_header_preproc" >&6
26803 # So? What about this header?
26804 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26806 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26807 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26808 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26809 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26810 ac_header_preproc
=yes
26813 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26814 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26815 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26816 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26817 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26818 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26819 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26820 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26821 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26822 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26823 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26824 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26827 ## ----------------------------------------- ##
26828 ## Report this to wx-dev@lists.wxwidgets.org ##
26829 ## ----------------------------------------- ##
26832 sed "s/^/$as_me: WARNING: /" >&2
26835 echo "$as_me:$LINENO: checking for mspack.h" >&5
26836 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26837 if test "${ac_cv_header_mspack_h+set}" = set; then
26838 echo $ECHO_N "(cached) $ECHO_C" >&6
26840 ac_cv_header_mspack_h
=$ac_header_preproc
26842 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26843 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26846 if test $ac_cv_header_mspack_h = yes; then
26851 if test "x$found_mspack_h" = "x1"; then
26852 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26853 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26854 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 ac_check_lib_save_LIBS
=$LIBS
26858 LIBS
="-lmspack $LIBS"
26859 cat >conftest.
$ac_ext <<_ACEOF
26862 cat confdefs.h
>>conftest.
$ac_ext
26863 cat >>conftest.
$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26866 /* Override any gcc2 internal prototype to avoid an error. */
26870 /* We use char because int might match the return type of a gcc2
26871 builtin and then its argument prototype would still apply. */
26872 char mspack_create_chm_decompressor ();
26876 mspack_create_chm_decompressor ();
26881 rm -f conftest.
$ac_objext conftest
$ac_exeext
26882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26883 (eval $ac_link) 2>conftest.er1
26885 grep -v '^ *+' conftest.er1
>conftest.err
26887 cat conftest.err
>&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); } &&
26890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; } &&
26896 { ac_try
='test -s conftest$ac_exeext'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; }; then
26902 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.
$ac_ext >&5
26907 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26909 rm -f conftest.err conftest.
$ac_objext \
26910 conftest
$ac_exeext conftest.
$ac_ext
26911 LIBS
=$ac_check_lib_save_LIBS
26913 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26914 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26915 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26916 MSPACK_LINK
=" -lmspack"
26920 if test "x$MSPACK_LINK" = "x" ; then
26925 if test "$wxUSE_LIBMSPACK" != "no"; then
26926 cat >>confdefs.h
<<\_ACEOF
26927 #define wxUSE_LIBMSPACK 1
26941 if test "$USE_WIN32" = 1 ; then
26943 for ac_header
in w32api.h
26945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26947 echo "$as_me:$LINENO: checking for $ac_header" >&5
26948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26950 echo $ECHO_N "(cached) $ECHO_C" >&6
26952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26955 # Is the header compilable?
26956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26958 cat >conftest.
$ac_ext <<_ACEOF
26961 cat confdefs.h
>>conftest.
$ac_ext
26962 cat >>conftest.
$ac_ext <<_ACEOF
26963 /* end confdefs.h. */
26964 $ac_includes_default
26965 #include <$ac_header>
26967 rm -f conftest.
$ac_objext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26969 (eval $ac_compile) 2>conftest.er1
26971 grep -v '^ *+' conftest.er1
>conftest.err
26973 cat conftest.err
>&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try
='test -s conftest.$ac_objext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 ac_header_compiler
=yes
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.
$ac_ext >&5
26993 ac_header_compiler
=no
26995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26997 echo "${ECHO_T}$ac_header_compiler" >&6
26999 # Is the header present?
27000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27002 cat >conftest.
$ac_ext <<_ACEOF
27005 cat confdefs.h
>>conftest.
$ac_ext
27006 cat >>conftest.
$ac_ext <<_ACEOF
27007 /* end confdefs.h. */
27008 #include <$ac_header>
27010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27011 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27013 grep -v '^ *+' conftest.er1
>conftest.err
27015 cat conftest.err
>&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } >/dev
/null
; then
27018 if test -s conftest.err
; then
27019 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27020 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27027 if test -z "$ac_cpp_err"; then
27028 ac_header_preproc
=yes
27030 echo "$as_me: failed program was:" >&5
27031 sed 's/^/| /' conftest.
$ac_ext >&5
27033 ac_header_preproc
=no
27035 rm -f conftest.err conftest.
$ac_ext
27036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27037 echo "${ECHO_T}$ac_header_preproc" >&6
27039 # So? What about this header?
27040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27046 ac_header_preproc
=yes
27049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27063 ## ----------------------------------------- ##
27064 ## Report this to wx-dev@lists.wxwidgets.org ##
27065 ## ----------------------------------------- ##
27068 sed "s/^/$as_me: WARNING: /" >&2
27071 echo "$as_me:$LINENO: checking for $ac_header" >&5
27072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 eval "$as_ac_Header=\$ac_header_preproc"
27078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27083 cat >>confdefs.h
<<_ACEOF
27084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27091 if test "${ac_cv_header_windows_h+set}" = set; then
27092 echo "$as_me:$LINENO: checking for windows.h" >&5
27093 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27094 if test "${ac_cv_header_windows_h+set}" = set; then
27095 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27098 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27100 # Is the header compilable?
27101 echo "$as_me:$LINENO: checking windows.h usability" >&5
27102 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27103 cat >conftest.
$ac_ext <<_ACEOF
27106 cat confdefs.h
>>conftest.
$ac_ext
27107 cat >>conftest.
$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27109 $ac_includes_default
27110 #include <windows.h>
27112 rm -f conftest.
$ac_objext
27113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27114 (eval $ac_compile) 2>conftest.er1
27116 grep -v '^ *+' conftest.er1
>conftest.err
27118 cat conftest.err
>&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } &&
27121 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27123 (eval $ac_try) 2>&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); }; } &&
27127 { ac_try
='test -s conftest.$ac_objext'
27128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27129 (eval $ac_try) 2>&5
27131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 (exit $ac_status); }; }; then
27133 ac_header_compiler
=yes
27135 echo "$as_me: failed program was:" >&5
27136 sed 's/^/| /' conftest.
$ac_ext >&5
27138 ac_header_compiler
=no
27140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27142 echo "${ECHO_T}$ac_header_compiler" >&6
27144 # Is the header present?
27145 echo "$as_me:$LINENO: checking windows.h presence" >&5
27146 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27147 cat >conftest.
$ac_ext <<_ACEOF
27150 cat confdefs.h
>>conftest.
$ac_ext
27151 cat >>conftest.
$ac_ext <<_ACEOF
27152 /* end confdefs.h. */
27153 #include <windows.h>
27155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27158 grep -v '^ *+' conftest.er1
>conftest.err
27160 cat conftest.err
>&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); } >/dev
/null
; then
27163 if test -s conftest.err
; then
27164 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27165 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27172 if test -z "$ac_cpp_err"; then
27173 ac_header_preproc
=yes
27175 echo "$as_me: failed program was:" >&5
27176 sed 's/^/| /' conftest.
$ac_ext >&5
27178 ac_header_preproc
=no
27180 rm -f conftest.err conftest.
$ac_ext
27181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27182 echo "${ECHO_T}$ac_header_preproc" >&6
27184 # So? What about this header?
27185 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27187 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27188 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27189 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27190 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27191 ac_header_preproc
=yes
27194 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27195 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27196 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27197 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27198 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27199 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27200 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27201 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27202 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27203 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27204 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27205 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27208 ## ----------------------------------------- ##
27209 ## Report this to wx-dev@lists.wxwidgets.org ##
27210 ## ----------------------------------------- ##
27213 sed "s/^/$as_me: WARNING: /" >&2
27216 echo "$as_me:$LINENO: checking for windows.h" >&5
27217 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27218 if test "${ac_cv_header_windows_h+set}" = set; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27221 ac_cv_header_windows_h
=$ac_header_preproc
27223 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27224 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27227 if test $ac_cv_header_windows_h = yes; then
27231 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27232 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27233 { (exit 1); exit 1; }; }
27239 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27241 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27242 LIBS
="$LIBS -loleacc"
27247 LIBS
="$LIBS -lkernel32 -luser32"
27250 if test "$wxUSE_ODBC" = "sys" ; then
27253 if test "$wxUSE_ODBC" = "yes" ; then
27254 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27255 cat >>confdefs.h
<<\_ACEOF
27256 #define wxUSE_ODBC 1
27261 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27262 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27264 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27266 WIN32INSTALL
=win32install
27268 echo "$as_me:$LINENO: checking for boolean" >&5
27269 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27270 if test "${ac_cv_type_boolean+set}" = set; then
27271 echo $ECHO_N "(cached) $ECHO_C" >&6
27273 cat >conftest.
$ac_ext <<_ACEOF
27276 cat confdefs.h
>>conftest.
$ac_ext
27277 cat >>conftest.
$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27279 #include <windows.h>
27286 if (sizeof (boolean))
27292 rm -f conftest.
$ac_objext
27293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27294 (eval $ac_compile) 2>conftest.er1
27296 grep -v '^ *+' conftest.er1
>conftest.err
27298 cat conftest.err
>&5
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); } &&
27301 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; } &&
27307 { ac_try
='test -s conftest.$ac_objext'
27308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309 (eval $ac_try) 2>&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); }; }; then
27313 ac_cv_type_boolean
=yes
27315 echo "$as_me: failed program was:" >&5
27316 sed 's/^/| /' conftest.
$ac_ext >&5
27318 ac_cv_type_boolean
=no
27320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27322 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27323 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27324 if test $ac_cv_type_boolean = yes; then
27326 cat >>confdefs.h
<<_ACEOF
27327 #define HAVE_BOOLEAN 1
27335 for ac_header
in pbt.h
27337 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27339 echo "$as_me:$LINENO: checking for $ac_header" >&5
27340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27342 echo $ECHO_N "(cached) $ECHO_C" >&6
27344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27347 # Is the header compilable?
27348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27350 cat >conftest.
$ac_ext <<_ACEOF
27353 cat confdefs.h
>>conftest.
$ac_ext
27354 cat >>conftest.
$ac_ext <<_ACEOF
27355 /* end confdefs.h. */
27356 $ac_includes_default
27357 #include <$ac_header>
27359 rm -f conftest.
$ac_objext
27360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27361 (eval $ac_compile) 2>conftest.er1
27363 grep -v '^ *+' conftest.er1
>conftest.err
27365 cat conftest.err
>&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } &&
27368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370 (eval $ac_try) 2>&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; } &&
27374 { ac_try
='test -s conftest.$ac_objext'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; }; then
27380 ac_header_compiler
=yes
27382 echo "$as_me: failed program was:" >&5
27383 sed 's/^/| /' conftest.
$ac_ext >&5
27385 ac_header_compiler
=no
27387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27389 echo "${ECHO_T}$ac_header_compiler" >&6
27391 # Is the header present?
27392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27394 cat >conftest.
$ac_ext <<_ACEOF
27397 cat confdefs.h
>>conftest.
$ac_ext
27398 cat >>conftest.
$ac_ext <<_ACEOF
27399 /* end confdefs.h. */
27400 #include <$ac_header>
27402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27403 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27405 grep -v '^ *+' conftest.er1
>conftest.err
27407 cat conftest.err
>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } >/dev
/null
; then
27410 if test -s conftest.err
; then
27411 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27412 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27419 if test -z "$ac_cpp_err"; then
27420 ac_header_preproc
=yes
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.
$ac_ext >&5
27425 ac_header_preproc
=no
27427 rm -f conftest.err conftest.
$ac_ext
27428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27429 echo "${ECHO_T}$ac_header_preproc" >&6
27431 # So? What about this header?
27432 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27438 ac_header_preproc
=yes
27441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27455 ## ----------------------------------------- ##
27456 ## Report this to wx-dev@lists.wxwidgets.org ##
27457 ## ----------------------------------------- ##
27460 sed "s/^/$as_me: WARNING: /" >&2
27463 echo "$as_me:$LINENO: checking for $ac_header" >&5
27464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27466 echo $ECHO_N "(cached) $ECHO_C" >&6
27468 eval "$as_ac_Header=\$ac_header_preproc"
27470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27475 cat >>confdefs.h
<<_ACEOF
27476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27480 cat >>confdefs.h
<<\_ACEOF
27481 #define NEED_PBT_H 1
27490 if test "$wxUSE_GUI" = "yes"; then
27500 if test "$wxUSE_COCOA" = 1 ; then
27501 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27502 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27503 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27504 wxUSE_PRINTING_ARCHITECTURE
=no
27506 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27507 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27508 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27509 wxUSE_DRAG_AND_DROP
=no
27511 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27512 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27513 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27518 if test "$wxUSE_MSW" = 1 ; then
27524 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27528 if test "$wxUSE_GTK" = 1; then
27530 ac_cpp
='$CPP $CPPFLAGS'
27531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27536 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27537 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27539 gtk_version_cached
=1
27540 if test "${wx_cv_lib_gtk+set}" = set; then
27541 echo $ECHO_N "(cached) $ECHO_C" >&6
27544 gtk_version_cached
=0
27545 echo "$as_me:$LINENO: result: " >&5
27546 echo "${ECHO_T}" >&6
27549 if test "$wxUSE_THREADS" = "yes"; then
27550 GTK_MODULES
=gthread
27554 if test "x$wxGTK_VERSION" != "x1"
27558 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27563 # Check whether --enable-gtktest or --disable-gtktest was given.
27564 if test "${enable_gtktest+set}" = set; then
27565 enableval
="$enable_gtktest"
27571 pkg_config_args
=gtk
+-2.0
27572 for module
in .
$GTK_MODULES
27576 pkg_config_args
="$pkg_config_args gthread-2.0"
27583 # Extract the first word of "pkg-config", so it can be a program name with args.
27584 set dummy pkg
-config; ac_word
=$2
27585 echo "$as_me:$LINENO: checking for $ac_word" >&5
27586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27587 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 case $PKG_CONFIG in
27592 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27596 for as_dir
in $PATH
27599 test -z "$as_dir" && as_dir
=.
27600 for ac_exec_ext
in '' $ac_executable_extensions; do
27601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27602 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27609 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27613 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27615 if test -n "$PKG_CONFIG"; then
27616 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27617 echo "${ECHO_T}$PKG_CONFIG" >&6
27619 echo "$as_me:$LINENO: result: no" >&5
27620 echo "${ECHO_T}no" >&6
27624 if test x
$PKG_CONFIG != xno
; then
27625 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27628 echo "*** pkg-config too old; version 0.7 or better required."
27636 min_gtk_version
=2.0.0
27637 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27638 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27640 if test x
$PKG_CONFIG != xno
; then
27641 ## don't try to run the test against uninstalled libtool libs
27642 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27643 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27647 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27654 if test x
"$no_gtk" = x
; then
27655 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27656 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27657 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27659 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27661 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27662 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27663 if test "x$enable_gtktest" = "xyes" ; then
27664 ac_save_CFLAGS
="$CFLAGS"
27665 ac_save_LIBS
="$LIBS"
27666 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27667 LIBS
="$GTK_LIBS $LIBS"
27669 if test "$cross_compiling" = yes; then
27670 echo $ac_n "cross compiling; assumed OK... $ac_c"
27672 cat >conftest.
$ac_ext <<_ACEOF
27675 cat confdefs.h
>>conftest.
$ac_ext
27676 cat >>conftest.
$ac_ext <<_ACEOF
27677 /* end confdefs.h. */
27679 #include <gtk/gtk.h>
27681 #include <stdlib.h>
27686 int major, minor, micro;
27689 system ("touch conf.gtktest");
27691 /* HP/UX 9 (%@#!) writes to sscanf strings */
27692 tmp_version = g_strdup("$min_gtk_version");
27693 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27694 printf("%s, bad version string\n", "$min_gtk_version");
27698 if ((gtk_major_version != $gtk_config_major_version) ||
27699 (gtk_minor_version != $gtk_config_minor_version) ||
27700 (gtk_micro_version != $gtk_config_micro_version))
27702 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27703 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27704 gtk_major_version, gtk_minor_version, gtk_micro_version);
27705 printf ("*** was found! If pkg-config was correct, then it is best\n");
27706 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27707 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27708 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27709 printf("*** required on your system.\n");
27710 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27711 printf("*** to point to the correct configuration files\n");
27713 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27714 (gtk_minor_version != GTK_MINOR_VERSION) ||
27715 (gtk_micro_version != GTK_MICRO_VERSION))
27717 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27718 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27719 printf("*** library (version %d.%d.%d)\n",
27720 gtk_major_version, gtk_minor_version, gtk_micro_version);
27724 if ((gtk_major_version > major) ||
27725 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27726 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27732 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27733 gtk_major_version, gtk_minor_version, gtk_micro_version);
27734 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27735 major, minor, micro);
27736 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27738 printf("*** If you have already installed a sufficiently new version, this error\n");
27739 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27740 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27741 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27742 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27743 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27744 printf("*** so that the correct libraries are found at run-time))\n");
27751 rm -f conftest
$ac_exeext
27752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27753 (eval $ac_link) 2>&5
27755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758 (eval $ac_try) 2>&5
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); }; }; then
27764 echo "$as_me: program exited with status $ac_status" >&5
27765 echo "$as_me: failed program was:" >&5
27766 sed 's/^/| /' conftest.
$ac_ext >&5
27768 ( exit $ac_status )
27771 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27773 CFLAGS
="$ac_save_CFLAGS"
27774 LIBS
="$ac_save_LIBS"
27777 if test "x$no_gtk" = x
; then
27778 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27779 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27782 echo "$as_me:$LINENO: result: no" >&5
27783 echo "${ECHO_T}no" >&6
27784 if test "$PKG_CONFIG" = "no" ; then
27785 echo "*** A new enough version of pkg-config was not found."
27786 echo "*** See http://pkgconfig.sourceforge.net"
27788 if test -f conf.gtktest
; then
27791 echo "*** Could not run GTK+ test program, checking why..."
27792 ac_save_CFLAGS
="$CFLAGS"
27793 ac_save_LIBS
="$LIBS"
27794 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27795 LIBS
="$LIBS $GTK_LIBS"
27796 cat >conftest.
$ac_ext <<_ACEOF
27799 cat confdefs.h
>>conftest.
$ac_ext
27800 cat >>conftest.
$ac_ext <<_ACEOF
27801 /* end confdefs.h. */
27803 #include <gtk/gtk.h>
27809 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27814 rm -f conftest.
$ac_objext conftest
$ac_exeext
27815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27816 (eval $ac_link) 2>conftest.er1
27818 grep -v '^ *+' conftest.er1
>conftest.err
27820 cat conftest.err
>&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } &&
27823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27825 (eval $ac_try) 2>&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); }; } &&
27829 { ac_try
='test -s conftest$ac_exeext'
27830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27831 (eval $ac_try) 2>&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); }; }; then
27835 echo "*** The test program compiled, but did not run. This usually means"
27836 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27837 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27838 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27839 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27840 echo "*** is required on your system"
27842 echo "*** If you have an old version installed, it is best to remove it, although"
27843 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27845 echo "$as_me: failed program was:" >&5
27846 sed 's/^/| /' conftest.
$ac_ext >&5
27848 echo "*** The test program failed to compile or link. See the file config.log for the"
27849 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27851 rm -f conftest.err conftest.
$ac_objext \
27852 conftest
$ac_exeext conftest.
$ac_ext
27853 CFLAGS
="$ac_save_CFLAGS"
27854 LIBS
="$ac_save_LIBS"
27868 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27869 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27870 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27872 if test "$wxUSE_SHARED" != "yes"; then
27873 GTK_LIBS
="$GTK_LIBS -lX11"
27878 if test -z "$wx_cv_lib_gtk"; then
27879 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27881 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27882 if test "${with_gtk_prefix+set}" = set; then
27883 withval
="$with_gtk_prefix"
27884 gtk_config_prefix
="$withval"
27886 gtk_config_prefix
=""
27889 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27890 if test "${with_gtk_exec_prefix+set}" = set; then
27891 withval
="$with_gtk_exec_prefix"
27892 gtk_config_exec_prefix
="$withval"
27894 gtk_config_exec_prefix
=""
27896 # Check whether --enable-gtktest or --disable-gtktest was given.
27897 if test "${enable_gtktest+set}" = set; then
27898 enableval
="$enable_gtktest"
27904 for module
in .
$GTK_MODULES
27908 gtk_config_args
="$gtk_config_args gthread"
27913 if test x
$gtk_config_exec_prefix != x
; then
27914 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27915 if test x
${GTK_CONFIG+set} != xset
; then
27916 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27919 if test x
$gtk_config_prefix != x
; then
27920 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27921 if test x
${GTK_CONFIG+set} != xset
; then
27922 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27926 # Extract the first word of "gtk-config", so it can be a program name with args.
27927 set dummy gtk
-config; ac_word
=$2
27928 echo "$as_me:$LINENO: checking for $ac_word" >&5
27929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27930 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27931 echo $ECHO_N "(cached) $ECHO_C" >&6
27933 case $GTK_CONFIG in
27935 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27939 for as_dir
in $PATH
27942 test -z "$as_dir" && as_dir
=.
27943 for ac_exec_ext
in '' $ac_executable_extensions; do
27944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27945 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27952 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27956 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27958 if test -n "$GTK_CONFIG"; then
27959 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27960 echo "${ECHO_T}$GTK_CONFIG" >&6
27962 echo "$as_me:$LINENO: result: no" >&5
27963 echo "${ECHO_T}no" >&6
27966 min_gtk_version
=1.2.7
27967 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27968 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27970 if test "$GTK_CONFIG" = "no" ; then
27973 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27974 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27975 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27977 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27978 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27979 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27981 if test "x$enable_gtktest" = "xyes" ; then
27982 ac_save_CFLAGS
="$CFLAGS"
27983 ac_save_LIBS
="$LIBS"
27984 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27985 LIBS
="$GTK_LIBS $LIBS"
27987 if test "$cross_compiling" = yes; then
27988 echo $ac_n "cross compiling; assumed OK... $ac_c"
27990 cat >conftest.
$ac_ext <<_ACEOF
27993 cat confdefs.h
>>conftest.
$ac_ext
27994 cat >>conftest.
$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
27997 #include <gtk/gtk.h>
27999 #include <stdlib.h>
28004 int major, minor, micro;
28007 system ("touch conf.gtktest");
28009 /* HP/UX 9 (%@#!) writes to sscanf strings */
28010 tmp_version = g_strdup("$min_gtk_version");
28011 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28012 printf("%s, bad version string\n", "$min_gtk_version");
28016 if ((gtk_major_version != $gtk_config_major_version) ||
28017 (gtk_minor_version != $gtk_config_minor_version) ||
28018 (gtk_micro_version != $gtk_config_micro_version))
28020 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28021 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28022 gtk_major_version, gtk_minor_version, gtk_micro_version);
28023 printf ("*** was found! If gtk-config was correct, then it is best\n");
28024 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28025 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28026 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28027 printf("*** required on your system.\n");
28028 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28029 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28030 printf("*** before re-running configure\n");
28032 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28033 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28034 (gtk_minor_version != GTK_MINOR_VERSION) ||
28035 (gtk_micro_version != GTK_MICRO_VERSION))
28037 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28038 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28039 printf("*** library (version %d.%d.%d)\n",
28040 gtk_major_version, gtk_minor_version, gtk_micro_version);
28042 #endif /* defined (GTK_MAJOR_VERSION) ... */
28045 if ((gtk_major_version > major) ||
28046 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28047 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28053 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28054 gtk_major_version, gtk_minor_version, gtk_micro_version);
28055 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28056 major, minor, micro);
28057 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28059 printf("*** If you have already installed a sufficiently new version, this error\n");
28060 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28061 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28062 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28063 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28064 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28065 printf("*** so that the correct libraries are found at run-time))\n");
28072 rm -f conftest
$ac_exeext
28073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28074 (eval $ac_link) 2>&5
28076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28077 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079 (eval $ac_try) 2>&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); }; }; then
28085 echo "$as_me: program exited with status $ac_status" >&5
28086 echo "$as_me: failed program was:" >&5
28087 sed 's/^/| /' conftest.
$ac_ext >&5
28089 ( exit $ac_status )
28092 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28094 CFLAGS
="$ac_save_CFLAGS"
28095 LIBS
="$ac_save_LIBS"
28098 if test "x$no_gtk" = x
; then
28099 echo "$as_me:$LINENO: result: yes" >&5
28100 echo "${ECHO_T}yes" >&6
28101 wx_cv_lib_gtk
=1.2.7
28103 echo "$as_me:$LINENO: result: no" >&5
28104 echo "${ECHO_T}no" >&6
28105 if test "$GTK_CONFIG" = "no" ; then
28106 echo "*** The gtk-config script installed by GTK could not be found"
28107 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28108 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28109 echo "*** full path to gtk-config."
28111 if test -f conf.gtktest
; then
28114 echo "*** Could not run GTK test program, checking why..."
28115 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28116 LIBS
="$LIBS $GTK_LIBS"
28117 cat >conftest.
$ac_ext <<_ACEOF
28120 cat confdefs.h
>>conftest.
$ac_ext
28121 cat >>conftest.
$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28124 #include <gtk/gtk.h>
28130 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28135 rm -f conftest.
$ac_objext conftest
$ac_exeext
28136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28137 (eval $ac_link) 2>conftest.er1
28139 grep -v '^ *+' conftest.er1
>conftest.err
28141 cat conftest.err
>&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); } &&
28144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; } &&
28150 { ac_try
='test -s conftest$ac_exeext'
28151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152 (eval $ac_try) 2>&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); }; }; then
28156 echo "*** The test program compiled, but did not run. This usually means"
28157 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28158 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28159 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28160 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28161 echo "*** is required on your system"
28163 echo "*** If you have an old version installed, it is best to remove it, although"
28164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28166 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28167 echo "*** came with the system with the command"
28169 echo "*** rpm --erase --nodeps gtk gtk-devel"
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.
$ac_ext >&5
28174 echo "*** The test program failed to compile or link. See the file config.log for the"
28175 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28176 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28177 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28179 rm -f conftest.err conftest.
$ac_objext \
28180 conftest
$ac_exeext conftest.
$ac_ext
28181 CFLAGS
="$ac_save_CFLAGS"
28182 LIBS
="$ac_save_LIBS"
28194 if test -z "$wx_cv_lib_gtk"; then
28196 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28197 if test "${with_gtk_prefix+set}" = set; then
28198 withval
="$with_gtk_prefix"
28199 gtk_config_prefix
="$withval"
28201 gtk_config_prefix
=""
28204 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28205 if test "${with_gtk_exec_prefix+set}" = set; then
28206 withval
="$with_gtk_exec_prefix"
28207 gtk_config_exec_prefix
="$withval"
28209 gtk_config_exec_prefix
=""
28211 # Check whether --enable-gtktest or --disable-gtktest was given.
28212 if test "${enable_gtktest+set}" = set; then
28213 enableval
="$enable_gtktest"
28219 for module
in .
$GTK_MODULES
28223 gtk_config_args
="$gtk_config_args gthread"
28228 if test x
$gtk_config_exec_prefix != x
; then
28229 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28230 if test x
${GTK_CONFIG+set} != xset
; then
28231 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28234 if test x
$gtk_config_prefix != x
; then
28235 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28236 if test x
${GTK_CONFIG+set} != xset
; then
28237 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28241 # Extract the first word of "gtk-config", so it can be a program name with args.
28242 set dummy gtk
-config; ac_word
=$2
28243 echo "$as_me:$LINENO: checking for $ac_word" >&5
28244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28245 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28246 echo $ECHO_N "(cached) $ECHO_C" >&6
28248 case $GTK_CONFIG in
28250 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28254 for as_dir
in $PATH
28257 test -z "$as_dir" && as_dir
=.
28258 for ac_exec_ext
in '' $ac_executable_extensions; do
28259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28260 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28267 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28271 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28273 if test -n "$GTK_CONFIG"; then
28274 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28275 echo "${ECHO_T}$GTK_CONFIG" >&6
28277 echo "$as_me:$LINENO: result: no" >&5
28278 echo "${ECHO_T}no" >&6
28281 min_gtk_version
=1.2.3
28282 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28283 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28285 if test "$GTK_CONFIG" = "no" ; then
28288 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28289 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28290 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28292 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28294 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28296 if test "x$enable_gtktest" = "xyes" ; then
28297 ac_save_CFLAGS
="$CFLAGS"
28298 ac_save_LIBS
="$LIBS"
28299 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28300 LIBS
="$GTK_LIBS $LIBS"
28302 if test "$cross_compiling" = yes; then
28303 echo $ac_n "cross compiling; assumed OK... $ac_c"
28305 cat >conftest.
$ac_ext <<_ACEOF
28308 cat confdefs.h
>>conftest.
$ac_ext
28309 cat >>conftest.
$ac_ext <<_ACEOF
28310 /* end confdefs.h. */
28312 #include <gtk/gtk.h>
28314 #include <stdlib.h>
28319 int major, minor, micro;
28322 system ("touch conf.gtktest");
28324 /* HP/UX 9 (%@#!) writes to sscanf strings */
28325 tmp_version = g_strdup("$min_gtk_version");
28326 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28327 printf("%s, bad version string\n", "$min_gtk_version");
28331 if ((gtk_major_version != $gtk_config_major_version) ||
28332 (gtk_minor_version != $gtk_config_minor_version) ||
28333 (gtk_micro_version != $gtk_config_micro_version))
28335 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28336 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28337 gtk_major_version, gtk_minor_version, gtk_micro_version);
28338 printf ("*** was found! If gtk-config was correct, then it is best\n");
28339 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28340 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28341 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28342 printf("*** required on your system.\n");
28343 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28344 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28345 printf("*** before re-running configure\n");
28347 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28348 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28349 (gtk_minor_version != GTK_MINOR_VERSION) ||
28350 (gtk_micro_version != GTK_MICRO_VERSION))
28352 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28353 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28354 printf("*** library (version %d.%d.%d)\n",
28355 gtk_major_version, gtk_minor_version, gtk_micro_version);
28357 #endif /* defined (GTK_MAJOR_VERSION) ... */
28360 if ((gtk_major_version > major) ||
28361 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28362 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28368 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28369 gtk_major_version, gtk_minor_version, gtk_micro_version);
28370 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28371 major, minor, micro);
28372 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28374 printf("*** If you have already installed a sufficiently new version, this error\n");
28375 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28376 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28377 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28378 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28379 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28380 printf("*** so that the correct libraries are found at run-time))\n");
28387 rm -f conftest
$ac_exeext
28388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28389 (eval $ac_link) 2>&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394 (eval $ac_try) 2>&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); }; }; then
28400 echo "$as_me: program exited with status $ac_status" >&5
28401 echo "$as_me: failed program was:" >&5
28402 sed 's/^/| /' conftest.
$ac_ext >&5
28404 ( exit $ac_status )
28407 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28409 CFLAGS
="$ac_save_CFLAGS"
28410 LIBS
="$ac_save_LIBS"
28413 if test "x$no_gtk" = x
; then
28414 echo "$as_me:$LINENO: result: yes" >&5
28415 echo "${ECHO_T}yes" >&6
28416 wx_cv_lib_gtk
=1.2.3
28418 echo "$as_me:$LINENO: result: no" >&5
28419 echo "${ECHO_T}no" >&6
28420 if test "$GTK_CONFIG" = "no" ; then
28421 echo "*** The gtk-config script installed by GTK could not be found"
28422 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28423 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28424 echo "*** full path to gtk-config."
28426 if test -f conf.gtktest
; then
28429 echo "*** Could not run GTK test program, checking why..."
28430 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28431 LIBS
="$LIBS $GTK_LIBS"
28432 cat >conftest.
$ac_ext <<_ACEOF
28435 cat confdefs.h
>>conftest.
$ac_ext
28436 cat >>conftest.
$ac_ext <<_ACEOF
28437 /* end confdefs.h. */
28439 #include <gtk/gtk.h>
28445 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28450 rm -f conftest.
$ac_objext conftest
$ac_exeext
28451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28452 (eval $ac_link) 2>conftest.er1
28454 grep -v '^ *+' conftest.er1
>conftest.err
28456 cat conftest.err
>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } &&
28459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; } &&
28465 { ac_try
='test -s conftest$ac_exeext'
28466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467 (eval $ac_try) 2>&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; }; then
28471 echo "*** The test program compiled, but did not run. This usually means"
28472 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28473 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28474 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28475 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28476 echo "*** is required on your system"
28478 echo "*** If you have an old version installed, it is best to remove it, although"
28479 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28481 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28482 echo "*** came with the system with the command"
28484 echo "*** rpm --erase --nodeps gtk gtk-devel"
28486 echo "$as_me: failed program was:" >&5
28487 sed 's/^/| /' conftest.
$ac_ext >&5
28489 echo "*** The test program failed to compile or link. See the file config.log for the"
28490 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28491 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28492 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28494 rm -f conftest.err conftest.
$ac_objext \
28495 conftest
$ac_exeext conftest.
$ac_ext
28496 CFLAGS
="$ac_save_CFLAGS"
28497 LIBS
="$ac_save_LIBS"
28512 if test -z "$wx_cv_lib_gtk"; then
28515 wx_cv_cflags_gtk
=$GTK_CFLAGS
28516 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28523 if test "$gtk_version_cached" = 1; then
28524 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28525 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28528 case "$wx_cv_lib_gtk" in
28537 *) { { echo "$as_me:$LINENO: error:
28538 The development files for GTK+ were not found. For GTK+ 2, please
28539 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28540 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28541 and that the version is 1.2.3 or above. Also check that the
28542 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28543 --libs' are in the LD_LIBRARY_PATH or equivalent.
28545 echo "$as_me: error:
28546 The development files for GTK+ were not found. For GTK+ 2, please
28547 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28548 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28549 and that the version is 1.2.3 or above. Also check that the
28550 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28551 --libs' are in the LD_LIBRARY_PATH or equivalent.
28553 { (exit 1); exit 1; }; }
28557 if test "$WXGTK20" = 1; then
28558 save_CFLAGS
="$CFLAGS"
28560 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28561 LIBS
="$LIBS $wx_cv_libs_gtk"
28563 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28564 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28565 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28566 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 cat >conftest.
$ac_ext <<_ACEOF
28571 cat confdefs.h
>>conftest.
$ac_ext
28572 cat >>conftest.
$ac_ext <<_ACEOF
28573 /* end confdefs.h. */
28574 #include <gtk/gtk.h>
28579 #ifndef gtk_icon_size_lookup
28580 char *p = (char *) gtk_icon_size_lookup;
28587 rm -f conftest.
$ac_objext
28588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28589 (eval $ac_compile) 2>conftest.er1
28591 grep -v '^ *+' conftest.er1
>conftest.err
28593 cat conftest.err
>&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); } &&
28596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28598 (eval $ac_try) 2>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); }; } &&
28602 { ac_try
='test -s conftest.$ac_objext'
28603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28604 (eval $ac_try) 2>&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); }; }; then
28608 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28610 echo "$as_me: failed program was:" >&5
28611 sed 's/^/| /' conftest.
$ac_ext >&5
28613 ac_cv_have_decl_gtk_icon_size_lookup
=no
28615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28617 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28618 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28619 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28621 cat >>confdefs.h
<<_ACEOF
28622 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28627 cat >>confdefs.h
<<_ACEOF
28628 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28631 cat >>confdefs.h
<<\_ACEOF
28632 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28639 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28640 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28641 cat >conftest.
$ac_ext <<_ACEOF
28644 cat confdefs.h
>>conftest.
$ac_ext
28645 cat >>conftest.
$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28648 #include <gtk/gtk.h>
28654 #if !GTK_CHECK_VERSION(2,6,0)
28662 rm -f conftest.
$ac_objext
28663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28664 (eval $ac_compile) 2>conftest.er1
28666 grep -v '^ *+' conftest.er1
>conftest.err
28668 cat conftest.err
>&5
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); } &&
28671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; } &&
28677 { ac_try
='test -s conftest.$ac_objext'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; }; then
28684 cat >>confdefs.h
<<\_ACEOF
28685 #define __WXGTK26__ 1
28688 cat >>confdefs.h
<<\_ACEOF
28689 #define __WXGTK24__ 1
28692 echo "$as_me:$LINENO: result: yes" >&5
28693 echo "${ECHO_T}yes" >&6
28697 echo "$as_me: failed program was:" >&5
28698 sed 's/^/| /' conftest.
$ac_ext >&5
28701 echo "$as_me:$LINENO: result: no" >&5
28702 echo "${ECHO_T}no" >&6
28706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28708 if test "$ac_wxgtk26" = 0; then
28709 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28710 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28711 cat >conftest.
$ac_ext <<_ACEOF
28714 cat confdefs.h
>>conftest.
$ac_ext
28715 cat >>conftest.
$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28718 #include <gtk/gtk.h>
28724 #if !GTK_CHECK_VERSION(2,4,0)
28732 rm -f conftest.
$ac_objext
28733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28734 (eval $ac_compile) 2>conftest.er1
28736 grep -v '^ *+' conftest.er1
>conftest.err
28738 cat conftest.err
>&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); } &&
28741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28743 (eval $ac_try) 2>&5
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); }; } &&
28747 { ac_try
='test -s conftest.$ac_objext'
28748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28749 (eval $ac_try) 2>&5
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); }; }; then
28754 cat >>confdefs.h
<<\_ACEOF
28755 #define __WXGTK24__ 1
28758 echo "$as_me:$LINENO: result: yes" >&5
28759 echo "${ECHO_T}yes" >&6
28762 echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.
$ac_ext >&5
28766 echo "$as_me:$LINENO: result: no" >&5
28767 echo "${ECHO_T}no" >&6
28770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28773 CFLAGS
="$save_CFLAGS"
28776 if test "$wxUSE_UNICODE" = "yes"; then
28777 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28778 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28784 ac_cpp
='$CXXCPP $CPPFLAGS'
28785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28790 if test "$USE_DARWIN" != 1; then
28792 for ac_func
in poll
28794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28795 echo "$as_me:$LINENO: checking for $ac_func" >&5
28796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28797 if eval "test \"\${$as_ac_var+set}\" = set"; then
28798 echo $ECHO_N "(cached) $ECHO_C" >&6
28800 cat >conftest.
$ac_ext <<_ACEOF
28803 cat confdefs.h
>>conftest.
$ac_ext
28804 cat >>conftest.
$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28808 #define $ac_func innocuous_$ac_func
28810 /* System header to define __stub macros and hopefully few prototypes,
28811 which can conflict with char $ac_func (); below.
28812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28813 <limits.h> exists even on freestanding compilers. */
28816 # include <limits.h>
28818 # include <assert.h>
28823 /* Override any gcc2 internal prototype to avoid an error. */
28828 /* We use char because int might match the return type of a gcc2
28829 builtin and then its argument prototype would still apply. */
28831 /* The GNU C library defines this for functions which it implements
28832 to always fail with ENOSYS. Some functions are actually named
28833 something starting with __ and the normal name is an alias. */
28834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28837 char (*f) () = $ac_func;
28846 return f != $ac_func;
28851 rm -f conftest.
$ac_objext conftest
$ac_exeext
28852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28853 (eval $ac_link) 2>conftest.er1
28855 grep -v '^ *+' conftest.er1
>conftest.err
28857 cat conftest.err
>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } &&
28860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; } &&
28866 { ac_try
='test -s conftest$ac_exeext'
28867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28868 (eval $ac_try) 2>&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); }; }; then
28872 eval "$as_ac_var=yes"
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.
$ac_ext >&5
28877 eval "$as_ac_var=no"
28879 rm -f conftest.err conftest.
$ac_objext \
28880 conftest
$ac_exeext conftest.
$ac_ext
28882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28884 if test `eval echo '${'$as_ac_var'}'` = yes; then
28885 cat >>confdefs.h
<<_ACEOF
28886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28894 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28895 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28897 AFMINSTALL
=afminstall
28901 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28902 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28903 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28904 echo $ECHO_N "(cached) $ECHO_C" >&6
28906 ac_check_lib_save_LIBS
=$LIBS
28908 cat >conftest.
$ac_ext <<_ACEOF
28911 cat confdefs.h
>>conftest.
$ac_ext
28912 cat >>conftest.
$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28915 /* Override any gcc2 internal prototype to avoid an error. */
28919 /* We use char because int might match the return type of a gcc2
28920 builtin and then its argument prototype would still apply. */
28921 char gdk_im_open ();
28930 rm -f conftest.
$ac_objext conftest
$ac_exeext
28931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28932 (eval $ac_link) 2>conftest.er1
28934 grep -v '^ *+' conftest.er1
>conftest.err
28936 cat conftest.err
>&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } &&
28939 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941 (eval $ac_try) 2>&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); }; } &&
28945 { ac_try
='test -s conftest$ac_exeext'
28946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28947 (eval $ac_try) 2>&5
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); }; }; then
28951 ac_cv_lib_gdk_gdk_im_open
=yes
28953 echo "$as_me: failed program was:" >&5
28954 sed 's/^/| /' conftest.
$ac_ext >&5
28956 ac_cv_lib_gdk_gdk_im_open
=no
28958 rm -f conftest.err conftest.
$ac_objext \
28959 conftest
$ac_exeext conftest.
$ac_ext
28960 LIBS
=$ac_check_lib_save_LIBS
28962 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28963 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28964 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28965 cat >>confdefs.h
<<\_ACEOF
28973 if test "$wxUSE_GPE" = "yes"; then
28974 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28975 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28978 for ac_dir
in $SEARCH_LIB;
28980 for ac_extension
in a so sl dylib dll.a
; do
28981 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28982 ac_find_libraries
=$ac_dir
28988 if test "$ac_find_libraries" != "" ; then
28990 if test "$ac_find_libraries" = "default location"; then
28993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28995 if test $result = 0; then
28998 ac_path_to_link
=" -L$ac_find_libraries"
29002 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29004 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29005 echo "${ECHO_T}found in $ac_find_libraries" >&6
29007 echo "$as_me:$LINENO: result: not found" >&5
29008 echo "${ECHO_T}not found" >&6
29014 if test "$wxUSE_MGL" = 1; then
29015 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29016 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29017 if test "x$MGL_ROOT" = x
; then
29018 echo "$as_me:$LINENO: result: not found" >&5
29019 echo "${ECHO_T}not found" >&6
29020 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29021 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29022 { (exit 1); exit 1; }; }
29024 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29025 echo "${ECHO_T}$MGL_ROOT" >&6
29028 echo "$as_me:$LINENO: checking for libmgl location" >&5
29029 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29032 if test "x$wxUSE_SHARED" = xyes
; then
29033 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29035 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29039 mgl_os_candidates
="dos32/dj2"
29042 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29043 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29044 { (exit 1); exit 1; }; }
29050 for mgl_os_i
in $mgl_os_candidates ; do
29051 if test "x$mgl_os" = x
; then
29052 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29053 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29054 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29059 if test "x$mgl_lib_type" = x
; then
29060 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29061 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29062 mgl_lib_type
=release
29069 if test "x$mgl_os" = x
; then
29070 echo "$as_me:$LINENO: result: not found" >&5
29071 echo "${ECHO_T}not found" >&6
29072 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29073 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29074 { (exit 1); exit 1; }; }
29076 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29077 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29079 wxUSE_UNIVERSAL
="yes"
29081 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29082 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29084 AFMINSTALL
=afminstall
29089 if test "$wxUSE_DFB" = 1; then
29092 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29093 if test -n "$ac_tool_prefix"; then
29094 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29095 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29096 echo "$as_me:$LINENO: checking for $ac_word" >&5
29097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29098 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 case $PKG_CONFIG in
29103 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29107 for as_dir
in $PATH
29110 test -z "$as_dir" && as_dir
=.
29111 for ac_exec_ext
in '' $ac_executable_extensions; do
29112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29113 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29123 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29125 if test -n "$PKG_CONFIG"; then
29126 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29127 echo "${ECHO_T}$PKG_CONFIG" >&6
29129 echo "$as_me:$LINENO: result: no" >&5
29130 echo "${ECHO_T}no" >&6
29134 if test -z "$ac_cv_path_PKG_CONFIG"; then
29135 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29136 # Extract the first word of "pkg-config", so it can be a program name with args.
29137 set dummy pkg
-config; ac_word
=$2
29138 echo "$as_me:$LINENO: checking for $ac_word" >&5
29139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29140 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29141 echo $ECHO_N "(cached) $ECHO_C" >&6
29143 case $ac_pt_PKG_CONFIG in
29145 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29149 for as_dir
in $PATH
29152 test -z "$as_dir" && as_dir
=.
29153 for ac_exec_ext
in '' $ac_executable_extensions; do
29154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29155 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29165 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29167 if test -n "$ac_pt_PKG_CONFIG"; then
29168 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29169 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29171 echo "$as_me:$LINENO: result: no" >&5
29172 echo "${ECHO_T}no" >&6
29175 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29177 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29181 if test -n "$PKG_CONFIG"; then
29182 _pkg_min_version
=0.9.0
29183 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29184 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29185 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29186 echo "$as_me:$LINENO: result: yes" >&5
29187 echo "${ECHO_T}yes" >&6
29189 echo "$as_me:$LINENO: result: no" >&5
29190 echo "${ECHO_T}no" >&6
29197 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29198 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29200 if test -n "$PKG_CONFIG"; then
29201 if test -n "$DIRECTFB_CFLAGS"; then
29202 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29204 if test -n "$PKG_CONFIG" && \
29205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29206 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; then
29210 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29218 if test -n "$PKG_CONFIG"; then
29219 if test -n "$DIRECTFB_LIBS"; then
29220 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29222 if test -n "$PKG_CONFIG" && \
29223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29224 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; then
29228 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29239 if test $pkg_failed = yes; then
29241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29242 _pkg_short_errors_supported
=yes
29244 _pkg_short_errors_supported
=no
29246 if test $_pkg_short_errors_supported = yes; then
29247 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29249 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29251 # Put the nasty error message in config.log where it belongs
29252 echo "$DIRECTFB_PKG_ERRORS" >&5
29255 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29256 echo "$as_me: error: DirectFB not found." >&2;}
29257 { (exit 1); exit 1; }; }
29260 elif test $pkg_failed = untried
; then
29262 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29263 echo "$as_me: error: DirectFB not found." >&2;}
29264 { (exit 1); exit 1; }; }
29268 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29269 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29270 echo "$as_me:$LINENO: result: yes" >&5
29271 echo "${ECHO_T}yes" >&6
29273 wxUSE_UNIVERSAL
="yes"
29274 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29275 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29282 if test "$wxUSE_MICROWIN" = 1; then
29283 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29284 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29285 if test "x$MICROWINDOWS" = x
; then
29286 echo "$as_me:$LINENO: result: not found" >&5
29287 echo "${ECHO_T}not found" >&6
29288 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29289 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29290 { (exit 1); exit 1; }; }
29292 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29293 echo "${ECHO_T}$MICROWINDOWS" >&6
29296 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29297 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29298 echo "${ECHO_T}MicroWindows' libraries found." >&6
29300 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29301 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29302 { (exit 1); exit 1; }; }
29305 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29306 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29308 wxUSE_UNIVERSAL
="yes"
29310 AFMINSTALL
=afminstall
29312 GUIDIST
=MICROWIN_DIST
29314 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29317 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29319 if test "x$ac_path_x_has_been_run" != xyes
; then
29320 echo "$as_me:$LINENO: checking for X" >&5
29321 echo $ECHO_N "checking for X... $ECHO_C" >&6
29323 ac_path_x_has_been_run
=yes
29325 # Check whether --with-x or --without-x was given.
29326 if test "${with_x+set}" = set; then
29330 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29331 if test "x$with_x" = xno
; then
29332 # The user explicitly disabled X.
29335 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29336 # Both variables are already set.
29339 if test "${ac_cv_have_x+set}" = set; then
29340 echo $ECHO_N "(cached) $ECHO_C" >&6
29342 # One or both of the vars are not set, and there is no cached value.
29343 ac_x_includes
=no ac_x_libraries
=no
29344 rm -fr conftest.dir
29345 if mkdir conftest.dir
; then
29347 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29348 cat >Imakefile
<<'_ACEOF'
29350 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29352 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29353 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29354 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29355 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29356 for ac_extension
in a so sl
; do
29357 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29358 test -f $ac_im_libdir/libX11.
$ac_extension; then
29359 ac_im_usrlibdir
=$ac_im_libdir; break
29362 # Screen out bogus values from the imake configuration. They are
29363 # bogus both because they are the default anyway, and because
29364 # using them would break gcc on systems where it needs fixed includes.
29365 case $ac_im_incroot in
29367 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29369 case $ac_im_usrlibdir in
29370 /usr
/lib
| /lib
) ;;
29371 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29375 rm -fr conftest.dir
29378 # Standard set of common directories for X headers.
29379 # Check X11 before X11Rn because it is often a symlink to the current release.
29391 /usr/local/X11/include
29392 /usr/local/X11R6/include
29393 /usr/local/X11R5/include
29394 /usr/local/X11R4/include
29396 /usr/local/include/X11
29397 /usr/local/include/X11R6
29398 /usr/local/include/X11R5
29399 /usr/local/include/X11R4
29403 /usr/XFree86/include/X11
29407 /usr/unsupported/include
29408 /usr/athena/include
29409 /usr/local/x11r5/include
29410 /usr/lpp/Xamples/include
29412 /usr/openwin/include
29413 /usr/openwin/share/include'
29415 if test "$ac_x_includes" = no
; then
29416 # Guess where to find include files, by looking for a specified header file.
29417 # First, try using that file with no special directory specified.
29418 cat >conftest.
$ac_ext <<_ACEOF
29421 cat confdefs.h
>>conftest.
$ac_ext
29422 cat >>conftest.
$ac_ext <<_ACEOF
29423 /* end confdefs.h. */
29424 #include <X11/Xlib.h>
29426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29429 grep -v '^ *+' conftest.er1
>conftest.err
29431 cat conftest.err
>&5
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); } >/dev
/null
; then
29434 if test -s conftest.err
; then
29435 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29436 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29443 if test -z "$ac_cpp_err"; then
29444 # We can compile using X headers with no special include directory.
29447 echo "$as_me: failed program was:" >&5
29448 sed 's/^/| /' conftest.
$ac_ext >&5
29450 for ac_dir
in $ac_x_header_dirs; do
29451 if test -r "$ac_dir/X11/Xlib.h"; then
29452 ac_x_includes
=$ac_dir
29457 rm -f conftest.err conftest.
$ac_ext
29458 fi # $ac_x_includes = no
29460 if test "$ac_x_libraries" = no
; then
29461 # Check for the libraries.
29462 # See if we find them without any special options.
29463 # Don't add to $LIBS permanently.
29466 cat >conftest.
$ac_ext <<_ACEOF
29469 cat confdefs.h
>>conftest.
$ac_ext
29470 cat >>conftest.
$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29472 #include <X11/Xlib.h>
29481 rm -f conftest.
$ac_objext conftest
$ac_exeext
29482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29483 (eval $ac_link) 2>conftest.er1
29485 grep -v '^ *+' conftest.er1
>conftest.err
29487 cat conftest.err
>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); } &&
29490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29492 (eval $ac_try) 2>&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); }; } &&
29496 { ac_try
='test -s conftest$ac_exeext'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; }; then
29503 # We can link X programs with no special library path.
29506 echo "$as_me: failed program was:" >&5
29507 sed 's/^/| /' conftest.
$ac_ext >&5
29510 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29512 # Don't even attempt the hair of trying to link an X program!
29513 for ac_extension
in a so sl
; do
29514 if test -r $ac_dir/libX11.
$ac_extension; then
29515 ac_x_libraries
=$ac_dir
29521 rm -f conftest.err conftest.
$ac_objext \
29522 conftest
$ac_exeext conftest.
$ac_ext
29523 fi # $ac_x_libraries = no
29525 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29526 # Didn't find X anywhere. Cache the known absence of X.
29527 ac_cv_have_x
="have_x=no"
29529 # Record where we found X for the cache.
29530 ac_cv_have_x
="have_x=yes \
29531 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29536 eval "$ac_cv_have_x"
29539 if test "$have_x" != yes; then
29540 echo "$as_me:$LINENO: result: $have_x" >&5
29541 echo "${ECHO_T}$have_x" >&6
29544 # If each of the values was on the command line, it overrides each guess.
29545 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29546 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29547 # Update the cache value to reflect the command line values.
29548 ac_cv_have_x
="have_x=yes \
29549 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29550 # It might be that x_includes is empty (headers are found in the
29551 # standard search path. Then output the corresponding message
29552 ac_out_x_includes
=$x_includes
29553 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29554 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29555 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29559 if test "$no_x" = yes; then
29560 # Not all programs may use this symbol, but it does not hurt to define it.
29562 cat >>confdefs.h
<<\_ACEOF
29563 #define X_DISPLAY_MISSING 1
29566 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29568 if test -n "$x_includes"; then
29569 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29572 # It would also be nice to do this for all -L options, not just this one.
29573 if test -n "$x_libraries"; then
29574 X_LIBS
="$X_LIBS -L$x_libraries"
29575 # For Solaris; some versions of Sun CC require a space after -R and
29576 # others require no space. Words are not sufficient . . . .
29577 case `(uname -sr) 2>/dev/null` in
29579 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29580 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29581 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29582 cat >conftest.
$ac_ext <<_ACEOF
29585 cat confdefs.h
>>conftest.
$ac_ext
29586 cat >>conftest.
$ac_ext <<_ACEOF
29587 /* end confdefs.h. */
29597 rm -f conftest.
$ac_objext conftest
$ac_exeext
29598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29599 (eval $ac_link) 2>conftest.er1
29601 grep -v '^ *+' conftest.er1
>conftest.err
29603 cat conftest.err
>&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); } &&
29606 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try
='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.
$ac_ext >&5
29625 rm -f conftest.err conftest.
$ac_objext \
29626 conftest
$ac_exeext conftest.
$ac_ext
29627 if test $ac_R_nospace = yes; then
29628 echo "$as_me:$LINENO: result: no" >&5
29629 echo "${ECHO_T}no" >&6
29630 X_LIBS
="$X_LIBS -R$x_libraries"
29632 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29633 cat >conftest.
$ac_ext <<_ACEOF
29636 cat confdefs.h
>>conftest.
$ac_ext
29637 cat >>conftest.
$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29648 rm -f conftest.
$ac_objext conftest
$ac_exeext
29649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29650 (eval $ac_link) 2>conftest.er1
29652 grep -v '^ *+' conftest.er1
>conftest.err
29654 cat conftest.err
>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } &&
29657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; } &&
29663 { ac_try
='test -s conftest$ac_exeext'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; }; then
29671 echo "$as_me: failed program was:" >&5
29672 sed 's/^/| /' conftest.
$ac_ext >&5
29676 rm -f conftest.err conftest.
$ac_objext \
29677 conftest
$ac_exeext conftest.
$ac_ext
29678 if test $ac_R_space = yes; then
29679 echo "$as_me:$LINENO: result: yes" >&5
29680 echo "${ECHO_T}yes" >&6
29681 X_LIBS
="$X_LIBS -R $x_libraries"
29683 echo "$as_me:$LINENO: result: neither works" >&5
29684 echo "${ECHO_T}neither works" >&6
29687 LIBS
=$ac_xsave_LIBS
29691 # Check for system-dependent libraries X programs must link with.
29692 # Do this before checking for the system-independent R6 libraries
29693 # (-lICE), since we may need -lsocket or whatever for X linking.
29695 if test "$ISC" = yes; then
29696 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29698 # Martyn Johnson says this is needed for Ultrix, if the X
29699 # libraries were built with DECnet support. And Karl Berry says
29700 # the Alpha needs dnet_stub (dnet does not exist).
29701 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29702 cat >conftest.
$ac_ext <<_ACEOF
29705 cat confdefs.h
>>conftest.
$ac_ext
29706 cat >>conftest.
$ac_ext <<_ACEOF
29707 /* end confdefs.h. */
29709 /* Override any gcc2 internal prototype to avoid an error. */
29713 /* We use char because int might match the return type of a gcc2
29714 builtin and then its argument prototype would still apply. */
29715 char XOpenDisplay ();
29724 rm -f conftest.
$ac_objext conftest
$ac_exeext
29725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29726 (eval $ac_link) 2>conftest.er1
29728 grep -v '^ *+' conftest.er1
>conftest.err
29730 cat conftest.err
>&5
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); } &&
29733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
29739 { ac_try
='test -s conftest$ac_exeext'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; }; then
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.
$ac_ext >&5
29750 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29751 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29752 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 ac_check_lib_save_LIBS
=$LIBS
29756 LIBS
="-ldnet $LIBS"
29757 cat >conftest.
$ac_ext <<_ACEOF
29760 cat confdefs.h
>>conftest.
$ac_ext
29761 cat >>conftest.
$ac_ext <<_ACEOF
29762 /* end confdefs.h. */
29764 /* Override any gcc2 internal prototype to avoid an error. */
29768 /* We use char because int might match the return type of a gcc2
29769 builtin and then its argument prototype would still apply. */
29779 rm -f conftest.
$ac_objext conftest
$ac_exeext
29780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29781 (eval $ac_link) 2>conftest.er1
29783 grep -v '^ *+' conftest.er1
>conftest.err
29785 cat conftest.err
>&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); } &&
29788 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29790 (eval $ac_try) 2>&5
29792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793 (exit $ac_status); }; } &&
29794 { ac_try
='test -s conftest$ac_exeext'
29795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29796 (eval $ac_try) 2>&5
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); }; }; then
29800 ac_cv_lib_dnet_dnet_ntoa
=yes
29802 echo "$as_me: failed program was:" >&5
29803 sed 's/^/| /' conftest.
$ac_ext >&5
29805 ac_cv_lib_dnet_dnet_ntoa
=no
29807 rm -f conftest.err conftest.
$ac_objext \
29808 conftest
$ac_exeext conftest.
$ac_ext
29809 LIBS
=$ac_check_lib_save_LIBS
29811 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29812 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29813 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29814 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29817 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29818 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29819 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29820 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29823 ac_check_lib_save_LIBS
=$LIBS
29824 LIBS
="-ldnet_stub $LIBS"
29825 cat >conftest.
$ac_ext <<_ACEOF
29828 cat confdefs.h
>>conftest.
$ac_ext
29829 cat >>conftest.
$ac_ext <<_ACEOF
29830 /* end confdefs.h. */
29832 /* Override any gcc2 internal prototype to avoid an error. */
29836 /* We use char because int might match the return type of a gcc2
29837 builtin and then its argument prototype would still apply. */
29847 rm -f conftest.
$ac_objext conftest
$ac_exeext
29848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29849 (eval $ac_link) 2>conftest.er1
29851 grep -v '^ *+' conftest.er1
>conftest.err
29853 cat conftest.err
>&5
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); } &&
29856 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; } &&
29862 { ac_try
='test -s conftest$ac_exeext'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; }; then
29868 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.
$ac_ext >&5
29873 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29875 rm -f conftest.err conftest.
$ac_objext \
29876 conftest
$ac_exeext conftest.
$ac_ext
29877 LIBS
=$ac_check_lib_save_LIBS
29879 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29880 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29881 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29882 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29887 rm -f conftest.err conftest.
$ac_objext \
29888 conftest
$ac_exeext conftest.
$ac_ext
29889 LIBS
="$ac_xsave_LIBS"
29891 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29892 # to get the SysV transport functions.
29893 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29895 # The nsl library prevents programs from opening the X display
29896 # on Irix 5.2, according to T.E. Dickey.
29897 # The functions gethostbyname, getservbyname, and inet_addr are
29898 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29899 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29900 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29901 if test "${ac_cv_func_gethostbyname+set}" = set; then
29902 echo $ECHO_N "(cached) $ECHO_C" >&6
29904 cat >conftest.
$ac_ext <<_ACEOF
29907 cat confdefs.h
>>conftest.
$ac_ext
29908 cat >>conftest.
$ac_ext <<_ACEOF
29909 /* end confdefs.h. */
29910 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29912 #define gethostbyname innocuous_gethostbyname
29914 /* System header to define __stub macros and hopefully few prototypes,
29915 which can conflict with char gethostbyname (); below.
29916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29917 <limits.h> exists even on freestanding compilers. */
29920 # include <limits.h>
29922 # include <assert.h>
29925 #undef gethostbyname
29927 /* Override any gcc2 internal prototype to avoid an error. */
29932 /* We use char because int might match the return type of a gcc2
29933 builtin and then its argument prototype would still apply. */
29934 char gethostbyname ();
29935 /* The GNU C library defines this for functions which it implements
29936 to always fail with ENOSYS. Some functions are actually named
29937 something starting with __ and the normal name is an alias. */
29938 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29941 char (*f) () = gethostbyname;
29950 return f != gethostbyname;
29955 rm -f conftest.
$ac_objext conftest
$ac_exeext
29956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29957 (eval $ac_link) 2>conftest.er1
29959 grep -v '^ *+' conftest.er1
>conftest.err
29961 cat conftest.err
>&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } &&
29964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; } &&
29970 { ac_try
='test -s conftest$ac_exeext'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; }; then
29976 ac_cv_func_gethostbyname
=yes
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.
$ac_ext >&5
29981 ac_cv_func_gethostbyname
=no
29983 rm -f conftest.err conftest.
$ac_objext \
29984 conftest
$ac_exeext conftest.
$ac_ext
29986 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29987 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29989 if test $ac_cv_func_gethostbyname = no
; then
29990 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29991 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29992 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 ac_check_lib_save_LIBS
=$LIBS
29997 cat >conftest.
$ac_ext <<_ACEOF
30000 cat confdefs.h
>>conftest.
$ac_ext
30001 cat >>conftest.
$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30004 /* Override any gcc2 internal prototype to avoid an error. */
30008 /* We use char because int might match the return type of a gcc2
30009 builtin and then its argument prototype would still apply. */
30010 char gethostbyname ();
30019 rm -f conftest.
$ac_objext conftest
$ac_exeext
30020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30021 (eval $ac_link) 2>conftest.er1
30023 grep -v '^ *+' conftest.er1
>conftest.err
30025 cat conftest.err
>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); } &&
30028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; } &&
30034 { ac_try
='test -s conftest$ac_exeext'
30035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30036 (eval $ac_try) 2>&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); }; }; then
30040 ac_cv_lib_nsl_gethostbyname
=yes
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.
$ac_ext >&5
30045 ac_cv_lib_nsl_gethostbyname
=no
30047 rm -f conftest.err conftest.
$ac_objext \
30048 conftest
$ac_exeext conftest.
$ac_ext
30049 LIBS
=$ac_check_lib_save_LIBS
30051 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30052 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30053 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30054 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30057 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30058 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30059 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30060 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 ac_check_lib_save_LIBS
=$LIBS
30065 cat >conftest.
$ac_ext <<_ACEOF
30068 cat confdefs.h
>>conftest.
$ac_ext
30069 cat >>conftest.
$ac_ext <<_ACEOF
30070 /* end confdefs.h. */
30072 /* Override any gcc2 internal prototype to avoid an error. */
30076 /* We use char because int might match the return type of a gcc2
30077 builtin and then its argument prototype would still apply. */
30078 char gethostbyname ();
30087 rm -f conftest.
$ac_objext conftest
$ac_exeext
30088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30089 (eval $ac_link) 2>conftest.er1
30091 grep -v '^ *+' conftest.er1
>conftest.err
30093 cat conftest.err
>&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); } &&
30096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098 (eval $ac_try) 2>&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); }; } &&
30102 { ac_try
='test -s conftest$ac_exeext'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; }; then
30108 ac_cv_lib_bsd_gethostbyname
=yes
30110 echo "$as_me: failed program was:" >&5
30111 sed 's/^/| /' conftest.
$ac_ext >&5
30113 ac_cv_lib_bsd_gethostbyname
=no
30115 rm -f conftest.err conftest.
$ac_objext \
30116 conftest
$ac_exeext conftest.
$ac_ext
30117 LIBS
=$ac_check_lib_save_LIBS
30119 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30120 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30121 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30122 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30128 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30129 # socket/setsockopt and other routines are undefined under SCO ODT
30130 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30131 # on later versions), says Simon Leinen: it contains gethostby*
30132 # variants that don't use the name server (or something). -lsocket
30133 # must be given before -lnsl if both are needed. We assume that
30134 # if connect needs -lnsl, so does gethostbyname.
30135 echo "$as_me:$LINENO: checking for connect" >&5
30136 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30137 if test "${ac_cv_func_connect+set}" = set; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30140 cat >conftest.
$ac_ext <<_ACEOF
30143 cat confdefs.h
>>conftest.
$ac_ext
30144 cat >>conftest.
$ac_ext <<_ACEOF
30145 /* end confdefs.h. */
30146 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30148 #define connect innocuous_connect
30150 /* System header to define __stub macros and hopefully few prototypes,
30151 which can conflict with char connect (); below.
30152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30153 <limits.h> exists even on freestanding compilers. */
30156 # include <limits.h>
30158 # include <assert.h>
30163 /* Override any gcc2 internal prototype to avoid an error. */
30168 /* We use char because int might match the return type of a gcc2
30169 builtin and then its argument prototype would still apply. */
30171 /* The GNU C library defines this for functions which it implements
30172 to always fail with ENOSYS. Some functions are actually named
30173 something starting with __ and the normal name is an alias. */
30174 #if defined (__stub_connect) || defined (__stub___connect)
30177 char (*f) () = connect;
30186 return f != connect;
30191 rm -f conftest.
$ac_objext conftest
$ac_exeext
30192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30193 (eval $ac_link) 2>conftest.er1
30195 grep -v '^ *+' conftest.er1
>conftest.err
30197 cat conftest.err
>&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); } &&
30200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202 (eval $ac_try) 2>&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); }; } &&
30206 { ac_try
='test -s conftest$ac_exeext'
30207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30208 (eval $ac_try) 2>&5
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); }; }; then
30212 ac_cv_func_connect
=yes
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.
$ac_ext >&5
30217 ac_cv_func_connect
=no
30219 rm -f conftest.err conftest.
$ac_objext \
30220 conftest
$ac_exeext conftest.
$ac_ext
30222 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30223 echo "${ECHO_T}$ac_cv_func_connect" >&6
30225 if test $ac_cv_func_connect = no
; then
30226 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30227 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30228 if test "${ac_cv_lib_socket_connect+set}" = set; then
30229 echo $ECHO_N "(cached) $ECHO_C" >&6
30231 ac_check_lib_save_LIBS
=$LIBS
30232 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30233 cat >conftest.
$ac_ext <<_ACEOF
30236 cat confdefs.h
>>conftest.
$ac_ext
30237 cat >>conftest.
$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30240 /* Override any gcc2 internal prototype to avoid an error. */
30244 /* We use char because int might match the return type of a gcc2
30245 builtin and then its argument prototype would still apply. */
30255 rm -f conftest.
$ac_objext conftest
$ac_exeext
30256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30257 (eval $ac_link) 2>conftest.er1
30259 grep -v '^ *+' conftest.er1
>conftest.err
30261 cat conftest.err
>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } &&
30264 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; } &&
30270 { ac_try
='test -s conftest$ac_exeext'
30271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30272 (eval $ac_try) 2>&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); }; }; then
30276 ac_cv_lib_socket_connect
=yes
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.
$ac_ext >&5
30281 ac_cv_lib_socket_connect
=no
30283 rm -f conftest.err conftest.
$ac_objext \
30284 conftest
$ac_exeext conftest.
$ac_ext
30285 LIBS
=$ac_check_lib_save_LIBS
30287 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30288 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30289 if test $ac_cv_lib_socket_connect = yes; then
30290 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30295 # Guillermo Gomez says -lposix is necessary on A/UX.
30296 echo "$as_me:$LINENO: checking for remove" >&5
30297 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30298 if test "${ac_cv_func_remove+set}" = set; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30301 cat >conftest.
$ac_ext <<_ACEOF
30304 cat confdefs.h
>>conftest.
$ac_ext
30305 cat >>conftest.
$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30307 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30309 #define remove innocuous_remove
30311 /* System header to define __stub macros and hopefully few prototypes,
30312 which can conflict with char remove (); below.
30313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30314 <limits.h> exists even on freestanding compilers. */
30317 # include <limits.h>
30319 # include <assert.h>
30324 /* Override any gcc2 internal prototype to avoid an error. */
30329 /* We use char because int might match the return type of a gcc2
30330 builtin and then its argument prototype would still apply. */
30332 /* The GNU C library defines this for functions which it implements
30333 to always fail with ENOSYS. Some functions are actually named
30334 something starting with __ and the normal name is an alias. */
30335 #if defined (__stub_remove) || defined (__stub___remove)
30338 char (*f) () = remove;
30347 return f != remove;
30352 rm -f conftest.
$ac_objext conftest
$ac_exeext
30353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30354 (eval $ac_link) 2>conftest.er1
30356 grep -v '^ *+' conftest.er1
>conftest.err
30358 cat conftest.err
>&5
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); } &&
30361 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30363 (eval $ac_try) 2>&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); }; } &&
30367 { ac_try
='test -s conftest$ac_exeext'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; }; then
30373 ac_cv_func_remove
=yes
30375 echo "$as_me: failed program was:" >&5
30376 sed 's/^/| /' conftest.
$ac_ext >&5
30378 ac_cv_func_remove
=no
30380 rm -f conftest.err conftest.
$ac_objext \
30381 conftest
$ac_exeext conftest.
$ac_ext
30383 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30384 echo "${ECHO_T}$ac_cv_func_remove" >&6
30386 if test $ac_cv_func_remove = no
; then
30387 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30388 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30389 if test "${ac_cv_lib_posix_remove+set}" = set; then
30390 echo $ECHO_N "(cached) $ECHO_C" >&6
30392 ac_check_lib_save_LIBS
=$LIBS
30393 LIBS
="-lposix $LIBS"
30394 cat >conftest.
$ac_ext <<_ACEOF
30397 cat confdefs.h
>>conftest.
$ac_ext
30398 cat >>conftest.
$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30401 /* Override any gcc2 internal prototype to avoid an error. */
30405 /* We use char because int might match the return type of a gcc2
30406 builtin and then its argument prototype would still apply. */
30416 rm -f conftest.
$ac_objext conftest
$ac_exeext
30417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30418 (eval $ac_link) 2>conftest.er1
30420 grep -v '^ *+' conftest.er1
>conftest.err
30422 cat conftest.err
>&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); } &&
30425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; } &&
30431 { ac_try
='test -s conftest$ac_exeext'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; }; then
30437 ac_cv_lib_posix_remove
=yes
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.
$ac_ext >&5
30442 ac_cv_lib_posix_remove
=no
30444 rm -f conftest.err conftest.
$ac_objext \
30445 conftest
$ac_exeext conftest.
$ac_ext
30446 LIBS
=$ac_check_lib_save_LIBS
30448 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30449 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30450 if test $ac_cv_lib_posix_remove = yes; then
30451 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30456 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30457 echo "$as_me:$LINENO: checking for shmat" >&5
30458 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30459 if test "${ac_cv_func_shmat+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 cat >conftest.
$ac_ext <<_ACEOF
30465 cat confdefs.h
>>conftest.
$ac_ext
30466 cat >>conftest.
$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30470 #define shmat innocuous_shmat
30472 /* System header to define __stub macros and hopefully few prototypes,
30473 which can conflict with char shmat (); below.
30474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30475 <limits.h> exists even on freestanding compilers. */
30478 # include <limits.h>
30480 # include <assert.h>
30485 /* Override any gcc2 internal prototype to avoid an error. */
30490 /* We use char because int might match the return type of a gcc2
30491 builtin and then its argument prototype would still apply. */
30493 /* The GNU C library defines this for functions which it implements
30494 to always fail with ENOSYS. Some functions are actually named
30495 something starting with __ and the normal name is an alias. */
30496 #if defined (__stub_shmat) || defined (__stub___shmat)
30499 char (*f) () = shmat;
30513 rm -f conftest.
$ac_objext conftest
$ac_exeext
30514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30515 (eval $ac_link) 2>conftest.er1
30517 grep -v '^ *+' conftest.er1
>conftest.err
30519 cat conftest.err
>&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); } &&
30522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30524 (eval $ac_try) 2>&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); }; } &&
30528 { ac_try
='test -s conftest$ac_exeext'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; }; then
30534 ac_cv_func_shmat
=yes
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.
$ac_ext >&5
30539 ac_cv_func_shmat
=no
30541 rm -f conftest.err conftest.
$ac_objext \
30542 conftest
$ac_exeext conftest.
$ac_ext
30544 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30545 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30547 if test $ac_cv_func_shmat = no
; then
30548 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30549 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30550 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30551 echo $ECHO_N "(cached) $ECHO_C" >&6
30553 ac_check_lib_save_LIBS
=$LIBS
30555 cat >conftest.
$ac_ext <<_ACEOF
30558 cat confdefs.h
>>conftest.
$ac_ext
30559 cat >>conftest.
$ac_ext <<_ACEOF
30560 /* end confdefs.h. */
30562 /* Override any gcc2 internal prototype to avoid an error. */
30566 /* We use char because int might match the return type of a gcc2
30567 builtin and then its argument prototype would still apply. */
30577 rm -f conftest.
$ac_objext conftest
$ac_exeext
30578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30579 (eval $ac_link) 2>conftest.er1
30581 grep -v '^ *+' conftest.er1
>conftest.err
30583 cat conftest.err
>&5
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); } &&
30586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30588 (eval $ac_try) 2>&5
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); }; } &&
30592 { ac_try
='test -s conftest$ac_exeext'
30593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30594 (eval $ac_try) 2>&5
30596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30597 (exit $ac_status); }; }; then
30598 ac_cv_lib_ipc_shmat
=yes
30600 echo "$as_me: failed program was:" >&5
30601 sed 's/^/| /' conftest.
$ac_ext >&5
30603 ac_cv_lib_ipc_shmat
=no
30605 rm -f conftest.err conftest.
$ac_objext \
30606 conftest
$ac_exeext conftest.
$ac_ext
30607 LIBS
=$ac_check_lib_save_LIBS
30609 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30610 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30611 if test $ac_cv_lib_ipc_shmat = yes; then
30612 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30618 # Check for libraries that X11R6 Xt/Xaw programs need.
30619 ac_save_LDFLAGS
=$LDFLAGS
30620 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30621 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30622 # check for ICE first), but we must link in the order -lSM -lICE or
30623 # we get undefined symbols. So assume we have SM if we have ICE.
30624 # These have to be linked with before -lX11, unlike the other
30625 # libraries we check for below, so use a different variable.
30626 # John Interrante, Karl Berry
30627 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30628 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30629 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30632 ac_check_lib_save_LIBS
=$LIBS
30633 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30634 cat >conftest.
$ac_ext <<_ACEOF
30637 cat confdefs.h
>>conftest.
$ac_ext
30638 cat >>conftest.
$ac_ext <<_ACEOF
30639 /* end confdefs.h. */
30641 /* Override any gcc2 internal prototype to avoid an error. */
30645 /* We use char because int might match the return type of a gcc2
30646 builtin and then its argument prototype would still apply. */
30647 char IceConnectionNumber ();
30651 IceConnectionNumber ();
30656 rm -f conftest.
$ac_objext conftest
$ac_exeext
30657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30658 (eval $ac_link) 2>conftest.er1
30660 grep -v '^ *+' conftest.er1
>conftest.err
30662 cat conftest.err
>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } &&
30665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; } &&
30671 { ac_try
='test -s conftest$ac_exeext'
30672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673 (eval $ac_try) 2>&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); }; }; then
30677 ac_cv_lib_ICE_IceConnectionNumber
=yes
30679 echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.
$ac_ext >&5
30682 ac_cv_lib_ICE_IceConnectionNumber
=no
30684 rm -f conftest.err conftest.
$ac_objext \
30685 conftest
$ac_exeext conftest.
$ac_ext
30686 LIBS
=$ac_check_lib_save_LIBS
30688 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30689 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30690 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30691 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30694 LDFLAGS
=$ac_save_LDFLAGS
30699 if test "$no_x" = "yes"; then
30700 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30701 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30702 { (exit 1); exit 1; }; }
30705 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30706 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30707 AFMINSTALL
=afminstall
30708 COMPILED_X_PROGRAM
=0
30712 if test "$wxUSE_X11" = 1; then
30713 if test "$wxUSE_NANOX" = "yes"; then
30714 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30715 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30716 if test "x$MICROWIN" = x
; then
30717 echo "$as_me:$LINENO: result: not found" >&5
30718 echo "${ECHO_T}not found" >&6
30719 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30720 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30721 { (exit 1); exit 1; }; }
30723 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30724 echo "${ECHO_T}$MICROWIN" >&6
30725 cat >>confdefs.h
<<\_ACEOF
30726 #define wxUSE_NANOX 1
30732 if test "$wxUSE_UNICODE" = "yes"; then
30735 echo "$as_me:$LINENO: checking for PANGOX" >&5
30736 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30738 if test -n "$PKG_CONFIG"; then
30739 if test -n "$PANGOX_CFLAGS"; then
30740 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30742 if test -n "$PKG_CONFIG" && \
30743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30744 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); }; then
30748 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30756 if test -n "$PKG_CONFIG"; then
30757 if test -n "$PANGOX_LIBS"; then
30758 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30760 if test -n "$PKG_CONFIG" && \
30761 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30762 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; then
30766 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30777 if test $pkg_failed = yes; then
30779 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30780 _pkg_short_errors_supported
=yes
30782 _pkg_short_errors_supported
=no
30784 if test $_pkg_short_errors_supported = yes; then
30785 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30787 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30789 # Put the nasty error message in config.log where it belongs
30790 echo "$PANGOX_PKG_ERRORS" >&5
30793 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30794 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30795 { (exit 1); exit 1; }; }
30798 elif test $pkg_failed = untried
; then
30800 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30801 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30802 { (exit 1); exit 1; }; }
30806 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30807 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30808 echo "$as_me:$LINENO: result: yes" >&5
30809 echo "${ECHO_T}yes" >&6
30811 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30812 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30817 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30818 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30820 if test -n "$PKG_CONFIG"; then
30821 if test -n "$PANGOFT2_CFLAGS"; then
30822 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30824 if test -n "$PKG_CONFIG" && \
30825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30826 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); }; then
30830 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30838 if test -n "$PKG_CONFIG"; then
30839 if test -n "$PANGOFT2_LIBS"; then
30840 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30842 if test -n "$PKG_CONFIG" && \
30843 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30844 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; then
30848 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30859 if test $pkg_failed = yes; then
30861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30862 _pkg_short_errors_supported
=yes
30864 _pkg_short_errors_supported
=no
30866 if test $_pkg_short_errors_supported = yes; then
30867 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30869 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30871 # Put the nasty error message in config.log where it belongs
30872 echo "$PANGOFT2_PKG_ERRORS" >&5
30875 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30876 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30877 wxUSE_PRINTING_ARCHITECTURE
="no"
30880 elif test $pkg_failed = untried
; then
30882 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30883 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30884 wxUSE_PRINTING_ARCHITECTURE
="no"
30888 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30889 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30890 echo "$as_me:$LINENO: result: yes" >&5
30891 echo "${ECHO_T}yes" >&6
30893 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30894 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30899 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30900 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30902 if test -n "$PKG_CONFIG"; then
30903 if test -n "$PANGOXFT_CFLAGS"; then
30904 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30906 if test -n "$PKG_CONFIG" && \
30907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30908 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; then
30912 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30920 if test -n "$PKG_CONFIG"; then
30921 if test -n "$PANGOXFT_LIBS"; then
30922 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30924 if test -n "$PKG_CONFIG" && \
30925 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30926 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; then
30930 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30941 if test $pkg_failed = yes; then
30943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30944 _pkg_short_errors_supported
=yes
30946 _pkg_short_errors_supported
=no
30948 if test $_pkg_short_errors_supported = yes; then
30949 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30951 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30953 # Put the nasty error message in config.log where it belongs
30954 echo "$PANGOXFT_PKG_ERRORS" >&5
30957 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30958 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30961 elif test $pkg_failed = untried
; then
30963 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30964 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30968 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30969 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30970 echo "$as_me:$LINENO: result: yes" >&5
30971 echo "${ECHO_T}yes" >&6
30973 cat >>confdefs.h
<<\_ACEOF
30974 #define HAVE_PANGO_XFT 1
30977 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30978 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30981 save_CXXFLAGS
="$CXXFLAGS"
30983 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30984 LIBS
="$LIBS $PANGOX_LIBS"
30986 for ac_func
in pango_font_family_is_monospace
30988 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30989 echo "$as_me:$LINENO: checking for $ac_func" >&5
30990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30991 if eval "test \"\${$as_ac_var+set}\" = set"; then
30992 echo $ECHO_N "(cached) $ECHO_C" >&6
30994 cat >conftest.
$ac_ext <<_ACEOF
30997 cat confdefs.h
>>conftest.
$ac_ext
30998 cat >>conftest.
$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31002 #define $ac_func innocuous_$ac_func
31004 /* System header to define __stub macros and hopefully few prototypes,
31005 which can conflict with char $ac_func (); below.
31006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31007 <limits.h> exists even on freestanding compilers. */
31010 # include <limits.h>
31012 # include <assert.h>
31017 /* Override any gcc2 internal prototype to avoid an error. */
31022 /* We use char because int might match the return type of a gcc2
31023 builtin and then its argument prototype would still apply. */
31025 /* The GNU C library defines this for functions which it implements
31026 to always fail with ENOSYS. Some functions are actually named
31027 something starting with __ and the normal name is an alias. */
31028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31031 char (*f) () = $ac_func;
31040 return f != $ac_func;
31045 rm -f conftest.
$ac_objext conftest
$ac_exeext
31046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31047 (eval $ac_link) 2>conftest.er1
31049 grep -v '^ *+' conftest.er1
>conftest.err
31051 cat conftest.err
>&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } &&
31054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; } &&
31060 { ac_try
='test -s conftest$ac_exeext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 eval "$as_ac_var=yes"
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.
$ac_ext >&5
31071 eval "$as_ac_var=no"
31073 rm -f conftest.err conftest.
$ac_objext \
31074 conftest
$ac_exeext conftest.
$ac_ext
31076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31078 if test `eval echo '${'$as_ac_var'}'` = yes; then
31079 cat >>confdefs.h
<<_ACEOF
31080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31086 CXXFLAGS
="$save_CXXFLAGS"
31090 wxUSE_UNIVERSAL
="yes"
31092 if test "$wxUSE_NANOX" = "yes"; then
31093 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31094 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"
31095 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31097 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31104 if test "$wxUSE_MOTIF" = 1; then
31105 if test "$wxUSE_UNICODE" = "yes"; then
31106 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31107 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31108 { (exit 1); exit 1; }; }
31111 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31112 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31115 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31117 if test -f "$ac_dir/Xm/Xm.h"; then
31118 ac_find_includes
=$ac_dir
31123 if test "$ac_find_includes" != "" ; then
31124 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31125 echo "${ECHO_T}found in $ac_find_includes" >&6
31127 if test "x$ac_find_includes" = "x/usr/include"; then
31128 ac_path_to_include
=""
31130 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31132 if test $result = 0; then
31133 ac_path_to_include
=""
31135 ac_path_to_include
=" -I$ac_find_includes"
31139 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31141 save_CXXFLAGS
=$CXXFLAGS
31142 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31144 cat >conftest.
$ac_ext <<_ACEOF
31147 cat confdefs.h
>>conftest.
$ac_ext
31148 cat >>conftest.
$ac_ext <<_ACEOF
31149 /* end confdefs.h. */
31158 version = xmUseVersion;
31164 rm -f conftest.
$ac_objext
31165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31166 (eval $ac_compile) 2>conftest.er1
31168 grep -v '^ *+' conftest.er1
>conftest.err
31170 cat conftest.err
>&5
31171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172 (exit $ac_status); } &&
31173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31175 (eval $ac_try) 2>&5
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); }; } &&
31179 { ac_try
='test -s conftest.$ac_objext'
31180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31181 (eval $ac_try) 2>&5
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); }; }; then
31186 echo "$as_me:$LINENO: result: found in default search path" >&5
31187 echo "${ECHO_T}found in default search path" >&6
31188 COMPILED_X_PROGRAM
=1
31191 echo "$as_me: failed program was:" >&5
31192 sed 's/^/| /' conftest.
$ac_ext >&5
31195 echo "$as_me:$LINENO: result: no" >&5
31196 echo "${ECHO_T}no" >&6
31197 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31198 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31199 { (exit 1); exit 1; }; }
31203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31205 CXXFLAGS
=$save_CXXFLAGS
31209 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31210 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31213 for ac_dir
in $SEARCH_LIB;
31215 for ac_extension
in a so sl dylib dll.a
; do
31216 if test -f "$ac_dir/libXm.$ac_extension"; then
31217 ac_find_libraries
=$ac_dir
31224 if test "x$ac_find_libraries" != "x" ; then
31225 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31226 echo "${ECHO_T}found in $ac_find_libraries" >&6
31229 if test "$ac_find_libraries" = "default location"; then
31232 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31234 if test $result = 0; then
31237 ac_path_to_link
=" -L$ac_find_libraries"
31241 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31243 save_CXXFLAGS
=$CXXFLAGS
31244 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31246 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31248 cat >conftest.
$ac_ext <<_ACEOF
31251 cat confdefs.h
>>conftest.
$ac_ext
31252 cat >>conftest.
$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31262 version = xmUseVersion;
31268 rm -f conftest.
$ac_objext conftest
$ac_exeext
31269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31270 (eval $ac_link) 2>conftest.er1
31272 grep -v '^ *+' conftest.er1
>conftest.err
31274 cat conftest.err
>&5
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); } &&
31277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31279 (eval $ac_try) 2>&5
31281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31282 (exit $ac_status); }; } &&
31283 { ac_try
='test -s conftest$ac_exeext'
31284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31285 (eval $ac_try) 2>&5
31287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288 (exit $ac_status); }; }; then
31290 echo "$as_me:$LINENO: result: found in default search path" >&5
31291 echo "${ECHO_T}found in default search path" >&6
31292 COMPILED_X_PROGRAM
=1
31295 echo "$as_me: failed program was:" >&5
31296 sed 's/^/| /' conftest.
$ac_ext >&5
31299 echo "$as_me:$LINENO: result: no" >&5
31300 echo "${ECHO_T}no" >&6
31301 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31302 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31303 { (exit 1); exit 1; }; }
31307 rm -f conftest.err conftest.
$ac_objext \
31308 conftest
$ac_exeext conftest.
$ac_ext
31310 CXXFLAGS
=$save_CXXFLAGS
31314 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31315 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31319 for libp
in "" " -lXp"; do
31320 if test "$libs_found" = "0"; then
31321 for libsm_ice
in "" " -lSM -lICE"; do
31322 if test "$libs_found" = "0"; then
31324 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31325 save_CXXFLAGS
=$CXXFLAGS
31326 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31328 cat >conftest.
$ac_ext <<_ACEOF
31331 cat confdefs.h
>>conftest.
$ac_ext
31332 cat >>conftest.
$ac_ext <<_ACEOF
31333 /* end confdefs.h. */
31336 #include <Xm/List.h>
31342 XmString string = NULL;
31345 XmListAddItem(w, string, position);
31351 rm -f conftest.
$ac_objext conftest
$ac_exeext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31353 (eval $ac_link) 2>conftest.er1
31355 grep -v '^ *+' conftest.er1
>conftest.err
31357 cat conftest.err
>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; } &&
31366 { ac_try
='test -s conftest$ac_exeext'
31367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31368 (eval $ac_try) 2>&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); }; }; then
31374 libsm_ice_link
="$libsm_ice"
31375 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31376 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31380 echo "$as_me: failed program was:" >&5
31381 sed 's/^/| /' conftest.
$ac_ext >&5
31386 rm -f conftest.err conftest.
$ac_objext \
31387 conftest
$ac_exeext conftest.
$ac_ext
31390 CXXFLAGS
=$save_CXXFLAGS
31396 if test "$libs_found" = "0"; then
31397 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31398 echo "${ECHO_T}can't find the right libraries" >&6
31399 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31400 echo "$as_me: error: can't link a simple motif program" >&2;}
31401 { (exit 1); exit 1; }; }
31404 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31405 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31406 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31407 echo $ECHO_N "(cached) $ECHO_C" >&6
31409 ac_check_lib_save_LIBS
=$LIBS
31411 cat >conftest.
$ac_ext <<_ACEOF
31414 cat confdefs.h
>>conftest.
$ac_ext
31415 cat >>conftest.
$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31418 /* Override any gcc2 internal prototype to avoid an error. */
31422 /* We use char because int might match the return type of a gcc2
31423 builtin and then its argument prototype would still apply. */
31424 char SgCreateList ();
31433 rm -f conftest.
$ac_objext conftest
$ac_exeext
31434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31435 (eval $ac_link) 2>conftest.er1
31437 grep -v '^ *+' conftest.er1
>conftest.err
31439 cat conftest.err
>&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); } &&
31442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31444 (eval $ac_try) 2>&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); }; } &&
31448 { ac_try
='test -s conftest$ac_exeext'
31449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31450 (eval $ac_try) 2>&5
31452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31453 (exit $ac_status); }; }; then
31454 ac_cv_lib_Sgm_SgCreateList
=yes
31456 echo "$as_me: failed program was:" >&5
31457 sed 's/^/| /' conftest.
$ac_ext >&5
31459 ac_cv_lib_Sgm_SgCreateList
=no
31461 rm -f conftest.err conftest.
$ac_objext \
31462 conftest
$ac_exeext conftest.
$ac_ext
31463 LIBS
=$ac_check_lib_save_LIBS
31465 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31466 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31467 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31468 libsgm_link
=" -lSgm"
31472 save_CXXFLAGS
=$CXXFLAGS
31473 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31475 echo "$as_me:$LINENO: checking for Motif 2" >&5
31476 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31477 if test "${wx_cv_lib_motif2+set}" = set; then
31478 echo $ECHO_N "(cached) $ECHO_C" >&6
31480 cat >conftest.
$ac_ext <<_ACEOF
31483 cat confdefs.h
>>conftest.
$ac_ext
31484 cat >>conftest.
$ac_ext <<_ACEOF
31485 /* end confdefs.h. */
31493 #if XmVersion < 2000
31501 rm -f conftest.
$ac_objext
31502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31503 (eval $ac_compile) 2>conftest.er1
31505 grep -v '^ *+' conftest.er1
>conftest.err
31507 cat conftest.err
>&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); } &&
31510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31512 (eval $ac_try) 2>&5
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; } &&
31516 { ac_try
='test -s conftest.$ac_objext'
31517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31518 (eval $ac_try) 2>&5
31520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521 (exit $ac_status); }; }; then
31522 wx_cv_lib_motif2
="yes"
31524 echo "$as_me: failed program was:" >&5
31525 sed 's/^/| /' conftest.
$ac_ext >&5
31527 wx_cv_lib_motif2
="no"
31529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31531 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31532 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31533 if test "$wx_cv_lib_motif2" = "yes"; then
31534 cat >>confdefs.h
<<\_ACEOF
31535 #define __WXMOTIF20__ 1
31539 cat >>confdefs.h
<<\_ACEOF
31540 #define __WXMOTIF20__ 0
31545 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31546 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31547 if test "${wx_cv_lib_lesstif+set}" = set; then
31548 echo $ECHO_N "(cached) $ECHO_C" >&6
31550 cat >conftest.
$ac_ext <<_ACEOF
31553 cat confdefs.h
>>conftest.
$ac_ext
31554 cat >>conftest.
$ac_ext <<_ACEOF
31555 /* end confdefs.h. */
31563 #if !defined(LesstifVersion) || LesstifVersion <= 0
31571 rm -f conftest.
$ac_objext
31572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31573 (eval $ac_compile) 2>conftest.er1
31575 grep -v '^ *+' conftest.er1
>conftest.err
31577 cat conftest.err
>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); } &&
31580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; } &&
31586 { ac_try
='test -s conftest.$ac_objext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 wx_cv_lib_lesstif
="yes"
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.
$ac_ext >&5
31597 wx_cv_lib_lesstif
="no"
31599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31602 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31603 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31604 if test "$wx_cv_lib_lesstif" = "yes"; then
31605 cat >>confdefs.h
<<\_ACEOF
31606 #define __WXLESSTIF__ 1
31610 cat >>confdefs.h
<<\_ACEOF
31611 #define __WXLESSTIF__ 0
31616 CXXFLAGS
=$save_CXXFLAGS
31618 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31623 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31624 if test "$wxUSE_LIBXPM" = "sys"; then
31625 echo "$as_me:$LINENO: checking for Xpm library" >&5
31626 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31629 for ac_dir
in $SEARCH_LIB;
31631 for ac_extension
in a so sl dylib dll.a
; do
31632 if test -f "$ac_dir/libXpm.$ac_extension"; then
31633 ac_find_libraries
=$ac_dir
31639 if test "$ac_find_libraries" != "" ; then
31641 if test "$ac_find_libraries" = "default location"; then
31644 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31646 if test $result = 0; then
31649 ac_path_to_link
=" -L$ac_find_libraries"
31653 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31654 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31655 echo "${ECHO_T}found in $ac_find_libraries" >&6
31657 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31658 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31659 if test "${wx_cv_x11_xpm_h+set}" = set; then
31660 echo $ECHO_N "(cached) $ECHO_C" >&6
31663 save_CXXFLAGS
=$CXXFLAGS
31664 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31666 cat >conftest.
$ac_ext <<_ACEOF
31669 cat confdefs.h
>>conftest.
$ac_ext
31670 cat >>conftest.
$ac_ext <<_ACEOF
31671 /* end confdefs.h. */
31673 #include <X11/xpm.h>
31680 version = XpmLibraryVersion();
31686 rm -f conftest.
$ac_objext
31687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31688 (eval $ac_compile) 2>conftest.er1
31690 grep -v '^ *+' conftest.er1
>conftest.err
31692 cat conftest.err
>&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); } &&
31695 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; } &&
31701 { ac_try
='test -s conftest.$ac_objext'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; }; then
31707 wx_cv_x11_xpm_h
=yes
31709 echo "$as_me: failed program was:" >&5
31710 sed 's/^/| /' conftest.
$ac_ext >&5
31715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31717 CXXFLAGS
=$save_CXXFLAGS
31721 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31722 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31724 if test $wx_cv_x11_xpm_h = "yes"; then
31725 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31726 cat >>confdefs.h
<<\_ACEOF
31727 #define wxHAVE_LIB_XPM 1
31731 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31732 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31738 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31739 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31740 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31741 echo $ECHO_N "(cached) $ECHO_C" >&6
31743 ac_check_lib_save_LIBS
=$LIBS
31744 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31745 cat >conftest.
$ac_ext <<_ACEOF
31748 cat confdefs.h
>>conftest.
$ac_ext
31749 cat >>conftest.
$ac_ext <<_ACEOF
31750 /* end confdefs.h. */
31752 /* Override any gcc2 internal prototype to avoid an error. */
31756 /* We use char because int might match the return type of a gcc2
31757 builtin and then its argument prototype would still apply. */
31758 char XShapeQueryExtension ();
31762 XShapeQueryExtension ();
31767 rm -f conftest.
$ac_objext conftest
$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769 (eval $ac_link) 2>conftest.er1
31771 grep -v '^ *+' conftest.er1
>conftest.err
31773 cat conftest.err
>&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } &&
31776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31778 (eval $ac_try) 2>&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); }; } &&
31782 { ac_try
='test -s conftest$ac_exeext'
31783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31784 (eval $ac_try) 2>&5
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); }; }; then
31788 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31790 echo "$as_me: failed program was:" >&5
31791 sed 's/^/| /' conftest.
$ac_ext >&5
31793 ac_cv_lib_Xext_XShapeQueryExtension
=no
31795 rm -f conftest.err conftest.
$ac_objext \
31796 conftest
$ac_exeext conftest.
$ac_ext
31797 LIBS
=$ac_check_lib_save_LIBS
31799 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31800 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31801 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31803 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31809 if test "$wxHAVE_XEXT_LIB" = 1; then
31810 save_CXXFLAGS
="$CXXFLAGS"
31811 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31813 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31814 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31815 cat >conftest.
$ac_ext <<_ACEOF
31818 cat confdefs.h
>>conftest.
$ac_ext
31819 cat >>conftest.
$ac_ext <<_ACEOF
31820 /* end confdefs.h. */
31822 #include <X11/Xlib.h>
31823 #include <X11/extensions/shape.h>
31829 int dummy1, dummy2;
31830 XShapeQueryExtension((Display*)NULL,
31831 (int*)NULL, (int*)NULL);
31837 rm -f conftest.
$ac_objext
31838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31839 (eval $ac_compile) 2>conftest.er1
31841 grep -v '^ *+' conftest.er1
>conftest.err
31843 cat conftest.err
>&5
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); } &&
31846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; } &&
31852 { ac_try
='test -s conftest.$ac_objext'
31853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854 (eval $ac_try) 2>&5
31856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857 (exit $ac_status); }; }; then
31859 cat >>confdefs.h
<<\_ACEOF
31860 #define HAVE_XSHAPE 1
31863 echo "$as_me:$LINENO: result: found" >&5
31864 echo "${ECHO_T}found" >&6
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.
$ac_ext >&5
31871 echo "$as_me:$LINENO: result: not found" >&5
31872 echo "${ECHO_T}not found" >&6
31875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31876 CXXFLAGS
="$save_CXXFLAGS"
31881 if test "$wxUSE_MAC" = 1; then
31882 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31883 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31884 if test "$GCC" = yes; then
31885 echo "$as_me:$LINENO: result: gcc" >&5
31886 echo "${ECHO_T}gcc" >&6
31887 CPPFLAGS_PASCAL
="-fpascal-strings"
31888 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31889 echo "$as_me:$LINENO: result: xlc" >&5
31890 echo "${ECHO_T}xlc" >&6
31891 CPPFLAGS_PASCAL
="-qmacpstr"
31893 echo "$as_me:$LINENO: result: none" >&5
31894 echo "${ECHO_T}none" >&6
31897 if test "x$wxUSE_UNIX" = "xyes"; then
31898 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31900 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31905 WXBASEPORT
="_carbon"
31908 if test "$wxUSE_COCOA" = 1; then
31913 if test "$wxUSE_PM" = 1; then
31916 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31917 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31918 if test "${wx_cv_spbcdata+set}" = set; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31922 cat >conftest.
$ac_ext <<_ACEOF
31925 cat confdefs.h
>>conftest.
$ac_ext
31926 cat >>conftest.
$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31942 rm -f conftest.
$ac_objext
31943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31944 (eval $ac_compile) 2>conftest.er1
31946 grep -v '^ *+' conftest.er1
>conftest.err
31948 cat conftest.err
>&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } &&
31951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; } &&
31957 { ac_try
='test -s conftest.$ac_objext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.
$ac_ext >&5
31971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31975 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31976 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31978 if test $wx_cv_spbcdata = "yes"; then
31979 cat >>confdefs.h
<<\_ACEOF
31980 #define HAVE_SPBCDATA 1
31986 if test "$TOOLKIT" = "PM" ; then
31989 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31992 if test "$wxUSE_UNIVERSAL" = "yes"; then
31993 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31997 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31998 DISTDIR
="wx\$(TOOLKIT)"
32004 if test "$USE_WIN32" = 1 ; then
32008 GUIDIST
="BASE_DIST"
32013 if test "$wxUSE_GUI" = "yes"; then
32014 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32016 for ac_header
in X
11/Xlib.h
32018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32020 echo "$as_me:$LINENO: checking for $ac_header" >&5
32021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32028 # Is the header compilable?
32029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32031 cat >conftest.
$ac_ext <<_ACEOF
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 $ac_includes_default
32038 #include <$ac_header>
32040 rm -f conftest.
$ac_objext
32041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32042 (eval $ac_compile) 2>conftest.er1
32044 grep -v '^ *+' conftest.er1
>conftest.err
32046 cat conftest.err
>&5
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); } &&
32049 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32051 (eval $ac_try) 2>&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); }; } &&
32055 { ac_try
='test -s conftest.$ac_objext'
32056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32057 (eval $ac_try) 2>&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); }; }; then
32061 ac_header_compiler
=yes
32063 echo "$as_me: failed program was:" >&5
32064 sed 's/^/| /' conftest.
$ac_ext >&5
32066 ac_header_compiler
=no
32068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32070 echo "${ECHO_T}$ac_header_compiler" >&6
32072 # Is the header present?
32073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32075 cat >conftest.
$ac_ext <<_ACEOF
32078 cat confdefs.h
>>conftest.
$ac_ext
32079 cat >>conftest.
$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32081 #include <$ac_header>
32083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32086 grep -v '^ *+' conftest.er1
>conftest.err
32088 cat conftest.err
>&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } >/dev
/null
; then
32091 if test -s conftest.err
; then
32092 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32093 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32100 if test -z "$ac_cpp_err"; then
32101 ac_header_preproc
=yes
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.
$ac_ext >&5
32106 ac_header_preproc
=no
32108 rm -f conftest.err conftest.
$ac_ext
32109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32110 echo "${ECHO_T}$ac_header_preproc" >&6
32112 # So? What about this header?
32113 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32119 ac_header_preproc
=yes
32122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32136 ## ----------------------------------------- ##
32137 ## Report this to wx-dev@lists.wxwidgets.org ##
32138 ## ----------------------------------------- ##
32141 sed "s/^/$as_me: WARNING: /" >&2
32144 echo "$as_me:$LINENO: checking for $ac_header" >&5
32145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32147 echo $ECHO_N "(cached) $ECHO_C" >&6
32149 eval "$as_ac_Header=\$ac_header_preproc"
32151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32156 cat >>confdefs.h
<<_ACEOF
32157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32165 for ac_header
in X
11/XKBlib.h
32167 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32168 echo "$as_me:$LINENO: checking for $ac_header" >&5
32169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32171 echo $ECHO_N "(cached) $ECHO_C" >&6
32173 cat >conftest.
$ac_ext <<_ACEOF
32176 cat confdefs.h
>>conftest.
$ac_ext
32177 cat >>conftest.
$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32180 #if HAVE_X11_XLIB_H
32181 #include <X11/Xlib.h>
32185 #include <$ac_header>
32187 rm -f conftest.
$ac_objext
32188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32189 (eval $ac_compile) 2>conftest.er1
32191 grep -v '^ *+' conftest.er1
>conftest.err
32193 cat conftest.err
>&5
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); } &&
32196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32198 (eval $ac_try) 2>&5
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); }; } &&
32202 { ac_try
='test -s conftest.$ac_objext'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; }; then
32208 eval "$as_ac_Header=yes"
32210 echo "$as_me: failed program was:" >&5
32211 sed 's/^/| /' conftest.
$ac_ext >&5
32213 eval "$as_ac_Header=no"
32215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32220 cat >>confdefs.h
<<_ACEOF
32221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32236 if test "$TOOLKIT" != "MSW" ; then
32238 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32240 if test "${ac_cv_header_sql_h+set}" = set; then
32241 echo "$as_me:$LINENO: checking for sql.h" >&5
32242 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32243 if test "${ac_cv_header_sql_h+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32246 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32247 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32249 # Is the header compilable?
32250 echo "$as_me:$LINENO: checking sql.h usability" >&5
32251 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32252 cat >conftest.
$ac_ext <<_ACEOF
32255 cat confdefs.h
>>conftest.
$ac_ext
32256 cat >>conftest.
$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32258 $ac_includes_default
32261 rm -f conftest.
$ac_objext
32262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32263 (eval $ac_compile) 2>conftest.er1
32265 grep -v '^ *+' conftest.er1
>conftest.err
32267 cat conftest.err
>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); } &&
32270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32272 (eval $ac_try) 2>&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); }; } &&
32276 { ac_try
='test -s conftest.$ac_objext'
32277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32278 (eval $ac_try) 2>&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); }; }; then
32282 ac_header_compiler
=yes
32284 echo "$as_me: failed program was:" >&5
32285 sed 's/^/| /' conftest.
$ac_ext >&5
32287 ac_header_compiler
=no
32289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32291 echo "${ECHO_T}$ac_header_compiler" >&6
32293 # Is the header present?
32294 echo "$as_me:$LINENO: checking sql.h presence" >&5
32295 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32296 cat >conftest.
$ac_ext <<_ACEOF
32299 cat confdefs.h
>>conftest.
$ac_ext
32300 cat >>conftest.
$ac_ext <<_ACEOF
32301 /* end confdefs.h. */
32304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32305 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32307 grep -v '^ *+' conftest.er1
>conftest.err
32309 cat conftest.err
>&5
32310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311 (exit $ac_status); } >/dev
/null
; then
32312 if test -s conftest.err
; then
32313 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32314 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32321 if test -z "$ac_cpp_err"; then
32322 ac_header_preproc
=yes
32324 echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.
$ac_ext >&5
32327 ac_header_preproc
=no
32329 rm -f conftest.err conftest.
$ac_ext
32330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32331 echo "${ECHO_T}$ac_header_preproc" >&6
32333 # So? What about this header?
32334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32336 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32337 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32338 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32339 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32340 ac_header_preproc
=yes
32343 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32344 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32345 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32346 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32347 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32348 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32349 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32350 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32351 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32352 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32353 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32354 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32357 ## ----------------------------------------- ##
32358 ## Report this to wx-dev@lists.wxwidgets.org ##
32359 ## ----------------------------------------- ##
32362 sed "s/^/$as_me: WARNING: /" >&2
32365 echo "$as_me:$LINENO: checking for sql.h" >&5
32366 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32367 if test "${ac_cv_header_sql_h+set}" = set; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 ac_cv_header_sql_h
=$ac_header_preproc
32372 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32373 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32376 if test $ac_cv_header_sql_h = yes; then
32381 if test "x$found_sql_h" = "x1" ; then
32382 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32383 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32384 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32387 ac_check_lib_save_LIBS
=$LIBS
32388 LIBS
="-liodbc $LIBS"
32389 cat >conftest.
$ac_ext <<_ACEOF
32392 cat confdefs.h
>>conftest.
$ac_ext
32393 cat >>conftest.
$ac_ext <<_ACEOF
32394 /* end confdefs.h. */
32396 /* Override any gcc2 internal prototype to avoid an error. */
32400 /* We use char because int might match the return type of a gcc2
32401 builtin and then its argument prototype would still apply. */
32402 char SQLAllocEnv ();
32411 rm -f conftest.
$ac_objext conftest
$ac_exeext
32412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32413 (eval $ac_link) 2>conftest.er1
32415 grep -v '^ *+' conftest.er1
>conftest.err
32417 cat conftest.err
>&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } &&
32420 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32422 (eval $ac_try) 2>&5
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); }; } &&
32426 { ac_try
='test -s conftest$ac_exeext'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; }; then
32432 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32434 echo "$as_me: failed program was:" >&5
32435 sed 's/^/| /' conftest.
$ac_ext >&5
32437 ac_cv_lib_iodbc_SQLAllocEnv
=no
32439 rm -f conftest.err conftest.
$ac_objext \
32440 conftest
$ac_exeext conftest.
$ac_ext
32441 LIBS
=$ac_check_lib_save_LIBS
32443 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32444 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32445 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32446 ODBC_LINK
=" -liodbc"
32449 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32450 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32451 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32452 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 ac_check_lib_save_LIBS
=$LIBS
32455 LIBS
="-lunixodbc $LIBS"
32456 cat >conftest.
$ac_ext <<_ACEOF
32459 cat confdefs.h
>>conftest.
$ac_ext
32460 cat >>conftest.
$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32463 /* Override any gcc2 internal prototype to avoid an error. */
32467 /* We use char because int might match the return type of a gcc2
32468 builtin and then its argument prototype would still apply. */
32469 char SQLAllocEnv ();
32478 rm -f conftest.
$ac_objext conftest
$ac_exeext
32479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32480 (eval $ac_link) 2>conftest.er1
32482 grep -v '^ *+' conftest.er1
>conftest.err
32484 cat conftest.err
>&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); } &&
32487 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try
='test -s conftest$ac_exeext'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; }; then
32499 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.
$ac_ext >&5
32504 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32506 rm -f conftest.err conftest.
$ac_objext \
32507 conftest
$ac_exeext conftest.
$ac_ext
32508 LIBS
=$ac_check_lib_save_LIBS
32510 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32511 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32512 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32513 ODBC_LINK
=" -lunixodbc"
32516 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32517 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32518 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32519 echo $ECHO_N "(cached) $ECHO_C" >&6
32521 ac_check_lib_save_LIBS
=$LIBS
32522 LIBS
="-lodbc $LIBS"
32523 cat >conftest.
$ac_ext <<_ACEOF
32526 cat confdefs.h
>>conftest.
$ac_ext
32527 cat >>conftest.
$ac_ext <<_ACEOF
32528 /* end confdefs.h. */
32530 /* Override any gcc2 internal prototype to avoid an error. */
32534 /* We use char because int might match the return type of a gcc2
32535 builtin and then its argument prototype would still apply. */
32536 char SQLAllocEnv ();
32545 rm -f conftest.
$ac_objext conftest
$ac_exeext
32546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32547 (eval $ac_link) 2>conftest.er1
32549 grep -v '^ *+' conftest.er1
>conftest.err
32551 cat conftest.err
>&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } &&
32554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; } &&
32560 { ac_try
='test -s conftest$ac_exeext'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; }; then
32566 ac_cv_lib_odbc_SQLAllocEnv
=yes
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.
$ac_ext >&5
32571 ac_cv_lib_odbc_SQLAllocEnv
=no
32573 rm -f conftest.err conftest.
$ac_objext \
32574 conftest
$ac_exeext conftest.
$ac_ext
32575 LIBS
=$ac_check_lib_save_LIBS
32577 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32578 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32579 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32580 ODBC_LINK
=" -lodbc"
32590 if test "x$ODBC_LINK" = "x" ; then
32591 if test "$wxUSE_ODBC" = "sys" ; then
32592 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32593 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32594 { (exit 1); exit 1; }; }
32596 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32597 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32605 if test "$wxUSE_ODBC" = "builtin" ; then
32606 cat >>confdefs.h
<<\_ACEOF
32607 #define wxUSE_BUILTIN_IODBC 1
32613 if test "$wxUSE_ODBC" != "no" ; then
32614 cat >>confdefs.h
<<\_ACEOF
32615 #define wxUSE_ODBC 1
32618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32620 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32624 if test "$wxUSE_DISPLAY" = "yes"; then
32625 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32626 echo "$as_me:$LINENO: checking for Xinerama" >&5
32627 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32630 for ac_dir
in $SEARCH_LIB;
32632 for ac_extension
in a so sl dylib dll.a
; do
32633 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32634 ac_find_libraries
=$ac_dir
32640 if test "$ac_find_libraries" != "" ; then
32642 if test "$ac_find_libraries" = "default location"; then
32645 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32647 if test $result = 0; then
32650 ac_path_to_link
=" -L$ac_find_libraries"
32654 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32655 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32657 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32658 echo "$as_me:$LINENO: result: yes" >&5
32659 echo "${ECHO_T}yes" >&6
32661 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32662 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32665 for ac_dir
in $SEARCH_LIB;
32667 for ac_extension
in a so sl dylib dll.a
; do
32668 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32669 ac_find_libraries
=$ac_dir
32675 if test "$ac_find_libraries" != "" ; then
32676 echo "$as_me:$LINENO: result: yes" >&5
32677 echo "${ECHO_T}yes" >&6
32679 for ac_header
in X
11/extensions
/xf86vmode.h
32681 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32682 echo "$as_me:$LINENO: checking for $ac_header" >&5
32683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32685 echo $ECHO_N "(cached) $ECHO_C" >&6
32687 cat >conftest.
$ac_ext <<_ACEOF
32690 cat confdefs.h
>>conftest.
$ac_ext
32691 cat >>conftest.
$ac_ext <<_ACEOF
32692 /* end confdefs.h. */
32694 #if HAVE_X11_XLIB_H
32695 #include <X11/Xlib.h>
32699 #include <$ac_header>
32701 rm -f conftest.
$ac_objext
32702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32703 (eval $ac_compile) 2>conftest.er1
32705 grep -v '^ *+' conftest.er1
>conftest.err
32707 cat conftest.err
>&5
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); } &&
32710 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32712 (eval $ac_try) 2>&5
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); }; } &&
32716 { ac_try
='test -s conftest.$ac_objext'
32717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32718 (eval $ac_try) 2>&5
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); }; }; then
32722 eval "$as_ac_Header=yes"
32724 echo "$as_me: failed program was:" >&5
32725 sed 's/^/| /' conftest.
$ac_ext >&5
32727 eval "$as_ac_Header=no"
32729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32734 cat >>confdefs.h
<<_ACEOF
32735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32738 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32745 echo "$as_me:$LINENO: result: no" >&5
32746 echo "${ECHO_T}no" >&6
32750 echo "$as_me:$LINENO: result: no" >&5
32751 echo "${ECHO_T}no" >&6
32752 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32753 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32756 elif test "$wxUSE_MSW" = 1; then
32758 for ac_header
in ddraw.h
32760 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32761 echo "$as_me:$LINENO: checking for $ac_header" >&5
32762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32766 cat >conftest.
$ac_ext <<_ACEOF
32769 cat confdefs.h
>>conftest.
$ac_ext
32770 cat >>conftest.
$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772 #include <windows.h>
32774 #include <$ac_header>
32776 rm -f conftest.
$ac_objext
32777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32778 (eval $ac_compile) 2>conftest.er1
32780 grep -v '^ *+' conftest.er1
>conftest.err
32782 cat conftest.err
>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } &&
32785 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32787 (eval $ac_try) 2>&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; } &&
32791 { ac_try
='test -s conftest.$ac_objext'
32792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32793 (eval $ac_try) 2>&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); }; }; then
32797 eval "$as_ac_Header=yes"
32799 echo "$as_me: failed program was:" >&5
32800 sed 's/^/| /' conftest.
$ac_ext >&5
32802 eval "$as_ac_Header=no"
32804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32809 cat >>confdefs.h
<<_ACEOF
32810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32822 if test "$wxUSE_OPENGL" = "yes"; then
32823 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32824 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32825 elif test "$wxUSE_MSW" = 1; then
32826 OPENGL_LIBS
="-lopengl32 -lglu32"
32831 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32833 if test -f "$ac_dir/GL/gl.h"; then
32834 ac_find_includes
=$ac_dir
32839 if test "$ac_find_includes" != "" ; then
32840 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32841 echo "${ECHO_T}found in $ac_find_includes" >&6
32843 if test "x$ac_find_includes" = "x/usr/include"; then
32844 ac_path_to_include
=""
32846 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32848 if test $result = 0; then
32849 ac_path_to_include
=""
32851 ac_path_to_include
=" -I$ac_find_includes"
32855 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32858 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32859 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32860 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32861 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32864 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32865 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32867 # Is the header compilable?
32868 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32869 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32870 cat >conftest.
$ac_ext <<_ACEOF
32873 cat confdefs.h
>>conftest.
$ac_ext
32874 cat >>conftest.
$ac_ext <<_ACEOF
32875 /* end confdefs.h. */
32876 $ac_includes_default
32879 rm -f conftest.
$ac_objext
32880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32881 (eval $ac_compile) 2>conftest.er1
32883 grep -v '^ *+' conftest.er1
>conftest.err
32885 cat conftest.err
>&5
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); } &&
32888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32890 (eval $ac_try) 2>&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); }; } &&
32894 { ac_try
='test -s conftest.$ac_objext'
32895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32896 (eval $ac_try) 2>&5
32898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32899 (exit $ac_status); }; }; then
32900 ac_header_compiler
=yes
32902 echo "$as_me: failed program was:" >&5
32903 sed 's/^/| /' conftest.
$ac_ext >&5
32905 ac_header_compiler
=no
32907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32909 echo "${ECHO_T}$ac_header_compiler" >&6
32911 # Is the header present?
32912 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32913 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32914 cat >conftest.
$ac_ext <<_ACEOF
32917 cat confdefs.h
>>conftest.
$ac_ext
32918 cat >>conftest.
$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32923 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32925 grep -v '^ *+' conftest.er1
>conftest.err
32927 cat conftest.err
>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); } >/dev
/null
; then
32930 if test -s conftest.err
; then
32931 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32932 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32939 if test -z "$ac_cpp_err"; then
32940 ac_header_preproc
=yes
32942 echo "$as_me: failed program was:" >&5
32943 sed 's/^/| /' conftest.
$ac_ext >&5
32945 ac_header_preproc
=no
32947 rm -f conftest.err conftest.
$ac_ext
32948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32949 echo "${ECHO_T}$ac_header_preproc" >&6
32951 # So? What about this header?
32952 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32954 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32955 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32956 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32957 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32958 ac_header_preproc
=yes
32961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32962 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32963 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32964 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32965 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32966 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32967 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32968 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32969 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32970 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32971 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32972 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32975 ## ----------------------------------------- ##
32976 ## Report this to wx-dev@lists.wxwidgets.org ##
32977 ## ----------------------------------------- ##
32980 sed "s/^/$as_me: WARNING: /" >&2
32983 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32984 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32985 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32986 echo $ECHO_N "(cached) $ECHO_C" >&6
32988 ac_cv_header_GL_gl_h
=$ac_header_preproc
32990 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32991 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32994 if test $ac_cv_header_GL_gl_h = yes; then
32998 echo "$as_me:$LINENO: checking for -lGL" >&5
32999 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33002 for ac_dir
in $SEARCH_LIB;
33004 for ac_extension
in a so sl dylib dll.a
; do
33005 if test -f "$ac_dir/libGL.$ac_extension"; then
33006 ac_find_libraries
=$ac_dir
33012 if test "$ac_find_libraries" != "" ; then
33013 echo "$as_me:$LINENO: result: yes" >&5
33014 echo "${ECHO_T}yes" >&6
33017 if test "$ac_find_libraries" = "default location"; then
33020 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33022 if test $result = 0; then
33025 ac_path_to_link
=" -L$ac_find_libraries"
33029 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33030 LDFLAGS_GL
="$ac_path_to_link"
33033 echo "$as_me:$LINENO: checking for -lGLU" >&5
33034 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33037 for ac_dir
in $SEARCH_LIB;
33039 for ac_extension
in a so sl dylib dll.a
; do
33040 if test -f "$ac_dir/libGLU.$ac_extension"; then
33041 ac_find_libraries
=$ac_dir
33047 if test "$ac_find_libraries" != "" ; then
33049 if test "$ac_find_libraries" = "default location"; then
33052 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33054 if test $result = 0; then
33057 ac_path_to_link
=" -L$ac_find_libraries"
33061 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33062 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33063 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33067 OPENGL_LIBS
="-lGL -lGLU"
33068 echo "$as_me:$LINENO: result: yes" >&5
33069 echo "${ECHO_T}yes" >&6
33071 echo "$as_me:$LINENO: result: no" >&5
33072 echo "${ECHO_T}no" >&6
33075 echo "$as_me:$LINENO: result: no" >&5
33076 echo "${ECHO_T}no" >&6
33079 if test "$found_gl" != 1; then
33080 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33081 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33084 for ac_dir
in $SEARCH_LIB;
33086 for ac_extension
in a so sl dylib dll.a
; do
33087 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33088 ac_find_libraries
=$ac_dir
33094 if test "$ac_find_libraries" != "" ; then
33096 if test "$ac_find_libraries" = "default location"; then
33099 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33101 if test $result = 0; then
33104 ac_path_to_link
=" -L$ac_find_libraries"
33108 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33109 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33110 echo "$as_me:$LINENO: result: yes" >&5
33111 echo "${ECHO_T}yes" >&6
33113 echo "$as_me:$LINENO: result: no" >&5
33114 echo "${ECHO_T}no" >&6
33122 if test "x$OPENGL_LIBS" = "x"; then
33123 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33124 echo "$as_me: error: OpenGL libraries not available" >&2;}
33125 { (exit 1); exit 1; }; }
33129 if test "$wxUSE_OPENGL" = "yes"; then
33131 cat >>confdefs.h
<<\_ACEOF
33132 #define wxUSE_OPENGL 1
33135 cat >>confdefs.h
<<\_ACEOF
33136 #define wxUSE_GLCANVAS 1
33139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33144 if test -n "$TOOLKIT" ; then
33145 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33150 if test "$wxUSE_SHARED" = "yes"; then
33154 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33155 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33160 if test "$wxUSE_SHARED" = "yes"; then
33163 found_versioning
=no
33166 if test $found_versioning = no
; then
33167 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33168 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33169 if test "${wx_cv_version_script+set}" = set; then
33170 echo $ECHO_N "(cached) $ECHO_C" >&6
33173 echo "VER_1 { *; };" >conftest.sym
33174 echo "int main() { return 0; }" >conftest.cpp
33177 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33178 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180 (eval $ac_try) 2>&5
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); }; } ; then
33184 if test -s conftest.stderr
; then
33185 wx_cv_version_script
=no
33187 wx_cv_version_script
=yes
33190 wx_cv_version_script
=no
33193 if test $wx_cv_version_script = yes
33195 echo "struct B { virtual ~B() { } }; \
33196 struct D : public B { }; \
33197 void F() { D d; }" > conftest.cpp
33200 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33201 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33203 (eval $ac_try) 2>&5
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); }; } &&
33208 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33209 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; }
33217 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33218 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }
33225 wx_cv_version_script
=yes
33227 wx_cv_version_script
=no
33232 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33233 rm -f conftest1.output conftest2.output conftest3.output
33236 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33237 echo "${ECHO_T}$wx_cv_version_script" >&6
33238 if test $wx_cv_version_script = yes ; then
33239 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33245 *-*-linux* | *-*-gnu* )
33246 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33247 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33251 if test "$GCC" = yes ; then
33252 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33254 saveLdflags
="$LDFLAGS"
33255 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33256 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33257 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33258 cat >conftest.
$ac_ext <<_ACEOF
33261 cat confdefs.h
>>conftest.
$ac_ext
33262 cat >>conftest.
$ac_ext <<_ACEOF
33263 /* end confdefs.h. */
33273 rm -f conftest.
$ac_objext conftest
$ac_exeext
33274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33275 (eval $ac_link) 2>conftest.er1
33277 grep -v '^ *+' conftest.er1
>conftest.err
33279 cat conftest.err
>&5
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); } &&
33282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33284 (eval $ac_try) 2>&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; } &&
33288 { ac_try
='test -s conftest$ac_exeext'
33289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33290 (eval $ac_try) 2>&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; }; then
33295 echo "$as_me:$LINENO: result: yes" >&5
33296 echo "${ECHO_T}yes" >&6
33297 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33298 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.
$ac_ext >&5
33305 echo "$as_me:$LINENO: result: no" >&5
33306 echo "${ECHO_T}no" >&6
33307 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33308 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33309 LDFLAGS
="$saveLdflags -Wl,-R,/"
33310 cat >conftest.
$ac_ext <<_ACEOF
33313 cat confdefs.h
>>conftest.
$ac_ext
33314 cat >>conftest.
$ac_ext <<_ACEOF
33315 /* end confdefs.h. */
33325 rm -f conftest.
$ac_objext conftest
$ac_exeext
33326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33327 (eval $ac_link) 2>conftest.er1
33329 grep -v '^ *+' conftest.er1
>conftest.err
33331 cat conftest.err
>&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); } &&
33334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336 (eval $ac_try) 2>&5
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; } &&
33340 { ac_try
='test -s conftest$ac_exeext'
33341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33342 (eval $ac_try) 2>&5
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); }; }; then
33347 echo "$as_me:$LINENO: result: yes" >&5
33348 echo "${ECHO_T}yes" >&6
33349 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33350 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.
$ac_ext >&5
33357 echo "$as_me:$LINENO: result: no" >&5
33358 echo "${ECHO_T}no" >&6
33361 rm -f conftest.err conftest.
$ac_objext \
33362 conftest
$ac_exeext conftest.
$ac_ext
33365 rm -f conftest.err conftest.
$ac_objext \
33366 conftest
$ac_exeext conftest.
$ac_ext
33367 LDFLAGS
="$saveLdflags"
33369 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33370 WXCONFIG_RPATH
="-R\$libdir"
33375 install_name_tool
=`which install_name_tool`
33376 if test "$install_name_tool" -a -x "$install_name_tool"; then
33377 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33378 cat <<EOF >change-install-names
33380 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33381 inst_cmd="install_name_tool "
33382 for i in \${libnames} ; do
33383 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33387 chmod +x change
-install-names
33391 *-*-cygwin* | *-*-mingw32* )
33392 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33396 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33397 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33402 if test $wxUSE_RPATH = "no"; then
33403 SAMPLES_RPATH_FLAG
=''
33404 SAMPLES_RPATH_POSTLINK
=''
33412 config_linkage_component
="-static"
33419 lib_unicode_suffix
=
33421 if test "$wxUSE_UNICODE" = "yes"; then
33422 lib_unicode_suffix
=u
33423 WX_CHARTYPE
="unicode"
33428 WX_DEBUGTYPE
="release"
33430 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33432 WX_DEBUGTYPE
="debug"
33436 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33437 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33440 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33444 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33446 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33448 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33450 if test "$cross_compiling" = "yes"; then
33451 HOST_SUFFIX
="-$host_alias"
33452 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33453 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33456 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33457 if test "${TOOLKIT_DIR}" = "os2"; then
33458 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33460 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33465 if test "$wxUSE_COCOA" = 1; then
33469 ac_cpp
='$CPP $CPPFLAGS'
33470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33476 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33477 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33478 cat >conftest.
$ac_ext <<_ACEOF
33481 cat confdefs.h
>>conftest.
$ac_ext
33482 cat >>conftest.
$ac_ext <<_ACEOF
33483 /* end confdefs.h. */
33484 #include <AppKit/NSEvent.h>
33485 #include <CoreFoundation/CoreFoundation.h>
33495 rm -f conftest.
$ac_objext
33496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33497 (eval $ac_compile) 2>conftest.er1
33499 grep -v '^ *+' conftest.er1
>conftest.err
33501 cat conftest.err
>&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); } &&
33504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; } &&
33510 { ac_try
='test -s conftest.$ac_objext'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; }; then
33516 echo "$as_me:$LINENO: result: no" >&5
33517 echo "${ECHO_T}no" >&6
33519 echo "$as_me: failed program was:" >&5
33520 sed 's/^/| /' conftest.
$ac_ext >&5
33522 echo "$as_me:$LINENO: result: yes" >&5
33523 echo "${ECHO_T}yes" >&6
33524 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33525 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33526 cat >conftest.
$ac_ext <<_ACEOF
33529 cat confdefs.h
>>conftest.
$ac_ext
33530 cat >>conftest.
$ac_ext <<_ACEOF
33531 /* end confdefs.h. */
33532 #define __Point__ 1
33533 #include <AppKit/NSEvent.h>
33534 #include <CoreFoundation/CoreFoundation.h>
33544 rm -f conftest.
$ac_objext
33545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33546 (eval $ac_compile) 2>conftest.er1
33548 grep -v '^ *+' conftest.er1
>conftest.err
33550 cat conftest.err
>&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); } &&
33553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33555 (eval $ac_try) 2>&5
33557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33558 (exit $ac_status); }; } &&
33559 { ac_try
='test -s conftest.$ac_objext'
33560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33561 (eval $ac_try) 2>&5
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); }; }; then
33565 echo "$as_me:$LINENO: result: yes" >&5
33566 echo "${ECHO_T}yes" >&6
33567 cat >>confdefs.h
<<\_ACEOF
33568 #define __Point__ 1
33573 echo "$as_me: failed program was:" >&5
33574 sed 's/^/| /' conftest.
$ac_ext >&5
33576 { { echo "$as_me:$LINENO: error: no
33577 See \`config.log' for more details." >&5
33578 echo "$as_me: error: no
33579 See \`config.log' for more details." >&2;}
33580 { (exit 1); exit 1; }; }
33583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33588 ac_cpp
='$CXXCPP $CPPFLAGS'
33589 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33595 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33596 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33597 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33599 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33601 # Extract the first word of "Rez", so it can be a program name with args.
33602 set dummy Rez
; ac_word
=$2
33603 echo "$as_me:$LINENO: checking for $ac_word" >&5
33604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33605 if test "${ac_cv_prog_REZ+set}" = set; then
33606 echo $ECHO_N "(cached) $ECHO_C" >&6
33608 if test -n "$REZ"; then
33609 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33612 for as_dir
in $PATH
33615 test -z "$as_dir" && as_dir
=.
33616 for ac_exec_ext
in '' $ac_executable_extensions; do
33617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33618 ac_cv_prog_REZ
="Rez"
33619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33625 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33628 REZ
=$ac_cv_prog_REZ
33629 if test -n "$REZ"; then
33630 echo "$as_me:$LINENO: result: $REZ" >&5
33631 echo "${ECHO_T}$REZ" >&6
33633 echo "$as_me:$LINENO: result: no" >&5
33634 echo "${ECHO_T}no" >&6
33637 # Extract the first word of "DeRez", so it can be a program name with args.
33638 set dummy DeRez
; ac_word
=$2
33639 echo "$as_me:$LINENO: checking for $ac_word" >&5
33640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33641 if test "${ac_cv_prog_DEREZ+set}" = set; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33644 if test -n "$DEREZ"; then
33645 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33648 for as_dir
in $PATH
33651 test -z "$as_dir" && as_dir
=.
33652 for ac_exec_ext
in '' $ac_executable_extensions; do
33653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33654 ac_cv_prog_DEREZ
="DeRez"
33655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33661 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33664 DEREZ
=$ac_cv_prog_DEREZ
33665 if test -n "$DEREZ"; then
33666 echo "$as_me:$LINENO: result: $DEREZ" >&5
33667 echo "${ECHO_T}$DEREZ" >&6
33669 echo "$as_me:$LINENO: result: no" >&5
33670 echo "${ECHO_T}no" >&6
33673 # Extract the first word of "SetFile", so it can be a program name with args.
33674 set dummy SetFile
; ac_word
=$2
33675 echo "$as_me:$LINENO: checking for $ac_word" >&5
33676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33677 if test "${ac_cv_prog_SETFILE+set}" = set; then
33678 echo $ECHO_N "(cached) $ECHO_C" >&6
33680 if test -n "$SETFILE"; then
33681 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33684 for as_dir
in $PATH
33687 test -z "$as_dir" && as_dir
=.
33688 for ac_exec_ext
in '' $ac_executable_extensions; do
33689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33690 ac_cv_prog_SETFILE
="SetFile"
33691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33697 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33700 SETFILE
=$ac_cv_prog_SETFILE
33701 if test -n "$SETFILE"; then
33702 echo "$as_me:$LINENO: result: $SETFILE" >&5
33703 echo "${ECHO_T}$SETFILE" >&6
33705 echo "$as_me:$LINENO: result: no" >&5
33706 echo "${ECHO_T}no" >&6
33710 MACSETFILE
="\$(SETFILE)"
33712 if test "$wxUSE_MAC" = 1; then
33713 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33715 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33717 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33718 RESCOMP
="echo -n \| $REZ"
33719 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33725 if test "$wxUSE_PM" = 1; then
33727 WXCONFIG_RESFLAGS
="-ep"
33729 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33731 POSTLINK_COMMAND
="@true"
33738 echo "$as_me:$LINENO: checking for mode_t" >&5
33739 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33740 if test "${ac_cv_type_mode_t+set}" = set; then
33741 echo $ECHO_N "(cached) $ECHO_C" >&6
33743 cat >conftest.
$ac_ext <<_ACEOF
33746 cat confdefs.h
>>conftest.
$ac_ext
33747 cat >>conftest.
$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 $ac_includes_default
33755 if (sizeof (mode_t))
33761 rm -f conftest.
$ac_objext
33762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33763 (eval $ac_compile) 2>conftest.er1
33765 grep -v '^ *+' conftest.er1
>conftest.err
33767 cat conftest.err
>&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); } &&
33770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33772 (eval $ac_try) 2>&5
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); }; } &&
33776 { ac_try
='test -s conftest.$ac_objext'
33777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33778 (eval $ac_try) 2>&5
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); }; }; then
33782 ac_cv_type_mode_t
=yes
33784 echo "$as_me: failed program was:" >&5
33785 sed 's/^/| /' conftest.
$ac_ext >&5
33787 ac_cv_type_mode_t
=no
33789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33791 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33792 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33793 if test $ac_cv_type_mode_t = yes; then
33797 cat >>confdefs.h
<<_ACEOF
33803 echo "$as_me:$LINENO: checking for off_t" >&5
33804 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33805 if test "${ac_cv_type_off_t+set}" = set; then
33806 echo $ECHO_N "(cached) $ECHO_C" >&6
33808 cat >conftest.
$ac_ext <<_ACEOF
33811 cat confdefs.h
>>conftest.
$ac_ext
33812 cat >>conftest.
$ac_ext <<_ACEOF
33813 /* end confdefs.h. */
33814 $ac_includes_default
33820 if (sizeof (off_t))
33826 rm -f conftest.
$ac_objext
33827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33828 (eval $ac_compile) 2>conftest.er1
33830 grep -v '^ *+' conftest.er1
>conftest.err
33832 cat conftest.err
>&5
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); } &&
33835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; } &&
33841 { ac_try
='test -s conftest.$ac_objext'
33842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 (eval $ac_try) 2>&5
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); }; }; then
33847 ac_cv_type_off_t
=yes
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.
$ac_ext >&5
33852 ac_cv_type_off_t
=no
33854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33856 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33857 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33858 if test $ac_cv_type_off_t = yes; then
33862 cat >>confdefs.h
<<_ACEOF
33868 echo "$as_me:$LINENO: checking for pid_t" >&5
33869 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33870 if test "${ac_cv_type_pid_t+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 cat >conftest.
$ac_ext <<_ACEOF
33876 cat confdefs.h
>>conftest.
$ac_ext
33877 cat >>conftest.
$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33879 $ac_includes_default
33885 if (sizeof (pid_t))
33891 rm -f conftest.
$ac_objext
33892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33893 (eval $ac_compile) 2>conftest.er1
33895 grep -v '^ *+' conftest.er1
>conftest.err
33897 cat conftest.err
>&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } &&
33900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33902 (eval $ac_try) 2>&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); }; } &&
33906 { ac_try
='test -s conftest.$ac_objext'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; }; then
33912 ac_cv_type_pid_t
=yes
33914 echo "$as_me: failed program was:" >&5
33915 sed 's/^/| /' conftest.
$ac_ext >&5
33917 ac_cv_type_pid_t
=no
33919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33921 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33922 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33923 if test $ac_cv_type_pid_t = yes; then
33927 cat >>confdefs.h
<<_ACEOF
33933 echo "$as_me:$LINENO: checking for size_t" >&5
33934 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33935 if test "${ac_cv_type_size_t+set}" = set; then
33936 echo $ECHO_N "(cached) $ECHO_C" >&6
33938 cat >conftest.
$ac_ext <<_ACEOF
33941 cat confdefs.h
>>conftest.
$ac_ext
33942 cat >>conftest.
$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33944 $ac_includes_default
33950 if (sizeof (size_t))
33956 rm -f conftest.
$ac_objext
33957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33958 (eval $ac_compile) 2>conftest.er1
33960 grep -v '^ *+' conftest.er1
>conftest.err
33962 cat conftest.err
>&5
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); } &&
33965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; } &&
33971 { ac_try
='test -s conftest.$ac_objext'
33972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33973 (eval $ac_try) 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; }; then
33977 ac_cv_type_size_t
=yes
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.
$ac_ext >&5
33982 ac_cv_type_size_t
=no
33984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33986 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33987 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33988 if test $ac_cv_type_size_t = yes; then
33992 cat >>confdefs.h
<<_ACEOF
33993 #define size_t unsigned
33998 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33999 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34000 if test "${ac_cv_type_uid_t+set}" = set; then
34001 echo $ECHO_N "(cached) $ECHO_C" >&6
34003 cat >conftest.
$ac_ext <<_ACEOF
34006 cat confdefs.h
>>conftest.
$ac_ext
34007 cat >>conftest.
$ac_ext <<_ACEOF
34008 /* end confdefs.h. */
34009 #include <sys/types.h>
34012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34013 $EGREP "uid_t" >/dev
/null
2>&1; then
34014 ac_cv_type_uid_t
=yes
34016 ac_cv_type_uid_t
=no
34021 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34022 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34023 if test $ac_cv_type_uid_t = no
; then
34025 cat >>confdefs.h
<<\_ACEOF
34030 cat >>confdefs.h
<<\_ACEOF
34037 echo "$as_me:$LINENO: checking for ssize_t" >&5
34038 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34039 if test "${ac_cv_type_ssize_t+set}" = set; then
34040 echo $ECHO_N "(cached) $ECHO_C" >&6
34042 cat >conftest.
$ac_ext <<_ACEOF
34045 cat confdefs.h
>>conftest.
$ac_ext
34046 cat >>conftest.
$ac_ext <<_ACEOF
34047 /* end confdefs.h. */
34048 $ac_includes_default
34054 if (sizeof (ssize_t))
34060 rm -f conftest.
$ac_objext
34061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34062 (eval $ac_compile) 2>conftest.er1
34064 grep -v '^ *+' conftest.er1
>conftest.err
34066 cat conftest.err
>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } &&
34069 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071 (eval $ac_try) 2>&5
34073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074 (exit $ac_status); }; } &&
34075 { ac_try
='test -s conftest.$ac_objext'
34076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077 (eval $ac_try) 2>&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); }; }; then
34081 ac_cv_type_ssize_t
=yes
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.
$ac_ext >&5
34086 ac_cv_type_ssize_t
=no
34088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34090 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34091 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34092 if test $ac_cv_type_ssize_t = yes; then
34094 cat >>confdefs.h
<<_ACEOF
34095 #define HAVE_SSIZE_T 1
34102 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34103 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34104 if test "${wx_cv_size_t_is_uint+set}" = set; then
34105 echo $ECHO_N "(cached) $ECHO_C" >&6
34108 cat >conftest.
$ac_ext <<_ACEOF
34111 cat confdefs.h
>>conftest.
$ac_ext
34112 cat >>conftest.
$ac_ext <<_ACEOF
34113 /* end confdefs.h. */
34114 #include <stddef.h>
34121 struct Foo { void foo(size_t); void foo(unsigned int); };
34129 rm -f conftest.
$ac_objext
34130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34131 (eval $ac_compile) 2>conftest.er1
34133 grep -v '^ *+' conftest.er1
>conftest.err
34135 cat conftest.err
>&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); } &&
34138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; } &&
34144 { ac_try
='test -s conftest.$ac_objext'
34145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34146 (eval $ac_try) 2>&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); }; }; then
34150 wx_cv_size_t_is_uint
=no
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.
$ac_ext >&5
34155 wx_cv_size_t_is_uint
=yes
34158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34162 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34163 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34165 if test "$wx_cv_size_t_is_uint" = "yes"; then
34166 cat >>confdefs.h
<<\_ACEOF
34167 #define wxSIZE_T_IS_UINT 1
34171 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34172 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34173 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34176 cat >conftest.
$ac_ext <<_ACEOF
34179 cat confdefs.h
>>conftest.
$ac_ext
34180 cat >>conftest.
$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 #include <stddef.h>
34189 struct Foo { void foo(size_t); void foo(unsigned long); };
34197 rm -f conftest.
$ac_objext
34198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34199 (eval $ac_compile) 2>conftest.er1
34201 grep -v '^ *+' conftest.er1
>conftest.err
34203 cat conftest.err
>&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } &&
34206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; } &&
34212 { ac_try
='test -s conftest.$ac_objext'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 wx_cv_size_t_is_ulong
=no
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.
$ac_ext >&5
34223 wx_cv_size_t_is_ulong
=yes
34226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34229 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34230 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34232 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34233 cat >>confdefs.h
<<\_ACEOF
34234 #define wxSIZE_T_IS_ULONG 1
34241 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34242 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34243 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34247 cat >conftest.
$ac_ext <<_ACEOF
34250 cat confdefs.h
>>conftest.
$ac_ext
34251 cat >>conftest.
$ac_ext <<_ACEOF
34252 /* end confdefs.h. */
34266 rm -f conftest.
$ac_objext
34267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34268 (eval $ac_compile) 2>conftest.er1
34270 grep -v '^ *+' conftest.er1
>conftest.err
34272 cat conftest.err
>&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } &&
34275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34277 (eval $ac_try) 2>&5
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); }; } &&
34281 { ac_try
='test -s conftest.$ac_objext'
34282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34283 (eval $ac_try) 2>&5
34285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34286 (exit $ac_status); }; }; then
34288 wx_cv_struct_pw_gecos
=yes
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.
$ac_ext >&5
34295 wx_cv_struct_pw_gecos
=no
34299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34303 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34304 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34306 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34307 cat >>confdefs.h
<<\_ACEOF
34308 #define HAVE_PW_GECOS 1
34314 if test "$wxUSE_WCHAR_T" = "yes"; then
34315 cat >>confdefs.h
<<\_ACEOF
34316 #define wxUSE_WCHAR_T 1
34323 for ac_func
in wcslen
34325 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34326 echo "$as_me:$LINENO: checking for $ac_func" >&5
34327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34328 if eval "test \"\${$as_ac_var+set}\" = set"; then
34329 echo $ECHO_N "(cached) $ECHO_C" >&6
34331 cat >conftest.
$ac_ext <<_ACEOF
34334 cat confdefs.h
>>conftest.
$ac_ext
34335 cat >>conftest.
$ac_ext <<_ACEOF
34336 /* end confdefs.h. */
34337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34339 #define $ac_func innocuous_$ac_func
34341 /* System header to define __stub macros and hopefully few prototypes,
34342 which can conflict with char $ac_func (); below.
34343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34344 <limits.h> exists even on freestanding compilers. */
34347 # include <limits.h>
34349 # include <assert.h>
34354 /* Override any gcc2 internal prototype to avoid an error. */
34359 /* We use char because int might match the return type of a gcc2
34360 builtin and then its argument prototype would still apply. */
34362 /* The GNU C library defines this for functions which it implements
34363 to always fail with ENOSYS. Some functions are actually named
34364 something starting with __ and the normal name is an alias. */
34365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34368 char (*f) () = $ac_func;
34377 return f != $ac_func;
34382 rm -f conftest.
$ac_objext conftest
$ac_exeext
34383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34384 (eval $ac_link) 2>conftest.er1
34386 grep -v '^ *+' conftest.er1
>conftest.err
34388 cat conftest.err
>&5
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); } &&
34391 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34393 (eval $ac_try) 2>&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); }; } &&
34397 { ac_try
='test -s conftest$ac_exeext'
34398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34399 (eval $ac_try) 2>&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); }; }; then
34403 eval "$as_ac_var=yes"
34405 echo "$as_me: failed program was:" >&5
34406 sed 's/^/| /' conftest.
$ac_ext >&5
34408 eval "$as_ac_var=no"
34410 rm -f conftest.err conftest.
$ac_objext \
34411 conftest
$ac_exeext conftest.
$ac_ext
34413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34415 if test `eval echo '${'$as_ac_var'}'` = yes; then
34416 cat >>confdefs.h
<<_ACEOF
34417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34424 if test "$WCSLEN_FOUND" = 0; then
34425 if test "$TOOLKIT" = "MSW"; then
34426 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34427 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34428 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 ac_check_lib_save_LIBS
=$LIBS
34432 LIBS
="-lmsvcrt $LIBS"
34433 cat >conftest.
$ac_ext <<_ACEOF
34436 cat confdefs.h
>>conftest.
$ac_ext
34437 cat >>conftest.
$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34440 /* Override any gcc2 internal prototype to avoid an error. */
34444 /* We use char because int might match the return type of a gcc2
34445 builtin and then its argument prototype would still apply. */
34455 rm -f conftest.
$ac_objext conftest
$ac_exeext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34457 (eval $ac_link) 2>conftest.er1
34459 grep -v '^ *+' conftest.er1
>conftest.err
34461 cat conftest.err
>&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } &&
34464 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; } &&
34470 { ac_try
='test -s conftest$ac_exeext'
34471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472 (eval $ac_try) 2>&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); }; }; then
34476 ac_cv_lib_msvcrt_wcslen
=yes
34478 echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.
$ac_ext >&5
34481 ac_cv_lib_msvcrt_wcslen
=no
34483 rm -f conftest.err conftest.
$ac_objext \
34484 conftest
$ac_exeext conftest.
$ac_ext
34485 LIBS
=$ac_check_lib_save_LIBS
34487 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34488 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34489 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34494 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34495 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34496 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34497 echo $ECHO_N "(cached) $ECHO_C" >&6
34499 ac_check_lib_save_LIBS
=$LIBS
34501 cat >conftest.
$ac_ext <<_ACEOF
34504 cat confdefs.h
>>conftest.
$ac_ext
34505 cat >>conftest.
$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34508 /* Override any gcc2 internal prototype to avoid an error. */
34512 /* We use char because int might match the return type of a gcc2
34513 builtin and then its argument prototype would still apply. */
34523 rm -f conftest.
$ac_objext conftest
$ac_exeext
34524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34525 (eval $ac_link) 2>conftest.er1
34527 grep -v '^ *+' conftest.er1
>conftest.err
34529 cat conftest.err
>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } &&
34532 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; } &&
34538 { ac_try
='test -s conftest$ac_exeext'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; }; then
34544 ac_cv_lib_w_wcslen
=yes
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.
$ac_ext >&5
34549 ac_cv_lib_w_wcslen
=no
34551 rm -f conftest.err conftest.
$ac_objext \
34552 conftest
$ac_exeext conftest.
$ac_ext
34553 LIBS
=$ac_check_lib_save_LIBS
34555 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34556 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34557 if test $ac_cv_lib_w_wcslen = yes; then
34567 if test "$WCSLEN_FOUND" = 1; then
34568 cat >>confdefs.h
<<\_ACEOF
34569 #define HAVE_WCSLEN 1
34574 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34575 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34578 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34579 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34580 if test "${ac_cv_type_mbstate_t+set}" = set; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34583 cat >conftest.
$ac_ext <<_ACEOF
34586 cat confdefs.h
>>conftest.
$ac_ext
34587 cat >>conftest.
$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34594 if ((mbstate_t *) 0)
34596 if (sizeof (mbstate_t))
34602 rm -f conftest.
$ac_objext
34603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34604 (eval $ac_compile) 2>conftest.er1
34606 grep -v '^ *+' conftest.er1
>conftest.err
34608 cat conftest.err
>&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } &&
34611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34613 (eval $ac_try) 2>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); }; } &&
34617 { ac_try
='test -s conftest.$ac_objext'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; }; then
34623 ac_cv_type_mbstate_t
=yes
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.
$ac_ext >&5
34628 ac_cv_type_mbstate_t
=no
34630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34632 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34633 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34634 if test $ac_cv_type_mbstate_t = yes; then
34636 cat >>confdefs.h
<<_ACEOF
34637 #define HAVE_MBSTATE_T 1
34641 for ac_func
in wcsrtombs
34643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34644 echo "$as_me:$LINENO: checking for $ac_func" >&5
34645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34646 if eval "test \"\${$as_ac_var+set}\" = set"; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34649 cat >conftest.
$ac_ext <<_ACEOF
34652 cat confdefs.h
>>conftest.
$ac_ext
34653 cat >>conftest.
$ac_ext <<_ACEOF
34654 /* end confdefs.h. */
34655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34657 #define $ac_func innocuous_$ac_func
34659 /* System header to define __stub macros and hopefully few prototypes,
34660 which can conflict with char $ac_func (); below.
34661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34662 <limits.h> exists even on freestanding compilers. */
34665 # include <limits.h>
34667 # include <assert.h>
34672 /* Override any gcc2 internal prototype to avoid an error. */
34677 /* We use char because int might match the return type of a gcc2
34678 builtin and then its argument prototype would still apply. */
34680 /* The GNU C library defines this for functions which it implements
34681 to always fail with ENOSYS. Some functions are actually named
34682 something starting with __ and the normal name is an alias. */
34683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34686 char (*f) () = $ac_func;
34695 return f != $ac_func;
34700 rm -f conftest.
$ac_objext conftest
$ac_exeext
34701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34702 (eval $ac_link) 2>conftest.er1
34704 grep -v '^ *+' conftest.er1
>conftest.err
34706 cat conftest.err
>&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } &&
34709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711 (eval $ac_try) 2>&5
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); }; } &&
34715 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
34721 eval "$as_ac_var=yes"
34723 echo "$as_me: failed program was:" >&5
34724 sed 's/^/| /' conftest.
$ac_ext >&5
34726 eval "$as_ac_var=no"
34728 rm -f conftest.err conftest.
$ac_objext \
34729 conftest
$ac_exeext conftest.
$ac_ext
34731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34733 if test `eval echo '${'$as_ac_var'}'` = yes; then
34734 cat >>confdefs.h
<<_ACEOF
34735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34744 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34745 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34750 for ac_func
in snprintf vsnprintf
34752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34753 echo "$as_me:$LINENO: checking for $ac_func" >&5
34754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34755 if eval "test \"\${$as_ac_var+set}\" = set"; then
34756 echo $ECHO_N "(cached) $ECHO_C" >&6
34758 cat >conftest.
$ac_ext <<_ACEOF
34761 cat confdefs.h
>>conftest.
$ac_ext
34762 cat >>conftest.
$ac_ext <<_ACEOF
34763 /* end confdefs.h. */
34764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34766 #define $ac_func innocuous_$ac_func
34768 /* System header to define __stub macros and hopefully few prototypes,
34769 which can conflict with char $ac_func (); below.
34770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34771 <limits.h> exists even on freestanding compilers. */
34774 # include <limits.h>
34776 # include <assert.h>
34781 /* Override any gcc2 internal prototype to avoid an error. */
34786 /* We use char because int might match the return type of a gcc2
34787 builtin and then its argument prototype would still apply. */
34789 /* The GNU C library defines this for functions which it implements
34790 to always fail with ENOSYS. Some functions are actually named
34791 something starting with __ and the normal name is an alias. */
34792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34795 char (*f) () = $ac_func;
34804 return f != $ac_func;
34809 rm -f conftest.
$ac_objext conftest
$ac_exeext
34810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34811 (eval $ac_link) 2>conftest.er1
34813 grep -v '^ *+' conftest.er1
>conftest.err
34815 cat conftest.err
>&5
34816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817 (exit $ac_status); } &&
34818 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34820 (eval $ac_try) 2>&5
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); }; } &&
34824 { ac_try
='test -s conftest$ac_exeext'
34825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34826 (eval $ac_try) 2>&5
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); }; }; then
34830 eval "$as_ac_var=yes"
34832 echo "$as_me: failed program was:" >&5
34833 sed 's/^/| /' conftest.
$ac_ext >&5
34835 eval "$as_ac_var=no"
34837 rm -f conftest.err conftest.
$ac_objext \
34838 conftest
$ac_exeext conftest.
$ac_ext
34840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34842 if test `eval echo '${'$as_ac_var'}'` = yes; then
34843 cat >>confdefs.h
<<_ACEOF
34844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34851 if test "$ac_cv_func_vsnprintf" = "yes"; then
34852 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34853 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34854 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34855 echo $ECHO_N "(cached) $ECHO_C" >&6
34858 cat >conftest.
$ac_ext <<_ACEOF
34861 cat confdefs.h
>>conftest.
$ac_ext
34862 cat >>conftest.
$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34866 #include <stdarg.h>
34868 #if __MSL__ >= 0x6000
34870 using namespace std;
34880 vsnprintf(buf, 10u, "%s", ap);
34886 rm -f conftest.
$ac_objext
34887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34888 (eval $ac_compile) 2>conftest.er1
34890 grep -v '^ *+' conftest.er1
>conftest.err
34892 cat conftest.err
>&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); } &&
34895 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34897 (eval $ac_try) 2>&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); }; } &&
34901 { ac_try
='test -s conftest.$ac_objext'
34902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34903 (eval $ac_try) 2>&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); }; }; then
34907 wx_cv_func_vsnprintf_decl
=yes
34909 echo "$as_me: failed program was:" >&5
34910 sed 's/^/| /' conftest.
$ac_ext >&5
34912 wx_cv_func_vsnprintf_decl
=no
34915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34919 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34920 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34922 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34923 cat >>confdefs.h
<<\_ACEOF
34924 #define HAVE_VSNPRINTF_DECL 1
34928 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34929 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34930 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34934 cat >conftest.
$ac_ext <<_ACEOF
34937 cat confdefs.h
>>conftest.
$ac_ext
34938 cat >>conftest.
$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34942 #include <stdarg.h>
34944 #if __MSL__ >= 0x6000
34946 using namespace std;
34956 const char *fmt = "%s";
34957 vsnprintf(buf, 10u, fmt, ap);
34963 rm -f conftest.
$ac_objext
34964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34965 (eval $ac_compile) 2>conftest.er1
34967 grep -v '^ *+' conftest.er1
>conftest.err
34969 cat conftest.err
>&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } &&
34972 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34974 (eval $ac_try) 2>&5
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); }; } &&
34978 { ac_try
='test -s conftest.$ac_objext'
34979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34980 (eval $ac_try) 2>&5
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); }; }; then
34984 wx_cv_func_broken_vsnprintf_decl
=no
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.
$ac_ext >&5
34989 wx_cv_func_broken_vsnprintf_decl
=yes
34992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34996 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34997 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34999 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35000 cat >>confdefs.h
<<\_ACEOF
35001 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35008 if test "$ac_cv_func_snprintf" = "yes"; then
35009 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35010 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35011 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35012 echo $ECHO_N "(cached) $ECHO_C" >&6
35015 cat >conftest.
$ac_ext <<_ACEOF
35018 cat confdefs.h
>>conftest.
$ac_ext
35019 cat >>conftest.
$ac_ext <<_ACEOF
35020 /* end confdefs.h. */
35023 #include <stdarg.h>
35025 #if __MSL__ >= 0x6000
35027 using namespace std;
35036 snprintf(buf, 10u, "%s", "wx");
35042 rm -f conftest.
$ac_objext
35043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35044 (eval $ac_compile) 2>conftest.er1
35046 grep -v '^ *+' conftest.er1
>conftest.err
35048 cat conftest.err
>&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); } &&
35051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35053 (eval $ac_try) 2>&5
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); }; } &&
35057 { ac_try
='test -s conftest.$ac_objext'
35058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35059 (eval $ac_try) 2>&5
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); }; }; then
35063 wx_cv_func_snprintf_decl
=yes
35065 echo "$as_me: failed program was:" >&5
35066 sed 's/^/| /' conftest.
$ac_ext >&5
35068 wx_cv_func_snprintf_decl
=no
35071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35075 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35076 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35078 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35079 cat >>confdefs.h
<<\_ACEOF
35080 #define HAVE_SNPRINTF_DECL 1
35084 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35085 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35086 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35087 echo $ECHO_N "(cached) $ECHO_C" >&6
35090 cat >conftest.
$ac_ext <<_ACEOF
35093 cat confdefs.h
>>conftest.
$ac_ext
35094 cat >>conftest.
$ac_ext <<_ACEOF
35095 /* end confdefs.h. */
35098 #include <stdarg.h>
35100 #if __MSL__ >= 0x6000
35102 using namespace std;
35111 const char *fmt = "%s";
35112 snprintf(buf, 10u, fmt, "wx");
35118 rm -f conftest.
$ac_objext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35120 (eval $ac_compile) 2>conftest.er1
35122 grep -v '^ *+' conftest.er1
>conftest.err
35124 cat conftest.err
>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35129 (eval $ac_try) 2>&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; } &&
35133 { ac_try
='test -s conftest.$ac_objext'
35134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35135 (eval $ac_try) 2>&5
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); }; }; then
35139 wx_cv_func_broken_snprintf_decl
=no
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.
$ac_ext >&5
35144 wx_cv_func_broken_snprintf_decl
=yes
35147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35151 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35152 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35154 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35155 cat >>confdefs.h
<<\_ACEOF
35156 #define HAVE_BROKEN_SNPRINTF_DECL 1
35162 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35164 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35165 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35166 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35170 if test "$cross_compiling" = yes; then
35172 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35173 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35174 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35175 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35176 wx_cv_func_snprintf_pos_params
=no
35180 cat >conftest.
$ac_ext <<_ACEOF
35183 cat confdefs.h
>>conftest.
$ac_ext
35184 cat >>conftest.
$ac_ext <<_ACEOF
35185 /* end confdefs.h. */
35192 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35193 if (strcmp ("2 3 1", buffer) == 0)
35199 rm -f conftest
$ac_exeext
35200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35201 (eval $ac_link) 2>&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35206 (eval $ac_try) 2>&5
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); }; }; then
35210 wx_cv_func_snprintf_pos_params
=no
35212 echo "$as_me: program exited with status $ac_status" >&5
35213 echo "$as_me: failed program was:" >&5
35214 sed 's/^/| /' conftest.
$ac_ext >&5
35216 ( exit $ac_status )
35217 wx_cv_func_snprintf_pos_params
=yes
35219 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35224 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35225 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35227 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35228 cat >>confdefs.h
<<\_ACEOF
35229 #define HAVE_UNIX98_PRINTF 1
35236 if test "$wxUSE_UNICODE" = yes; then
35239 for ac_func
in swprintf
35241 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35242 echo "$as_me:$LINENO: checking for $ac_func" >&5
35243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35244 if eval "test \"\${$as_ac_var+set}\" = set"; then
35245 echo $ECHO_N "(cached) $ECHO_C" >&6
35247 cat >conftest.
$ac_ext <<_ACEOF
35250 cat confdefs.h
>>conftest.
$ac_ext
35251 cat >>conftest.
$ac_ext <<_ACEOF
35252 /* end confdefs.h. */
35253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35255 #define $ac_func innocuous_$ac_func
35257 /* System header to define __stub macros and hopefully few prototypes,
35258 which can conflict with char $ac_func (); below.
35259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35260 <limits.h> exists even on freestanding compilers. */
35263 # include <limits.h>
35265 # include <assert.h>
35270 /* Override any gcc2 internal prototype to avoid an error. */
35275 /* We use char because int might match the return type of a gcc2
35276 builtin and then its argument prototype would still apply. */
35278 /* The GNU C library defines this for functions which it implements
35279 to always fail with ENOSYS. Some functions are actually named
35280 something starting with __ and the normal name is an alias. */
35281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35284 char (*f) () = $ac_func;
35293 return f != $ac_func;
35298 rm -f conftest.
$ac_objext conftest
$ac_exeext
35299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35300 (eval $ac_link) 2>conftest.er1
35302 grep -v '^ *+' conftest.er1
>conftest.err
35304 cat conftest.err
>&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } &&
35307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35309 (eval $ac_try) 2>&5
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); }; } &&
35313 { ac_try
='test -s conftest$ac_exeext'
35314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35315 (eval $ac_try) 2>&5
35317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35318 (exit $ac_status); }; }; then
35319 eval "$as_ac_var=yes"
35321 echo "$as_me: failed program was:" >&5
35322 sed 's/^/| /' conftest.
$ac_ext >&5
35324 eval "$as_ac_var=no"
35326 rm -f conftest.err conftest.
$ac_objext \
35327 conftest
$ac_exeext conftest.
$ac_ext
35329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35331 if test `eval echo '${'$as_ac_var'}'` = yes; then
35332 cat >>confdefs.h
<<_ACEOF
35333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35340 if test "$ac_cv_func_swprintf" = "yes"; then
35341 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35342 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35343 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35344 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 cat >conftest.
$ac_ext <<_ACEOF
35350 cat confdefs.h
>>conftest.
$ac_ext
35351 cat >>conftest.
$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35355 #include <stdarg.h>
35363 const wchar_t *fmt = L"test";
35364 swprintf(buf, 10u, fmt);
35370 rm -f conftest.
$ac_objext
35371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35372 (eval $ac_compile) 2>conftest.er1
35374 grep -v '^ *+' conftest.er1
>conftest.err
35376 cat conftest.err
>&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } &&
35379 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35381 (eval $ac_try) 2>&5
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); }; } &&
35385 { ac_try
='test -s conftest.$ac_objext'
35386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387 (eval $ac_try) 2>&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); }; }; then
35391 wx_cv_func_broken_swprintf_decl
=no
35393 echo "$as_me: failed program was:" >&5
35394 sed 's/^/| /' conftest.
$ac_ext >&5
35396 wx_cv_func_broken_swprintf_decl
=yes
35399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35403 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35404 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35406 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35407 cat >>confdefs.h
<<\_ACEOF
35408 #define HAVE_BROKEN_SWPRINTF_DECL 1
35420 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35422 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35423 echo "$as_me:$LINENO: checking for $ac_func" >&5
35424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35425 if eval "test \"\${$as_ac_var+set}\" = set"; then
35426 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 cat >conftest.
$ac_ext <<_ACEOF
35431 cat confdefs.h
>>conftest.
$ac_ext
35432 cat >>conftest.
$ac_ext <<_ACEOF
35433 /* end confdefs.h. */
35434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35436 #define $ac_func innocuous_$ac_func
35438 /* System header to define __stub macros and hopefully few prototypes,
35439 which can conflict with char $ac_func (); below.
35440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35441 <limits.h> exists even on freestanding compilers. */
35444 # include <limits.h>
35446 # include <assert.h>
35451 /* Override any gcc2 internal prototype to avoid an error. */
35456 /* We use char because int might match the return type of a gcc2
35457 builtin and then its argument prototype would still apply. */
35459 /* The GNU C library defines this for functions which it implements
35460 to always fail with ENOSYS. Some functions are actually named
35461 something starting with __ and the normal name is an alias. */
35462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35465 char (*f) () = $ac_func;
35474 return f != $ac_func;
35479 rm -f conftest.
$ac_objext conftest
$ac_exeext
35480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35481 (eval $ac_link) 2>conftest.er1
35483 grep -v '^ *+' conftest.er1
>conftest.err
35485 cat conftest.err
>&5
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); } &&
35488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35490 (eval $ac_try) 2>&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); }; } &&
35494 { ac_try
='test -s conftest$ac_exeext'
35495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35496 (eval $ac_try) 2>&5
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); }; }; then
35500 eval "$as_ac_var=yes"
35502 echo "$as_me: failed program was:" >&5
35503 sed 's/^/| /' conftest.
$ac_ext >&5
35505 eval "$as_ac_var=no"
35507 rm -f conftest.err conftest.
$ac_objext \
35508 conftest
$ac_exeext conftest.
$ac_ext
35510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35512 if test `eval echo '${'$as_ac_var'}'` = yes; then
35513 cat >>confdefs.h
<<_ACEOF
35514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35521 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35522 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35523 cat >conftest.
$ac_ext <<_ACEOF
35526 cat confdefs.h
>>conftest.
$ac_ext
35527 cat >>conftest.
$ac_ext <<_ACEOF
35528 /* end confdefs.h. */
35538 rm -f conftest.
$ac_objext
35539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35540 (eval $ac_compile) 2>conftest.er1
35542 grep -v '^ *+' conftest.er1
>conftest.err
35544 cat conftest.err
>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); } &&
35547 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 (eval $ac_try) 2>&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; } &&
35553 { ac_try
='test -s conftest.$ac_objext'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; }; then
35559 echo "$as_me:$LINENO: result: yes" >&5
35560 echo "${ECHO_T}yes" >&6
35561 cat >>confdefs.h
<<\_ACEOF
35562 #define HAVE__VSNWPRINTF 1
35566 echo "$as_me: failed program was:" >&5
35567 sed 's/^/| /' conftest.
$ac_ext >&5
35569 echo "$as_me:$LINENO: result: no" >&5
35570 echo "${ECHO_T}no" >&6
35572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35575 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35577 for ac_func
in fnmatch
35579 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35580 echo "$as_me:$LINENO: checking for $ac_func" >&5
35581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35582 if eval "test \"\${$as_ac_var+set}\" = set"; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35585 cat >conftest.
$ac_ext <<_ACEOF
35588 cat confdefs.h
>>conftest.
$ac_ext
35589 cat >>conftest.
$ac_ext <<_ACEOF
35590 /* end confdefs.h. */
35591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35593 #define $ac_func innocuous_$ac_func
35595 /* System header to define __stub macros and hopefully few prototypes,
35596 which can conflict with char $ac_func (); below.
35597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35598 <limits.h> exists even on freestanding compilers. */
35601 # include <limits.h>
35603 # include <assert.h>
35608 /* Override any gcc2 internal prototype to avoid an error. */
35613 /* We use char because int might match the return type of a gcc2
35614 builtin and then its argument prototype would still apply. */
35616 /* The GNU C library defines this for functions which it implements
35617 to always fail with ENOSYS. Some functions are actually named
35618 something starting with __ and the normal name is an alias. */
35619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35622 char (*f) () = $ac_func;
35631 return f != $ac_func;
35636 rm -f conftest.
$ac_objext conftest
$ac_exeext
35637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35638 (eval $ac_link) 2>conftest.er1
35640 grep -v '^ *+' conftest.er1
>conftest.err
35642 cat conftest.err
>&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); } &&
35645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; } &&
35651 { ac_try
='test -s conftest$ac_exeext'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; }; then
35657 eval "$as_ac_var=yes"
35659 echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.
$ac_ext >&5
35662 eval "$as_ac_var=no"
35664 rm -f conftest.err conftest.
$ac_objext \
35665 conftest
$ac_exeext conftest.
$ac_ext
35667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35669 if test `eval echo '${'$as_ac_var'}'` = yes; then
35670 cat >>confdefs.h
<<_ACEOF
35671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35679 if test "$wxUSE_FILE" = "yes"; then
35681 for ac_func
in fsync
35683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35684 echo "$as_me:$LINENO: checking for $ac_func" >&5
35685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35686 if eval "test \"\${$as_ac_var+set}\" = set"; then
35687 echo $ECHO_N "(cached) $ECHO_C" >&6
35689 cat >conftest.
$ac_ext <<_ACEOF
35692 cat confdefs.h
>>conftest.
$ac_ext
35693 cat >>conftest.
$ac_ext <<_ACEOF
35694 /* end confdefs.h. */
35695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35697 #define $ac_func innocuous_$ac_func
35699 /* System header to define __stub macros and hopefully few prototypes,
35700 which can conflict with char $ac_func (); below.
35701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35702 <limits.h> exists even on freestanding compilers. */
35705 # include <limits.h>
35707 # include <assert.h>
35712 /* Override any gcc2 internal prototype to avoid an error. */
35717 /* We use char because int might match the return type of a gcc2
35718 builtin and then its argument prototype would still apply. */
35720 /* The GNU C library defines this for functions which it implements
35721 to always fail with ENOSYS. Some functions are actually named
35722 something starting with __ and the normal name is an alias. */
35723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35726 char (*f) () = $ac_func;
35735 return f != $ac_func;
35740 rm -f conftest.
$ac_objext conftest
$ac_exeext
35741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35742 (eval $ac_link) 2>conftest.er1
35744 grep -v '^ *+' conftest.er1
>conftest.err
35746 cat conftest.err
>&5
35747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35748 (exit $ac_status); } &&
35749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35751 (eval $ac_try) 2>&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; } &&
35755 { ac_try
='test -s conftest$ac_exeext'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; }; then
35761 eval "$as_ac_var=yes"
35763 echo "$as_me: failed program was:" >&5
35764 sed 's/^/| /' conftest.
$ac_ext >&5
35766 eval "$as_ac_var=no"
35768 rm -f conftest.err conftest.
$ac_objext \
35769 conftest
$ac_exeext conftest.
$ac_ext
35771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35773 if test `eval echo '${'$as_ac_var'}'` = yes; then
35774 cat >>confdefs.h
<<_ACEOF
35775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35784 for ac_func
in round
35786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35787 echo "$as_me:$LINENO: checking for $ac_func" >&5
35788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35789 if eval "test \"\${$as_ac_var+set}\" = set"; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35792 cat >conftest.
$ac_ext <<_ACEOF
35795 cat confdefs.h
>>conftest.
$ac_ext
35796 cat >>conftest.
$ac_ext <<_ACEOF
35797 /* end confdefs.h. */
35798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35800 #define $ac_func innocuous_$ac_func
35802 /* System header to define __stub macros and hopefully few prototypes,
35803 which can conflict with char $ac_func (); below.
35804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35805 <limits.h> exists even on freestanding compilers. */
35808 # include <limits.h>
35810 # include <assert.h>
35815 /* Override any gcc2 internal prototype to avoid an error. */
35820 /* We use char because int might match the return type of a gcc2
35821 builtin and then its argument prototype would still apply. */
35823 /* The GNU C library defines this for functions which it implements
35824 to always fail with ENOSYS. Some functions are actually named
35825 something starting with __ and the normal name is an alias. */
35826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35829 char (*f) () = $ac_func;
35838 return f != $ac_func;
35843 rm -f conftest.
$ac_objext conftest
$ac_exeext
35844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35845 (eval $ac_link) 2>conftest.er1
35847 grep -v '^ *+' conftest.er1
>conftest.err
35849 cat conftest.err
>&5
35850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35851 (exit $ac_status); } &&
35852 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35854 (eval $ac_try) 2>&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); }; } &&
35858 { ac_try
='test -s conftest$ac_exeext'
35859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35860 (eval $ac_try) 2>&5
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); }; }; then
35864 eval "$as_ac_var=yes"
35866 echo "$as_me: failed program was:" >&5
35867 sed 's/^/| /' conftest.
$ac_ext >&5
35869 eval "$as_ac_var=no"
35871 rm -f conftest.err conftest.
$ac_objext \
35872 conftest
$ac_exeext conftest.
$ac_ext
35874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35876 if test `eval echo '${'$as_ac_var'}'` = yes; then
35877 cat >>confdefs.h
<<_ACEOF
35878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35884 if test "$ac_cv_func_round" = yes; then
35885 echo "$as_me:$LINENO: checking whether round is declared" >&5
35886 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35887 if test "${ac_cv_have_decl_round+set}" = set; then
35888 echo $ECHO_N "(cached) $ECHO_C" >&6
35890 cat >conftest.
$ac_ext <<_ACEOF
35893 cat confdefs.h
>>conftest.
$ac_ext
35894 cat >>conftest.
$ac_ext <<_ACEOF
35895 /* end confdefs.h. */
35902 char *p = (char *) round;
35909 rm -f conftest.
$ac_objext
35910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35911 (eval $ac_compile) 2>conftest.er1
35913 grep -v '^ *+' conftest.er1
>conftest.err
35915 cat conftest.err
>&5
35916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35917 (exit $ac_status); } &&
35918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35920 (eval $ac_try) 2>&5
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); }; } &&
35924 { ac_try
='test -s conftest.$ac_objext'
35925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35926 (eval $ac_try) 2>&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); }; }; then
35930 ac_cv_have_decl_round
=yes
35932 echo "$as_me: failed program was:" >&5
35933 sed 's/^/| /' conftest.
$ac_ext >&5
35935 ac_cv_have_decl_round
=no
35937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35939 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35940 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35941 if test $ac_cv_have_decl_round = yes; then
35943 cat >>confdefs.h
<<_ACEOF
35944 #define HAVE_DECL_ROUND 1
35949 cat >>confdefs.h
<<_ACEOF
35950 #define HAVE_DECL_ROUND 0
35960 if test "$TOOLKIT" != "MSW"; then
35966 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35967 if test "${with_libiconv_prefix+set}" = set; then
35968 withval
="$with_libiconv_prefix"
35970 for dir
in `echo "$withval" | tr : ' '`; do
35971 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35972 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35977 echo "$as_me:$LINENO: checking for iconv" >&5
35978 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35979 if test "${am_cv_func_iconv+set}" = set; then
35980 echo $ECHO_N "(cached) $ECHO_C" >&6
35983 am_cv_func_iconv
="no, consider installing GNU libiconv"
35985 cat >conftest.
$ac_ext <<_ACEOF
35988 cat confdefs.h
>>conftest.
$ac_ext
35989 cat >>conftest.
$ac_ext <<_ACEOF
35990 /* end confdefs.h. */
35991 #include <stdlib.h>
35996 iconv_t cd = iconv_open("","");
35997 iconv(cd,NULL,NULL,NULL,NULL);
36003 rm -f conftest.
$ac_objext conftest
$ac_exeext
36004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36005 (eval $ac_link) 2>conftest.er1
36007 grep -v '^ *+' conftest.er1
>conftest.err
36009 cat conftest.err
>&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); } &&
36012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; } &&
36018 { ac_try
='test -s conftest$ac_exeext'
36019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020 (eval $ac_try) 2>&5
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); }; }; then
36024 am_cv_func_iconv
=yes
36026 echo "$as_me: failed program was:" >&5
36027 sed 's/^/| /' conftest.
$ac_ext >&5
36030 rm -f conftest.err conftest.
$ac_objext \
36031 conftest
$ac_exeext conftest.
$ac_ext
36032 if test "$am_cv_func_iconv" != yes; then
36033 am_save_LIBS
="$LIBS"
36034 LIBS
="$LIBS -liconv"
36035 cat >conftest.
$ac_ext <<_ACEOF
36038 cat confdefs.h
>>conftest.
$ac_ext
36039 cat >>conftest.
$ac_ext <<_ACEOF
36040 /* end confdefs.h. */
36041 #include <stdlib.h>
36046 iconv_t cd = iconv_open("","");
36047 iconv(cd,NULL,NULL,NULL,NULL);
36053 rm -f conftest.
$ac_objext conftest
$ac_exeext
36054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36055 (eval $ac_link) 2>conftest.er1
36057 grep -v '^ *+' conftest.er1
>conftest.err
36059 cat conftest.err
>&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); } &&
36062 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; } &&
36068 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
36074 am_cv_lib_iconv
=yes
36075 am_cv_func_iconv
=yes
36077 echo "$as_me: failed program was:" >&5
36078 sed 's/^/| /' conftest.
$ac_ext >&5
36081 rm -f conftest.err conftest.
$ac_objext \
36082 conftest
$ac_exeext conftest.
$ac_ext
36083 LIBS
="$am_save_LIBS"
36087 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36088 echo "${ECHO_T}$am_cv_func_iconv" >&6
36089 if test "$am_cv_func_iconv" = yes; then
36091 cat >>confdefs.h
<<\_ACEOF
36092 #define HAVE_ICONV 1
36095 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36096 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36097 if test "${wx_cv_func_iconv_const+set}" = set; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36100 cat >conftest.
$ac_ext <<_ACEOF
36103 cat confdefs.h
>>conftest.
$ac_ext
36104 cat >>conftest.
$ac_ext <<_ACEOF
36105 /* end confdefs.h. */
36107 #include <stdlib.h>
36113 #if defined(__STDC__) || defined(__cplusplus)
36114 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36127 rm -f conftest.
$ac_objext
36128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36129 (eval $ac_compile) 2>conftest.er1
36131 grep -v '^ *+' conftest.er1
>conftest.err
36133 cat conftest.err
>&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); } &&
36136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36138 (eval $ac_try) 2>&5
36140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141 (exit $ac_status); }; } &&
36142 { ac_try
='test -s conftest.$ac_objext'
36143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36144 (eval $ac_try) 2>&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); }; }; then
36148 wx_cv_func_iconv_const
="no"
36150 echo "$as_me: failed program was:" >&5
36151 sed 's/^/| /' conftest.
$ac_ext >&5
36153 wx_cv_func_iconv_const
="yes"
36156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36159 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36160 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36163 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36164 iconv_const
="const"
36168 cat >>confdefs.h
<<_ACEOF
36169 #define ICONV_CONST $iconv_const
36174 if test "$am_cv_lib_iconv" = yes; then
36179 LIBS
="$LIBICONV $LIBS"
36181 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36183 for ac_func
in sigaction
36185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36186 echo "$as_me:$LINENO: checking for $ac_func" >&5
36187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36188 if eval "test \"\${$as_ac_var+set}\" = set"; then
36189 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 cat >conftest.
$ac_ext <<_ACEOF
36194 cat confdefs.h
>>conftest.
$ac_ext
36195 cat >>conftest.
$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36199 #define $ac_func innocuous_$ac_func
36201 /* System header to define __stub macros and hopefully few prototypes,
36202 which can conflict with char $ac_func (); below.
36203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36204 <limits.h> exists even on freestanding compilers. */
36207 # include <limits.h>
36209 # include <assert.h>
36214 /* Override any gcc2 internal prototype to avoid an error. */
36219 /* We use char because int might match the return type of a gcc2
36220 builtin and then its argument prototype would still apply. */
36222 /* The GNU C library defines this for functions which it implements
36223 to always fail with ENOSYS. Some functions are actually named
36224 something starting with __ and the normal name is an alias. */
36225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36228 char (*f) () = $ac_func;
36237 return f != $ac_func;
36242 rm -f conftest.
$ac_objext conftest
$ac_exeext
36243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36244 (eval $ac_link) 2>conftest.er1
36246 grep -v '^ *+' conftest.er1
>conftest.err
36248 cat conftest.err
>&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); } &&
36251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36253 (eval $ac_try) 2>&5
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); }; } &&
36257 { ac_try
='test -s conftest$ac_exeext'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; }; then
36263 eval "$as_ac_var=yes"
36265 echo "$as_me: failed program was:" >&5
36266 sed 's/^/| /' conftest.
$ac_ext >&5
36268 eval "$as_ac_var=no"
36270 rm -f conftest.err conftest.
$ac_objext \
36271 conftest
$ac_exeext conftest.
$ac_ext
36273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36275 if test `eval echo '${'$as_ac_var'}'` = yes; then
36276 cat >>confdefs.h
<<_ACEOF
36277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36284 if test "$ac_cv_func_sigaction" = "no"; then
36285 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36286 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36287 wxUSE_ON_FATAL_EXCEPTION
=no
36290 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36291 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36292 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36293 if test "${wx_cv_type_sa_handler+set}" = set; then
36294 echo $ECHO_N "(cached) $ECHO_C" >&6
36297 cat >conftest.
$ac_ext <<_ACEOF
36300 cat confdefs.h
>>conftest.
$ac_ext
36301 cat >>conftest.
$ac_ext <<_ACEOF
36302 /* end confdefs.h. */
36303 #include <signal.h>
36308 extern void testSigHandler(int);
36310 struct sigaction sa;
36311 sa.sa_handler = testSigHandler;
36317 rm -f conftest.
$ac_objext
36318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36319 (eval $ac_compile) 2>conftest.er1
36321 grep -v '^ *+' conftest.er1
>conftest.err
36323 cat conftest.err
>&5
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); } &&
36326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36328 (eval $ac_try) 2>&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); }; } &&
36332 { ac_try
='test -s conftest.$ac_objext'
36333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36334 (eval $ac_try) 2>&5
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); }; }; then
36339 wx_cv_type_sa_handler
=int
36342 echo "$as_me: failed program was:" >&5
36343 sed 's/^/| /' conftest.
$ac_ext >&5
36346 wx_cv_type_sa_handler
=void
36349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36352 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36353 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36355 cat >>confdefs.h
<<_ACEOF
36356 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36362 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36363 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36364 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36365 if test "${wx_cv_func_backtrace+set}" = set; then
36366 echo $ECHO_N "(cached) $ECHO_C" >&6
36369 cat >conftest.
$ac_ext <<_ACEOF
36372 cat confdefs.h
>>conftest.
$ac_ext
36373 cat >>conftest.
$ac_ext <<_ACEOF
36374 /* end confdefs.h. */
36375 #include <execinfo.h>
36383 backtrace(trace, 1);
36384 messages = backtrace_symbols(trace, 1);
36390 rm -f conftest.
$ac_objext
36391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36392 (eval $ac_compile) 2>conftest.er1
36394 grep -v '^ *+' conftest.er1
>conftest.err
36396 cat conftest.err
>&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); } &&
36399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401 (eval $ac_try) 2>&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); }; } &&
36405 { ac_try
='test -s conftest.$ac_objext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36411 wx_cv_func_backtrace
=yes
36413 echo "$as_me: failed program was:" >&5
36414 sed 's/^/| /' conftest.
$ac_ext >&5
36416 wx_cv_func_backtrace
=no
36419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36423 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36424 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36427 if test "$wx_cv_func_backtrace" = "no"; then
36428 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36429 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36430 wxUSE_STACKWALKER
=no
36432 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36433 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36434 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36435 echo $ECHO_N "(cached) $ECHO_C" >&6
36438 cat >conftest.
$ac_ext <<_ACEOF
36441 cat confdefs.h
>>conftest.
$ac_ext
36442 cat >>conftest.
$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444 #include <cxxabi.h>
36450 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36456 rm -f conftest.
$ac_objext conftest
$ac_exeext
36457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36458 (eval $ac_link) 2>conftest.er1
36460 grep -v '^ *+' conftest.er1
>conftest.err
36462 cat conftest.err
>&5
36463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464 (exit $ac_status); } &&
36465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36467 (eval $ac_try) 2>&5
36469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36470 (exit $ac_status); }; } &&
36471 { ac_try
='test -s conftest$ac_exeext'
36472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36473 (eval $ac_try) 2>&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); }; }; then
36477 wx_cv_func_cxa_demangle
=yes
36479 echo "$as_me: failed program was:" >&5
36480 sed 's/^/| /' conftest.
$ac_ext >&5
36482 wx_cv_func_cxa_demangle
=no
36485 rm -f conftest.err conftest.
$ac_objext \
36486 conftest
$ac_exeext conftest.
$ac_ext
36490 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36491 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36493 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36494 cat >>confdefs.h
<<\_ACEOF
36495 #define HAVE_CXA_DEMANGLE 1
36502 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36503 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36504 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36505 wxUSE_STACKWALKER
=no
36511 for ac_func
in mkstemp mktemp
36513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36514 echo "$as_me:$LINENO: checking for $ac_func" >&5
36515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36516 if eval "test \"\${$as_ac_var+set}\" = set"; then
36517 echo $ECHO_N "(cached) $ECHO_C" >&6
36519 cat >conftest.
$ac_ext <<_ACEOF
36522 cat confdefs.h
>>conftest.
$ac_ext
36523 cat >>conftest.
$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36527 #define $ac_func innocuous_$ac_func
36529 /* System header to define __stub macros and hopefully few prototypes,
36530 which can conflict with char $ac_func (); below.
36531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36532 <limits.h> exists even on freestanding compilers. */
36535 # include <limits.h>
36537 # include <assert.h>
36542 /* Override any gcc2 internal prototype to avoid an error. */
36547 /* We use char because int might match the return type of a gcc2
36548 builtin and then its argument prototype would still apply. */
36550 /* The GNU C library defines this for functions which it implements
36551 to always fail with ENOSYS. Some functions are actually named
36552 something starting with __ and the normal name is an alias. */
36553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36556 char (*f) () = $ac_func;
36565 return f != $ac_func;
36570 rm -f conftest.
$ac_objext conftest
$ac_exeext
36571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36572 (eval $ac_link) 2>conftest.er1
36574 grep -v '^ *+' conftest.er1
>conftest.err
36576 cat conftest.err
>&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); } &&
36579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36581 (eval $ac_try) 2>&5
36583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36584 (exit $ac_status); }; } &&
36585 { ac_try
='test -s conftest$ac_exeext'
36586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36587 (eval $ac_try) 2>&5
36589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36590 (exit $ac_status); }; }; then
36591 eval "$as_ac_var=yes"
36593 echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.
$ac_ext >&5
36596 eval "$as_ac_var=no"
36598 rm -f conftest.err conftest.
$ac_objext \
36599 conftest
$ac_exeext conftest.
$ac_ext
36601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36603 if test `eval echo '${'$as_ac_var'}'` = yes; then
36604 cat >>confdefs.h
<<_ACEOF
36605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36612 echo "$as_me:$LINENO: checking for statfs" >&5
36613 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36614 if test "${wx_cv_func_statfs+set}" = set; then
36615 echo $ECHO_N "(cached) $ECHO_C" >&6
36617 cat >conftest.
$ac_ext <<_ACEOF
36620 cat confdefs.h
>>conftest.
$ac_ext
36621 cat >>conftest.
$ac_ext <<_ACEOF
36622 /* end confdefs.h. */
36624 #if defined(__BSD__)
36625 #include <sys/param.h>
36626 #include <sys/mount.h>
36628 #include <sys/vfs.h>
36646 rm -f conftest.
$ac_objext
36647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36648 (eval $ac_compile) 2>conftest.er1
36650 grep -v '^ *+' conftest.er1
>conftest.err
36652 cat conftest.err
>&5
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); } &&
36655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36657 (eval $ac_try) 2>&5
36659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36660 (exit $ac_status); }; } &&
36661 { ac_try
='test -s conftest.$ac_objext'
36662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36663 (eval $ac_try) 2>&5
36665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666 (exit $ac_status); }; }; then
36667 wx_cv_func_statfs
=yes
36669 echo "$as_me: failed program was:" >&5
36670 sed 's/^/| /' conftest.
$ac_ext >&5
36672 wx_cv_func_statfs
=no
36675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36678 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36679 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36681 if test "$wx_cv_func_statfs" = "yes"; then
36682 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36683 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36684 if test "${wx_cv_func_statfs_decl+set}" = set; then
36685 echo $ECHO_N "(cached) $ECHO_C" >&6
36687 cat >conftest.
$ac_ext <<_ACEOF
36690 cat confdefs.h
>>conftest.
$ac_ext
36691 cat >>conftest.
$ac_ext <<_ACEOF
36692 /* end confdefs.h. */
36694 #if defined(__BSD__)
36695 #include <sys/param.h>
36696 #include <sys/mount.h>
36698 #include <sys/vfs.h>
36712 rm -f conftest.
$ac_objext
36713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36714 (eval $ac_compile) 2>conftest.er1
36716 grep -v '^ *+' conftest.er1
>conftest.err
36718 cat conftest.err
>&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); } &&
36721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723 (eval $ac_try) 2>&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; } &&
36727 { ac_try
='test -s conftest.$ac_objext'
36728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36729 (eval $ac_try) 2>&5
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); }; }; then
36733 wx_cv_func_statfs_decl
=yes
36735 echo "$as_me: failed program was:" >&5
36736 sed 's/^/| /' conftest.
$ac_ext >&5
36738 wx_cv_func_statfs_decl
=no
36741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36744 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36745 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36747 if test "$wx_cv_func_statfs_decl" = "yes"; then
36748 cat >>confdefs.h
<<\_ACEOF
36749 #define HAVE_STATFS_DECL 1
36754 wx_cv_type_statvfs_t
="struct statfs"
36755 cat >>confdefs.h
<<\_ACEOF
36756 #define HAVE_STATFS 1
36760 echo "$as_me:$LINENO: checking for statvfs" >&5
36761 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36762 if test "${wx_cv_func_statvfs+set}" = set; then
36763 echo $ECHO_N "(cached) $ECHO_C" >&6
36765 cat >conftest.
$ac_ext <<_ACEOF
36768 cat confdefs.h
>>conftest.
$ac_ext
36769 cat >>conftest.
$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36772 #include <stddef.h>
36773 #include <sys/statvfs.h>
36779 statvfs("/", NULL);
36785 rm -f conftest.
$ac_objext
36786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36787 (eval $ac_compile) 2>conftest.er1
36789 grep -v '^ *+' conftest.er1
>conftest.err
36791 cat conftest.err
>&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); } &&
36794 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; } &&
36800 { ac_try
='test -s conftest.$ac_objext'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; }; then
36806 wx_cv_func_statvfs
=yes
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.
$ac_ext >&5
36811 wx_cv_func_statvfs
=no
36814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36817 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36818 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36820 if test "$wx_cv_func_statvfs" = "yes"; then
36821 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36822 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36823 if test "${wx_cv_type_statvfs_t+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36826 cat >conftest.
$ac_ext <<_ACEOF
36829 cat confdefs.h
>>conftest.
$ac_ext
36830 cat >>conftest.
$ac_ext <<_ACEOF
36831 /* end confdefs.h. */
36833 #include <sys/statvfs.h>
36850 rm -f conftest.
$ac_objext
36851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36852 (eval $ac_compile) 2>conftest.er1
36854 grep -v '^ *+' conftest.er1
>conftest.err
36856 cat conftest.err
>&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); } &&
36859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36861 (eval $ac_try) 2>&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); }; } &&
36865 { ac_try
='test -s conftest.$ac_objext'
36866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36867 (eval $ac_try) 2>&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); }; }; then
36871 wx_cv_type_statvfs_t
=statvfs_t
36873 echo "$as_me: failed program was:" >&5
36874 sed 's/^/| /' conftest.
$ac_ext >&5
36877 cat >conftest.
$ac_ext <<_ACEOF
36880 cat confdefs.h
>>conftest.
$ac_ext
36881 cat >>conftest.
$ac_ext <<_ACEOF
36882 /* end confdefs.h. */
36884 #include <sys/statvfs.h>
36901 rm -f conftest.
$ac_objext
36902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36903 (eval $ac_compile) 2>conftest.er1
36905 grep -v '^ *+' conftest.er1
>conftest.err
36907 cat conftest.err
>&5
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); } &&
36910 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36912 (eval $ac_try) 2>&5
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); }; } &&
36916 { ac_try
='test -s conftest.$ac_objext'
36917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36918 (eval $ac_try) 2>&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); }; }; then
36922 wx_cv_type_statvfs_t
="struct statvfs"
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.
$ac_ext >&5
36927 wx_cv_type_statvfs_t
="unknown"
36930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36937 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36938 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36940 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36941 cat >>confdefs.h
<<\_ACEOF
36942 #define HAVE_STATVFS 1
36947 wx_cv_type_statvfs_t
="unknown"
36951 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36952 cat >>confdefs.h
<<_ACEOF
36953 #define WX_STATFS_T $wx_cv_type_statvfs_t
36957 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36958 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36961 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36964 for ac_func
in fcntl flock
36966 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36967 echo "$as_me:$LINENO: checking for $ac_func" >&5
36968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36969 if eval "test \"\${$as_ac_var+set}\" = set"; then
36970 echo $ECHO_N "(cached) $ECHO_C" >&6
36972 cat >conftest.
$ac_ext <<_ACEOF
36975 cat confdefs.h
>>conftest.
$ac_ext
36976 cat >>conftest.
$ac_ext <<_ACEOF
36977 /* end confdefs.h. */
36978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36980 #define $ac_func innocuous_$ac_func
36982 /* System header to define __stub macros and hopefully few prototypes,
36983 which can conflict with char $ac_func (); below.
36984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36985 <limits.h> exists even on freestanding compilers. */
36988 # include <limits.h>
36990 # include <assert.h>
36995 /* Override any gcc2 internal prototype to avoid an error. */
37000 /* We use char because int might match the return type of a gcc2
37001 builtin and then its argument prototype would still apply. */
37003 /* The GNU C library defines this for functions which it implements
37004 to always fail with ENOSYS. Some functions are actually named
37005 something starting with __ and the normal name is an alias. */
37006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37009 char (*f) () = $ac_func;
37018 return f != $ac_func;
37023 rm -f conftest.
$ac_objext conftest
$ac_exeext
37024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37025 (eval $ac_link) 2>conftest.er1
37027 grep -v '^ *+' conftest.er1
>conftest.err
37029 cat conftest.err
>&5
37030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37031 (exit $ac_status); } &&
37032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; } &&
37038 { ac_try
='test -s conftest$ac_exeext'
37039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37040 (eval $ac_try) 2>&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); }; }; then
37044 eval "$as_ac_var=yes"
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.
$ac_ext >&5
37049 eval "$as_ac_var=no"
37051 rm -f conftest.err conftest.
$ac_objext \
37052 conftest
$ac_exeext conftest.
$ac_ext
37054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37056 if test `eval echo '${'$as_ac_var'}'` = yes; then
37057 cat >>confdefs.h
<<_ACEOF
37058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37065 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37066 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37067 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37068 wxUSE_SNGLINST_CHECKER
=no
37073 for ac_func
in timegm
37075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37076 echo "$as_me:$LINENO: checking for $ac_func" >&5
37077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37078 if eval "test \"\${$as_ac_var+set}\" = set"; then
37079 echo $ECHO_N "(cached) $ECHO_C" >&6
37081 cat >conftest.
$ac_ext <<_ACEOF
37084 cat confdefs.h
>>conftest.
$ac_ext
37085 cat >>conftest.
$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37089 #define $ac_func innocuous_$ac_func
37091 /* System header to define __stub macros and hopefully few prototypes,
37092 which can conflict with char $ac_func (); below.
37093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37094 <limits.h> exists even on freestanding compilers. */
37097 # include <limits.h>
37099 # include <assert.h>
37104 /* Override any gcc2 internal prototype to avoid an error. */
37109 /* We use char because int might match the return type of a gcc2
37110 builtin and then its argument prototype would still apply. */
37112 /* The GNU C library defines this for functions which it implements
37113 to always fail with ENOSYS. Some functions are actually named
37114 something starting with __ and the normal name is an alias. */
37115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37118 char (*f) () = $ac_func;
37127 return f != $ac_func;
37132 rm -f conftest.
$ac_objext conftest
$ac_exeext
37133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37134 (eval $ac_link) 2>conftest.er1
37136 grep -v '^ *+' conftest.er1
>conftest.err
37138 cat conftest.err
>&5
37139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140 (exit $ac_status); } &&
37141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143 (eval $ac_try) 2>&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); }; } &&
37147 { ac_try
='test -s conftest$ac_exeext'
37148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37149 (eval $ac_try) 2>&5
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); }; }; then
37153 eval "$as_ac_var=yes"
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.
$ac_ext >&5
37158 eval "$as_ac_var=no"
37160 rm -f conftest.err conftest.
$ac_objext \
37161 conftest
$ac_exeext conftest.
$ac_ext
37163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37165 if test `eval echo '${'$as_ac_var'}'` = yes; then
37166 cat >>confdefs.h
<<_ACEOF
37167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37176 for ac_func
in putenv setenv
37178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37179 echo "$as_me:$LINENO: checking for $ac_func" >&5
37180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37181 if eval "test \"\${$as_ac_var+set}\" = set"; then
37182 echo $ECHO_N "(cached) $ECHO_C" >&6
37184 cat >conftest.
$ac_ext <<_ACEOF
37187 cat confdefs.h
>>conftest.
$ac_ext
37188 cat >>conftest.
$ac_ext <<_ACEOF
37189 /* end confdefs.h. */
37190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37192 #define $ac_func innocuous_$ac_func
37194 /* System header to define __stub macros and hopefully few prototypes,
37195 which can conflict with char $ac_func (); below.
37196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37197 <limits.h> exists even on freestanding compilers. */
37200 # include <limits.h>
37202 # include <assert.h>
37207 /* Override any gcc2 internal prototype to avoid an error. */
37212 /* We use char because int might match the return type of a gcc2
37213 builtin and then its argument prototype would still apply. */
37215 /* The GNU C library defines this for functions which it implements
37216 to always fail with ENOSYS. Some functions are actually named
37217 something starting with __ and the normal name is an alias. */
37218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37221 char (*f) () = $ac_func;
37230 return f != $ac_func;
37235 rm -f conftest.
$ac_objext conftest
$ac_exeext
37236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37237 (eval $ac_link) 2>conftest.er1
37239 grep -v '^ *+' conftest.er1
>conftest.err
37241 cat conftest.err
>&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); } &&
37244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246 (eval $ac_try) 2>&5
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); }; } &&
37250 { ac_try
='test -s conftest$ac_exeext'
37251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252 (eval $ac_try) 2>&5
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); }; }; then
37256 eval "$as_ac_var=yes"
37258 echo "$as_me: failed program was:" >&5
37259 sed 's/^/| /' conftest.
$ac_ext >&5
37261 eval "$as_ac_var=no"
37263 rm -f conftest.err conftest.
$ac_objext \
37264 conftest
$ac_exeext conftest.
$ac_ext
37266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37268 if test `eval echo '${'$as_ac_var'}'` = yes; then
37269 cat >>confdefs.h
<<_ACEOF
37270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37277 HAVE_SOME_SLEEP_FUNC
=0
37278 if test "$USE_BEOS" = 1; then
37279 cat >>confdefs.h
<<\_ACEOF
37280 #define HAVE_SLEEP 1
37283 HAVE_SOME_SLEEP_FUNC
=1
37286 if test "$USE_DARWIN" = 1; then
37287 cat >>confdefs.h
<<\_ACEOF
37288 #define HAVE_USLEEP 1
37291 HAVE_SOME_SLEEP_FUNC
=1
37294 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37297 for ac_func
in nanosleep
37299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37300 echo "$as_me:$LINENO: checking for $ac_func" >&5
37301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37302 if eval "test \"\${$as_ac_var+set}\" = set"; then
37303 echo $ECHO_N "(cached) $ECHO_C" >&6
37305 cat >conftest.
$ac_ext <<_ACEOF
37308 cat confdefs.h
>>conftest.
$ac_ext
37309 cat >>conftest.
$ac_ext <<_ACEOF
37310 /* end confdefs.h. */
37311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37313 #define $ac_func innocuous_$ac_func
37315 /* System header to define __stub macros and hopefully few prototypes,
37316 which can conflict with char $ac_func (); below.
37317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37318 <limits.h> exists even on freestanding compilers. */
37321 # include <limits.h>
37323 # include <assert.h>
37328 /* Override any gcc2 internal prototype to avoid an error. */
37333 /* We use char because int might match the return type of a gcc2
37334 builtin and then its argument prototype would still apply. */
37336 /* The GNU C library defines this for functions which it implements
37337 to always fail with ENOSYS. Some functions are actually named
37338 something starting with __ and the normal name is an alias. */
37339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37342 char (*f) () = $ac_func;
37351 return f != $ac_func;
37356 rm -f conftest.
$ac_objext conftest
$ac_exeext
37357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37358 (eval $ac_link) 2>conftest.er1
37360 grep -v '^ *+' conftest.er1
>conftest.err
37362 cat conftest.err
>&5
37363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37364 (exit $ac_status); } &&
37365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37367 (eval $ac_try) 2>&5
37369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37370 (exit $ac_status); }; } &&
37371 { ac_try
='test -s conftest$ac_exeext'
37372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37373 (eval $ac_try) 2>&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); }; }; then
37377 eval "$as_ac_var=yes"
37379 echo "$as_me: failed program was:" >&5
37380 sed 's/^/| /' conftest.
$ac_ext >&5
37382 eval "$as_ac_var=no"
37384 rm -f conftest.err conftest.
$ac_objext \
37385 conftest
$ac_exeext conftest.
$ac_ext
37387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37389 if test `eval echo '${'$as_ac_var'}'` = yes; then
37390 cat >>confdefs.h
<<_ACEOF
37391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37393 cat >>confdefs.h
<<\_ACEOF
37394 #define HAVE_NANOSLEEP 1
37399 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37400 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37401 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37402 echo $ECHO_N "(cached) $ECHO_C" >&6
37404 ac_check_lib_save_LIBS
=$LIBS
37405 LIBS
="-lposix4 $LIBS"
37406 cat >conftest.
$ac_ext <<_ACEOF
37409 cat confdefs.h
>>conftest.
$ac_ext
37410 cat >>conftest.
$ac_ext <<_ACEOF
37411 /* end confdefs.h. */
37413 /* Override any gcc2 internal prototype to avoid an error. */
37417 /* We use char because int might match the return type of a gcc2
37418 builtin and then its argument prototype would still apply. */
37428 rm -f conftest.
$ac_objext conftest
$ac_exeext
37429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37430 (eval $ac_link) 2>conftest.er1
37432 grep -v '^ *+' conftest.er1
>conftest.err
37434 cat conftest.err
>&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); } &&
37437 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37439 (eval $ac_try) 2>&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); }; } &&
37443 { ac_try
='test -s conftest$ac_exeext'
37444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37445 (eval $ac_try) 2>&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); }; }; then
37449 ac_cv_lib_posix4_nanosleep
=yes
37451 echo "$as_me: failed program was:" >&5
37452 sed 's/^/| /' conftest.
$ac_ext >&5
37454 ac_cv_lib_posix4_nanosleep
=no
37456 rm -f conftest.err conftest.
$ac_objext \
37457 conftest
$ac_exeext conftest.
$ac_ext
37458 LIBS
=$ac_check_lib_save_LIBS
37460 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37461 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37462 if test $ac_cv_lib_posix4_nanosleep = yes; then
37464 cat >>confdefs.h
<<\_ACEOF
37465 #define HAVE_NANOSLEEP 1
37468 POSIX4_LINK
=" -lposix4"
37473 for ac_func
in usleep
37475 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37476 echo "$as_me:$LINENO: checking for $ac_func" >&5
37477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37478 if eval "test \"\${$as_ac_var+set}\" = set"; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37481 cat >conftest.
$ac_ext <<_ACEOF
37484 cat confdefs.h
>>conftest.
$ac_ext
37485 cat >>conftest.
$ac_ext <<_ACEOF
37486 /* end confdefs.h. */
37487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37489 #define $ac_func innocuous_$ac_func
37491 /* System header to define __stub macros and hopefully few prototypes,
37492 which can conflict with char $ac_func (); below.
37493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37494 <limits.h> exists even on freestanding compilers. */
37497 # include <limits.h>
37499 # include <assert.h>
37504 /* Override any gcc2 internal prototype to avoid an error. */
37509 /* We use char because int might match the return type of a gcc2
37510 builtin and then its argument prototype would still apply. */
37512 /* The GNU C library defines this for functions which it implements
37513 to always fail with ENOSYS. Some functions are actually named
37514 something starting with __ and the normal name is an alias. */
37515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37518 char (*f) () = $ac_func;
37527 return f != $ac_func;
37532 rm -f conftest.
$ac_objext conftest
$ac_exeext
37533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37534 (eval $ac_link) 2>conftest.er1
37536 grep -v '^ *+' conftest.er1
>conftest.err
37538 cat conftest.err
>&5
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); } &&
37541 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; } &&
37547 { ac_try
='test -s conftest$ac_exeext'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; }; then
37553 eval "$as_ac_var=yes"
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.
$ac_ext >&5
37558 eval "$as_ac_var=no"
37560 rm -f conftest.err conftest.
$ac_objext \
37561 conftest
$ac_exeext conftest.
$ac_ext
37563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37565 if test `eval echo '${'$as_ac_var'}'` = yes; then
37566 cat >>confdefs.h
<<_ACEOF
37567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37569 cat >>confdefs.h
<<\_ACEOF
37570 #define HAVE_USLEEP 1
37574 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37575 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37593 for ac_func
in uname gethostname
37595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 cat >conftest.
$ac_ext <<_ACEOF
37604 cat confdefs.h
>>conftest.
$ac_ext
37605 cat >>conftest.
$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37617 # include <limits.h>
37619 # include <assert.h>
37624 /* Override any gcc2 internal prototype to avoid an error. */
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37638 char (*f) () = $ac_func;
37647 return f != $ac_func;
37652 rm -f conftest.
$ac_objext conftest
$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37656 grep -v '^ *+' conftest.er1
>conftest.err
37658 cat conftest.err
>&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37663 (eval $ac_try) 2>&5
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); }; } &&
37667 { ac_try
='test -s conftest$ac_exeext'
37668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37669 (eval $ac_try) 2>&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); }; }; then
37673 eval "$as_ac_var=yes"
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.
$ac_ext >&5
37678 eval "$as_ac_var=no"
37680 rm -f conftest.err conftest.
$ac_objext \
37681 conftest
$ac_exeext conftest.
$ac_ext
37683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37685 if test `eval echo '${'$as_ac_var'}'` = yes; then
37686 cat >>confdefs.h
<<_ACEOF
37687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37695 for wx_func
in strtok_r
37697 echo "$as_me:$LINENO: checking for $wx_func" >&5
37698 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37699 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37700 echo $ECHO_N "(cached) $ECHO_C" >&6
37703 cat >conftest.
$ac_ext <<_ACEOF
37707 cat confdefs.h
>>conftest.
$ac_ext
37708 cat >>conftest.
$ac_ext <<_ACEOF
37709 /* end confdefs.h. */
37712 $ac_includes_default
37728 rm -f conftest.
$ac_objext conftest
$ac_exeext
37729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37730 (eval $ac_link) 2>conftest.er1
37732 grep -v '^ *+' conftest.er1
>conftest.err
37734 cat conftest.err
>&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } &&
37737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37739 (eval $ac_try) 2>&5
37741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37742 (exit $ac_status); }; } &&
37743 { ac_try
='test -s conftest$ac_exeext'
37744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 (eval $ac_try) 2>&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); }; }; then
37749 eval wx_cv_func_
$wx_func=yes
37751 echo "$as_me: failed program was:" >&5
37752 sed 's/^/| /' conftest.
$ac_ext >&5
37754 eval wx_cv_func_
$wx_func=no
37756 rm -f conftest.err conftest.
$ac_objext \
37757 conftest
$ac_exeext conftest.
$ac_ext
37760 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37761 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37763 if eval test \
$wx_cv_func_$wx_func = yes
37765 cat >>confdefs.h
<<_ACEOF
37766 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37779 for ac_func
in inet_addr
37781 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37782 echo "$as_me:$LINENO: checking for $ac_func" >&5
37783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37784 if eval "test \"\${$as_ac_var+set}\" = set"; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37787 cat >conftest.
$ac_ext <<_ACEOF
37790 cat confdefs.h
>>conftest.
$ac_ext
37791 cat >>conftest.
$ac_ext <<_ACEOF
37792 /* end confdefs.h. */
37793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37795 #define $ac_func innocuous_$ac_func
37797 /* System header to define __stub macros and hopefully few prototypes,
37798 which can conflict with char $ac_func (); below.
37799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37800 <limits.h> exists even on freestanding compilers. */
37803 # include <limits.h>
37805 # include <assert.h>
37810 /* Override any gcc2 internal prototype to avoid an error. */
37815 /* We use char because int might match the return type of a gcc2
37816 builtin and then its argument prototype would still apply. */
37818 /* The GNU C library defines this for functions which it implements
37819 to always fail with ENOSYS. Some functions are actually named
37820 something starting with __ and the normal name is an alias. */
37821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37824 char (*f) () = $ac_func;
37833 return f != $ac_func;
37838 rm -f conftest.
$ac_objext conftest
$ac_exeext
37839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37840 (eval $ac_link) 2>conftest.er1
37842 grep -v '^ *+' conftest.er1
>conftest.err
37844 cat conftest.err
>&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); } &&
37847 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37849 (eval $ac_try) 2>&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); }; } &&
37853 { ac_try
='test -s conftest$ac_exeext'
37854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37855 (eval $ac_try) 2>&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); }; }; then
37859 eval "$as_ac_var=yes"
37861 echo "$as_me: failed program was:" >&5
37862 sed 's/^/| /' conftest.
$ac_ext >&5
37864 eval "$as_ac_var=no"
37866 rm -f conftest.err conftest.
$ac_objext \
37867 conftest
$ac_exeext conftest.
$ac_ext
37869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37871 if test `eval echo '${'$as_ac_var'}'` = yes; then
37872 cat >>confdefs.h
<<_ACEOF
37873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37875 cat >>confdefs.h
<<\_ACEOF
37876 #define HAVE_INET_ADDR 1
37881 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37882 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37883 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37884 echo $ECHO_N "(cached) $ECHO_C" >&6
37886 ac_check_lib_save_LIBS
=$LIBS
37888 cat >conftest.
$ac_ext <<_ACEOF
37891 cat confdefs.h
>>conftest.
$ac_ext
37892 cat >>conftest.
$ac_ext <<_ACEOF
37893 /* end confdefs.h. */
37895 /* Override any gcc2 internal prototype to avoid an error. */
37899 /* We use char because int might match the return type of a gcc2
37900 builtin and then its argument prototype would still apply. */
37910 rm -f conftest.
$ac_objext conftest
$ac_exeext
37911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37912 (eval $ac_link) 2>conftest.er1
37914 grep -v '^ *+' conftest.er1
>conftest.err
37916 cat conftest.err
>&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); } &&
37919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; } &&
37925 { ac_try
='test -s conftest$ac_exeext'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; }; then
37931 ac_cv_lib_nsl_inet_addr
=yes
37933 echo "$as_me: failed program was:" >&5
37934 sed 's/^/| /' conftest.
$ac_ext >&5
37936 ac_cv_lib_nsl_inet_addr
=no
37938 rm -f conftest.err conftest.
$ac_objext \
37939 conftest
$ac_exeext conftest.
$ac_ext
37940 LIBS
=$ac_check_lib_save_LIBS
37942 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37943 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37944 if test $ac_cv_lib_nsl_inet_addr = yes; then
37948 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37949 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37950 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37951 echo $ECHO_N "(cached) $ECHO_C" >&6
37953 ac_check_lib_save_LIBS
=$LIBS
37954 LIBS
="-lresolv $LIBS"
37955 cat >conftest.
$ac_ext <<_ACEOF
37958 cat confdefs.h
>>conftest.
$ac_ext
37959 cat >>conftest.
$ac_ext <<_ACEOF
37960 /* end confdefs.h. */
37962 /* Override any gcc2 internal prototype to avoid an error. */
37966 /* We use char because int might match the return type of a gcc2
37967 builtin and then its argument prototype would still apply. */
37977 rm -f conftest.
$ac_objext conftest
$ac_exeext
37978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37979 (eval $ac_link) 2>conftest.er1
37981 grep -v '^ *+' conftest.er1
>conftest.err
37983 cat conftest.err
>&5
37984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37985 (exit $ac_status); } &&
37986 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37988 (eval $ac_try) 2>&5
37990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37991 (exit $ac_status); }; } &&
37992 { ac_try
='test -s conftest$ac_exeext'
37993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37994 (eval $ac_try) 2>&5
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); }; }; then
37998 ac_cv_lib_resolv_inet_addr
=yes
38000 echo "$as_me: failed program was:" >&5
38001 sed 's/^/| /' conftest.
$ac_ext >&5
38003 ac_cv_lib_resolv_inet_addr
=no
38005 rm -f conftest.err conftest.
$ac_objext \
38006 conftest
$ac_exeext conftest.
$ac_ext
38007 LIBS
=$ac_check_lib_save_LIBS
38009 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38010 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38011 if test $ac_cv_lib_resolv_inet_addr = yes; then
38015 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38016 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38017 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38018 echo $ECHO_N "(cached) $ECHO_C" >&6
38020 ac_check_lib_save_LIBS
=$LIBS
38021 LIBS
="-lsocket $LIBS"
38022 cat >conftest.
$ac_ext <<_ACEOF
38025 cat confdefs.h
>>conftest.
$ac_ext
38026 cat >>conftest.
$ac_ext <<_ACEOF
38027 /* end confdefs.h. */
38029 /* Override any gcc2 internal prototype to avoid an error. */
38033 /* We use char because int might match the return type of a gcc2
38034 builtin and then its argument prototype would still apply. */
38044 rm -f conftest.
$ac_objext conftest
$ac_exeext
38045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38046 (eval $ac_link) 2>conftest.er1
38048 grep -v '^ *+' conftest.er1
>conftest.err
38050 cat conftest.err
>&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } &&
38053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; } &&
38059 { ac_try
='test -s conftest$ac_exeext'
38060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38061 (eval $ac_try) 2>&5
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); }; }; then
38065 ac_cv_lib_socket_inet_addr
=yes
38067 echo "$as_me: failed program was:" >&5
38068 sed 's/^/| /' conftest.
$ac_ext >&5
38070 ac_cv_lib_socket_inet_addr
=no
38072 rm -f conftest.err conftest.
$ac_objext \
38073 conftest
$ac_exeext conftest.
$ac_ext
38074 LIBS
=$ac_check_lib_save_LIBS
38076 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38077 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38078 if test $ac_cv_lib_socket_inet_addr = yes; then
38098 for ac_func
in inet_aton
38100 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38101 echo "$as_me:$LINENO: checking for $ac_func" >&5
38102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38103 if eval "test \"\${$as_ac_var+set}\" = set"; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38106 cat >conftest.
$ac_ext <<_ACEOF
38109 cat confdefs.h
>>conftest.
$ac_ext
38110 cat >>conftest.
$ac_ext <<_ACEOF
38111 /* end confdefs.h. */
38112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38114 #define $ac_func innocuous_$ac_func
38116 /* System header to define __stub macros and hopefully few prototypes,
38117 which can conflict with char $ac_func (); below.
38118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38119 <limits.h> exists even on freestanding compilers. */
38122 # include <limits.h>
38124 # include <assert.h>
38129 /* Override any gcc2 internal prototype to avoid an error. */
38134 /* We use char because int might match the return type of a gcc2
38135 builtin and then its argument prototype would still apply. */
38137 /* The GNU C library defines this for functions which it implements
38138 to always fail with ENOSYS. Some functions are actually named
38139 something starting with __ and the normal name is an alias. */
38140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38143 char (*f) () = $ac_func;
38152 return f != $ac_func;
38157 rm -f conftest.
$ac_objext conftest
$ac_exeext
38158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38159 (eval $ac_link) 2>conftest.er1
38161 grep -v '^ *+' conftest.er1
>conftest.err
38163 cat conftest.err
>&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); } &&
38166 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38168 (eval $ac_try) 2>&5
38170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171 (exit $ac_status); }; } &&
38172 { ac_try
='test -s conftest$ac_exeext'
38173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38174 (eval $ac_try) 2>&5
38176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38177 (exit $ac_status); }; }; then
38178 eval "$as_ac_var=yes"
38180 echo "$as_me: failed program was:" >&5
38181 sed 's/^/| /' conftest.
$ac_ext >&5
38183 eval "$as_ac_var=no"
38185 rm -f conftest.err conftest.
$ac_objext \
38186 conftest
$ac_exeext conftest.
$ac_ext
38188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38190 if test `eval echo '${'$as_ac_var'}'` = yes; then
38191 cat >>confdefs.h
<<_ACEOF
38192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38194 cat >>confdefs.h
<<\_ACEOF
38195 #define HAVE_INET_ATON 1
38200 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38201 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38202 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38203 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38206 ac_check_lib_save_LIBS
=$LIBS
38207 LIBS
="-l$INET_LINK $LIBS"
38208 cat >conftest.
$ac_ext <<_ACEOF
38211 cat confdefs.h
>>conftest.
$ac_ext
38212 cat >>conftest.
$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38215 /* Override any gcc2 internal prototype to avoid an error. */
38219 /* We use char because int might match the return type of a gcc2
38220 builtin and then its argument prototype would still apply. */
38230 rm -f conftest.
$ac_objext conftest
$ac_exeext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38232 (eval $ac_link) 2>conftest.er1
38234 grep -v '^ *+' conftest.er1
>conftest.err
38236 cat conftest.err
>&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38241 (eval $ac_try) 2>&5
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); }; } &&
38245 { ac_try
='test -s conftest$ac_exeext'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; }; then
38251 eval "$as_ac_Lib=yes"
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.
$ac_ext >&5
38256 eval "$as_ac_Lib=no"
38258 rm -f conftest.err conftest.
$ac_objext \
38259 conftest
$ac_exeext conftest.
$ac_ext
38260 LIBS
=$ac_check_lib_save_LIBS
38262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38264 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38265 cat >>confdefs.h
<<\_ACEOF
38266 #define HAVE_INET_ATON 1
38276 if test "x$INET_LINK" != "x"; then
38277 cat >>confdefs.h
<<\_ACEOF
38278 #define HAVE_INET_ADDR 1
38281 INET_LINK
=" -l$INET_LINK"
38289 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38290 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38291 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38292 echo $ECHO_N "(cached) $ECHO_C" >&6
38294 ac_check_lib_save_LIBS
=$LIBS
38296 cat >conftest.
$ac_ext <<_ACEOF
38299 cat confdefs.h
>>conftest.
$ac_ext
38300 cat >>conftest.
$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38303 /* Override any gcc2 internal prototype to avoid an error. */
38307 /* We use char because int might match the return type of a gcc2
38308 builtin and then its argument prototype would still apply. */
38318 rm -f conftest.
$ac_objext conftest
$ac_exeext
38319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38320 (eval $ac_link) 2>conftest.er1
38322 grep -v '^ *+' conftest.er1
>conftest.err
38324 cat conftest.err
>&5
38325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38326 (exit $ac_status); } &&
38327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38329 (eval $ac_try) 2>&5
38331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38332 (exit $ac_status); }; } &&
38333 { ac_try
='test -s conftest$ac_exeext'
38334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38335 (eval $ac_try) 2>&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); }; }; then
38339 ac_cv_lib_esd_esd_close
=yes
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.
$ac_ext >&5
38344 ac_cv_lib_esd_esd_close
=no
38346 rm -f conftest.err conftest.
$ac_objext \
38347 conftest
$ac_exeext conftest.
$ac_ext
38348 LIBS
=$ac_check_lib_save_LIBS
38350 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38351 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38352 if test $ac_cv_lib_esd_esd_close = yes; then
38355 for ac_header
in esd.h
38357 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38359 echo "$as_me:$LINENO: checking for $ac_header" >&5
38360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38367 # Is the header compilable?
38368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38370 cat >conftest.
$ac_ext <<_ACEOF
38373 cat confdefs.h
>>conftest.
$ac_ext
38374 cat >>conftest.
$ac_ext <<_ACEOF
38375 /* end confdefs.h. */
38376 $ac_includes_default
38377 #include <$ac_header>
38379 rm -f conftest.
$ac_objext
38380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38381 (eval $ac_compile) 2>conftest.er1
38383 grep -v '^ *+' conftest.er1
>conftest.err
38385 cat conftest.err
>&5
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); } &&
38388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; } &&
38394 { ac_try
='test -s conftest.$ac_objext'
38395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396 (eval $ac_try) 2>&5
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); }; }; then
38400 ac_header_compiler
=yes
38402 echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.
$ac_ext >&5
38405 ac_header_compiler
=no
38407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38409 echo "${ECHO_T}$ac_header_compiler" >&6
38411 # Is the header present?
38412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38414 cat >conftest.
$ac_ext <<_ACEOF
38417 cat confdefs.h
>>conftest.
$ac_ext
38418 cat >>conftest.
$ac_ext <<_ACEOF
38419 /* end confdefs.h. */
38420 #include <$ac_header>
38422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38423 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38425 grep -v '^ *+' conftest.er1
>conftest.err
38427 cat conftest.err
>&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); } >/dev
/null
; then
38430 if test -s conftest.err
; then
38431 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38432 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38439 if test -z "$ac_cpp_err"; then
38440 ac_header_preproc
=yes
38442 echo "$as_me: failed program was:" >&5
38443 sed 's/^/| /' conftest.
$ac_ext >&5
38445 ac_header_preproc
=no
38447 rm -f conftest.err conftest.
$ac_ext
38448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38449 echo "${ECHO_T}$ac_header_preproc" >&6
38451 # So? What about this header?
38452 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38458 ac_header_preproc
=yes
38461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38475 ## ----------------------------------------- ##
38476 ## Report this to wx-dev@lists.wxwidgets.org ##
38477 ## ----------------------------------------- ##
38480 sed "s/^/$as_me: WARNING: /" >&2
38483 echo "$as_me:$LINENO: checking for $ac_header" >&5
38484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38486 echo $ECHO_N "(cached) $ECHO_C" >&6
38488 eval "$as_ac_Header=\$ac_header_preproc"
38490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38495 cat >>confdefs.h
<<_ACEOF
38496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38499 EXTRALIBS_ESD
="-lesd"
38510 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38511 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38512 cat >conftest.
$ac_ext <<_ACEOF
38515 cat confdefs.h
>>conftest.
$ac_ext
38516 cat >>conftest.
$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38519 #include <linux/cdrom.h>
38522 #include <sys/cdio.h>
38528 struct cdrom_tocentry entry, old_entry;
38533 rm -f conftest.
$ac_objext
38534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38535 (eval $ac_compile) 2>conftest.er1
38537 grep -v '^ *+' conftest.er1
>conftest.err
38539 cat conftest.err
>&5
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); } &&
38542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38544 (eval $ac_try) 2>&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); }; } &&
38548 { ac_try
='test -s conftest.$ac_objext'
38549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38550 (eval $ac_try) 2>&5
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); }; }; then
38554 echo "$as_me:$LINENO: result: yes" >&5
38555 echo "${ECHO_T}yes" >&6
38556 cat >>confdefs.h
<<\_ACEOF
38557 #define HAVE_KNOWN_CDROM_INTERFACE 1
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.
$ac_ext >&5
38564 echo "$as_me:$LINENO: result: no" >&5
38565 echo "${ECHO_T}no" >&6
38567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38570 cat >confcache
<<\_ACEOF
38571 # This file is a shell script that caches the results of configure
38572 # tests run on this system so they can be shared between configure
38573 # scripts and configure runs, see configure's option --config-cache.
38574 # It is not useful on other systems. If it contains results you don't
38575 # want to keep, you may remove or edit it.
38577 # config.status only pays attention to the cache file if you give it
38578 # the --recheck option to rerun configure.
38580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38582 # following values.
38586 # The following way of writing the cache mishandles newlines in values,
38587 # but we know of no workaround that is simple, portable, and efficient.
38588 # So, don't put newlines in cache variables' values.
38589 # Ultrix sh set writes to stderr and can't be redirected directly,
38590 # and sets the high bit in the cache file unless we assign to the vars.
38593 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38595 # `set' does not quote correctly, so add quotes (double-quote
38596 # substitution turns \\\\ into \\, and sed turns \\ into \).
38599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38602 # `set' quotes correctly as required by POSIX, so do not add quotes.
38604 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38611 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38613 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38615 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38616 if test -w $cache_file; then
38617 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38618 cat confcache
>$cache_file
38620 echo "not updating unwritable cache $cache_file"
38626 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38632 if test "$wxUSE_THREADS" = "yes" ; then
38633 if test "$USE_BEOS" = 1; then
38634 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38635 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38640 if test "$wxUSE_THREADS" = "yes" ; then
38643 THREAD_OPTS
="-pthread"
38645 *-*-solaris2* | *-*-sunos4* )
38646 if test "x$GCC" = "xyes"; then
38647 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38649 THREAD_OPTS
="-mt $THREAD_OPTS"
38653 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38655 *-*-darwin* | *-*-cygwin* )
38659 THREAD_OPTS
="pthreads"
38662 if test "x$GCC" = "xyes"; then
38663 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38671 if test "x$GCC" = "xyes"; then
38677 if test "x$GCC" != "xyes"; then
38678 THREAD_OPTS
="-Ethread"
38683 THREAD_OPTS
="$THREAD_OPTS pthread none"
38686 for flag
in $THREAD_OPTS; do
38689 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38690 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38694 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38695 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38696 THREADS_CXXFLAGS
="$flag"
38700 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38701 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38702 THREADS_LINK
="-l$flag"
38707 save_CXXFLAGS
="$CXXFLAGS"
38708 LIBS
="$THREADS_LINK $LIBS"
38709 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38711 cat >conftest.
$ac_ext <<_ACEOF
38714 cat confdefs.h
>>conftest.
$ac_ext
38715 cat >>conftest.
$ac_ext <<_ACEOF
38716 /* end confdefs.h. */
38717 #include <pthread.h>
38721 pthread_create(0,0,0,0);
38726 rm -f conftest.
$ac_objext conftest
$ac_exeext
38727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38728 (eval $ac_link) 2>conftest.er1
38730 grep -v '^ *+' conftest.er1
>conftest.err
38732 cat conftest.err
>&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } &&
38735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737 (eval $ac_try) 2>&5
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); }; } &&
38741 { ac_try
='test -s conftest$ac_exeext'
38742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38743 (eval $ac_try) 2>&5
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); }; }; then
38749 echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.
$ac_ext >&5
38753 rm -f conftest.err conftest.
$ac_objext \
38754 conftest
$ac_exeext conftest.
$ac_ext
38757 CXXFLAGS
="$save_CXXFLAGS"
38759 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38760 echo "${ECHO_T}$THREADS_OK" >&6
38761 if test "x$THREADS_OK" = "xyes"; then
38766 THREADS_CXXFLAGS
=""
38769 if test "x$THREADS_OK" != "xyes"; then
38771 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38772 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38774 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38775 LIBS
="$THREADS_LINK $LIBS"
38777 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38778 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38782 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38783 flag
="-D_THREAD_SAFE"
38786 flag
="-D_THREAD_SAFE"
38789 flag
="-D_REENTRANT"
38790 if test "x$GCC" != "xyes"; then
38791 flag
="$flag -D_RWSTD_MULTI_THREAD"
38794 *solaris
* | alpha
*-osf*)
38795 flag
="-D_REENTRANT"
38798 echo "$as_me:$LINENO: result: ${flag}" >&5
38799 echo "${ECHO_T}${flag}" >&6
38800 if test "x$flag" != xno
; then
38801 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38804 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38808 if test "$wxUSE_THREADS" = "yes" ; then
38810 for ac_func
in thr_setconcurrency
38812 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38813 echo "$as_me:$LINENO: checking for $ac_func" >&5
38814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38815 if eval "test \"\${$as_ac_var+set}\" = set"; then
38816 echo $ECHO_N "(cached) $ECHO_C" >&6
38818 cat >conftest.
$ac_ext <<_ACEOF
38821 cat confdefs.h
>>conftest.
$ac_ext
38822 cat >>conftest.
$ac_ext <<_ACEOF
38823 /* end confdefs.h. */
38824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38826 #define $ac_func innocuous_$ac_func
38828 /* System header to define __stub macros and hopefully few prototypes,
38829 which can conflict with char $ac_func (); below.
38830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38831 <limits.h> exists even on freestanding compilers. */
38834 # include <limits.h>
38836 # include <assert.h>
38841 /* Override any gcc2 internal prototype to avoid an error. */
38846 /* We use char because int might match the return type of a gcc2
38847 builtin and then its argument prototype would still apply. */
38849 /* The GNU C library defines this for functions which it implements
38850 to always fail with ENOSYS. Some functions are actually named
38851 something starting with __ and the normal name is an alias. */
38852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38855 char (*f) () = $ac_func;
38864 return f != $ac_func;
38869 rm -f conftest.
$ac_objext conftest
$ac_exeext
38870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38871 (eval $ac_link) 2>conftest.er1
38873 grep -v '^ *+' conftest.er1
>conftest.err
38875 cat conftest.err
>&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); } &&
38878 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38880 (eval $ac_try) 2>&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); }; } &&
38884 { ac_try
='test -s conftest$ac_exeext'
38885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38886 (eval $ac_try) 2>&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); }; }; then
38890 eval "$as_ac_var=yes"
38892 echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.
$ac_ext >&5
38895 eval "$as_ac_var=no"
38897 rm -f conftest.err conftest.
$ac_objext \
38898 conftest
$ac_exeext conftest.
$ac_ext
38900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38902 if test `eval echo '${'$as_ac_var'}'` = yes; then
38903 cat >>confdefs.h
<<_ACEOF
38904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38911 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38912 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38913 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38914 echo $ECHO_N "(cached) $ECHO_C" >&6
38917 cat >conftest.
$ac_ext <<_ACEOF
38920 cat confdefs.h
>>conftest.
$ac_ext
38921 cat >>conftest.
$ac_ext <<_ACEOF
38922 /* end confdefs.h. */
38923 #include <pthread.h>
38924 void ThreadCleanupFunc(void *p);
38931 pthread_cleanup_push(ThreadCleanupFunc, p);
38932 pthread_cleanup_pop(0);
38938 rm -f conftest.
$ac_objext
38939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38940 (eval $ac_compile) 2>conftest.er1
38942 grep -v '^ *+' conftest.er1
>conftest.err
38944 cat conftest.err
>&5
38945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38946 (exit $ac_status); } &&
38947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38949 (eval $ac_try) 2>&5
38951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38952 (exit $ac_status); }; } &&
38953 { ac_try
='test -s conftest.$ac_objext'
38954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38955 (eval $ac_try) 2>&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; }; then
38960 wx_cv_func_pthread_cleanup
=yes
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.
$ac_ext >&5
38967 wx_cv_func_pthread_cleanup
=no
38971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38974 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38975 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38976 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38977 cat >>confdefs.h
<<\_ACEOF
38978 #define wxHAVE_PTHREAD_CLEANUP 1
38984 for ac_header
in sched.h
38986 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38988 echo "$as_me:$LINENO: checking for $ac_header" >&5
38989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38991 echo $ECHO_N "(cached) $ECHO_C" >&6
38993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38996 # Is the header compilable?
38997 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38999 cat >conftest.
$ac_ext <<_ACEOF
39002 cat confdefs.h
>>conftest.
$ac_ext
39003 cat >>conftest.
$ac_ext <<_ACEOF
39004 /* end confdefs.h. */
39005 $ac_includes_default
39006 #include <$ac_header>
39008 rm -f conftest.
$ac_objext
39009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39010 (eval $ac_compile) 2>conftest.er1
39012 grep -v '^ *+' conftest.er1
>conftest.err
39014 cat conftest.err
>&5
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); } &&
39017 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019 (eval $ac_try) 2>&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); }; } &&
39023 { ac_try
='test -s conftest.$ac_objext'
39024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025 (eval $ac_try) 2>&5
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; }; then
39029 ac_header_compiler
=yes
39031 echo "$as_me: failed program was:" >&5
39032 sed 's/^/| /' conftest.
$ac_ext >&5
39034 ac_header_compiler
=no
39036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39037 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39038 echo "${ECHO_T}$ac_header_compiler" >&6
39040 # Is the header present?
39041 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39042 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39043 cat >conftest.
$ac_ext <<_ACEOF
39046 cat confdefs.h
>>conftest.
$ac_ext
39047 cat >>conftest.
$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049 #include <$ac_header>
39051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39052 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39054 grep -v '^ *+' conftest.er1
>conftest.err
39056 cat conftest.err
>&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); } >/dev
/null
; then
39059 if test -s conftest.err
; then
39060 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39061 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39068 if test -z "$ac_cpp_err"; then
39069 ac_header_preproc
=yes
39071 echo "$as_me: failed program was:" >&5
39072 sed 's/^/| /' conftest.
$ac_ext >&5
39074 ac_header_preproc
=no
39076 rm -f conftest.err conftest.
$ac_ext
39077 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39078 echo "${ECHO_T}$ac_header_preproc" >&6
39080 # So? What about this header?
39081 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39083 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39084 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39086 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39087 ac_header_preproc
=yes
39090 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39091 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39092 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39093 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39094 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39095 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39096 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39097 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39100 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39101 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39104 ## ----------------------------------------- ##
39105 ## Report this to wx-dev@lists.wxwidgets.org ##
39106 ## ----------------------------------------- ##
39109 sed "s/^/$as_me: WARNING: /" >&2
39112 echo "$as_me:$LINENO: checking for $ac_header" >&5
39113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39115 echo $ECHO_N "(cached) $ECHO_C" >&6
39117 eval "$as_ac_Header=\$ac_header_preproc"
39119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39124 cat >>confdefs.h
<<_ACEOF
39125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39132 if test "$ac_cv_header_sched_h" = "yes"; then
39133 echo "$as_me:$LINENO: checking for sched_yield" >&5
39134 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39135 if test "${ac_cv_func_sched_yield+set}" = set; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39138 cat >conftest.
$ac_ext <<_ACEOF
39141 cat confdefs.h
>>conftest.
$ac_ext
39142 cat >>conftest.
$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39146 #define sched_yield innocuous_sched_yield
39148 /* System header to define __stub macros and hopefully few prototypes,
39149 which can conflict with char sched_yield (); below.
39150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39151 <limits.h> exists even on freestanding compilers. */
39154 # include <limits.h>
39156 # include <assert.h>
39161 /* Override any gcc2 internal prototype to avoid an error. */
39166 /* We use char because int might match the return type of a gcc2
39167 builtin and then its argument prototype would still apply. */
39168 char sched_yield ();
39169 /* The GNU C library defines this for functions which it implements
39170 to always fail with ENOSYS. Some functions are actually named
39171 something starting with __ and the normal name is an alias. */
39172 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39175 char (*f) () = sched_yield;
39184 return f != sched_yield;
39189 rm -f conftest.
$ac_objext conftest
$ac_exeext
39190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39191 (eval $ac_link) 2>conftest.er1
39193 grep -v '^ *+' conftest.er1
>conftest.err
39195 cat conftest.err
>&5
39196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39197 (exit $ac_status); } &&
39198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39200 (eval $ac_try) 2>&5
39202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39203 (exit $ac_status); }; } &&
39204 { ac_try
='test -s conftest$ac_exeext'
39205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39206 (eval $ac_try) 2>&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); }; }; then
39210 ac_cv_func_sched_yield
=yes
39212 echo "$as_me: failed program was:" >&5
39213 sed 's/^/| /' conftest.
$ac_ext >&5
39215 ac_cv_func_sched_yield
=no
39217 rm -f conftest.err conftest.
$ac_objext \
39218 conftest
$ac_exeext conftest.
$ac_ext
39220 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39221 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39222 if test $ac_cv_func_sched_yield = yes; then
39223 cat >>confdefs.h
<<\_ACEOF
39224 #define HAVE_SCHED_YIELD 1
39229 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39230 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39231 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39234 ac_check_lib_save_LIBS
=$LIBS
39235 LIBS
="-lposix4 $LIBS"
39236 cat >conftest.
$ac_ext <<_ACEOF
39239 cat confdefs.h
>>conftest.
$ac_ext
39240 cat >>conftest.
$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39243 /* Override any gcc2 internal prototype to avoid an error. */
39247 /* We use char because int might match the return type of a gcc2
39248 builtin and then its argument prototype would still apply. */
39249 char sched_yield ();
39258 rm -f conftest.
$ac_objext conftest
$ac_exeext
39259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39260 (eval $ac_link) 2>conftest.er1
39262 grep -v '^ *+' conftest.er1
>conftest.err
39264 cat conftest.err
>&5
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); } &&
39267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; } &&
39273 { ac_try
='test -s conftest$ac_exeext'
39274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39275 (eval $ac_try) 2>&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); }; }; then
39279 ac_cv_lib_posix4_sched_yield
=yes
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.
$ac_ext >&5
39284 ac_cv_lib_posix4_sched_yield
=no
39286 rm -f conftest.err conftest.
$ac_objext \
39287 conftest
$ac_exeext conftest.
$ac_ext
39288 LIBS
=$ac_check_lib_save_LIBS
39290 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39291 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39292 if test $ac_cv_lib_posix4_sched_yield = yes; then
39293 cat >>confdefs.h
<<\_ACEOF
39294 #define HAVE_SCHED_YIELD 1
39296 POSIX4_LINK
=" -lposix4"
39298 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39299 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39310 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39311 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39312 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39313 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 cat >conftest.
$ac_ext <<_ACEOF
39318 cat confdefs.h
>>conftest.
$ac_ext
39319 cat >>conftest.
$ac_ext <<_ACEOF
39320 /* end confdefs.h. */
39321 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39323 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39325 /* System header to define __stub macros and hopefully few prototypes,
39326 which can conflict with char pthread_attr_getschedpolicy (); below.
39327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39328 <limits.h> exists even on freestanding compilers. */
39331 # include <limits.h>
39333 # include <assert.h>
39336 #undef pthread_attr_getschedpolicy
39338 /* Override any gcc2 internal prototype to avoid an error. */
39343 /* We use char because int might match the return type of a gcc2
39344 builtin and then its argument prototype would still apply. */
39345 char pthread_attr_getschedpolicy ();
39346 /* The GNU C library defines this for functions which it implements
39347 to always fail with ENOSYS. Some functions are actually named
39348 something starting with __ and the normal name is an alias. */
39349 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39352 char (*f) () = pthread_attr_getschedpolicy;
39361 return f != pthread_attr_getschedpolicy;
39366 rm -f conftest.
$ac_objext conftest
$ac_exeext
39367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39368 (eval $ac_link) 2>conftest.er1
39370 grep -v '^ *+' conftest.er1
>conftest.err
39372 cat conftest.err
>&5
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); } &&
39375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377 (eval $ac_try) 2>&5
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); }; } &&
39381 { ac_try
='test -s conftest$ac_exeext'
39382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39383 (eval $ac_try) 2>&5
39385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386 (exit $ac_status); }; }; then
39387 ac_cv_func_pthread_attr_getschedpolicy
=yes
39389 echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.
$ac_ext >&5
39392 ac_cv_func_pthread_attr_getschedpolicy
=no
39394 rm -f conftest.err conftest.
$ac_objext \
39395 conftest
$ac_exeext conftest.
$ac_ext
39397 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39398 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39399 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39400 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39401 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39402 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39403 echo $ECHO_N "(cached) $ECHO_C" >&6
39405 cat >conftest.
$ac_ext <<_ACEOF
39408 cat confdefs.h
>>conftest.
$ac_ext
39409 cat >>conftest.
$ac_ext <<_ACEOF
39410 /* end confdefs.h. */
39411 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39413 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39415 /* System header to define __stub macros and hopefully few prototypes,
39416 which can conflict with char pthread_attr_setschedparam (); below.
39417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39418 <limits.h> exists even on freestanding compilers. */
39421 # include <limits.h>
39423 # include <assert.h>
39426 #undef pthread_attr_setschedparam
39428 /* Override any gcc2 internal prototype to avoid an error. */
39433 /* We use char because int might match the return type of a gcc2
39434 builtin and then its argument prototype would still apply. */
39435 char pthread_attr_setschedparam ();
39436 /* The GNU C library defines this for functions which it implements
39437 to always fail with ENOSYS. Some functions are actually named
39438 something starting with __ and the normal name is an alias. */
39439 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39442 char (*f) () = pthread_attr_setschedparam;
39451 return f != pthread_attr_setschedparam;
39456 rm -f conftest.
$ac_objext conftest
$ac_exeext
39457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39458 (eval $ac_link) 2>conftest.er1
39460 grep -v '^ *+' conftest.er1
>conftest.err
39462 cat conftest.err
>&5
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); } &&
39465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39467 (eval $ac_try) 2>&5
39469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39470 (exit $ac_status); }; } &&
39471 { ac_try
='test -s conftest$ac_exeext'
39472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39473 (eval $ac_try) 2>&5
39475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39476 (exit $ac_status); }; }; then
39477 ac_cv_func_pthread_attr_setschedparam
=yes
39479 echo "$as_me: failed program was:" >&5
39480 sed 's/^/| /' conftest.
$ac_ext >&5
39482 ac_cv_func_pthread_attr_setschedparam
=no
39484 rm -f conftest.err conftest.
$ac_objext \
39485 conftest
$ac_exeext conftest.
$ac_ext
39487 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39488 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39489 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39490 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39491 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39492 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39493 echo $ECHO_N "(cached) $ECHO_C" >&6
39495 cat >conftest.
$ac_ext <<_ACEOF
39498 cat confdefs.h
>>conftest.
$ac_ext
39499 cat >>conftest.
$ac_ext <<_ACEOF
39500 /* end confdefs.h. */
39501 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39503 #define sched_get_priority_max innocuous_sched_get_priority_max
39505 /* System header to define __stub macros and hopefully few prototypes,
39506 which can conflict with char sched_get_priority_max (); below.
39507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39508 <limits.h> exists even on freestanding compilers. */
39511 # include <limits.h>
39513 # include <assert.h>
39516 #undef sched_get_priority_max
39518 /* Override any gcc2 internal prototype to avoid an error. */
39523 /* We use char because int might match the return type of a gcc2
39524 builtin and then its argument prototype would still apply. */
39525 char sched_get_priority_max ();
39526 /* The GNU C library defines this for functions which it implements
39527 to always fail with ENOSYS. Some functions are actually named
39528 something starting with __ and the normal name is an alias. */
39529 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39532 char (*f) () = sched_get_priority_max;
39541 return f != sched_get_priority_max;
39546 rm -f conftest.
$ac_objext conftest
$ac_exeext
39547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39548 (eval $ac_link) 2>conftest.er1
39550 grep -v '^ *+' conftest.er1
>conftest.err
39552 cat conftest.err
>&5
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); } &&
39555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39557 (eval $ac_try) 2>&5
39559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39560 (exit $ac_status); }; } &&
39561 { ac_try
='test -s conftest$ac_exeext'
39562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39563 (eval $ac_try) 2>&5
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); }; }; then
39567 ac_cv_func_sched_get_priority_max
=yes
39569 echo "$as_me: failed program was:" >&5
39570 sed 's/^/| /' conftest.
$ac_ext >&5
39572 ac_cv_func_sched_get_priority_max
=no
39574 rm -f conftest.err conftest.
$ac_objext \
39575 conftest
$ac_exeext conftest.
$ac_ext
39577 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39578 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39579 if test $ac_cv_func_sched_get_priority_max = yes; then
39582 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39583 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39584 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39585 echo $ECHO_N "(cached) $ECHO_C" >&6
39587 ac_check_lib_save_LIBS
=$LIBS
39588 LIBS
="-lposix4 $LIBS"
39589 cat >conftest.
$ac_ext <<_ACEOF
39592 cat confdefs.h
>>conftest.
$ac_ext
39593 cat >>conftest.
$ac_ext <<_ACEOF
39594 /* end confdefs.h. */
39596 /* Override any gcc2 internal prototype to avoid an error. */
39600 /* We use char because int might match the return type of a gcc2
39601 builtin and then its argument prototype would still apply. */
39602 char sched_get_priority_max ();
39606 sched_get_priority_max ();
39611 rm -f conftest.
$ac_objext conftest
$ac_exeext
39612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39613 (eval $ac_link) 2>conftest.er1
39615 grep -v '^ *+' conftest.er1
>conftest.err
39617 cat conftest.err
>&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); } &&
39620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39622 (eval $ac_try) 2>&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); }; } &&
39626 { ac_try
='test -s conftest$ac_exeext'
39627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39628 (eval $ac_try) 2>&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); }; }; then
39632 ac_cv_lib_posix4_sched_get_priority_max
=yes
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.
$ac_ext >&5
39637 ac_cv_lib_posix4_sched_get_priority_max
=no
39639 rm -f conftest.err conftest.
$ac_objext \
39640 conftest
$ac_exeext conftest.
$ac_ext
39641 LIBS
=$ac_check_lib_save_LIBS
39643 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39644 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39645 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39648 POSIX4_LINK
=" -lposix4"
39662 if test "$HAVE_PRIOR_FUNCS" = 1; then
39663 cat >>confdefs.h
<<\_ACEOF
39664 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39668 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39669 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39672 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39673 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39674 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39675 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 cat >conftest.
$ac_ext <<_ACEOF
39680 cat confdefs.h
>>conftest.
$ac_ext
39681 cat >>conftest.
$ac_ext <<_ACEOF
39682 /* end confdefs.h. */
39683 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39685 #define pthread_cancel innocuous_pthread_cancel
39687 /* System header to define __stub macros and hopefully few prototypes,
39688 which can conflict with char pthread_cancel (); below.
39689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39690 <limits.h> exists even on freestanding compilers. */
39693 # include <limits.h>
39695 # include <assert.h>
39698 #undef pthread_cancel
39700 /* Override any gcc2 internal prototype to avoid an error. */
39705 /* We use char because int might match the return type of a gcc2
39706 builtin and then its argument prototype would still apply. */
39707 char pthread_cancel ();
39708 /* The GNU C library defines this for functions which it implements
39709 to always fail with ENOSYS. Some functions are actually named
39710 something starting with __ and the normal name is an alias. */
39711 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39714 char (*f) () = pthread_cancel;
39723 return f != pthread_cancel;
39728 rm -f conftest.
$ac_objext conftest
$ac_exeext
39729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39730 (eval $ac_link) 2>conftest.er1
39732 grep -v '^ *+' conftest.er1
>conftest.err
39734 cat conftest.err
>&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); } &&
39737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; } &&
39743 { ac_try
='test -s conftest$ac_exeext'
39744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39745 (eval $ac_try) 2>&5
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); }; }; then
39749 ac_cv_func_pthread_cancel
=yes
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.
$ac_ext >&5
39754 ac_cv_func_pthread_cancel
=no
39756 rm -f conftest.err conftest.
$ac_objext \
39757 conftest
$ac_exeext conftest.
$ac_ext
39759 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39760 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39761 if test $ac_cv_func_pthread_cancel = yes; then
39762 cat >>confdefs.h
<<\_ACEOF
39763 #define HAVE_PTHREAD_CANCEL 1
39767 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39768 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39772 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39773 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39774 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39777 cat >conftest.
$ac_ext <<_ACEOF
39780 cat confdefs.h
>>conftest.
$ac_ext
39781 cat >>conftest.
$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39783 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39785 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39787 /* System header to define __stub macros and hopefully few prototypes,
39788 which can conflict with char pthread_attr_setstacksize (); below.
39789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39790 <limits.h> exists even on freestanding compilers. */
39793 # include <limits.h>
39795 # include <assert.h>
39798 #undef pthread_attr_setstacksize
39800 /* Override any gcc2 internal prototype to avoid an error. */
39805 /* We use char because int might match the return type of a gcc2
39806 builtin and then its argument prototype would still apply. */
39807 char pthread_attr_setstacksize ();
39808 /* The GNU C library defines this for functions which it implements
39809 to always fail with ENOSYS. Some functions are actually named
39810 something starting with __ and the normal name is an alias. */
39811 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39814 char (*f) () = pthread_attr_setstacksize;
39823 return f != pthread_attr_setstacksize;
39828 rm -f conftest.
$ac_objext conftest
$ac_exeext
39829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39830 (eval $ac_link) 2>conftest.er1
39832 grep -v '^ *+' conftest.er1
>conftest.err
39834 cat conftest.err
>&5
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); } &&
39837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39839 (eval $ac_try) 2>&5
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); }; } &&
39843 { ac_try
='test -s conftest$ac_exeext'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; }; then
39849 ac_cv_func_pthread_attr_setstacksize
=yes
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.
$ac_ext >&5
39854 ac_cv_func_pthread_attr_setstacksize
=no
39856 rm -f conftest.err conftest.
$ac_objext \
39857 conftest
$ac_exeext conftest.
$ac_ext
39859 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39860 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39861 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39862 cat >>confdefs.h
<<\_ACEOF
39863 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39870 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39871 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39872 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39873 echo $ECHO_N "(cached) $ECHO_C" >&6
39876 cat >conftest.
$ac_ext <<_ACEOF
39879 cat confdefs.h
>>conftest.
$ac_ext
39880 cat >>conftest.
$ac_ext <<_ACEOF
39881 /* end confdefs.h. */
39882 #include <pthread.h>
39887 pthread_mutexattr_t attr;
39888 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39894 rm -f conftest.
$ac_objext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39896 (eval $ac_compile) 2>conftest.er1
39898 grep -v '^ *+' conftest.er1
>conftest.err
39900 cat conftest.err
>&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } &&
39903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39905 (eval $ac_try) 2>&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); }; } &&
39909 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
39915 wx_cv_type_pthread_mutexattr_t
=yes
39917 echo "$as_me: failed program was:" >&5
39918 sed 's/^/| /' conftest.
$ac_ext >&5
39920 wx_cv_type_pthread_mutexattr_t
=no
39923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39926 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39927 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39929 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39930 cat >>confdefs.h
<<\_ACEOF
39931 #define HAVE_PTHREAD_MUTEXATTR_T 1
39935 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39936 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39937 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39938 echo $ECHO_N "(cached) $ECHO_C" >&6
39941 cat >conftest.
$ac_ext <<_ACEOF
39944 cat confdefs.h
>>conftest.
$ac_ext
39945 cat >>conftest.
$ac_ext <<_ACEOF
39946 /* end confdefs.h. */
39947 #include <pthread.h>
39952 pthread_mutexattr_t attr;
39953 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39959 rm -f conftest.
$ac_objext
39960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39961 (eval $ac_compile) 2>conftest.er1
39963 grep -v '^ *+' conftest.er1
>conftest.err
39965 cat conftest.err
>&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); } &&
39968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39970 (eval $ac_try) 2>&5
39972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39973 (exit $ac_status); }; } &&
39974 { ac_try
='test -s conftest.$ac_objext'
39975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39976 (eval $ac_try) 2>&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); }; }; then
39980 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39982 echo "$as_me: failed program was:" >&5
39983 sed 's/^/| /' conftest.
$ac_ext >&5
39985 wx_cv_func_pthread_mutexattr_settype_decl
=no
39988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39991 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39992 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39993 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39994 cat >>confdefs.h
<<\_ACEOF
39995 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40000 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40001 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40002 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40003 echo $ECHO_N "(cached) $ECHO_C" >&6
40006 cat >conftest.
$ac_ext <<_ACEOF
40009 cat confdefs.h
>>conftest.
$ac_ext
40010 cat >>conftest.
$ac_ext <<_ACEOF
40011 /* end confdefs.h. */
40012 #include <pthread.h>
40017 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40023 rm -f conftest.
$ac_objext
40024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40025 (eval $ac_compile) 2>conftest.er1
40027 grep -v '^ *+' conftest.er1
>conftest.err
40029 cat conftest.err
>&5
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); } &&
40032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40034 (eval $ac_try) 2>&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); }; } &&
40038 { ac_try
='test -s conftest.$ac_objext'
40039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40040 (eval $ac_try) 2>&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); }; }; then
40045 wx_cv_type_pthread_rec_mutex_init
=yes
40048 echo "$as_me: failed program was:" >&5
40049 sed 's/^/| /' conftest.
$ac_ext >&5
40052 wx_cv_type_pthread_rec_mutex_init
=no
40056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40059 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40060 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40061 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40062 cat >>confdefs.h
<<\_ACEOF
40063 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40067 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40068 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40074 if test "$wxUSE_THREADS" = "yes" ; then
40077 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40078 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40079 if test "${wx_cv_cflags_mthread+set}" = set; then
40080 echo $ECHO_N "(cached) $ECHO_C" >&6
40083 CXXFLAGS_OLD
="$CXXFLAGS"
40084 CXXFLAGS
="-mthreads $CXXFLAGS"
40085 cat >conftest.
$ac_ext <<_ACEOF
40088 cat confdefs.h
>>conftest.
$ac_ext
40089 cat >>conftest.
$ac_ext <<_ACEOF
40090 /* end confdefs.h. */
40100 rm -f conftest.
$ac_objext
40101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40102 (eval $ac_compile) 2>conftest.er1
40104 grep -v '^ *+' conftest.er1
>conftest.err
40106 cat conftest.err
>&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); } &&
40109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40111 (eval $ac_try) 2>&5
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); }; } &&
40115 { ac_try
='test -s conftest.$ac_objext'
40116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40117 (eval $ac_try) 2>&5
40119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40120 (exit $ac_status); }; }; then
40121 wx_cv_cflags_mthread
=yes
40123 echo "$as_me: failed program was:" >&5
40124 sed 's/^/| /' conftest.
$ac_ext >&5
40126 wx_cv_cflags_mthread
=no
40129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40133 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40134 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40136 if test "$wx_cv_cflags_mthread" = "yes"; then
40137 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40138 LDFLAGS
="$LDFLAGS -mthreads"
40140 CXXFLAGS
="$CXXFLAGS_OLD"
40144 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40145 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40146 LDFLAGS
="$LDFLAGS -Zmt"
40152 echo "$as_me:$LINENO: checking for localtime_r" >&5
40153 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40154 if test "${ac_cv_func_localtime_r+set}" = set; then
40155 echo $ECHO_N "(cached) $ECHO_C" >&6
40157 cat >conftest.
$ac_ext <<_ACEOF
40160 cat confdefs.h
>>conftest.
$ac_ext
40161 cat >>conftest.
$ac_ext <<_ACEOF
40162 /* end confdefs.h. */
40163 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40165 #define localtime_r innocuous_localtime_r
40167 /* System header to define __stub macros and hopefully few prototypes,
40168 which can conflict with char localtime_r (); below.
40169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40170 <limits.h> exists even on freestanding compilers. */
40173 # include <limits.h>
40175 # include <assert.h>
40180 /* Override any gcc2 internal prototype to avoid an error. */
40185 /* We use char because int might match the return type of a gcc2
40186 builtin and then its argument prototype would still apply. */
40187 char localtime_r ();
40188 /* The GNU C library defines this for functions which it implements
40189 to always fail with ENOSYS. Some functions are actually named
40190 something starting with __ and the normal name is an alias. */
40191 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40194 char (*f) () = localtime_r;
40203 return f != localtime_r;
40208 rm -f conftest.
$ac_objext conftest
$ac_exeext
40209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40210 (eval $ac_link) 2>conftest.er1
40212 grep -v '^ *+' conftest.er1
>conftest.err
40214 cat conftest.err
>&5
40215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216 (exit $ac_status); } &&
40217 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40219 (eval $ac_try) 2>&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); }; } &&
40223 { ac_try
='test -s conftest$ac_exeext'
40224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225 (eval $ac_try) 2>&5
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); }; }; then
40229 ac_cv_func_localtime_r
=yes
40231 echo "$as_me: failed program was:" >&5
40232 sed 's/^/| /' conftest.
$ac_ext >&5
40234 ac_cv_func_localtime_r
=no
40236 rm -f conftest.err conftest.
$ac_objext \
40237 conftest
$ac_exeext conftest.
$ac_ext
40239 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40240 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40241 if test $ac_cv_func_localtime_r = yes; then
40242 cat >>confdefs.h
<<\_ACEOF
40243 #define HAVE_LOCALTIME_R 1
40248 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40249 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40250 if test "${ac_cv_func_gmtime_r+set}" = set; then
40251 echo $ECHO_N "(cached) $ECHO_C" >&6
40253 cat >conftest.
$ac_ext <<_ACEOF
40256 cat confdefs.h
>>conftest.
$ac_ext
40257 cat >>conftest.
$ac_ext <<_ACEOF
40258 /* end confdefs.h. */
40259 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40261 #define gmtime_r innocuous_gmtime_r
40263 /* System header to define __stub macros and hopefully few prototypes,
40264 which can conflict with char gmtime_r (); below.
40265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40266 <limits.h> exists even on freestanding compilers. */
40269 # include <limits.h>
40271 # include <assert.h>
40276 /* Override any gcc2 internal prototype to avoid an error. */
40281 /* We use char because int might match the return type of a gcc2
40282 builtin and then its argument prototype would still apply. */
40284 /* The GNU C library defines this for functions which it implements
40285 to always fail with ENOSYS. Some functions are actually named
40286 something starting with __ and the normal name is an alias. */
40287 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40290 char (*f) () = gmtime_r;
40299 return f != gmtime_r;
40304 rm -f conftest.
$ac_objext conftest
$ac_exeext
40305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40306 (eval $ac_link) 2>conftest.er1
40308 grep -v '^ *+' conftest.er1
>conftest.err
40310 cat conftest.err
>&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } &&
40313 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40315 (eval $ac_try) 2>&5
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); }; } &&
40319 { ac_try
='test -s conftest$ac_exeext'
40320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40321 (eval $ac_try) 2>&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); }; }; then
40325 ac_cv_func_gmtime_r
=yes
40327 echo "$as_me: failed program was:" >&5
40328 sed 's/^/| /' conftest.
$ac_ext >&5
40330 ac_cv_func_gmtime_r
=no
40332 rm -f conftest.err conftest.
$ac_objext \
40333 conftest
$ac_exeext conftest.
$ac_ext
40335 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40336 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40337 if test $ac_cv_func_gmtime_r = yes; then
40338 cat >>confdefs.h
<<\_ACEOF
40339 #define HAVE_GMTIME_R 1
40344 echo "$as_me:$LINENO: checking for readdir_r" >&5
40345 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40346 if test "${ac_cv_func_readdir_r+set}" = set; then
40347 echo $ECHO_N "(cached) $ECHO_C" >&6
40349 cat >conftest.
$ac_ext <<_ACEOF
40352 cat confdefs.h
>>conftest.
$ac_ext
40353 cat >>conftest.
$ac_ext <<_ACEOF
40354 /* end confdefs.h. */
40355 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40357 #define readdir_r innocuous_readdir_r
40359 /* System header to define __stub macros and hopefully few prototypes,
40360 which can conflict with char readdir_r (); below.
40361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40362 <limits.h> exists even on freestanding compilers. */
40365 # include <limits.h>
40367 # include <assert.h>
40372 /* Override any gcc2 internal prototype to avoid an error. */
40377 /* We use char because int might match the return type of a gcc2
40378 builtin and then its argument prototype would still apply. */
40380 /* The GNU C library defines this for functions which it implements
40381 to always fail with ENOSYS. Some functions are actually named
40382 something starting with __ and the normal name is an alias. */
40383 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40386 char (*f) () = readdir_r;
40395 return f != readdir_r;
40400 rm -f conftest.
$ac_objext conftest
$ac_exeext
40401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40402 (eval $ac_link) 2>conftest.er1
40404 grep -v '^ *+' conftest.er1
>conftest.err
40406 cat conftest.err
>&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } &&
40409 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411 (eval $ac_try) 2>&5
40413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414 (exit $ac_status); }; } &&
40415 { ac_try
='test -s conftest$ac_exeext'
40416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40417 (eval $ac_try) 2>&5
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); }; }; then
40421 ac_cv_func_readdir_r
=yes
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.
$ac_ext >&5
40426 ac_cv_func_readdir_r
=no
40428 rm -f conftest.err conftest.
$ac_objext \
40429 conftest
$ac_exeext conftest.
$ac_ext
40431 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40432 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40433 if test $ac_cv_func_readdir_r = yes; then
40434 cat >>confdefs.h
<<\_ACEOF
40435 #define HAVE_READDIR_R 1
40444 ac_cpp
='$CPP $CPPFLAGS'
40445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40449 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40450 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40452 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40453 echo $ECHO_N "(cached) $ECHO_C" >&6
40457 ################################################################
40459 ac_cv_func_which_gethostbyname_r
=unknown
40462 # ONE ARGUMENT (sanity check)
40465 # This should fail, as there is no variant of gethostbyname_r() that takes
40466 # a single argument. If it actually compiles, then we can assume that
40467 # netdb.h is not declaring the function, and the compiler is thereby
40468 # assuming an implicit prototype. In which case, we're out of luck.
40470 cat >conftest.
$ac_ext <<_ACEOF
40473 cat confdefs.h
>>conftest.
$ac_ext
40474 cat >>conftest.
$ac_ext <<_ACEOF
40475 /* end confdefs.h. */
40481 char *name = "www.gnu.org";
40482 (void)gethostbyname_r(name) /* ; */
40488 rm -f conftest.
$ac_objext
40489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40490 (eval $ac_compile) 2>conftest.er1
40492 grep -v '^ *+' conftest.er1
>conftest.err
40494 cat conftest.err
>&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); } &&
40497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40499 (eval $ac_try) 2>&5
40501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40502 (exit $ac_status); }; } &&
40503 { ac_try
='test -s conftest.$ac_objext'
40504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40505 (eval $ac_try) 2>&5
40507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40508 (exit $ac_status); }; }; then
40509 ac_cv_func_which_gethostbyname_r
=no
40511 echo "$as_me: failed program was:" >&5
40512 sed 's/^/| /' conftest.
$ac_ext >&5
40515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40522 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40524 cat >conftest.
$ac_ext <<_ACEOF
40527 cat confdefs.h
>>conftest.
$ac_ext
40528 cat >>conftest.
$ac_ext <<_ACEOF
40529 /* end confdefs.h. */
40535 char *name = "www.gnu.org";
40536 struct hostent ret, *retp;
40540 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40546 rm -f conftest.
$ac_objext
40547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40548 (eval $ac_compile) 2>conftest.er1
40550 grep -v '^ *+' conftest.er1
>conftest.err
40552 cat conftest.err
>&5
40553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554 (exit $ac_status); } &&
40555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40557 (eval $ac_try) 2>&5
40559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40560 (exit $ac_status); }; } &&
40561 { ac_try
='test -s conftest.$ac_objext'
40562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40563 (eval $ac_try) 2>&5
40565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40566 (exit $ac_status); }; }; then
40567 ac_cv_func_which_gethostbyname_r
=six
40569 echo "$as_me: failed program was:" >&5
40570 sed 's/^/| /' conftest.
$ac_ext >&5
40573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40582 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40584 cat >conftest.
$ac_ext <<_ACEOF
40587 cat confdefs.h
>>conftest.
$ac_ext
40588 cat >>conftest.
$ac_ext <<_ACEOF
40589 /* end confdefs.h. */
40595 char *name = "www.gnu.org";
40596 struct hostent ret;
40600 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40606 rm -f conftest.
$ac_objext
40607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40608 (eval $ac_compile) 2>conftest.er1
40610 grep -v '^ *+' conftest.er1
>conftest.err
40612 cat conftest.err
>&5
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); } &&
40615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40617 (eval $ac_try) 2>&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); }; } &&
40621 { ac_try
='test -s conftest.$ac_objext'
40622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40623 (eval $ac_try) 2>&5
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); }; }; then
40627 ac_cv_func_which_gethostbyname_r
=five
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.
$ac_ext >&5
40633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40639 # (e.g. AIX, HP-UX, Tru64)
40642 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40644 cat >conftest.
$ac_ext <<_ACEOF
40647 cat confdefs.h
>>conftest.
$ac_ext
40648 cat >>conftest.
$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40655 char *name = "www.gnu.org";
40656 struct hostent ret;
40657 struct hostent_data data;
40658 (void)gethostbyname_r(name, &ret, &data) /* ; */
40664 rm -f conftest.
$ac_objext
40665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40666 (eval $ac_compile) 2>conftest.er1
40668 grep -v '^ *+' conftest.er1
>conftest.err
40670 cat conftest.err
>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); } &&
40673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; } &&
40679 { ac_try
='test -s conftest.$ac_objext'
40680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40681 (eval $ac_try) 2>&5
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); }; }; then
40685 ac_cv_func_which_gethostbyname_r
=three
40687 echo "$as_me: failed program was:" >&5
40688 sed 's/^/| /' conftest.
$ac_ext >&5
40691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40695 ################################################################
40700 case "$ac_cv_func_which_gethostbyname_r" in
40702 echo "$as_me:$LINENO: result: three" >&5
40703 echo "${ECHO_T}three" >&6
40704 cat >>confdefs.h
<<\_ACEOF
40705 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40711 echo "$as_me:$LINENO: result: five" >&5
40712 echo "${ECHO_T}five" >&6
40713 cat >>confdefs.h
<<\_ACEOF
40714 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40720 echo "$as_me:$LINENO: result: six" >&5
40721 echo "${ECHO_T}six" >&6
40722 cat >>confdefs.h
<<\_ACEOF
40723 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40729 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40730 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40734 echo "$as_me:$LINENO: result: can't tell" >&5
40735 echo "${ECHO_T}can't tell" >&6
40739 { { echo "$as_me:$LINENO: error: internal error" >&5
40740 echo "$as_me: error: internal error" >&2;}
40741 { (exit 1); exit 1; }; }
40746 ac_cpp
='$CXXCPP $CPPFLAGS'
40747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40753 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40754 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40755 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40756 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40757 if test "${ac_cv_func_gethostbyname+set}" = set; then
40758 echo $ECHO_N "(cached) $ECHO_C" >&6
40760 cat >conftest.
$ac_ext <<_ACEOF
40763 cat confdefs.h
>>conftest.
$ac_ext
40764 cat >>conftest.
$ac_ext <<_ACEOF
40765 /* end confdefs.h. */
40766 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40768 #define gethostbyname innocuous_gethostbyname
40770 /* System header to define __stub macros and hopefully few prototypes,
40771 which can conflict with char gethostbyname (); below.
40772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40773 <limits.h> exists even on freestanding compilers. */
40776 # include <limits.h>
40778 # include <assert.h>
40781 #undef gethostbyname
40783 /* Override any gcc2 internal prototype to avoid an error. */
40788 /* We use char because int might match the return type of a gcc2
40789 builtin and then its argument prototype would still apply. */
40790 char gethostbyname ();
40791 /* The GNU C library defines this for functions which it implements
40792 to always fail with ENOSYS. Some functions are actually named
40793 something starting with __ and the normal name is an alias. */
40794 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40797 char (*f) () = gethostbyname;
40806 return f != gethostbyname;
40811 rm -f conftest.
$ac_objext conftest
$ac_exeext
40812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40813 (eval $ac_link) 2>conftest.er1
40815 grep -v '^ *+' conftest.er1
>conftest.err
40817 cat conftest.err
>&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } &&
40820 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40822 (eval $ac_try) 2>&5
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); }; } &&
40826 { ac_try
='test -s conftest$ac_exeext'
40827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40828 (eval $ac_try) 2>&5
40830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40831 (exit $ac_status); }; }; then
40832 ac_cv_func_gethostbyname
=yes
40834 echo "$as_me: failed program was:" >&5
40835 sed 's/^/| /' conftest.
$ac_ext >&5
40837 ac_cv_func_gethostbyname
=no
40839 rm -f conftest.err conftest.
$ac_objext \
40840 conftest
$ac_exeext conftest.
$ac_ext
40842 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40843 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40844 if test $ac_cv_func_gethostbyname = yes; then
40845 cat >>confdefs.h
<<\_ACEOF
40846 #define HAVE_GETHOSTBYNAME 1
40853 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40854 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
40855 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40856 echo $ECHO_N "(cached) $ECHO_C" >&6
40859 cat >conftest.
$ac_ext <<_ACEOF
40862 cat confdefs.h
>>conftest.
$ac_ext
40863 cat >>conftest.
$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40872 struct servent *se, *res;
40875 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40881 rm -f conftest.
$ac_objext
40882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40883 (eval $ac_compile) 2>conftest.er1
40885 grep -v '^ *+' conftest.er1
>conftest.err
40887 cat conftest.err
>&5
40888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40889 (exit $ac_status); } &&
40890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40892 (eval $ac_try) 2>&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); }; } &&
40896 { ac_try
='test -s conftest.$ac_objext'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; }; then
40902 ac_cv_func_which_getservbyname_r
=six
40904 echo "$as_me: failed program was:" >&5
40905 sed 's/^/| /' conftest.
$ac_ext >&5
40908 cat >conftest.
$ac_ext <<_ACEOF
40911 cat confdefs.h
>>conftest.
$ac_ext
40912 cat >>conftest.
$ac_ext <<_ACEOF
40913 /* end confdefs.h. */
40921 struct servent *se;
40924 (void) getservbyname_r(name, proto, se, buffer, buflen)
40930 rm -f conftest.
$ac_objext
40931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40932 (eval $ac_compile) 2>conftest.er1
40934 grep -v '^ *+' conftest.er1
>conftest.err
40936 cat conftest.err
>&5
40937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40938 (exit $ac_status); } &&
40939 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40941 (eval $ac_try) 2>&5
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); }; } &&
40945 { ac_try
='test -s conftest.$ac_objext'
40946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40947 (eval $ac_try) 2>&5
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); }; }; then
40951 ac_cv_func_which_getservbyname_r
=five
40953 echo "$as_me: failed program was:" >&5
40954 sed 's/^/| /' conftest.
$ac_ext >&5
40957 cat >conftest.
$ac_ext <<_ACEOF
40960 cat confdefs.h
>>conftest.
$ac_ext
40961 cat >>conftest.
$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40970 struct servent *se;
40971 struct servent_data data;
40972 (void) getservbyname_r(name, proto, se, &data);
40978 rm -f conftest.
$ac_objext
40979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40980 (eval $ac_compile) 2>conftest.er1
40982 grep -v '^ *+' conftest.er1
>conftest.err
40984 cat conftest.err
>&5
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); } &&
40987 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40989 (eval $ac_try) 2>&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); }; } &&
40993 { ac_try
='test -s conftest.$ac_objext'
40994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40995 (eval $ac_try) 2>&5
40997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998 (exit $ac_status); }; }; then
40999 ac_cv_func_which_getservbyname_r
=four
41001 echo "$as_me: failed program was:" >&5
41002 sed 's/^/| /' conftest.
$ac_ext >&5
41004 ac_cv_func_which_getservbyname_r
=no
41007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41019 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41020 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41022 if test $ac_cv_func_which_getservbyname_r = six
; then
41023 cat >>confdefs.h
<<\_ACEOF
41024 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41027 elif test $ac_cv_func_which_getservbyname_r = five
; then
41028 cat >>confdefs.h
<<\_ACEOF
41029 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41032 elif test $ac_cv_func_which_getservbyname_r = four
; then
41033 cat >>confdefs.h
<<\_ACEOF
41034 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41040 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41041 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41043 for ac_func
in getservbyname
41045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41046 echo "$as_me:$LINENO: checking for $ac_func" >&5
41047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41048 if eval "test \"\${$as_ac_var+set}\" = set"; then
41049 echo $ECHO_N "(cached) $ECHO_C" >&6
41051 cat >conftest.
$ac_ext <<_ACEOF
41054 cat confdefs.h
>>conftest.
$ac_ext
41055 cat >>conftest.
$ac_ext <<_ACEOF
41056 /* end confdefs.h. */
41057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41059 #define $ac_func innocuous_$ac_func
41061 /* System header to define __stub macros and hopefully few prototypes,
41062 which can conflict with char $ac_func (); below.
41063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41064 <limits.h> exists even on freestanding compilers. */
41067 # include <limits.h>
41069 # include <assert.h>
41074 /* Override any gcc2 internal prototype to avoid an error. */
41079 /* We use char because int might match the return type of a gcc2
41080 builtin and then its argument prototype would still apply. */
41082 /* The GNU C library defines this for functions which it implements
41083 to always fail with ENOSYS. Some functions are actually named
41084 something starting with __ and the normal name is an alias. */
41085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41088 char (*f) () = $ac_func;
41097 return f != $ac_func;
41102 rm -f conftest.
$ac_objext conftest
$ac_exeext
41103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41104 (eval $ac_link) 2>conftest.er1
41106 grep -v '^ *+' conftest.er1
>conftest.err
41108 cat conftest.err
>&5
41109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41110 (exit $ac_status); } &&
41111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41113 (eval $ac_try) 2>&5
41115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116 (exit $ac_status); }; } &&
41117 { ac_try
='test -s conftest$ac_exeext'
41118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41119 (eval $ac_try) 2>&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); }; }; then
41123 eval "$as_ac_var=yes"
41125 echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.
$ac_ext >&5
41128 eval "$as_ac_var=no"
41130 rm -f conftest.err conftest.
$ac_objext \
41131 conftest
$ac_exeext conftest.
$ac_ext
41133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41135 if test `eval echo '${'$as_ac_var'}'` = yes; then
41136 cat >>confdefs.h
<<_ACEOF
41137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41139 cat >>confdefs.h
<<\_ACEOF
41140 #define HAVE_GETSERVBYNAME 1
41148 if test "$wxUSE_THREADS" = "yes"; then
41149 cat >>confdefs.h
<<\_ACEOF
41150 #define wxUSE_THREADS 1
41154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41156 if test "$wx_cv_func_strtok_r" = "yes"; then
41157 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41158 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41159 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41160 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41161 echo "$as_me:$LINENO: result: yes" >&5
41162 echo "${ECHO_T}yes" >&6
41164 echo "$as_me:$LINENO: result: no" >&5
41165 echo "${ECHO_T}no" >&6
41170 if test "$WXGTK20" = 1 ; then
41171 cat >>confdefs.h
<<_ACEOF
41172 #define __WXGTK20__ $WXGTK20
41178 if test "$WXGTK12" = 1 ; then
41179 cat >>confdefs.h
<<_ACEOF
41180 #define __WXGTK12__ $WXGTK12
41185 if test "$WXGTK127" = 1 ; then
41186 cat >>confdefs.h
<<_ACEOF
41187 #define __WXGTK127__ $WXGTK127
41192 if test "$WXGPE" = 1 ; then
41193 cat >>confdefs.h
<<_ACEOF
41194 #define __WXGPE__ $WXGPE
41200 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41205 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41206 wxUSE_DEBUG_INFO
=yes
41207 if test "$GCC" = yes; then
41208 DEBUG_CFLAGS
="-ggdb"
41212 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41213 cat >>confdefs.h
<<\_ACEOF
41217 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41219 if test "$wxUSE_GTK" = 1 ; then
41220 if test "x$wxGTK_VERSION" = "x1" ; then
41221 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41226 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41227 cat >>confdefs.h
<<\_ACEOF
41228 #define wxUSE_MEMORY_TRACING 1
41231 cat >>confdefs.h
<<\_ACEOF
41232 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41235 cat >>confdefs.h
<<\_ACEOF
41236 #define wxUSE_DEBUG_NEW_ALWAYS 1
41239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41242 if test "$wxUSE_DMALLOC" = "yes" ; then
41243 DMALLOC_LIBS
="-ldmallocthcxx"
41247 if test "$wxUSE_PROFILE" = "yes" ; then
41248 PROFILE_FLAGS
=" -pg"
41251 if test "$GCC" = "yes" ; then
41252 if test "$wxUSE_NO_RTTI" = "yes" ; then
41253 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41255 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41256 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41258 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41259 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41264 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41267 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41273 if test "$wxUSE_OPTIMISE" = "no" ; then
41274 if test "$GCC" = yes ; then
41275 OPTIMISE_CFLAGS
="-O0"
41278 if test "$GCC" = yes ; then
41280 *-pc-os2_emx | *-pc-os2-emx )
41281 OPTIMISE_CFLAGS
="-O2"
41284 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41288 OPTIMISE_CFLAGS
="-O"
41293 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41294 cat >>confdefs.h
<<\_ACEOF
41295 #define WXWIN_COMPATIBILITY_2_4 1
41299 WXWIN_COMPATIBILITY_2_6
="yes"
41302 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41303 cat >>confdefs.h
<<\_ACEOF
41304 #define WXWIN_COMPATIBILITY_2_6 1
41310 if test "$wxUSE_GUI" = "yes"; then
41311 cat >>confdefs.h
<<\_ACEOF
41312 #define wxUSE_GUI 1
41319 if test "$wxUSE_UNIX" = "yes"; then
41320 cat >>confdefs.h
<<\_ACEOF
41321 #define wxUSE_UNIX 1
41327 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41331 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41332 if test "$USE_DARWIN" = 1; then
41334 elif test "$USE_DOS" = 1; then
41338 for ac_func
in dlopen
41340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41341 echo "$as_me:$LINENO: checking for $ac_func" >&5
41342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41343 if eval "test \"\${$as_ac_var+set}\" = set"; then
41344 echo $ECHO_N "(cached) $ECHO_C" >&6
41346 cat >conftest.
$ac_ext <<_ACEOF
41349 cat confdefs.h
>>conftest.
$ac_ext
41350 cat >>conftest.
$ac_ext <<_ACEOF
41351 /* end confdefs.h. */
41352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41354 #define $ac_func innocuous_$ac_func
41356 /* System header to define __stub macros and hopefully few prototypes,
41357 which can conflict with char $ac_func (); below.
41358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41359 <limits.h> exists even on freestanding compilers. */
41362 # include <limits.h>
41364 # include <assert.h>
41369 /* Override any gcc2 internal prototype to avoid an error. */
41374 /* We use char because int might match the return type of a gcc2
41375 builtin and then its argument prototype would still apply. */
41377 /* The GNU C library defines this for functions which it implements
41378 to always fail with ENOSYS. Some functions are actually named
41379 something starting with __ and the normal name is an alias. */
41380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41383 char (*f) () = $ac_func;
41392 return f != $ac_func;
41397 rm -f conftest.
$ac_objext conftest
$ac_exeext
41398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41399 (eval $ac_link) 2>conftest.er1
41401 grep -v '^ *+' conftest.er1
>conftest.err
41403 cat conftest.err
>&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } &&
41406 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41408 (eval $ac_try) 2>&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); }; } &&
41412 { ac_try
='test -s conftest$ac_exeext'
41413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41414 (eval $ac_try) 2>&5
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); }; }; then
41418 eval "$as_ac_var=yes"
41420 echo "$as_me: failed program was:" >&5
41421 sed 's/^/| /' conftest.
$ac_ext >&5
41423 eval "$as_ac_var=no"
41425 rm -f conftest.err conftest.
$ac_objext \
41426 conftest
$ac_exeext conftest.
$ac_ext
41428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41430 if test `eval echo '${'$as_ac_var'}'` = yes; then
41431 cat >>confdefs.h
<<_ACEOF
41432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41435 cat >>confdefs.h
<<\_ACEOF
41436 #define HAVE_DLOPEN 1
41443 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41444 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41445 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41446 echo $ECHO_N "(cached) $ECHO_C" >&6
41448 ac_check_lib_save_LIBS
=$LIBS
41450 cat >conftest.
$ac_ext <<_ACEOF
41453 cat confdefs.h
>>conftest.
$ac_ext
41454 cat >>conftest.
$ac_ext <<_ACEOF
41455 /* end confdefs.h. */
41457 /* Override any gcc2 internal prototype to avoid an error. */
41461 /* We use char because int might match the return type of a gcc2
41462 builtin and then its argument prototype would still apply. */
41472 rm -f conftest.
$ac_objext conftest
$ac_exeext
41473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41474 (eval $ac_link) 2>conftest.er1
41476 grep -v '^ *+' conftest.er1
>conftest.err
41478 cat conftest.err
>&5
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); } &&
41481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41483 (eval $ac_try) 2>&5
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); }; } &&
41487 { ac_try
='test -s conftest$ac_exeext'
41488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41489 (eval $ac_try) 2>&5
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); }; }; then
41493 ac_cv_lib_dl_dlopen
=yes
41495 echo "$as_me: failed program was:" >&5
41496 sed 's/^/| /' conftest.
$ac_ext >&5
41498 ac_cv_lib_dl_dlopen
=no
41500 rm -f conftest.err conftest.
$ac_objext \
41501 conftest
$ac_exeext conftest.
$ac_ext
41502 LIBS
=$ac_check_lib_save_LIBS
41504 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41505 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41506 if test $ac_cv_lib_dl_dlopen = yes; then
41508 cat >>confdefs.h
<<\_ACEOF
41509 #define HAVE_DLOPEN 1
41513 DL_LINK
=" -ldl$DL_LINK"
41518 for ac_func
in shl_load
41520 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41521 echo "$as_me:$LINENO: checking for $ac_func" >&5
41522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41523 if eval "test \"\${$as_ac_var+set}\" = set"; then
41524 echo $ECHO_N "(cached) $ECHO_C" >&6
41526 cat >conftest.
$ac_ext <<_ACEOF
41529 cat confdefs.h
>>conftest.
$ac_ext
41530 cat >>conftest.
$ac_ext <<_ACEOF
41531 /* end confdefs.h. */
41532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41534 #define $ac_func innocuous_$ac_func
41536 /* System header to define __stub macros and hopefully few prototypes,
41537 which can conflict with char $ac_func (); below.
41538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41539 <limits.h> exists even on freestanding compilers. */
41542 # include <limits.h>
41544 # include <assert.h>
41549 /* Override any gcc2 internal prototype to avoid an error. */
41554 /* We use char because int might match the return type of a gcc2
41555 builtin and then its argument prototype would still apply. */
41557 /* The GNU C library defines this for functions which it implements
41558 to always fail with ENOSYS. Some functions are actually named
41559 something starting with __ and the normal name is an alias. */
41560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41563 char (*f) () = $ac_func;
41572 return f != $ac_func;
41577 rm -f conftest.
$ac_objext conftest
$ac_exeext
41578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41579 (eval $ac_link) 2>conftest.er1
41581 grep -v '^ *+' conftest.er1
>conftest.err
41583 cat conftest.err
>&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); } &&
41586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41588 (eval $ac_try) 2>&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); }; } &&
41592 { ac_try
='test -s conftest$ac_exeext'
41593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41594 (eval $ac_try) 2>&5
41596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41597 (exit $ac_status); }; }; then
41598 eval "$as_ac_var=yes"
41600 echo "$as_me: failed program was:" >&5
41601 sed 's/^/| /' conftest.
$ac_ext >&5
41603 eval "$as_ac_var=no"
41605 rm -f conftest.err conftest.
$ac_objext \
41606 conftest
$ac_exeext conftest.
$ac_ext
41608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41610 if test `eval echo '${'$as_ac_var'}'` = yes; then
41611 cat >>confdefs.h
<<_ACEOF
41612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41615 cat >>confdefs.h
<<\_ACEOF
41616 #define HAVE_SHL_LOAD 1
41623 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41624 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41625 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41626 echo $ECHO_N "(cached) $ECHO_C" >&6
41628 ac_check_lib_save_LIBS
=$LIBS
41629 LIBS
="-lshl_load $LIBS"
41630 cat >conftest.
$ac_ext <<_ACEOF
41633 cat confdefs.h
>>conftest.
$ac_ext
41634 cat >>conftest.
$ac_ext <<_ACEOF
41635 /* end confdefs.h. */
41637 /* Override any gcc2 internal prototype to avoid an error. */
41641 /* We use char because int might match the return type of a gcc2
41642 builtin and then its argument prototype would still apply. */
41652 rm -f conftest.
$ac_objext conftest
$ac_exeext
41653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41654 (eval $ac_link) 2>conftest.er1
41656 grep -v '^ *+' conftest.er1
>conftest.err
41658 cat conftest.err
>&5
41659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41660 (exit $ac_status); } &&
41661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41663 (eval $ac_try) 2>&5
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); }; } &&
41667 { ac_try
='test -s conftest$ac_exeext'
41668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669 (eval $ac_try) 2>&5
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); }; }; then
41673 ac_cv_lib_shl_load_dld
=yes
41675 echo "$as_me: failed program was:" >&5
41676 sed 's/^/| /' conftest.
$ac_ext >&5
41678 ac_cv_lib_shl_load_dld
=no
41680 rm -f conftest.err conftest.
$ac_objext \
41681 conftest
$ac_exeext conftest.
$ac_ext
41682 LIBS
=$ac_check_lib_save_LIBS
41684 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41685 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41686 if test $ac_cv_lib_shl_load_dld = yes; then
41689 DL_LINK
=" -ldld$DL_LINK"
41705 if test "$HAVE_DL_FUNCS" = 1; then
41707 for ac_func
in dlerror
41709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41710 echo "$as_me:$LINENO: checking for $ac_func" >&5
41711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41712 if eval "test \"\${$as_ac_var+set}\" = set"; then
41713 echo $ECHO_N "(cached) $ECHO_C" >&6
41715 cat >conftest.
$ac_ext <<_ACEOF
41718 cat confdefs.h
>>conftest.
$ac_ext
41719 cat >>conftest.
$ac_ext <<_ACEOF
41720 /* end confdefs.h. */
41721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41723 #define $ac_func innocuous_$ac_func
41725 /* System header to define __stub macros and hopefully few prototypes,
41726 which can conflict with char $ac_func (); below.
41727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41728 <limits.h> exists even on freestanding compilers. */
41731 # include <limits.h>
41733 # include <assert.h>
41738 /* Override any gcc2 internal prototype to avoid an error. */
41743 /* We use char because int might match the return type of a gcc2
41744 builtin and then its argument prototype would still apply. */
41746 /* The GNU C library defines this for functions which it implements
41747 to always fail with ENOSYS. Some functions are actually named
41748 something starting with __ and the normal name is an alias. */
41749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41752 char (*f) () = $ac_func;
41761 return f != $ac_func;
41766 rm -f conftest.
$ac_objext conftest
$ac_exeext
41767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41768 (eval $ac_link) 2>conftest.er1
41770 grep -v '^ *+' conftest.er1
>conftest.err
41772 cat conftest.err
>&5
41773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41774 (exit $ac_status); } &&
41775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41777 (eval $ac_try) 2>&5
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); }; } &&
41781 { ac_try
='test -s conftest$ac_exeext'
41782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41783 (eval $ac_try) 2>&5
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); }; }; then
41787 eval "$as_ac_var=yes"
41789 echo "$as_me: failed program was:" >&5
41790 sed 's/^/| /' conftest.
$ac_ext >&5
41792 eval "$as_ac_var=no"
41794 rm -f conftest.err conftest.
$ac_objext \
41795 conftest
$ac_exeext conftest.
$ac_ext
41797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41799 if test `eval echo '${'$as_ac_var'}'` = yes; then
41800 cat >>confdefs.h
<<_ACEOF
41801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41803 cat >>confdefs.h
<<\_ACEOF
41804 #define HAVE_DLERROR 1
41809 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41810 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41811 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41812 echo $ECHO_N "(cached) $ECHO_C" >&6
41814 ac_check_lib_save_LIBS
=$LIBS
41816 cat >conftest.
$ac_ext <<_ACEOF
41819 cat confdefs.h
>>conftest.
$ac_ext
41820 cat >>conftest.
$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41823 /* Override any gcc2 internal prototype to avoid an error. */
41827 /* We use char because int might match the return type of a gcc2
41828 builtin and then its argument prototype would still apply. */
41838 rm -f conftest.
$ac_objext conftest
$ac_exeext
41839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41840 (eval $ac_link) 2>conftest.er1
41842 grep -v '^ *+' conftest.er1
>conftest.err
41844 cat conftest.err
>&5
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); } &&
41847 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; } &&
41853 { ac_try
='test -s conftest$ac_exeext'
41854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41855 (eval $ac_try) 2>&5
41857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41858 (exit $ac_status); }; }; then
41859 ac_cv_lib_dl_dlerror
=yes
41861 echo "$as_me: failed program was:" >&5
41862 sed 's/^/| /' conftest.
$ac_ext >&5
41864 ac_cv_lib_dl_dlerror
=no
41866 rm -f conftest.err conftest.
$ac_objext \
41867 conftest
$ac_exeext conftest.
$ac_ext
41868 LIBS
=$ac_check_lib_save_LIBS
41870 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41871 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41872 if test $ac_cv_lib_dl_dlerror = yes; then
41873 cat >>confdefs.h
<<\_ACEOF
41874 #define HAVE_DLERROR 1
41887 if test "$HAVE_DL_FUNCS" = 0; then
41888 if test "$HAVE_SHL_FUNCS" = 0; then
41889 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41890 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41891 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41892 wxUSE_DYNAMIC_LOADER
=no
41893 wxUSE_DYNLIB_CLASS
=no
41895 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41896 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41903 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41904 cat >>confdefs.h
<<\_ACEOF
41905 #define wxUSE_DYNAMIC_LOADER 1
41909 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41910 cat >>confdefs.h
<<\_ACEOF
41911 #define wxUSE_DYNLIB_CLASS 1
41918 if test "$wxUSE_PLUGINS" = "yes" ; then
41919 if test "$wxUSE_SHARED" = "no" ; then
41920 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41921 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41924 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41925 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41926 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41929 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41930 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41931 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41934 if test "$wxUSE_PLUGINS" = "yes" ; then
41935 cat >>confdefs.h
<<\_ACEOF
41936 #define wxUSE_PLUGINS 1
41943 if test "$wxUSE_STL" = "yes"; then
41944 cat >>confdefs.h
<<\_ACEOF
41945 #define wxUSE_STL 1
41950 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41951 cat >>confdefs.h
<<\_ACEOF
41952 #define wxUSE_APPLE_IEEE 1
41957 if test "$wxUSE_TIMER" = "yes"; then
41958 cat >>confdefs.h
<<\_ACEOF
41959 #define wxUSE_TIMER 1
41964 if test "$USE_UNIX" = "1" ; then
41965 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41966 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41967 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41968 echo $ECHO_N "(cached) $ECHO_C" >&6
41971 cat >conftest.
$ac_ext <<_ACEOF
41974 cat confdefs.h
>>conftest.
$ac_ext
41975 cat >>conftest.
$ac_ext <<_ACEOF
41976 /* end confdefs.h. */
41978 #include <sys/ioctl.h>
41979 #include <sys/soundcard.h>
41985 ioctl(0, SNDCTL_DSP_SPEED, 0);
41991 rm -f conftest.
$ac_objext conftest
$ac_exeext
41992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41993 (eval $ac_link) 2>conftest.er1
41995 grep -v '^ *+' conftest.er1
>conftest.err
41997 cat conftest.err
>&5
41998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999 (exit $ac_status); } &&
42000 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42002 (eval $ac_try) 2>&5
42004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005 (exit $ac_status); }; } &&
42006 { ac_try
='test -s conftest$ac_exeext'
42007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42008 (eval $ac_try) 2>&5
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); }; }; then
42012 ac_cv_header_sys_soundcard
=yes
42014 echo "$as_me: failed program was:" >&5
42015 sed 's/^/| /' conftest.
$ac_ext >&5
42019 LIBS
="$saveLibs -lossaudio"
42020 cat >conftest.
$ac_ext <<_ACEOF
42023 cat confdefs.h
>>conftest.
$ac_ext
42024 cat >>conftest.
$ac_ext <<_ACEOF
42025 /* end confdefs.h. */
42027 #include <sys/ioctl.h>
42028 #include <sys/soundcard.h>
42034 ioctl(0, SNDCTL_DSP_SPEED, 0);
42040 rm -f conftest.
$ac_objext conftest
$ac_exeext
42041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42042 (eval $ac_link) 2>conftest.er1
42044 grep -v '^ *+' conftest.er1
>conftest.err
42046 cat conftest.err
>&5
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); } &&
42049 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42051 (eval $ac_try) 2>&5
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); }; } &&
42055 { ac_try
='test -s conftest$ac_exeext'
42056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42057 (eval $ac_try) 2>&5
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); }; }; then
42061 ac_cv_header_sys_soundcard
=yes
42063 echo "$as_me: failed program was:" >&5
42064 sed 's/^/| /' conftest.
$ac_ext >&5
42068 ac_cv_header_sys_soundcard
=no
42072 rm -f conftest.err conftest.
$ac_objext \
42073 conftest
$ac_exeext conftest.
$ac_ext
42077 rm -f conftest.err conftest.
$ac_objext \
42078 conftest
$ac_exeext conftest.
$ac_ext
42081 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42082 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42084 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42085 cat >>confdefs.h
<<\_ACEOF
42086 #define HAVE_SYS_SOUNDCARD_H 1
42090 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42094 if test "$wxUSE_SOUND" = "yes"; then
42095 if test "$USE_UNIX" = "1" ; then
42096 if test "$wxUSE_LIBSDL" != "no"; then
42098 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42099 if test "${with_sdl_prefix+set}" = set; then
42100 withval
="$with_sdl_prefix"
42101 sdl_prefix
="$withval"
42106 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42107 if test "${with_sdl_exec_prefix+set}" = set; then
42108 withval
="$with_sdl_exec_prefix"
42109 sdl_exec_prefix
="$withval"
42113 # Check whether --enable-sdltest or --disable-sdltest was given.
42114 if test "${enable_sdltest+set}" = set; then
42115 enableval
="$enable_sdltest"
42121 if test x
$sdl_exec_prefix != x
; then
42122 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42123 if test x
${SDL_CONFIG+set} != xset
; then
42124 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42127 if test x
$sdl_prefix != x
; then
42128 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42129 if test x
${SDL_CONFIG+set} != xset
; then
42130 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42134 if test "x$prefix" != xNONE
; then
42135 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42137 # Extract the first word of "sdl-config", so it can be a program name with args.
42138 set dummy sdl
-config; ac_word
=$2
42139 echo "$as_me:$LINENO: checking for $ac_word" >&5
42140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42141 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42142 echo $ECHO_N "(cached) $ECHO_C" >&6
42144 case $SDL_CONFIG in
42146 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42150 for as_dir
in $PATH
42153 test -z "$as_dir" && as_dir
=.
42154 for ac_exec_ext
in '' $ac_executable_extensions; do
42155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42156 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42163 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42167 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42169 if test -n "$SDL_CONFIG"; then
42170 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42171 echo "${ECHO_T}$SDL_CONFIG" >&6
42173 echo "$as_me:$LINENO: result: no" >&5
42174 echo "${ECHO_T}no" >&6
42177 min_sdl_version
=1.2.0
42178 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42179 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42181 if test "$SDL_CONFIG" = "no" ; then
42184 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42185 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42187 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42189 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42191 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42193 if test "x$enable_sdltest" = "xyes" ; then
42194 ac_save_CFLAGS
="$CFLAGS"
42195 ac_save_CXXFLAGS
="$CXXFLAGS"
42196 ac_save_LIBS
="$LIBS"
42197 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42198 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42199 LIBS
="$LIBS $SDL_LIBS"
42201 if test "$cross_compiling" = yes; then
42202 echo $ac_n "cross compiling; assumed OK... $ac_c"
42204 cat >conftest.
$ac_ext <<_ACEOF
42207 cat confdefs.h
>>conftest.
$ac_ext
42208 cat >>conftest.
$ac_ext <<_ACEOF
42209 /* end confdefs.h. */
42212 #include <stdlib.h>
42213 #include <string.h>
42217 my_strdup (char *str)
42223 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42224 strcpy (new_str, str);
42232 int main (int argc, char *argv[])
42234 int major, minor, micro;
42237 /* This hangs on some systems (?)
42238 system ("touch conf.sdltest");
42240 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42242 /* HP/UX 9 (%@#!) writes to sscanf strings */
42243 tmp_version = my_strdup("$min_sdl_version");
42244 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42245 printf("%s, bad version string\n", "$min_sdl_version");
42249 if (($sdl_major_version > major) ||
42250 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42251 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42257 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42258 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42259 printf("*** best to upgrade to the required version.\n");
42260 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42261 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42262 printf("*** config.cache before re-running configure\n");
42269 rm -f conftest
$ac_exeext
42270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42271 (eval $ac_link) 2>&5
42273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42274 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42276 (eval $ac_try) 2>&5
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); }; }; then
42282 echo "$as_me: program exited with status $ac_status" >&5
42283 echo "$as_me: failed program was:" >&5
42284 sed 's/^/| /' conftest.
$ac_ext >&5
42286 ( exit $ac_status )
42289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42291 CFLAGS
="$ac_save_CFLAGS"
42292 CXXFLAGS
="$ac_save_CXXFLAGS"
42293 LIBS
="$ac_save_LIBS"
42296 if test "x$no_sdl" = x
; then
42297 echo "$as_me:$LINENO: result: yes" >&5
42298 echo "${ECHO_T}yes" >&6
42300 EXTRALIBS_SDL
="$SDL_LIBS"
42301 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42302 cat >>confdefs.h
<<\_ACEOF
42303 #define wxUSE_LIBSDL 1
42308 echo "$as_me:$LINENO: result: no" >&5
42309 echo "${ECHO_T}no" >&6
42310 if test "$SDL_CONFIG" = "no" ; then
42311 echo "*** The sdl-config script installed by SDL could not be found"
42312 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42313 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42314 echo "*** full path to sdl-config."
42316 if test -f conf.sdltest
; then
42319 echo "*** Could not run SDL test program, checking why..."
42320 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42321 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42322 LIBS
="$LIBS $SDL_LIBS"
42323 cat >conftest.
$ac_ext <<_ACEOF
42326 cat confdefs.h
>>conftest.
$ac_ext
42327 cat >>conftest.
$ac_ext <<_ACEOF
42328 /* end confdefs.h. */
42333 int main(int argc, char *argv[])
42336 #define main K_and_R_C_main
42346 rm -f conftest.
$ac_objext conftest
$ac_exeext
42347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42348 (eval $ac_link) 2>conftest.er1
42350 grep -v '^ *+' conftest.er1
>conftest.err
42352 cat conftest.err
>&5
42353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354 (exit $ac_status); } &&
42355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; } &&
42361 { ac_try
='test -s conftest$ac_exeext'
42362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42363 (eval $ac_try) 2>&5
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); }; }; then
42367 echo "*** The test program compiled, but did not run. This usually means"
42368 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42369 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42370 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42371 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42372 echo "*** is required on your system"
42374 echo "*** If you have an old version installed, it is best to remove it, although"
42375 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42377 echo "$as_me: failed program was:" >&5
42378 sed 's/^/| /' conftest.
$ac_ext >&5
42380 echo "*** The test program failed to compile or link. See the file config.log for the"
42381 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42382 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42383 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42385 rm -f conftest.err conftest.
$ac_objext \
42386 conftest
$ac_exeext conftest.
$ac_ext
42387 CFLAGS
="$ac_save_CFLAGS"
42388 CXXFLAGS
="$ac_save_CXXFLAGS"
42389 LIBS
="$ac_save_LIBS"
42400 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42406 cat >>confdefs.h
<<\_ACEOF
42407 #define wxUSE_SOUND 1
42410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42413 if test "$WXGTK20" = 1; then
42414 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42415 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42419 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42420 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42422 if test -n "$PKG_CONFIG"; then
42423 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42424 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42426 if test -n "$PKG_CONFIG" && \
42427 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42428 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42431 (exit $ac_status); }; then
42432 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42440 if test -n "$PKG_CONFIG"; then
42441 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42442 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42444 if test -n "$PKG_CONFIG" && \
42445 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42446 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; then
42450 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42461 if test $pkg_failed = yes; then
42463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42464 _pkg_short_errors_supported
=yes
42466 _pkg_short_errors_supported
=no
42468 if test $_pkg_short_errors_supported = yes; then
42469 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42471 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42473 # Put the nasty error message in config.log where it belongs
42474 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42477 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42478 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42479 wxUSE_LIBGNOMEPRINT
="no"
42482 elif test $pkg_failed = untried
; then
42484 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42485 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42486 wxUSE_LIBGNOMEPRINT
="no"
42490 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42491 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42492 echo "$as_me:$LINENO: result: yes" >&5
42493 echo "${ECHO_T}yes" >&6
42495 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42496 cat >>confdefs.h
<<\_ACEOF
42497 #define wxUSE_LIBGNOMEPRINT 1
42506 if test "$WXGTK20" = 1; then
42507 if test "$wxUSE_MIMETYPE" = "yes" ; then
42508 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42512 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42513 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42515 if test -n "$PKG_CONFIG"; then
42516 if test -n "$GNOMEVFS_CFLAGS"; then
42517 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42519 if test -n "$PKG_CONFIG" && \
42520 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42521 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); }; then
42525 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42533 if test -n "$PKG_CONFIG"; then
42534 if test -n "$GNOMEVFS_LIBS"; then
42535 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42537 if test -n "$PKG_CONFIG" && \
42538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42539 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); }; then
42543 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42554 if test $pkg_failed = yes; then
42556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42557 _pkg_short_errors_supported
=yes
42559 _pkg_short_errors_supported
=no
42561 if test $_pkg_short_errors_supported = yes; then
42562 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42564 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42566 # Put the nasty error message in config.log where it belongs
42567 echo "$GNOMEVFS_PKG_ERRORS" >&5
42570 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42571 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42572 wxUSE_LIBGNOMEVFS
="no"
42575 elif test $pkg_failed = untried
; then
42577 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42578 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42579 wxUSE_LIBGNOMEVFS
="no"
42583 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42584 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42585 echo "$as_me:$LINENO: result: yes" >&5
42586 echo "${ECHO_T}yes" >&6
42588 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42589 cat >>confdefs.h
<<\_ACEOF
42590 #define wxUSE_LIBGNOMEVFS 1
42599 if test "$WXGTK20" = 1; then
42600 if test "$wxUSE_LIBHILDON" = "yes" ; then
42603 echo "$as_me:$LINENO: checking for HILDON" >&5
42604 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42606 if test -n "$PKG_CONFIG"; then
42607 if test -n "$HILDON_CFLAGS"; then
42608 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42610 if test -n "$PKG_CONFIG" && \
42611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42612 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615 (exit $ac_status); }; then
42616 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42624 if test -n "$PKG_CONFIG"; then
42625 if test -n "$HILDON_LIBS"; then
42626 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42628 if test -n "$PKG_CONFIG" && \
42629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42630 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); }; then
42634 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42645 if test $pkg_failed = yes; then
42647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42648 _pkg_short_errors_supported
=yes
42650 _pkg_short_errors_supported
=no
42652 if test $_pkg_short_errors_supported = yes; then
42653 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42655 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42657 # Put the nasty error message in config.log where it belongs
42658 echo "$HILDON_PKG_ERRORS" >&5
42661 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42662 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42663 wxUSE_LIBHILDON
="no"
42666 elif test $pkg_failed = untried
; then
42668 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42669 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42670 wxUSE_LIBHILDON
="no"
42674 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42675 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42676 echo "$as_me:$LINENO: result: yes" >&5
42677 echo "${ECHO_T}yes" >&6
42679 EXTRALIBS_HILDON
="$HILDON_LIBS"
42680 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42681 cat >>confdefs.h
<<\_ACEOF
42682 #define wxUSE_LIBHILDON 1
42690 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42691 cat >>confdefs.h
<<\_ACEOF
42692 #define wxUSE_CMDLINE_PARSER 1
42697 if test "$wxUSE_STOPWATCH" = "yes"; then
42698 cat >>confdefs.h
<<\_ACEOF
42699 #define wxUSE_STOPWATCH 1
42704 if test "$wxUSE_DATETIME" = "yes"; then
42705 cat >>confdefs.h
<<\_ACEOF
42706 #define wxUSE_DATETIME 1
42711 if test "$wxUSE_FILE" = "yes"; then
42712 cat >>confdefs.h
<<\_ACEOF
42713 #define wxUSE_FILE 1
42718 if test "$wxUSE_FFILE" = "yes"; then
42719 cat >>confdefs.h
<<\_ACEOF
42720 #define wxUSE_FFILE 1
42725 if test "$wxUSE_FILESYSTEM" = "yes"; then
42726 cat >>confdefs.h
<<\_ACEOF
42727 #define wxUSE_FILESYSTEM 1
42732 if test "$wxUSE_FS_ZIP" = "yes"; then
42733 cat >>confdefs.h
<<\_ACEOF
42734 #define wxUSE_FS_ZIP 1
42739 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42740 cat >>confdefs.h
<<\_ACEOF
42741 #define wxUSE_ARCHIVE_STREAMS 1
42746 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42747 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42748 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42749 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42750 elif test "$wxUSE_ZLIB" = "no"; then
42751 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42752 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42754 cat >>confdefs.h
<<\_ACEOF
42755 #define wxUSE_ZIPSTREAM 1
42761 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42762 if test "$USE_UNIX" != 1; then
42763 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42764 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42765 wxUSE_ON_FATAL_EXCEPTION
=no
42767 cat >>confdefs.h
<<\_ACEOF
42768 #define wxUSE_ON_FATAL_EXCEPTION 1
42774 if test "$wxUSE_STACKWALKER" = "yes"; then
42775 cat >>confdefs.h
<<\_ACEOF
42776 #define wxUSE_STACKWALKER 1
42781 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42782 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42783 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42784 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42785 wxUSE_DEBUGREPORT
=no
42787 cat >>confdefs.h
<<\_ACEOF
42788 #define wxUSE_DEBUGREPORT 1
42791 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42797 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42798 cat >>confdefs.h
<<\_ACEOF
42799 #define wxUSE_SNGLINST_CHECKER 1
42804 if test "$wxUSE_BUSYINFO" = "yes"; then
42805 cat >>confdefs.h
<<\_ACEOF
42806 #define wxUSE_BUSYINFO 1
42811 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42812 cat >>confdefs.h
<<\_ACEOF
42813 #define wxUSE_STD_IOSTREAM 1
42818 if test "$wxUSE_STD_STRING" = "yes"; then
42819 cat >>confdefs.h
<<\_ACEOF
42820 #define wxUSE_STD_STRING 1
42825 if test "$wxUSE_STDPATHS" = "yes"; then
42826 cat >>confdefs.h
<<\_ACEOF
42827 #define wxUSE_STDPATHS 1
42832 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42833 cat >>confdefs.h
<<\_ACEOF
42834 #define wxUSE_TEXTBUFFER 1
42839 if test "$wxUSE_TEXTFILE" = "yes"; then
42840 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42841 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42842 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42844 cat >>confdefs.h
<<\_ACEOF
42845 #define wxUSE_TEXTFILE 1
42851 if test "$wxUSE_CONFIG" = "yes" ; then
42852 if test "$wxUSE_TEXTFILE" != "yes"; then
42853 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42854 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42856 cat >>confdefs.h
<<\_ACEOF
42857 #define wxUSE_CONFIG 1
42860 cat >>confdefs.h
<<\_ACEOF
42861 #define wxUSE_CONFIG_NATIVE 1
42864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42868 if test "$wxUSE_INTL" = "yes" ; then
42869 if test "$wxUSE_FILE" != "yes"; then
42870 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42871 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42873 cat >>confdefs.h
<<\_ACEOF
42874 #define wxUSE_INTL 1
42877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42878 GUIDIST
="$GUIDIST INTL_DIST"
42882 if test "$wxUSE_LOG" = "yes"; then
42883 cat >>confdefs.h
<<\_ACEOF
42884 #define wxUSE_LOG 1
42888 if test "$wxUSE_LOGGUI" = "yes"; then
42889 cat >>confdefs.h
<<\_ACEOF
42890 #define wxUSE_LOGGUI 1
42895 if test "$wxUSE_LOGWINDOW" = "yes"; then
42896 cat >>confdefs.h
<<\_ACEOF
42897 #define wxUSE_LOGWINDOW 1
42902 if test "$wxUSE_LOGDIALOG" = "yes"; then
42903 cat >>confdefs.h
<<\_ACEOF
42904 #define wxUSE_LOG_DIALOG 1
42909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42912 if test "$wxUSE_LONGLONG" = "yes"; then
42913 cat >>confdefs.h
<<\_ACEOF
42914 #define wxUSE_LONGLONG 1
42919 if test "$wxUSE_GEOMETRY" = "yes"; then
42920 cat >>confdefs.h
<<\_ACEOF
42921 #define wxUSE_GEOMETRY 1
42926 if test "$wxUSE_STREAMS" = "yes" ; then
42927 cat >>confdefs.h
<<\_ACEOF
42928 #define wxUSE_STREAMS 1
42933 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42934 cat >>confdefs.h
<<\_ACEOF
42935 #define wxUSE_PRINTF_POS_PARAMS 1
42942 if test "$wxUSE_DATETIME" = "yes"; then
42944 for ac_func
in strptime
42946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42947 echo "$as_me:$LINENO: checking for $ac_func" >&5
42948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42949 if eval "test \"\${$as_ac_var+set}\" = set"; then
42950 echo $ECHO_N "(cached) $ECHO_C" >&6
42952 cat >conftest.
$ac_ext <<_ACEOF
42955 cat confdefs.h
>>conftest.
$ac_ext
42956 cat >>conftest.
$ac_ext <<_ACEOF
42957 /* end confdefs.h. */
42958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42960 #define $ac_func innocuous_$ac_func
42962 /* System header to define __stub macros and hopefully few prototypes,
42963 which can conflict with char $ac_func (); below.
42964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42965 <limits.h> exists even on freestanding compilers. */
42968 # include <limits.h>
42970 # include <assert.h>
42975 /* Override any gcc2 internal prototype to avoid an error. */
42980 /* We use char because int might match the return type of a gcc2
42981 builtin and then its argument prototype would still apply. */
42983 /* The GNU C library defines this for functions which it implements
42984 to always fail with ENOSYS. Some functions are actually named
42985 something starting with __ and the normal name is an alias. */
42986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42989 char (*f) () = $ac_func;
42998 return f != $ac_func;
43003 rm -f conftest.
$ac_objext conftest
$ac_exeext
43004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43005 (eval $ac_link) 2>conftest.er1
43007 grep -v '^ *+' conftest.er1
>conftest.err
43009 cat conftest.err
>&5
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); } &&
43012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43014 (eval $ac_try) 2>&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); }; } &&
43018 { ac_try
='test -s conftest$ac_exeext'
43019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43020 (eval $ac_try) 2>&5
43022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023 (exit $ac_status); }; }; then
43024 eval "$as_ac_var=yes"
43026 echo "$as_me: failed program was:" >&5
43027 sed 's/^/| /' conftest.
$ac_ext >&5
43029 eval "$as_ac_var=no"
43031 rm -f conftest.err conftest.
$ac_objext \
43032 conftest
$ac_exeext conftest.
$ac_ext
43034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43036 if test `eval echo '${'$as_ac_var'}'` = yes; then
43037 cat >>confdefs.h
<<_ACEOF
43038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43044 if test "$ac_cv_func_strptime" = "yes"; then
43045 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43046 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43047 if test "${wx_cv_func_strptime_decl+set}" = set; then
43048 echo $ECHO_N "(cached) $ECHO_C" >&6
43051 cat >conftest.
$ac_ext <<_ACEOF
43054 cat confdefs.h
>>conftest.
$ac_ext
43055 cat >>conftest.
$ac_ext <<_ACEOF
43056 /* end confdefs.h. */
43065 strptime("foo", "bar", &t);
43071 rm -f conftest.
$ac_objext
43072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43073 (eval $ac_compile) 2>conftest.er1
43075 grep -v '^ *+' conftest.er1
>conftest.err
43077 cat conftest.err
>&5
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); } &&
43080 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43082 (eval $ac_try) 2>&5
43084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43085 (exit $ac_status); }; } &&
43086 { ac_try
='test -s conftest.$ac_objext'
43087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43088 (eval $ac_try) 2>&5
43090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43091 (exit $ac_status); }; }; then
43092 wx_cv_func_strptime_decl
=yes
43094 echo "$as_me: failed program was:" >&5
43095 sed 's/^/| /' conftest.
$ac_ext >&5
43097 wx_cv_func_strptime_decl
=no
43100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43104 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43105 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43107 if test "$wx_cv_func_strptime_decl" = "yes"; then
43108 cat >>confdefs.h
<<\_ACEOF
43109 #define HAVE_STRPTIME_DECL 1
43114 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43115 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43116 if test "${wx_cv_var_timezone+set}" = set; then
43117 echo $ECHO_N "(cached) $ECHO_C" >&6
43120 cat >conftest.
$ac_ext <<_ACEOF
43123 cat confdefs.h
>>conftest.
$ac_ext
43124 cat >>conftest.
$ac_ext <<_ACEOF
43125 /* end confdefs.h. */
43140 rm -f conftest.
$ac_objext
43141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43142 (eval $ac_compile) 2>conftest.er1
43144 grep -v '^ *+' conftest.er1
>conftest.err
43146 cat conftest.err
>&5
43147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43148 (exit $ac_status); } &&
43149 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43151 (eval $ac_try) 2>&5
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; } &&
43155 { ac_try
='test -s conftest.$ac_objext'
43156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43157 (eval $ac_try) 2>&5
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); }; }; then
43162 wx_cv_var_timezone
=timezone
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.
$ac_ext >&5
43169 cat >conftest.
$ac_ext <<_ACEOF
43172 cat confdefs.h
>>conftest.
$ac_ext
43173 cat >>conftest.
$ac_ext <<_ACEOF
43174 /* end confdefs.h. */
43189 rm -f conftest.
$ac_objext
43190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43191 (eval $ac_compile) 2>conftest.er1
43193 grep -v '^ *+' conftest.er1
>conftest.err
43195 cat conftest.err
>&5
43196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43197 (exit $ac_status); } &&
43198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43200 (eval $ac_try) 2>&5
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); }; } &&
43204 { ac_try
='test -s conftest.$ac_objext'
43205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43206 (eval $ac_try) 2>&5
43208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 (exit $ac_status); }; }; then
43211 wx_cv_var_timezone
=_timezone
43214 echo "$as_me: failed program was:" >&5
43215 sed 's/^/| /' conftest.
$ac_ext >&5
43218 cat >conftest.
$ac_ext <<_ACEOF
43221 cat confdefs.h
>>conftest.
$ac_ext
43222 cat >>conftest.
$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43238 rm -f conftest.
$ac_objext
43239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43240 (eval $ac_compile) 2>conftest.er1
43242 grep -v '^ *+' conftest.er1
>conftest.err
43244 cat conftest.err
>&5
43245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43246 (exit $ac_status); } &&
43247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43249 (eval $ac_try) 2>&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); }; } &&
43253 { ac_try
='test -s conftest.$ac_objext'
43254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43255 (eval $ac_try) 2>&5
43257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43258 (exit $ac_status); }; }; then
43260 wx_cv_var_timezone
=__timezone
43263 echo "$as_me: failed program was:" >&5
43264 sed 's/^/| /' conftest.
$ac_ext >&5
43267 if test "$USE_DOS" = 0 ; then
43268 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43269 echo "$as_me: WARNING: no timezone variable" >&2;}
43274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43286 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43287 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43289 if test "x$wx_cv_var_timezone" != x
; then
43290 cat >>confdefs.h
<<_ACEOF
43291 #define WX_TIMEZONE $wx_cv_var_timezone
43297 for ac_func
in localtime
43299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43300 echo "$as_me:$LINENO: checking for $ac_func" >&5
43301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43302 if eval "test \"\${$as_ac_var+set}\" = set"; then
43303 echo $ECHO_N "(cached) $ECHO_C" >&6
43305 cat >conftest.
$ac_ext <<_ACEOF
43308 cat confdefs.h
>>conftest.
$ac_ext
43309 cat >>conftest.
$ac_ext <<_ACEOF
43310 /* end confdefs.h. */
43311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43313 #define $ac_func innocuous_$ac_func
43315 /* System header to define __stub macros and hopefully few prototypes,
43316 which can conflict with char $ac_func (); below.
43317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43318 <limits.h> exists even on freestanding compilers. */
43321 # include <limits.h>
43323 # include <assert.h>
43328 /* Override any gcc2 internal prototype to avoid an error. */
43333 /* We use char because int might match the return type of a gcc2
43334 builtin and then its argument prototype would still apply. */
43336 /* The GNU C library defines this for functions which it implements
43337 to always fail with ENOSYS. Some functions are actually named
43338 something starting with __ and the normal name is an alias. */
43339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43342 char (*f) () = $ac_func;
43351 return f != $ac_func;
43356 rm -f conftest.
$ac_objext conftest
$ac_exeext
43357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43358 (eval $ac_link) 2>conftest.er1
43360 grep -v '^ *+' conftest.er1
>conftest.err
43362 cat conftest.err
>&5
43363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43364 (exit $ac_status); } &&
43365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43367 (eval $ac_try) 2>&5
43369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370 (exit $ac_status); }; } &&
43371 { ac_try
='test -s conftest$ac_exeext'
43372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43373 (eval $ac_try) 2>&5
43375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376 (exit $ac_status); }; }; then
43377 eval "$as_ac_var=yes"
43379 echo "$as_me: failed program was:" >&5
43380 sed 's/^/| /' conftest.
$ac_ext >&5
43382 eval "$as_ac_var=no"
43384 rm -f conftest.err conftest.
$ac_objext \
43385 conftest
$ac_exeext conftest.
$ac_ext
43387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43389 if test `eval echo '${'$as_ac_var'}'` = yes; then
43390 cat >>confdefs.h
<<_ACEOF
43391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43398 if test "$ac_cv_func_localtime" = "yes"; then
43399 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43400 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43401 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43402 echo $ECHO_N "(cached) $ECHO_C" >&6
43405 cat >conftest.
$ac_ext <<_ACEOF
43408 cat confdefs.h
>>conftest.
$ac_ext
43409 cat >>conftest.
$ac_ext <<_ACEOF
43410 /* end confdefs.h. */
43425 rm -f conftest.
$ac_objext
43426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43427 (eval $ac_compile) 2>conftest.er1
43429 grep -v '^ *+' conftest.er1
>conftest.err
43431 cat conftest.err
>&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); } &&
43434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43436 (eval $ac_try) 2>&5
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); }; } &&
43440 { ac_try
='test -s conftest.$ac_objext'
43441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43442 (eval $ac_try) 2>&5
43444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43445 (exit $ac_status); }; }; then
43447 wx_cv_struct_tm_has_gmtoff
=yes
43450 echo "$as_me: failed program was:" >&5
43451 sed 's/^/| /' conftest.
$ac_ext >&5
43453 wx_cv_struct_tm_has_gmtoff
=no
43456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43459 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43460 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43463 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43464 cat >>confdefs.h
<<\_ACEOF
43465 #define WX_GMTOFF_IN_TM 1
43472 for ac_func
in gettimeofday ftime
43474 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43475 echo "$as_me:$LINENO: checking for $ac_func" >&5
43476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43477 if eval "test \"\${$as_ac_var+set}\" = set"; then
43478 echo $ECHO_N "(cached) $ECHO_C" >&6
43480 cat >conftest.
$ac_ext <<_ACEOF
43483 cat confdefs.h
>>conftest.
$ac_ext
43484 cat >>conftest.
$ac_ext <<_ACEOF
43485 /* end confdefs.h. */
43486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43488 #define $ac_func innocuous_$ac_func
43490 /* System header to define __stub macros and hopefully few prototypes,
43491 which can conflict with char $ac_func (); below.
43492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43493 <limits.h> exists even on freestanding compilers. */
43496 # include <limits.h>
43498 # include <assert.h>
43503 /* Override any gcc2 internal prototype to avoid an error. */
43508 /* We use char because int might match the return type of a gcc2
43509 builtin and then its argument prototype would still apply. */
43511 /* The GNU C library defines this for functions which it implements
43512 to always fail with ENOSYS. Some functions are actually named
43513 something starting with __ and the normal name is an alias. */
43514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43517 char (*f) () = $ac_func;
43526 return f != $ac_func;
43531 rm -f conftest.
$ac_objext conftest
$ac_exeext
43532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43533 (eval $ac_link) 2>conftest.er1
43535 grep -v '^ *+' conftest.er1
>conftest.err
43537 cat conftest.err
>&5
43538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43539 (exit $ac_status); } &&
43540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43542 (eval $ac_try) 2>&5
43544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545 (exit $ac_status); }; } &&
43546 { ac_try
='test -s conftest$ac_exeext'
43547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43548 (eval $ac_try) 2>&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); }; }; then
43552 eval "$as_ac_var=yes"
43554 echo "$as_me: failed program was:" >&5
43555 sed 's/^/| /' conftest.
$ac_ext >&5
43557 eval "$as_ac_var=no"
43559 rm -f conftest.err conftest.
$ac_objext \
43560 conftest
$ac_exeext conftest.
$ac_ext
43562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43564 if test `eval echo '${'$as_ac_var'}'` = yes; then
43565 cat >>confdefs.h
<<_ACEOF
43566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43573 if test "$ac_cv_func_gettimeofday" = "yes"; then
43574 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43575 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43576 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43577 echo $ECHO_N "(cached) $ECHO_C" >&6
43580 cat >conftest.
$ac_ext <<_ACEOF
43583 cat confdefs.h
>>conftest.
$ac_ext
43584 cat >>conftest.
$ac_ext <<_ACEOF
43585 /* end confdefs.h. */
43587 #include <sys/time.h>
43588 #include <unistd.h>
43595 gettimeofday(&tv, NULL);
43601 rm -f conftest.
$ac_objext
43602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43603 (eval $ac_compile) 2>conftest.er1
43605 grep -v '^ *+' conftest.er1
>conftest.err
43607 cat conftest.err
>&5
43608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43609 (exit $ac_status); } &&
43610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43612 (eval $ac_try) 2>&5
43614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43615 (exit $ac_status); }; } &&
43616 { ac_try
='test -s conftest.$ac_objext'
43617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43618 (eval $ac_try) 2>&5
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); }; }; then
43622 wx_cv_func_gettimeofday_has_2_args
=yes
43624 echo "$as_me: failed program was:" >&5
43625 sed 's/^/| /' conftest.
$ac_ext >&5
43627 cat >conftest.
$ac_ext <<_ACEOF
43630 cat confdefs.h
>>conftest.
$ac_ext
43631 cat >>conftest.
$ac_ext <<_ACEOF
43632 /* end confdefs.h. */
43634 #include <sys/time.h>
43635 #include <unistd.h>
43648 rm -f conftest.
$ac_objext
43649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43650 (eval $ac_compile) 2>conftest.er1
43652 grep -v '^ *+' conftest.er1
>conftest.err
43654 cat conftest.err
>&5
43655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43656 (exit $ac_status); } &&
43657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43659 (eval $ac_try) 2>&5
43661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662 (exit $ac_status); }; } &&
43663 { ac_try
='test -s conftest.$ac_objext'
43664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665 (eval $ac_try) 2>&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); }; }; then
43669 wx_cv_func_gettimeofday_has_2_args
=no
43671 echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.
$ac_ext >&5
43675 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43676 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43677 wx_cv_func_gettimeofday_has_2_args
=unknown
43681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43687 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43688 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43690 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43691 cat >>confdefs.h
<<\_ACEOF
43692 #define WX_GETTIMEOFDAY_NO_TZ 1
43698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43702 if test "$wxUSE_SOCKETS" = "yes"; then
43703 if test "$wxUSE_MGL" = "1"; then
43704 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43705 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43710 if test "$wxUSE_SOCKETS" = "yes"; then
43711 if test "$TOOLKIT" != "MSW"; then
43712 echo "$as_me:$LINENO: checking for socket" >&5
43713 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43714 if test "${ac_cv_func_socket+set}" = set; then
43715 echo $ECHO_N "(cached) $ECHO_C" >&6
43717 cat >conftest.
$ac_ext <<_ACEOF
43720 cat confdefs.h
>>conftest.
$ac_ext
43721 cat >>conftest.
$ac_ext <<_ACEOF
43722 /* end confdefs.h. */
43723 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43725 #define socket innocuous_socket
43727 /* System header to define __stub macros and hopefully few prototypes,
43728 which can conflict with char socket (); below.
43729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43730 <limits.h> exists even on freestanding compilers. */
43733 # include <limits.h>
43735 # include <assert.h>
43740 /* Override any gcc2 internal prototype to avoid an error. */
43745 /* We use char because int might match the return type of a gcc2
43746 builtin and then its argument prototype would still apply. */
43748 /* The GNU C library defines this for functions which it implements
43749 to always fail with ENOSYS. Some functions are actually named
43750 something starting with __ and the normal name is an alias. */
43751 #if defined (__stub_socket) || defined (__stub___socket)
43754 char (*f) () = socket;
43763 return f != socket;
43768 rm -f conftest.
$ac_objext conftest
$ac_exeext
43769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43770 (eval $ac_link) 2>conftest.er1
43772 grep -v '^ *+' conftest.er1
>conftest.err
43774 cat conftest.err
>&5
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); } &&
43777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43779 (eval $ac_try) 2>&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; } &&
43783 { ac_try
='test -s conftest$ac_exeext'
43784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43785 (eval $ac_try) 2>&5
43787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43788 (exit $ac_status); }; }; then
43789 ac_cv_func_socket
=yes
43791 echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.
$ac_ext >&5
43794 ac_cv_func_socket
=no
43796 rm -f conftest.err conftest.
$ac_objext \
43797 conftest
$ac_exeext conftest.
$ac_ext
43799 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43800 echo "${ECHO_T}$ac_cv_func_socket" >&6
43801 if test $ac_cv_func_socket = yes; then
43805 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43806 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43807 if test "${ac_cv_lib_socket_socket+set}" = set; then
43808 echo $ECHO_N "(cached) $ECHO_C" >&6
43810 ac_check_lib_save_LIBS
=$LIBS
43811 LIBS
="-lsocket $LIBS"
43812 cat >conftest.
$ac_ext <<_ACEOF
43815 cat confdefs.h
>>conftest.
$ac_ext
43816 cat >>conftest.
$ac_ext <<_ACEOF
43817 /* end confdefs.h. */
43819 /* Override any gcc2 internal prototype to avoid an error. */
43823 /* We use char because int might match the return type of a gcc2
43824 builtin and then its argument prototype would still apply. */
43834 rm -f conftest.
$ac_objext conftest
$ac_exeext
43835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43836 (eval $ac_link) 2>conftest.er1
43838 grep -v '^ *+' conftest.er1
>conftest.err
43840 cat conftest.err
>&5
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); } &&
43843 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43845 (eval $ac_try) 2>&5
43847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43848 (exit $ac_status); }; } &&
43849 { ac_try
='test -s conftest$ac_exeext'
43850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851 (eval $ac_try) 2>&5
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); }; }; then
43855 ac_cv_lib_socket_socket
=yes
43857 echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.
$ac_ext >&5
43860 ac_cv_lib_socket_socket
=no
43862 rm -f conftest.err conftest.
$ac_objext \
43863 conftest
$ac_exeext conftest.
$ac_ext
43864 LIBS
=$ac_check_lib_save_LIBS
43866 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43867 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43868 if test $ac_cv_lib_socket_socket = yes; then
43869 if test "$INET_LINK" != " -lsocket"; then
43870 INET_LINK
="$INET_LINK -lsocket"
43874 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43875 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43888 if test "$wxUSE_SOCKETS" = "yes" ; then
43889 if test "$TOOLKIT" != "MSW"; then
43890 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43891 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43892 if test "${wx_cv_type_getsockname3+set}" = set; then
43893 echo $ECHO_N "(cached) $ECHO_C" >&6
43896 cat >conftest.
$ac_ext <<_ACEOF
43899 cat confdefs.h
>>conftest.
$ac_ext
43900 cat >>conftest.
$ac_ext <<_ACEOF
43901 /* end confdefs.h. */
43903 #include <sys/types.h>
43904 #include <sys/socket.h>
43911 getsockname(0, 0, &len);
43917 rm -f conftest.
$ac_objext
43918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43919 (eval $ac_compile) 2>conftest.er1
43921 grep -v '^ *+' conftest.er1
>conftest.err
43923 cat conftest.err
>&5
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); } &&
43926 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43928 (eval $ac_try) 2>&5
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); }; } &&
43932 { ac_try
='test -s conftest.$ac_objext'
43933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43934 (eval $ac_try) 2>&5
43936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937 (exit $ac_status); }; }; then
43938 wx_cv_type_getsockname3
=socklen_t
43940 echo "$as_me: failed program was:" >&5
43941 sed 's/^/| /' conftest.
$ac_ext >&5
43944 CXXFLAGS_OLD
="$CXXFLAGS"
43945 if test "$GCC" = yes ; then
43946 CXXFLAGS
="-Werror $CXXFLAGS"
43949 cat >conftest.
$ac_ext <<_ACEOF
43952 cat confdefs.h
>>conftest.
$ac_ext
43953 cat >>conftest.
$ac_ext <<_ACEOF
43954 /* end confdefs.h. */
43956 #include <sys/types.h>
43957 #include <sys/socket.h>
43964 getsockname(0, 0, &len);
43970 rm -f conftest.
$ac_objext
43971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43972 (eval $ac_compile) 2>conftest.er1
43974 grep -v '^ *+' conftest.er1
>conftest.err
43976 cat conftest.err
>&5
43977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978 (exit $ac_status); } &&
43979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43981 (eval $ac_try) 2>&5
43983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984 (exit $ac_status); }; } &&
43985 { ac_try
='test -s conftest.$ac_objext'
43986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43987 (eval $ac_try) 2>&5
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); }; }; then
43991 wx_cv_type_getsockname3
=size_t
43993 echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.
$ac_ext >&5
43996 cat >conftest.
$ac_ext <<_ACEOF
43999 cat confdefs.h
>>conftest.
$ac_ext
44000 cat >>conftest.
$ac_ext <<_ACEOF
44001 /* end confdefs.h. */
44003 #include <sys/types.h>
44004 #include <sys/socket.h>
44011 getsockname(0, 0, &len);
44017 rm -f conftest.
$ac_objext
44018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44019 (eval $ac_compile) 2>conftest.er1
44021 grep -v '^ *+' conftest.er1
>conftest.err
44023 cat conftest.err
>&5
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); } &&
44026 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44028 (eval $ac_try) 2>&5
44030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44031 (exit $ac_status); }; } &&
44032 { ac_try
='test -s conftest.$ac_objext'
44033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44034 (eval $ac_try) 2>&5
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; }; then
44038 wx_cv_type_getsockname3
=int
44040 echo "$as_me: failed program was:" >&5
44041 sed 's/^/| /' conftest.
$ac_ext >&5
44043 wx_cv_type_getsockname3
=unknown
44046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44051 CXXFLAGS
="$CXXFLAGS_OLD"
44055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44058 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44059 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44061 if test "$wx_cv_type_getsockname3" = "unknown"; then
44063 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44064 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44066 cat >>confdefs.h
<<_ACEOF
44067 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44071 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44072 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44073 if test "${wx_cv_type_getsockopt5+set}" = set; then
44074 echo $ECHO_N "(cached) $ECHO_C" >&6
44077 cat >conftest.
$ac_ext <<_ACEOF
44080 cat confdefs.h
>>conftest.
$ac_ext
44081 cat >>conftest.
$ac_ext <<_ACEOF
44082 /* end confdefs.h. */
44084 #include <sys/types.h>
44085 #include <sys/socket.h>
44092 getsockopt(0, 0, 0, 0, &len);
44098 rm -f conftest.
$ac_objext
44099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44100 (eval $ac_compile) 2>conftest.er1
44102 grep -v '^ *+' conftest.er1
>conftest.err
44104 cat conftest.err
>&5
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); } &&
44107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44109 (eval $ac_try) 2>&5
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); }; } &&
44113 { ac_try
='test -s conftest.$ac_objext'
44114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44115 (eval $ac_try) 2>&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); }; }; then
44119 wx_cv_type_getsockopt5
=socklen_t
44121 echo "$as_me: failed program was:" >&5
44122 sed 's/^/| /' conftest.
$ac_ext >&5
44125 CXXFLAGS_OLD
="$CXXFLAGS"
44126 if test "$GCC" = yes ; then
44127 CXXFLAGS
="-Werror $CXXFLAGS"
44130 cat >conftest.
$ac_ext <<_ACEOF
44133 cat confdefs.h
>>conftest.
$ac_ext
44134 cat >>conftest.
$ac_ext <<_ACEOF
44135 /* end confdefs.h. */
44137 #include <sys/types.h>
44138 #include <sys/socket.h>
44145 getsockopt(0, 0, 0, 0, &len);
44151 rm -f conftest.
$ac_objext
44152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44153 (eval $ac_compile) 2>conftest.er1
44155 grep -v '^ *+' conftest.er1
>conftest.err
44157 cat conftest.err
>&5
44158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44159 (exit $ac_status); } &&
44160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44162 (eval $ac_try) 2>&5
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); }; } &&
44166 { ac_try
='test -s conftest.$ac_objext'
44167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44168 (eval $ac_try) 2>&5
44170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44171 (exit $ac_status); }; }; then
44172 wx_cv_type_getsockopt5
=size_t
44174 echo "$as_me: failed program was:" >&5
44175 sed 's/^/| /' conftest.
$ac_ext >&5
44177 cat >conftest.
$ac_ext <<_ACEOF
44180 cat confdefs.h
>>conftest.
$ac_ext
44181 cat >>conftest.
$ac_ext <<_ACEOF
44182 /* end confdefs.h. */
44184 #include <sys/types.h>
44185 #include <sys/socket.h>
44192 getsockopt(0, 0, 0, 0, &len);
44198 rm -f conftest.
$ac_objext
44199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44200 (eval $ac_compile) 2>conftest.er1
44202 grep -v '^ *+' conftest.er1
>conftest.err
44204 cat conftest.err
>&5
44205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44206 (exit $ac_status); } &&
44207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44209 (eval $ac_try) 2>&5
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); }; } &&
44213 { ac_try
='test -s conftest.$ac_objext'
44214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44215 (eval $ac_try) 2>&5
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); }; }; then
44219 wx_cv_type_getsockopt5
=int
44221 echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.
$ac_ext >&5
44224 wx_cv_type_getsockopt5
=unknown
44227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44232 CXXFLAGS
="$CXXFLAGS_OLD"
44236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44239 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44240 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44242 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44244 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44245 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44247 cat >>confdefs.h
<<_ACEOF
44248 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44255 if test "$wxUSE_SOCKETS" = "yes" ; then
44256 cat >>confdefs.h
<<\_ACEOF
44257 #define wxUSE_SOCKETS 1
44260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44263 if test "$wxUSE_PROTOCOL" = "yes"; then
44264 if test "$wxUSE_SOCKETS" != "yes"; then
44265 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44266 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44271 if test "$wxUSE_PROTOCOL" = "yes"; then
44272 cat >>confdefs.h
<<\_ACEOF
44273 #define wxUSE_PROTOCOL 1
44277 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44278 cat >>confdefs.h
<<\_ACEOF
44279 #define wxUSE_PROTOCOL_HTTP 1
44283 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44284 cat >>confdefs.h
<<\_ACEOF
44285 #define wxUSE_PROTOCOL_FTP 1
44289 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44290 cat >>confdefs.h
<<\_ACEOF
44291 #define wxUSE_PROTOCOL_FILE 1
44296 if test "$wxUSE_FS_INET" = "yes"; then
44297 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44298 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44303 if test "$wxUSE_URL" = "yes"; then
44304 if test "$wxUSE_PROTOCOL" != "yes"; then
44305 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44306 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44309 if test "$wxUSE_URL" = "yes"; then
44310 cat >>confdefs.h
<<\_ACEOF
44311 #define wxUSE_URL 1
44317 if test "$wxUSE_VARIANT" = "yes"; then
44318 cat >>confdefs.h
<<\_ACEOF
44319 #define wxUSE_VARIANT 1
44324 if test "$wxUSE_FS_INET" = "yes"; then
44325 cat >>confdefs.h
<<\_ACEOF
44326 #define wxUSE_FS_INET 1
44332 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44335 if test "$TOOLKIT" = "MSW"; then
44338 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44339 if test "$USE_DARWIN" = 1; then
44340 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44341 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44342 cat >conftest.
$ac_ext <<_ACEOF
44345 cat confdefs.h
>>conftest.
$ac_ext
44346 cat >>conftest.
$ac_ext <<_ACEOF
44347 /* end confdefs.h. */
44348 #include <IOKit/hid/IOHIDLib.h>
44352 IOHIDQueueInterface *qi = NULL;
44353 IOHIDCallbackFunction cb = NULL;
44354 qi->setEventCallout(NULL, cb, NULL, NULL);
44359 rm -f conftest.
$ac_objext
44360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44361 (eval $ac_compile) 2>conftest.er1
44363 grep -v '^ *+' conftest.er1
>conftest.err
44365 cat conftest.err
>&5
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); } &&
44368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44370 (eval $ac_try) 2>&5
44372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44373 (exit $ac_status); }; } &&
44374 { ac_try
='test -s conftest.$ac_objext'
44375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44376 (eval $ac_try) 2>&5
44378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44379 (exit $ac_status); }; }; then
44383 echo "$as_me: failed program was:" >&5
44384 sed 's/^/| /' conftest.
$ac_ext >&5
44387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44388 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44389 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44394 for ac_header
in linux
/joystick.h
44396 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44398 echo "$as_me:$LINENO: checking for $ac_header" >&5
44399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44401 echo $ECHO_N "(cached) $ECHO_C" >&6
44403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44406 # Is the header compilable?
44407 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44409 cat >conftest.
$ac_ext <<_ACEOF
44412 cat confdefs.h
>>conftest.
$ac_ext
44413 cat >>conftest.
$ac_ext <<_ACEOF
44414 /* end confdefs.h. */
44415 $ac_includes_default
44416 #include <$ac_header>
44418 rm -f conftest.
$ac_objext
44419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44420 (eval $ac_compile) 2>conftest.er1
44422 grep -v '^ *+' conftest.er1
>conftest.err
44424 cat conftest.err
>&5
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); } &&
44427 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44429 (eval $ac_try) 2>&5
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); }; } &&
44433 { ac_try
='test -s conftest.$ac_objext'
44434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44435 (eval $ac_try) 2>&5
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); }; }; then
44439 ac_header_compiler
=yes
44441 echo "$as_me: failed program was:" >&5
44442 sed 's/^/| /' conftest.
$ac_ext >&5
44444 ac_header_compiler
=no
44446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44448 echo "${ECHO_T}$ac_header_compiler" >&6
44450 # Is the header present?
44451 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44452 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44453 cat >conftest.
$ac_ext <<_ACEOF
44456 cat confdefs.h
>>conftest.
$ac_ext
44457 cat >>conftest.
$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44459 #include <$ac_header>
44461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44464 grep -v '^ *+' conftest.er1
>conftest.err
44466 cat conftest.err
>&5
44467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44468 (exit $ac_status); } >/dev
/null
; then
44469 if test -s conftest.err
; then
44470 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44471 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44478 if test -z "$ac_cpp_err"; then
44479 ac_header_preproc
=yes
44481 echo "$as_me: failed program was:" >&5
44482 sed 's/^/| /' conftest.
$ac_ext >&5
44484 ac_header_preproc
=no
44486 rm -f conftest.err conftest.
$ac_ext
44487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44488 echo "${ECHO_T}$ac_header_preproc" >&6
44490 # So? What about this header?
44491 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44497 ac_header_preproc
=yes
44500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44514 ## ----------------------------------------- ##
44515 ## Report this to wx-dev@lists.wxwidgets.org ##
44516 ## ----------------------------------------- ##
44519 sed "s/^/$as_me: WARNING: /" >&2
44522 echo "$as_me:$LINENO: checking for $ac_header" >&5
44523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44525 echo $ECHO_N "(cached) $ECHO_C" >&6
44527 eval "$as_ac_Header=\$ac_header_preproc"
44529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44534 cat >>confdefs.h
<<_ACEOF
44535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44544 if test "$wxUSE_JOYSTICK" = "yes"; then
44545 cat >>confdefs.h
<<\_ACEOF
44546 #define wxUSE_JOYSTICK 1
44549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44551 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44552 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44558 if test "$wxUSE_FONTMAP" = "yes" ; then
44559 cat >>confdefs.h
<<\_ACEOF
44560 #define wxUSE_FONTMAP 1
44565 if test "$wxUSE_UNICODE" = "yes" ; then
44566 cat >>confdefs.h
<<\_ACEOF
44567 #define wxUSE_UNICODE 1
44571 if test "$USE_WIN32" != 1; then
44572 wxUSE_UNICODE_MSLU
=no
44575 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44576 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44577 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44578 if test "${ac_cv_lib_unicows_main+set}" = set; then
44579 echo $ECHO_N "(cached) $ECHO_C" >&6
44581 ac_check_lib_save_LIBS
=$LIBS
44582 LIBS
="-lunicows $LIBS"
44583 cat >conftest.
$ac_ext <<_ACEOF
44586 cat confdefs.h
>>conftest.
$ac_ext
44587 cat >>conftest.
$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44599 rm -f conftest.
$ac_objext conftest
$ac_exeext
44600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44601 (eval $ac_link) 2>conftest.er1
44603 grep -v '^ *+' conftest.er1
>conftest.err
44605 cat conftest.err
>&5
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); } &&
44608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44610 (eval $ac_try) 2>&5
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); }; } &&
44614 { ac_try
='test -s conftest$ac_exeext'
44615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44616 (eval $ac_try) 2>&5
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); }; }; then
44620 ac_cv_lib_unicows_main
=yes
44622 echo "$as_me: failed program was:" >&5
44623 sed 's/^/| /' conftest.
$ac_ext >&5
44625 ac_cv_lib_unicows_main
=no
44627 rm -f conftest.err conftest.
$ac_objext \
44628 conftest
$ac_exeext conftest.
$ac_ext
44629 LIBS
=$ac_check_lib_save_LIBS
44631 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44632 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44633 if test $ac_cv_lib_unicows_main = yes; then
44635 cat >>confdefs.h
<<\_ACEOF
44636 #define wxUSE_UNICODE_MSLU 1
44642 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44643 Applications will only run on Windows NT/2000/XP!" >&5
44644 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44645 Applications will only run on Windows NT/2000/XP!" >&2;}
44646 wxUSE_UNICODE_MSLU
=no
44653 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44654 cat >>confdefs.h
<<\_ACEOF
44655 #define wxUSE_EXPERIMENTAL_PRINTF 1
44661 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44662 cat >>confdefs.h
<<\_ACEOF
44663 #define wxUSE_POSTSCRIPT 1
44668 cat >>confdefs.h
<<\_ACEOF
44669 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44673 cat >>confdefs.h
<<\_ACEOF
44674 #define wxUSE_NORMALIZED_PS_FONTS 1
44679 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44680 cat >>confdefs.h
<<\_ACEOF
44681 #define wxUSE_CONSTRAINTS 1
44684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44687 if test "$wxUSE_MDI" = "yes"; then
44688 cat >>confdefs.h
<<\_ACEOF
44689 #define wxUSE_MDI 1
44693 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44694 cat >>confdefs.h
<<\_ACEOF
44695 #define wxUSE_MDI_ARCHITECTURE 1
44698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44702 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44703 cat >>confdefs.h
<<\_ACEOF
44704 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44708 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44713 if test "$wxUSE_HELP" = "yes"; then
44714 cat >>confdefs.h
<<\_ACEOF
44715 #define wxUSE_HELP 1
44718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44720 if test "$wxUSE_MSW" = 1; then
44721 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44722 cat >>confdefs.h
<<\_ACEOF
44723 #define wxUSE_MS_HTML_HELP 1
44729 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44730 if test "$wxUSE_HTML" = "yes"; then
44731 cat >>confdefs.h
<<\_ACEOF
44732 #define wxUSE_WXHTML_HELP 1
44736 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44737 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44738 wxUSE_WXHTML_HELP
=no
44743 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44744 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44745 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44746 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44748 cat >>confdefs.h
<<\_ACEOF
44749 #define wxUSE_PRINTING_ARCHITECTURE 1
44753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44756 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44757 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44758 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44759 { (exit 1); exit 1; }; }
44763 if test "$wxUSE_METAFILE" = "yes"; then
44764 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44765 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44766 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44772 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44773 -o "$wxUSE_CLIPBOARD" = "yes" \
44774 -o "$wxUSE_OLE" = "yes" \
44775 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44777 for ac_header
in ole2.h
44779 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44781 echo "$as_me:$LINENO: checking for $ac_header" >&5
44782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44784 echo $ECHO_N "(cached) $ECHO_C" >&6
44786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44789 # Is the header compilable?
44790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44792 cat >conftest.
$ac_ext <<_ACEOF
44795 cat confdefs.h
>>conftest.
$ac_ext
44796 cat >>conftest.
$ac_ext <<_ACEOF
44797 /* end confdefs.h. */
44798 $ac_includes_default
44799 #include <$ac_header>
44801 rm -f conftest.
$ac_objext
44802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44803 (eval $ac_compile) 2>conftest.er1
44805 grep -v '^ *+' conftest.er1
>conftest.err
44807 cat conftest.err
>&5
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); } &&
44810 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44812 (eval $ac_try) 2>&5
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); }; } &&
44816 { ac_try
='test -s conftest.$ac_objext'
44817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44818 (eval $ac_try) 2>&5
44820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44821 (exit $ac_status); }; }; then
44822 ac_header_compiler
=yes
44824 echo "$as_me: failed program was:" >&5
44825 sed 's/^/| /' conftest.
$ac_ext >&5
44827 ac_header_compiler
=no
44829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44831 echo "${ECHO_T}$ac_header_compiler" >&6
44833 # Is the header present?
44834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44836 cat >conftest.
$ac_ext <<_ACEOF
44839 cat confdefs.h
>>conftest.
$ac_ext
44840 cat >>conftest.
$ac_ext <<_ACEOF
44841 /* end confdefs.h. */
44842 #include <$ac_header>
44844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44847 grep -v '^ *+' conftest.er1
>conftest.err
44849 cat conftest.err
>&5
44850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44851 (exit $ac_status); } >/dev
/null
; then
44852 if test -s conftest.err
; then
44853 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44854 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44861 if test -z "$ac_cpp_err"; then
44862 ac_header_preproc
=yes
44864 echo "$as_me: failed program was:" >&5
44865 sed 's/^/| /' conftest.
$ac_ext >&5
44867 ac_header_preproc
=no
44869 rm -f conftest.err conftest.
$ac_ext
44870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44871 echo "${ECHO_T}$ac_header_preproc" >&6
44873 # So? What about this header?
44874 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44880 ac_header_preproc
=yes
44883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44897 ## ----------------------------------------- ##
44898 ## Report this to wx-dev@lists.wxwidgets.org ##
44899 ## ----------------------------------------- ##
44902 sed "s/^/$as_me: WARNING: /" >&2
44905 echo "$as_me:$LINENO: checking for $ac_header" >&5
44906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44908 echo $ECHO_N "(cached) $ECHO_C" >&6
44910 eval "$as_ac_Header=\$ac_header_preproc"
44912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44917 cat >>confdefs.h
<<_ACEOF
44918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44926 if test "$ac_cv_header_ole2_h" = "yes" ; then
44927 if test "$GCC" = yes ; then
44928 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44929 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44930 cat >conftest.
$ac_ext <<_ACEOF
44933 cat confdefs.h
>>conftest.
$ac_ext
44934 cat >>conftest.
$ac_ext <<_ACEOF
44935 /* end confdefs.h. */
44936 #include <windows.h>
44946 rm -f conftest.
$ac_objext
44947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44948 (eval $ac_compile) 2>conftest.er1
44950 grep -v '^ *+' conftest.er1
>conftest.err
44952 cat conftest.err
>&5
44953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44954 (exit $ac_status); } &&
44955 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44957 (eval $ac_try) 2>&5
44959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44960 (exit $ac_status); }; } &&
44961 { ac_try
='test -s conftest.$ac_objext'
44962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44963 (eval $ac_try) 2>&5
44965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44966 (exit $ac_status); }; }; then
44967 echo "$as_me:$LINENO: result: no" >&5
44968 echo "${ECHO_T}no" >&6
44970 echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.
$ac_ext >&5
44973 echo "$as_me:$LINENO: result: yes" >&5
44974 echo "${ECHO_T}yes" >&6
44975 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44978 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44979 if test "$wxUSE_OLE" = "yes" ; then
44980 cat >>confdefs.h
<<\_ACEOF
44981 #define wxUSE_OLE 1
44984 cat >>confdefs.h
<<\_ACEOF
44985 #define wxUSE_OLE_AUTOMATION 1
44988 cat >>confdefs.h
<<\_ACEOF
44989 #define wxUSE_OLE_ACTIVEX 1
44992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44996 if test "$wxUSE_DATAOBJ" = "yes" ; then
44997 cat >>confdefs.h
<<\_ACEOF
44998 #define wxUSE_DATAOBJ 1
45003 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45004 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45007 wxUSE_DRAG_AND_DROP
=no
45012 if test "$wxUSE_METAFILE" = "yes"; then
45013 cat >>confdefs.h
<<\_ACEOF
45014 #define wxUSE_METAFILE 1
45018 cat >>confdefs.h
<<\_ACEOF
45019 #define wxUSE_ENH_METAFILE 1
45025 if test "$wxUSE_IPC" = "yes"; then
45026 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45027 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45028 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45032 if test "$wxUSE_IPC" = "yes"; then
45033 cat >>confdefs.h
<<\_ACEOF
45034 #define wxUSE_IPC 1
45037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45041 if test "$wxUSE_DATAOBJ" = "yes"; then
45042 if test "$wxUSE_MGL" = 1; then
45043 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45044 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45047 cat >>confdefs.h
<<\_ACEOF
45048 #define wxUSE_DATAOBJ 1
45053 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45054 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45056 wxUSE_DRAG_AND_DROP
=no
45059 if test "$wxUSE_CLIPBOARD" = "yes"; then
45060 if test "$wxUSE_MGL" = 1; then
45061 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45062 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45066 if test "$wxUSE_CLIPBOARD" = "yes"; then
45067 cat >>confdefs.h
<<\_ACEOF
45068 #define wxUSE_CLIPBOARD 1
45074 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45075 if test "$wxUSE_GTK" = 1; then
45076 if test "$WXGTK12" != 1; then
45077 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45078 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45079 wxUSE_DRAG_AND_DROP
=no
45083 if test "$wxUSE_MOTIF" = 1; then
45084 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45085 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45086 wxUSE_DRAG_AND_DROP
=no
45089 if test "$wxUSE_X11" = 1; then
45090 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45091 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45092 wxUSE_DRAG_AND_DROP
=no
45095 if test "$wxUSE_MGL" = 1; then
45096 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45097 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45098 wxUSE_DRAG_AND_DROP
=no
45101 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45102 cat >>confdefs.h
<<\_ACEOF
45103 #define wxUSE_DRAG_AND_DROP 1
45110 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45114 if test "$wxUSE_SPLINES" = "yes" ; then
45115 cat >>confdefs.h
<<\_ACEOF
45116 #define wxUSE_SPLINES 1
45121 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45122 cat >>confdefs.h
<<\_ACEOF
45123 #define wxUSE_MOUSEWHEEL 1
45130 if test "$wxUSE_CONTROLS" = "yes"; then
45134 if test "$wxUSE_ACCEL" = "yes"; then
45135 cat >>confdefs.h
<<\_ACEOF
45136 #define wxUSE_ACCEL 1
45142 if test "$wxUSE_BUTTON" = "yes"; then
45143 cat >>confdefs.h
<<\_ACEOF
45144 #define wxUSE_BUTTON 1
45150 if test "$wxUSE_BMPBUTTON" = "yes"; then
45151 cat >>confdefs.h
<<\_ACEOF
45152 #define wxUSE_BMPBUTTON 1
45158 if test "$wxUSE_CALCTRL" = "yes"; then
45159 cat >>confdefs.h
<<\_ACEOF
45160 #define wxUSE_CALENDARCTRL 1
45164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45167 if test "$wxUSE_CARET" = "yes"; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_CARET 1
45173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45176 if test "$wxUSE_COMBOBOX" = "yes"; then
45177 cat >>confdefs.h
<<\_ACEOF
45178 #define wxUSE_COMBOBOX 1
45184 if test "$wxUSE_COMBOCTRL" = "yes"; then
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_COMBOCTRL 1
45192 if test "$wxUSE_CHOICE" = "yes"; then
45193 cat >>confdefs.h
<<\_ACEOF
45194 #define wxUSE_CHOICE 1
45200 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45201 cat >>confdefs.h
<<\_ACEOF
45202 #define wxUSE_CHOICEBOOK 1
45208 if test "$wxUSE_CHECKBOX" = "yes"; then
45209 cat >>confdefs.h
<<\_ACEOF
45210 #define wxUSE_CHECKBOX 1
45216 if test "$wxUSE_CHECKLST" = "yes"; then
45217 cat >>confdefs.h
<<\_ACEOF
45218 #define wxUSE_CHECKLISTBOX 1
45222 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45225 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45226 cat >>confdefs.h
<<\_ACEOF
45227 #define wxUSE_COLOURPICKERCTRL 1
45233 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45234 cat >>confdefs.h
<<\_ACEOF
45235 #define wxUSE_DATEPICKCTRL 1
45241 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45242 cat >>confdefs.h
<<\_ACEOF
45243 #define wxUSE_DIRPICKERCTRL 1
45249 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45250 cat >>confdefs.h
<<\_ACEOF
45251 #define wxUSE_FILEPICKERCTRL 1
45257 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45258 cat >>confdefs.h
<<\_ACEOF
45259 #define wxUSE_FONTPICKERCTRL 1
45265 if test "$wxUSE_DISPLAY" = "yes"; then
45266 cat >>confdefs.h
<<\_ACEOF
45267 #define wxUSE_DISPLAY 1
45270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45273 if test "$wxUSE_GAUGE" = "yes"; then
45274 cat >>confdefs.h
<<\_ACEOF
45275 #define wxUSE_GAUGE 1
45281 if test "$wxUSE_GRID" = "yes"; then
45282 cat >>confdefs.h
<<\_ACEOF
45283 #define wxUSE_GRID 1
45287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45290 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45291 cat >>confdefs.h
<<\_ACEOF
45292 #define wxUSE_HYPERLINKCTRL 1
45298 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45299 cat >>confdefs.h
<<\_ACEOF
45300 #define wxUSE_BITMAPCOMBOBOX 1
45306 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45307 cat >>confdefs.h
<<\_ACEOF
45308 #define wxUSE_DATAVIEWCTRL 1
45312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45315 if test "$wxUSE_IMAGLIST" = "yes"; then
45316 cat >>confdefs.h
<<\_ACEOF
45317 #define wxUSE_IMAGLIST 1
45322 if test "$wxUSE_LISTBOOK" = "yes"; then
45323 cat >>confdefs.h
<<\_ACEOF
45324 #define wxUSE_LISTBOOK 1
45330 if test "$wxUSE_LISTBOX" = "yes"; then
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_LISTBOX 1
45336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45339 if test "$wxUSE_LISTCTRL" = "yes"; then
45340 if test "$wxUSE_IMAGLIST" = "yes"; then
45341 cat >>confdefs.h
<<\_ACEOF
45342 #define wxUSE_LISTCTRL 1
45346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45348 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45349 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45353 if test "$wxUSE_NOTEBOOK" = "yes"; then
45354 cat >>confdefs.h
<<\_ACEOF
45355 #define wxUSE_NOTEBOOK 1
45359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45362 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45363 cat >>confdefs.h
<<\_ACEOF
45364 #define wxUSE_ODCOMBOBOX 1
45368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45372 if test "$wxUSE_RADIOBOX" = "yes"; then
45373 cat >>confdefs.h
<<\_ACEOF
45374 #define wxUSE_RADIOBOX 1
45380 if test "$wxUSE_RADIOBTN" = "yes"; then
45381 cat >>confdefs.h
<<\_ACEOF
45382 #define wxUSE_RADIOBTN 1
45388 if test "$wxUSE_SASH" = "yes"; then
45389 cat >>confdefs.h
<<\_ACEOF
45390 #define wxUSE_SASH 1
45393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45396 if test "$wxUSE_SCROLLBAR" = "yes"; then
45397 cat >>confdefs.h
<<\_ACEOF
45398 #define wxUSE_SCROLLBAR 1
45402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45405 if test "$wxUSE_SLIDER" = "yes"; then
45406 cat >>confdefs.h
<<\_ACEOF
45407 #define wxUSE_SLIDER 1
45413 if test "$wxUSE_SPINBTN" = "yes"; then
45414 cat >>confdefs.h
<<\_ACEOF
45415 #define wxUSE_SPINBTN 1
45421 if test "$wxUSE_SPINCTRL" = "yes"; then
45422 cat >>confdefs.h
<<\_ACEOF
45423 #define wxUSE_SPINCTRL 1
45429 if test "$wxUSE_SPLITTER" = "yes"; then
45430 cat >>confdefs.h
<<\_ACEOF
45431 #define wxUSE_SPLITTER 1
45434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45437 if test "$wxUSE_STATBMP" = "yes"; then
45438 cat >>confdefs.h
<<\_ACEOF
45439 #define wxUSE_STATBMP 1
45445 if test "$wxUSE_STATBOX" = "yes"; then
45446 cat >>confdefs.h
<<\_ACEOF
45447 #define wxUSE_STATBOX 1
45453 if test "$wxUSE_STATTEXT" = "yes"; then
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_STATTEXT 1
45461 if test "$wxUSE_STATLINE" = "yes"; then
45462 cat >>confdefs.h
<<\_ACEOF
45463 #define wxUSE_STATLINE 1
45469 if test "$wxUSE_STATUSBAR" = "yes"; then
45470 cat >>confdefs.h
<<\_ACEOF
45471 #define wxUSE_NATIVE_STATUSBAR 1
45474 cat >>confdefs.h
<<\_ACEOF
45475 #define wxUSE_STATUSBAR 1
45480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45483 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45484 cat >>confdefs.h
<<\_ACEOF
45485 #define wxUSE_TAB_DIALOG 1
45490 if test "$wxUSE_TEXTCTRL" = "yes"; then
45491 cat >>confdefs.h
<<\_ACEOF
45492 #define wxUSE_TEXTCTRL 1
45496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45499 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45500 if test "$wxUSE_COCOA" = 1 ; then
45501 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45502 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45506 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45507 cat >>confdefs.h
<<\_ACEOF
45508 #define wxUSE_TOGGLEBTN 1
45515 if test "$wxUSE_TOOLBAR" = "yes"; then
45516 cat >>confdefs.h
<<\_ACEOF
45517 #define wxUSE_TOOLBAR 1
45522 if test "$wxUSE_UNIVERSAL" = "yes"; then
45523 wxUSE_TOOLBAR_NATIVE
="no"
45525 wxUSE_TOOLBAR_NATIVE
="yes"
45526 cat >>confdefs.h
<<\_ACEOF
45527 #define wxUSE_TOOLBAR_NATIVE 1
45532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45535 if test "$wxUSE_TOOLTIPS" = "yes"; then
45536 if test "$wxUSE_MOTIF" = 1; then
45537 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45538 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45540 if test "$wxUSE_UNIVERSAL" = "yes"; then
45541 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45542 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45544 cat >>confdefs.h
<<\_ACEOF
45545 #define wxUSE_TOOLTIPS 1
45552 if test "$wxUSE_TREEBOOK" = "yes"; then
45553 cat >>confdefs.h
<<\_ACEOF
45554 #define wxUSE_TREEBOOK 1
45560 if test "$wxUSE_TOOLBOOK" = "yes"; then
45561 cat >>confdefs.h
<<\_ACEOF
45562 #define wxUSE_TOOLBOOK 1
45568 if test "$wxUSE_TREECTRL" = "yes"; then
45569 if test "$wxUSE_IMAGLIST" = "yes"; then
45570 cat >>confdefs.h
<<\_ACEOF
45571 #define wxUSE_TREECTRL 1
45575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45577 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45578 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45582 if test "$wxUSE_POPUPWIN" = "yes"; then
45583 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45584 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45585 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45587 if test "$wxUSE_PM" = 1; then
45588 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45589 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45591 cat >>confdefs.h
<<\_ACEOF
45592 #define wxUSE_POPUPWIN 1
45595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45602 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45603 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45604 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45605 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45607 cat >>confdefs.h
<<\_ACEOF
45608 #define wxUSE_DIALUP_MANAGER 1
45611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45615 if test "$wxUSE_TIPWINDOW" = "yes"; then
45616 if test "$wxUSE_PM" = 1; then
45617 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45618 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45620 cat >>confdefs.h
<<\_ACEOF
45621 #define wxUSE_TIPWINDOW 1
45627 if test "$USES_CONTROLS" = 1; then
45628 cat >>confdefs.h
<<\_ACEOF
45629 #define wxUSE_CONTROLS 1
45635 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45636 cat >>confdefs.h
<<\_ACEOF
45637 #define wxUSE_ACCESSIBILITY 1
45640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45643 if test "$wxUSE_DC_CACHEING" = "yes"; then
45644 cat >>confdefs.h
<<\_ACEOF
45645 #define wxUSE_DC_CACHEING 1
45650 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45651 cat >>confdefs.h
<<\_ACEOF
45652 #define wxUSE_DRAGIMAGE 1
45655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45658 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45659 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45660 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45661 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45663 cat >>confdefs.h
<<\_ACEOF
45664 #define wxUSE_EXCEPTIONS 1
45667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45672 if test "$wxUSE_HTML" = "yes"; then
45673 cat >>confdefs.h
<<\_ACEOF
45674 #define wxUSE_HTML 1
45678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45679 if test "$wxUSE_MAC" = 1; then
45680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45683 if test "$wxUSE_WEBKIT" = "yes"; then
45684 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45685 old_CPPFLAGS
="$CPPFLAGS"
45686 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45687 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45688 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45689 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45690 echo $ECHO_N "(cached) $ECHO_C" >&6
45692 cat >conftest.
$ac_ext <<_ACEOF
45695 cat confdefs.h
>>conftest.
$ac_ext
45696 cat >>conftest.
$ac_ext <<_ACEOF
45697 /* end confdefs.h. */
45698 #include <Carbon/Carbon.h>
45700 #include <WebKit/HIWebView.h>
45702 rm -f conftest.
$ac_objext
45703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45704 (eval $ac_compile) 2>conftest.er1
45706 grep -v '^ *+' conftest.er1
>conftest.err
45708 cat conftest.err
>&5
45709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45710 (exit $ac_status); } &&
45711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45713 (eval $ac_try) 2>&5
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); }; } &&
45717 { ac_try
='test -s conftest.$ac_objext'
45718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45719 (eval $ac_try) 2>&5
45721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45722 (exit $ac_status); }; }; then
45723 ac_cv_header_WebKit_HIWebView_h
=yes
45725 echo "$as_me: failed program was:" >&5
45726 sed 's/^/| /' conftest.
$ac_ext >&5
45728 ac_cv_header_WebKit_HIWebView_h
=no
45730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45732 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45733 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45734 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45736 cat >>confdefs.h
<<\_ACEOF
45737 #define wxUSE_WEBKIT 1
45740 WEBKIT_LINK
="-framework WebKit"
45744 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45745 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45751 CPPFLAGS
="$old_CPPFLAGS"
45752 elif test "$wxUSE_COCOA" = 1; then
45753 cat >>confdefs.h
<<\_ACEOF
45754 #define wxUSE_WEBKIT 1
45763 if test "$wxUSE_XRC" = "yes"; then
45764 if test "$wxUSE_XML" != "yes"; then
45765 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45766 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45769 cat >>confdefs.h
<<\_ACEOF
45770 #define wxUSE_XRC 1
45774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45779 if test "$wxUSE_AUI" = "yes"; then
45780 cat >>confdefs.h
<<\_ACEOF
45781 #define wxUSE_AUI 1
45785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45788 if test "$wxUSE_MENUS" = "yes"; then
45789 cat >>confdefs.h
<<\_ACEOF
45790 #define wxUSE_MENUS 1
45793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45796 if test "$wxUSE_METAFILE" = "yes"; then
45797 cat >>confdefs.h
<<\_ACEOF
45798 #define wxUSE_METAFILE 1
45803 if test "$wxUSE_MIMETYPE" = "yes"; then
45804 cat >>confdefs.h
<<\_ACEOF
45805 #define wxUSE_MIMETYPE 1
45810 if test "$wxUSE_MINIFRAME" = "yes"; then
45811 cat >>confdefs.h
<<\_ACEOF
45812 #define wxUSE_MINIFRAME 1
45815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45818 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_SYSTEM_OPTIONS 1
45823 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45824 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45830 if test "$wxUSE_VALIDATORS" = "yes"; then
45831 cat >>confdefs.h
<<\_ACEOF
45832 #define wxUSE_VALIDATORS 1
45835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45838 if test "$wxUSE_PALETTE" = "yes" ; then
45839 cat >>confdefs.h
<<\_ACEOF
45840 #define wxUSE_PALETTE 1
45845 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45846 LIBS
=" -lunicows $LIBS"
45850 if test "$wxUSE_RICHTEXT" = "yes"; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_RICHTEXT 1
45856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45859 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45860 cat >>confdefs.h
<<\_ACEOF
45861 #define wxUSE_GRAPHICS_CONTEXT 1
45867 if test "$wxUSE_IMAGE" = "yes" ; then
45868 cat >>confdefs.h
<<\_ACEOF
45869 #define wxUSE_IMAGE 1
45873 if test "$wxUSE_GIF" = "yes" ; then
45874 cat >>confdefs.h
<<\_ACEOF
45875 #define wxUSE_GIF 1
45880 if test "$wxUSE_PCX" = "yes" ; then
45881 cat >>confdefs.h
<<\_ACEOF
45882 #define wxUSE_PCX 1
45887 if test "$wxUSE_IFF" = "yes" ; then
45888 cat >>confdefs.h
<<\_ACEOF
45889 #define wxUSE_IFF 1
45894 if test "$wxUSE_PNM" = "yes" ; then
45895 cat >>confdefs.h
<<\_ACEOF
45896 #define wxUSE_PNM 1
45901 if test "$wxUSE_XPM" = "yes" ; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_XPM 1
45908 if test "$wxUSE_ICO_CUR" = "yes" ; then
45909 cat >>confdefs.h
<<\_ACEOF
45910 #define wxUSE_ICO_CUR 1
45917 if test "$wxUSE_ABOUTDLG" = "yes"; then
45918 cat >>confdefs.h
<<\_ACEOF
45919 #define wxUSE_ABOUTDLG 1
45924 if test "$wxUSE_CHOICEDLG" = "yes"; then
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_CHOICEDLG 1
45931 if test "$wxUSE_COLOURDLG" = "yes"; then
45932 cat >>confdefs.h
<<\_ACEOF
45933 #define wxUSE_COLOURDLG 1
45938 if test "$wxUSE_FILEDLG" = "yes"; then
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_FILEDLG 1
45945 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45946 cat >>confdefs.h
<<\_ACEOF
45947 #define wxUSE_FINDREPLDLG 1
45952 if test "$wxUSE_FONTDLG" = "yes"; then
45953 cat >>confdefs.h
<<\_ACEOF
45954 #define wxUSE_FONTDLG 1
45959 if test "$wxUSE_DIRDLG" = "yes"; then
45960 if test "$wxUSE_TREECTRL" != "yes"; then
45961 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45962 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45964 cat >>confdefs.h
<<\_ACEOF
45965 #define wxUSE_DIRDLG 1
45971 if test "$wxUSE_MSGDLG" = "yes"; then
45972 cat >>confdefs.h
<<\_ACEOF
45973 #define wxUSE_MSGDLG 1
45978 if test "$wxUSE_NUMBERDLG" = "yes"; then
45979 cat >>confdefs.h
<<\_ACEOF
45980 #define wxUSE_NUMBERDLG 1
45985 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45986 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45987 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45988 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45990 cat >>confdefs.h
<<\_ACEOF
45991 #define wxUSE_PROGRESSDLG 1
45997 if test "$wxUSE_SPLASH" = "yes"; then
45998 cat >>confdefs.h
<<\_ACEOF
45999 #define wxUSE_SPLASH 1
46002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46005 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46006 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46007 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46008 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46010 cat >>confdefs.h
<<\_ACEOF
46011 #define wxUSE_STARTUP_TIPS 1
46017 if test "$wxUSE_TEXTDLG" = "yes"; then
46018 cat >>confdefs.h
<<\_ACEOF
46019 #define wxUSE_TEXTDLG 1
46024 if test "$wxUSE_WIZARDDLG" = "yes"; then
46025 cat >>confdefs.h
<<\_ACEOF
46026 #define wxUSE_WIZARDDLG 1
46029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46035 if test "$wxUSE_MEDIACTRL" = "yes"; then
46038 if test "$wxUSE_GTK" = 1; then
46039 wxUSE_GSTREAMER
="no"
46041 GST_VERSION_MAJOR
=0
46042 GST_VERSION_MINOR
=10
46043 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46045 if test "$wxUSE_GSTREAMER8" = "no"; then
46048 echo "$as_me:$LINENO: checking for GST" >&5
46049 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46051 if test -n "$PKG_CONFIG"; then
46052 if test -n "$GST_CFLAGS"; then
46053 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46055 if test -n "$PKG_CONFIG" && \
46056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46057 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); }; then
46061 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46069 if test -n "$PKG_CONFIG"; then
46070 if test -n "$GST_LIBS"; then
46071 pkg_cv_GST_LIBS
="$GST_LIBS"
46073 if test -n "$PKG_CONFIG" && \
46074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46075 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46078 (exit $ac_status); }; then
46079 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46090 if test $pkg_failed = yes; then
46092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46093 _pkg_short_errors_supported
=yes
46095 _pkg_short_errors_supported
=no
46097 if test $_pkg_short_errors_supported = yes; then
46098 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46100 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46102 # Put the nasty error message in config.log where it belongs
46103 echo "$GST_PKG_ERRORS" >&5
46106 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46107 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46108 GST_VERSION_MINOR
=8
46111 elif test $pkg_failed = untried
; then
46113 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46114 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46115 GST_VERSION_MINOR
=8
46119 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46120 GST_LIBS
=$pkg_cv_GST_LIBS
46121 echo "$as_me:$LINENO: result: yes" >&5
46122 echo "${ECHO_T}yes" >&6
46124 wxUSE_GSTREAMER
="yes"
46125 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46129 GST_VERSION_MINOR
=8
46132 if test $GST_VERSION_MINOR = "8"; then
46133 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46136 echo "$as_me:$LINENO: checking for GST" >&5
46137 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46139 if test -n "$PKG_CONFIG"; then
46140 if test -n "$GST_CFLAGS"; then
46141 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46143 if test -n "$PKG_CONFIG" && \
46144 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46145 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); }; then
46149 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46157 if test -n "$PKG_CONFIG"; then
46158 if test -n "$GST_LIBS"; then
46159 pkg_cv_GST_LIBS
="$GST_LIBS"
46161 if test -n "$PKG_CONFIG" && \
46162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46163 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46166 (exit $ac_status); }; then
46167 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46178 if test $pkg_failed = yes; then
46180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46181 _pkg_short_errors_supported
=yes
46183 _pkg_short_errors_supported
=no
46185 if test $_pkg_short_errors_supported = yes; then
46186 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46188 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46190 # Put the nasty error message in config.log where it belongs
46191 echo "$GST_PKG_ERRORS" >&5
46194 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46195 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46197 elif test $pkg_failed = untried
; then
46199 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46200 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46203 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46204 GST_LIBS
=$pkg_cv_GST_LIBS
46205 echo "$as_me:$LINENO: result: yes" >&5
46206 echo "${ECHO_T}yes" >&6
46207 wxUSE_GSTREAMER
="yes"
46212 if test "$wxUSE_GSTREAMER" = "yes"; then
46215 if "$GCC" = yes; then
46216 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46217 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46221 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46222 LIBS
="$GST_LIBS $LIBS"
46224 cat >>confdefs.h
<<\_ACEOF
46225 #define wxUSE_GSTREAMER 1
46233 if test $USE_MEDIA = 1; then
46234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46235 cat >>confdefs.h
<<\_ACEOF
46236 #define wxUSE_MEDIACTRL 1
46243 if test "$cross_compiling" = "yes"; then
46246 OSINFO
=`uname -s -r -m`
46247 OSINFO
="\"$OSINFO\""
46250 cat >>confdefs.h
<<_ACEOF
46251 #define WXWIN_OS_DESCRIPTION $OSINFO
46256 if test "x$prefix" != "xNONE"; then
46259 wxPREFIX
=$ac_default_prefix
46262 cat >>confdefs.h
<<_ACEOF
46263 #define wxINSTALL_PREFIX "$wxPREFIX"
46269 CORE_BASE_LIBS
="net base"
46270 CORE_GUI_LIBS
="adv core"
46272 if test "$wxUSE_XML" = "yes" ; then
46273 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46275 if test "$wxUSE_ODBC" != "no" ; then
46276 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46277 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46279 if test "$wxUSE_HTML" = "yes" ; then
46280 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46282 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46283 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46285 if test "$wxUSE_XRC" = "yes" ; then
46286 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46288 if test "$wxUSE_AUI" = "yes" ; then
46289 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46292 if test "$wxUSE_GUI" != "yes"; then
46301 ac_cpp
='$CPP $CPPFLAGS'
46302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46308 if test "$wxUSE_MAC" = 1 ; then
46309 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46310 if test "$USE_DARWIN" = 1; then
46311 LDFLAGS
="$LDFLAGS -framework QuickTime"
46313 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46316 if test "$USE_DARWIN" = 1; then
46317 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46319 LDFLAGS
="$LDFLAGS -lCarbonLib"
46322 if test "$wxUSE_COCOA" = 1 ; then
46323 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46324 if test "$wxUSE_MEDIACTRL" = "yes"; then
46325 LDFLAGS
="$LDFLAGS -framework QuickTime"
46328 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46329 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46332 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46334 if test "$wxUSE_GUI" = "yes"; then
46337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46338 dynamic erase event exec font image minimal mobile \
46339 mobile/wxedit mobile/styles propsize render \
46340 rotate shaped vscroll widgets"
46342 if test "$wxUSE_MONOLITHIC" != "yes"; then
46343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46345 if test "$TOOLKIT" = "MSW"; then
46346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46347 if test "$wxUSE_UNIVERSAL" != "yes"; then
46348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46351 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46355 SAMPLES_SUBDIRS
="console"
46359 if test "x$INTELCC" = "xyes" ; then
46360 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46361 elif test "$GCC" = yes ; then
46362 CWARNINGS
="-Wall -Wundef"
46365 if test "x$INTELCXX" = "xyes" ; then
46366 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46367 elif test "$GXX" = yes ; then
46368 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46372 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46373 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46376 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46377 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46378 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46381 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46382 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46383 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46385 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46388 if test "x$MWCC" = "xyes"; then
46390 CC
="$CC -cwd source -I-"
46391 CXX
="$CXX -cwd source -I-"
46396 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46397 EXTRALIBS_XML
="$EXPAT_LINK"
46398 EXTRALIBS_HTML
="$MSPACK_LINK"
46399 EXTRALIBS_ODBC
="$ODBC_LINK"
46400 if test "$wxUSE_GUI" = "yes"; then
46401 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46403 if test "$wxUSE_OPENGL" = "yes"; then
46404 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46407 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46409 WXCONFIG_LIBS
="$LIBS"
46411 if test "$wxUSE_REGEX" = "builtin" ; then
46412 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46414 if test "$wxUSE_EXPAT" = "builtin" ; then
46415 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46417 if test "$wxUSE_ODBC" = "builtin" ; then
46418 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46420 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46421 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46423 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46424 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46426 if test "$wxUSE_LIBPNG" = "builtin" ; then
46427 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46429 if test "$wxUSE_ZLIB" = "builtin" ; then
46430 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46433 for i
in $wxconfig_3rdparty ; do
46434 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46438 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46441 case "$wxUNIV_THEMES" in
46443 cat >>confdefs.h
<<\_ACEOF
46444 #define wxUSE_ALL_THEMES 1
46450 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46451 cat >>confdefs.h
<<_ACEOF
46452 #define wxUSE_THEME_$t 1
46469 if test $wxUSE_MONOLITHIC = "yes" ; then
46475 if test $wxUSE_PLUGINS = "yes" ; then
46481 if test $wxUSE_ODBC != "no" ; then
46487 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46493 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46523 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46534 TOOLKIT_DESC
="GTK+"
46535 if test "$WXGTK20" = 1; then
46536 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46537 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46538 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46540 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46541 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46543 if test "$wxUSE_LIBHILDON" = "yes"; then
46544 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46547 if test "$TOOLKIT_EXTRA" != ""; then
46548 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46554 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46558 TOOLKIT_DESC
="base only"
46562 if test "$wxUSE_WINE" = "yes"; then
46563 BAKEFILE_FORCE_PLATFORM
=win32
46566 if test "$wxUSE_MAC" = 1 ; then
46567 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46568 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46569 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46571 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46573 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46574 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46575 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46576 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46579 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46580 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46586 if test "x$BAKEFILE_HOST" = "x"; then
46587 if test "x${host}" = "x" ; then
46588 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46589 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46590 { (exit 1); exit 1; }; }
46593 BAKEFILE_HOST
="${host}"
46596 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46598 if test -n "$ac_tool_prefix"; then
46599 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46600 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46601 echo "$as_me:$LINENO: checking for $ac_word" >&5
46602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46603 if test "${ac_cv_prog_RANLIB+set}" = set; then
46604 echo $ECHO_N "(cached) $ECHO_C" >&6
46606 if test -n "$RANLIB"; then
46607 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46610 for as_dir
in $PATH
46613 test -z "$as_dir" && as_dir
=.
46614 for ac_exec_ext
in '' $ac_executable_extensions; do
46615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46616 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46625 RANLIB
=$ac_cv_prog_RANLIB
46626 if test -n "$RANLIB"; then
46627 echo "$as_me:$LINENO: result: $RANLIB" >&5
46628 echo "${ECHO_T}$RANLIB" >&6
46630 echo "$as_me:$LINENO: result: no" >&5
46631 echo "${ECHO_T}no" >&6
46635 if test -z "$ac_cv_prog_RANLIB"; then
46636 ac_ct_RANLIB
=$RANLIB
46637 # Extract the first word of "ranlib", so it can be a program name with args.
46638 set dummy ranlib
; ac_word
=$2
46639 echo "$as_me:$LINENO: checking for $ac_word" >&5
46640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46641 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46642 echo $ECHO_N "(cached) $ECHO_C" >&6
46644 if test -n "$ac_ct_RANLIB"; then
46645 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46648 for as_dir
in $PATH
46651 test -z "$as_dir" && as_dir
=.
46652 for ac_exec_ext
in '' $ac_executable_extensions; do
46653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46654 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46661 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46664 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46665 if test -n "$ac_ct_RANLIB"; then
46666 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46667 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46669 echo "$as_me:$LINENO: result: no" >&5
46670 echo "${ECHO_T}no" >&6
46673 RANLIB
=$ac_ct_RANLIB
46675 RANLIB
="$ac_cv_prog_RANLIB"
46678 # Find a good install program. We prefer a C program (faster),
46679 # so one script is as good as another. But avoid the broken or
46680 # incompatible versions:
46681 # SysV /etc/install, /usr/sbin/install
46682 # SunOS /usr/etc/install
46683 # IRIX /sbin/install
46685 # AmigaOS /C/install, which installs bootblocks on floppy discs
46686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46689 # OS/2's system install, which has a completely different semantic
46690 # ./install, which can be erroneously created by make from ./install.sh.
46691 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46692 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46693 if test -z "$INSTALL"; then
46694 if test "${ac_cv_path_install+set}" = set; then
46695 echo $ECHO_N "(cached) $ECHO_C" >&6
46697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46698 for as_dir
in $PATH
46701 test -z "$as_dir" && as_dir
=.
46702 # Account for people who put trailing slashes in PATH elements.
46704 .
/ | .
// | /cC
/* | \
46705 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46706 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46709 # OSF1 and SCO ODT 3.0 have their own names for install.
46710 # Don't use installbsd from OSF since it installs stuff as root
46712 for ac_prog
in ginstall scoinst
install; do
46713 for ac_exec_ext
in '' $ac_executable_extensions; do
46714 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46715 if test $ac_prog = install &&
46716 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46717 # AIX install. It has an incompatible calling convention.
46719 elif test $ac_prog = install &&
46720 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46721 # program-specific install script used by HP pwplus--don't use.
46724 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46736 if test "${ac_cv_path_install+set}" = set; then
46737 INSTALL
=$ac_cv_path_install
46739 # As a last resort, use the slow shell script. We don't cache a
46740 # path for INSTALL within a source directory, because that will
46741 # break other packages using the cache if that directory is
46742 # removed, or if the path is relative.
46743 INSTALL
=$ac_install_sh
46746 echo "$as_me:$LINENO: result: $INSTALL" >&5
46747 echo "${ECHO_T}$INSTALL" >&6
46749 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46750 # It thinks the first close brace ends the variable substitution.
46751 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46753 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46755 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46757 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46758 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46760 if test "$LN_S" = "ln -s"; then
46761 echo "$as_me:$LINENO: result: yes" >&5
46762 echo "${ECHO_T}yes" >&6
46764 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46765 echo "${ECHO_T}no, using $LN_S" >&6
46769 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46771 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46772 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46773 echo $ECHO_N "(cached) $ECHO_C" >&6
46775 cat >conftest.
make <<\_ACEOF
46777 @
echo 'ac_maketemp="$(MAKE)"'
46779 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46780 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46781 if test -n "$ac_maketemp"; then
46782 eval ac_cv_prog_make_
${ac_make}_set
=yes
46784 eval ac_cv_prog_make_
${ac_make}_set
=no
46786 rm -f conftest.
make
46788 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46789 echo "$as_me:$LINENO: result: yes" >&5
46790 echo "${ECHO_T}yes" >&6
46793 echo "$as_me:$LINENO: result: no" >&5
46794 echo "${ECHO_T}no" >&6
46795 SET_MAKE
="MAKE=${MAKE-make}"
46800 if test -n "$ac_tool_prefix"; then
46801 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46802 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46803 echo "$as_me:$LINENO: checking for $ac_word" >&5
46804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46805 if test "${ac_cv_prog_AR+set}" = set; then
46806 echo $ECHO_N "(cached) $ECHO_C" >&6
46808 if test -n "$AR"; then
46809 ac_cv_prog_AR
="$AR" # Let the user override the test.
46811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46812 for as_dir
in $PATH
46815 test -z "$as_dir" && as_dir
=.
46816 for ac_exec_ext
in '' $ac_executable_extensions; do
46817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46818 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46828 if test -n "$AR"; then
46829 echo "$as_me:$LINENO: result: $AR" >&5
46830 echo "${ECHO_T}$AR" >&6
46832 echo "$as_me:$LINENO: result: no" >&5
46833 echo "${ECHO_T}no" >&6
46837 if test -z "$ac_cv_prog_AR"; then
46839 # Extract the first word of "ar", so it can be a program name with args.
46840 set dummy
ar; ac_word
=$2
46841 echo "$as_me:$LINENO: checking for $ac_word" >&5
46842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46844 echo $ECHO_N "(cached) $ECHO_C" >&6
46846 if test -n "$ac_ct_AR"; then
46847 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46850 for as_dir
in $PATH
46853 test -z "$as_dir" && as_dir
=.
46854 for ac_exec_ext
in '' $ac_executable_extensions; do
46855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46856 ac_cv_prog_ac_ct_AR
="ar"
46857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46863 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46866 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46867 if test -n "$ac_ct_AR"; then
46868 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46869 echo "${ECHO_T}$ac_ct_AR" >&6
46871 echo "$as_me:$LINENO: result: no" >&5
46872 echo "${ECHO_T}no" >&6
46877 AR
="$ac_cv_prog_AR"
46880 if test -n "$ac_tool_prefix"; then
46881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46882 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46883 echo "$as_me:$LINENO: checking for $ac_word" >&5
46884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46885 if test "${ac_cv_prog_STRIP+set}" = set; then
46886 echo $ECHO_N "(cached) $ECHO_C" >&6
46888 if test -n "$STRIP"; then
46889 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46892 for as_dir
in $PATH
46895 test -z "$as_dir" && as_dir
=.
46896 for ac_exec_ext
in '' $ac_executable_extensions; do
46897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46898 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46907 STRIP
=$ac_cv_prog_STRIP
46908 if test -n "$STRIP"; then
46909 echo "$as_me:$LINENO: result: $STRIP" >&5
46910 echo "${ECHO_T}$STRIP" >&6
46912 echo "$as_me:$LINENO: result: no" >&5
46913 echo "${ECHO_T}no" >&6
46917 if test -z "$ac_cv_prog_STRIP"; then
46919 # Extract the first word of "strip", so it can be a program name with args.
46920 set dummy strip
; ac_word
=$2
46921 echo "$as_me:$LINENO: checking for $ac_word" >&5
46922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46923 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46924 echo $ECHO_N "(cached) $ECHO_C" >&6
46926 if test -n "$ac_ct_STRIP"; then
46927 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46930 for as_dir
in $PATH
46933 test -z "$as_dir" && as_dir
=.
46934 for ac_exec_ext
in '' $ac_executable_extensions; do
46935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46936 ac_cv_prog_ac_ct_STRIP
="strip"
46937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46943 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46946 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46947 if test -n "$ac_ct_STRIP"; then
46948 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46949 echo "${ECHO_T}$ac_ct_STRIP" >&6
46951 echo "$as_me:$LINENO: result: no" >&5
46952 echo "${ECHO_T}no" >&6
46957 STRIP
="$ac_cv_prog_STRIP"
46960 if test -n "$ac_tool_prefix"; then
46961 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46962 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46963 echo "$as_me:$LINENO: checking for $ac_word" >&5
46964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46965 if test "${ac_cv_prog_NM+set}" = set; then
46966 echo $ECHO_N "(cached) $ECHO_C" >&6
46968 if test -n "$NM"; then
46969 ac_cv_prog_NM
="$NM" # Let the user override the test.
46971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46972 for as_dir
in $PATH
46975 test -z "$as_dir" && as_dir
=.
46976 for ac_exec_ext
in '' $ac_executable_extensions; do
46977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46978 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46988 if test -n "$NM"; then
46989 echo "$as_me:$LINENO: result: $NM" >&5
46990 echo "${ECHO_T}$NM" >&6
46992 echo "$as_me:$LINENO: result: no" >&5
46993 echo "${ECHO_T}no" >&6
46997 if test -z "$ac_cv_prog_NM"; then
46999 # Extract the first word of "nm", so it can be a program name with args.
47000 set dummy nm
; ac_word
=$2
47001 echo "$as_me:$LINENO: checking for $ac_word" >&5
47002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47003 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47004 echo $ECHO_N "(cached) $ECHO_C" >&6
47006 if test -n "$ac_ct_NM"; then
47007 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47010 for as_dir
in $PATH
47013 test -z "$as_dir" && as_dir
=.
47014 for ac_exec_ext
in '' $ac_executable_extensions; do
47015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47016 ac_cv_prog_ac_ct_NM
="nm"
47017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47023 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47026 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47027 if test -n "$ac_ct_NM"; then
47028 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47029 echo "${ECHO_T}$ac_ct_NM" >&6
47031 echo "$as_me:$LINENO: result: no" >&5
47032 echo "${ECHO_T}no" >&6
47037 NM
="$ac_cv_prog_NM"
47041 case ${BAKEFILE_HOST} in
47043 INSTALL_DIR
="mkdir -p"
47045 *) INSTALL_DIR
="$INSTALL -d"
47051 case ${BAKEFILE_HOST} in
47052 *-*-cygwin* | *-*-mingw32* )
47053 LDFLAGS_GUI
="-mwindows"
47059 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47060 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47061 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47062 echo $ECHO_N "(cached) $ECHO_C" >&6
47065 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47066 egrep -s GNU
> /dev
/null
); then
47067 bakefile_cv_prog_makeisgnu
="yes"
47069 bakefile_cv_prog_makeisgnu
="no"
47073 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47074 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47076 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47093 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47094 case "${BAKEFILE_HOST}" in
47101 *-pc-os2_emx | *-pc-os2-emx )
47111 powerpc
-apple-macos* )
47120 case "$BAKEFILE_FORCE_PLATFORM" in
47141 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47142 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47143 { (exit 1); exit 1; }; }
47158 # Check whether --enable-omf or --disable-omf was given.
47159 if test "${enable_omf+set}" = set; then
47160 enableval
="$enable_omf"
47161 bk_os2_use_omf
="$enableval"
47164 case "${BAKEFILE_HOST}" in
47166 if test "x$GCC" = "xyes"; then
47167 CFLAGS
="$CFLAGS -fno-common"
47168 CXXFLAGS
="$CXXFLAGS -fno-common"
47170 if test "x$XLCC" = "xyes"; then
47171 CFLAGS
="$CFLAGS -qnocommon"
47172 CXXFLAGS
="$CXXFLAGS -qnocommon"
47176 *-pc-os2_emx | *-pc-os2-emx )
47177 if test "x$bk_os2_use_omf" = "xyes" ; then
47180 LDFLAGS
="-Zomf $LDFLAGS"
47181 CFLAGS
="-Zomf $CFLAGS"
47182 CXXFLAGS
="-Zomf $CXXFLAGS"
47190 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47196 SO_SUFFIX_MODULE
="so"
47201 DLLPREFIX_MODULE
=""
47205 case "${BAKEFILE_HOST}" in
47208 SO_SUFFIX_MODULE
="sl"
47212 SO_SUFFIX_MODULE
="a"
47216 SO_SUFFIX_MODULE
="dll"
47217 DLLIMP_SUFFIX
="dll.a"
47224 SO_SUFFIX_MODULE
="dll"
47225 DLLIMP_SUFFIX
="dll.a"
47235 *-pc-os2_emx | *-pc-os2-emx )
47237 SO_SUFFIX_MODULE
="dll"
47238 DLLIMP_SUFFIX
=$OS2_LIBEXT
47242 LIBEXT
=".$OS2_LIBEXT"
47247 SO_SUFFIX_MODULE
="bundle"
47251 if test "x$DLLIMP_SUFFIX" = "x" ; then
47252 DLLIMP_SUFFIX
="$SO_SUFFIX"
47267 if test "x$GCC" = "xyes"; then
47271 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47272 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47275 case "${BAKEFILE_HOST}" in
47277 if test "x$GCC" != "xyes"; then
47278 LDFLAGS
="$LDFLAGS -L/usr/lib"
47280 SHARED_LD_CC
="${CC} -b -o"
47281 SHARED_LD_CXX
="${CXX} -b -o"
47287 if test "x$GCC" != "xyes"; then
47288 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47289 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47290 if test "${bakefile_cv_prog_icc+set}" = set; then
47291 echo $ECHO_N "(cached) $ECHO_C" >&6
47294 cat >conftest.
$ac_ext <<_ACEOF
47297 cat confdefs.h
>>conftest.
$ac_ext
47298 cat >>conftest.
$ac_ext <<_ACEOF
47299 /* end confdefs.h. */
47305 #ifndef __INTEL_COMPILER
47313 rm -f conftest.
$ac_objext
47314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47315 (eval $ac_compile) 2>conftest.er1
47317 grep -v '^ *+' conftest.er1
>conftest.err
47319 cat conftest.err
>&5
47320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47321 (exit $ac_status); } &&
47322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47324 (eval $ac_try) 2>&5
47326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47327 (exit $ac_status); }; } &&
47328 { ac_try
='test -s conftest.$ac_objext'
47329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47330 (eval $ac_try) 2>&5
47332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333 (exit $ac_status); }; }; then
47334 bakefile_cv_prog_icc
=yes
47336 echo "$as_me: failed program was:" >&5
47337 sed 's/^/| /' conftest.
$ac_ext >&5
47339 bakefile_cv_prog_icc
=no
47342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47345 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47346 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47347 if test "$bakefile_cv_prog_icc" = "yes"; then
47354 if test "x$GCC" != xyes
; then
47355 SHARED_LD_CC
="${CC} -G -o"
47356 SHARED_LD_CXX
="${CXX} -G -o"
47364 cat <<EOF >shared-ld-sh
47366 #-----------------------------------------------------------------------------
47367 #-- Name: distrib/mac/shared-ld-sh
47368 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47369 #-- Author: Gilles Depeyrot
47370 #-- Copyright: (c) 2002 Gilles Depeyrot
47371 #-- Licence: any use permitted
47372 #-----------------------------------------------------------------------------
47377 linking_flag="-dynamiclib"
47378 ldargs="-r -keep_private_externs -nostdlib"
47380 while test ${D}# -gt 0; do
47387 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47388 # collect these options and values
47389 args="${D}{args} ${D}1 ${D}2"
47394 # collect these load args
47395 ldargs="${D}{ldargs} ${D}1"
47398 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47399 # collect these options
47400 args="${D}{args} ${D}1"
47403 -dynamiclib|-bundle)
47404 linking_flag="${D}1"
47408 echo "shared-ld: unhandled option '${D}1'"
47412 *.o | *.a | *.dylib)
47413 # collect object files
47414 objects="${D}{objects} ${D}1"
47418 echo "shared-ld: unhandled argument '${D}1'"
47429 # Link one module containing all the others
47431 if test ${D}{verbose} = 1; then
47432 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47434 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47438 # Link the shared library from the single module created, but only if the
47439 # previous command didn't fail:
47441 if test ${D}{status} = 0; then
47442 if test ${D}{verbose} = 1; then
47443 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47445 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47450 # Remove intermediate module
47452 rm -f master.${D}${D}.o
47457 chmod +x shared
-ld-sh
47459 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47460 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47463 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47464 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47465 if test "${bakefile_cv_gcc31+set}" = set; then
47466 echo $ECHO_N "(cached) $ECHO_C" >&6
47469 cat >conftest.
$ac_ext <<_ACEOF
47472 cat confdefs.h
>>conftest.
$ac_ext
47473 cat >>conftest.
$ac_ext <<_ACEOF
47474 /* end confdefs.h. */
47480 #if (__GNUC__ < 3) || \
47481 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47489 rm -f conftest.
$ac_objext
47490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47491 (eval $ac_compile) 2>conftest.er1
47493 grep -v '^ *+' conftest.er1
>conftest.err
47495 cat conftest.err
>&5
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); } &&
47498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47500 (eval $ac_try) 2>&5
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); }; } &&
47504 { ac_try
='test -s conftest.$ac_objext'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; }; then
47511 bakefile_cv_gcc31
=yes
47514 echo "$as_me: failed program was:" >&5
47515 sed 's/^/| /' conftest.
$ac_ext >&5
47518 bakefile_cv_gcc31
=no
47522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47525 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47526 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47527 if test "$bakefile_cv_gcc31" = "no"; then
47528 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47529 SHARED_LD_CXX
="$SHARED_LD_CC"
47531 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47532 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47535 if test "x$GCC" == "xyes"; then
47536 PIC_FLAG
="-dynamic -fPIC"
47538 if test "x$XLCC" = "xyes"; then
47539 PIC_FLAG
="-dynamic -DPIC"
47544 if test "x$GCC" = "xyes"; then
47547 case "${BAKEFILE_HOST}" in
47549 LD_EXPFULL
="-Wl,-bexpfull"
47553 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47554 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47556 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47557 set dummy makeC
++SharedLib
; ac_word
=$2
47558 echo "$as_me:$LINENO: checking for $ac_word" >&5
47559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47560 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47561 echo $ECHO_N "(cached) $ECHO_C" >&6
47563 if test -n "$AIX_CXX_LD"; then
47564 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47567 for as_dir
in $PATH
47570 test -z "$as_dir" && as_dir
=.
47571 for ac_exec_ext
in '' $ac_executable_extensions; do
47572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47573 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47580 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47583 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47584 if test -n "$AIX_CXX_LD"; then
47585 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47586 echo "${ECHO_T}$AIX_CXX_LD" >&6
47588 echo "$as_me:$LINENO: result: no" >&5
47589 echo "${ECHO_T}no" >&6
47592 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47593 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47598 SHARED_LD_CC
="${LD} -nostart -o"
47599 SHARED_LD_CXX
="${LD} -nostart -o"
47603 if test "x$GCC" != "xyes"; then
47608 *-*-cygwin* | *-*-mingw32* )
47610 SHARED_LD_CC
="\$(CC) -shared -o"
47611 SHARED_LD_CXX
="\$(CXX) -shared -o"
47615 *-pc-os2_emx | *-pc-os2-emx )
47616 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47617 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47621 cat <<EOF >dllar.sh
47624 # dllar - a tool to build both a .dll and an .a file
47625 # from a set of object (.o) files for EMX/OS2.
47627 # Written by Andrew Zabolotny, bit@freya.etu.ru
47628 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47630 # This script will accept a set of files on the command line.
47631 # All the public symbols from the .o files will be exported into
47632 # a .DEF file, then linker will be run (through gcc) against them to
47633 # build a shared library consisting of all given .o files. All libraries
47634 # (.a) will be first decompressed into component .o files then act as
47635 # described above. You can optionally give a description (-d "description")
47636 # which will be put into .DLL. To see the list of accepted options (as well
47637 # as command-line format) simply run this program without options. The .DLL
47638 # is built to be imported by name (there is no guarantee that new versions
47639 # of the library you build will have same ordinals for same symbols).
47641 # dllar is free software; you can redistribute it and/or modify
47642 # it under the terms of the GNU General Public License as published by
47643 # the Free Software Foundation; either version 2, or (at your option)
47644 # any later version.
47646 # dllar is distributed in the hope that it will be useful,
47647 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47648 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47649 # GNU General Public License for more details.
47651 # You should have received a copy of the GNU General Public License
47652 # along with dllar; see the file COPYING. If not, write to the Free
47653 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47656 # To successfuly run this program you will need:
47657 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47658 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47660 # (used to build the .dll)
47662 # (used to create .def file from .o files)
47664 # (used to create .a file from .def file)
47665 # - GNU text utilites (cat, sort, uniq)
47666 # used to process emxexp output
47667 # - GNU file utilities (mv, rm)
47669 # - lxlite (optional, see flag below)
47670 # (used for general .dll cleanup)
47677 # basnam, variant of basename, which does _not_ remove the path, _iff_
47678 # second argument (suffix to remove) is given
47682 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47685 echo ${D}1 | sed 's/'${D}2'${D}//'
47688 echo "error in basnam ${D}*"
47694 # Cleanup temporary files and output
47697 for i in ${D}inputFiles ; do
47700 rm -rf \`basnam ${D}i !\`
47707 # Kill result in case of failure as there is just to many stupid make/nmake
47708 # things out there which doesn't do this.
47709 if [ ${D}# -eq 0 ]; then
47710 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47714 # Print usage and exit script with rc=1.
47716 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47717 echo ' [-name-mangler-script script.sh]'
47718 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47719 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47720 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47721 echo ' [*.o] [*.a]'
47722 echo '*> "output_file" should have no extension.'
47723 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47724 echo ' The import library name is derived from this and is set to "name".a,'
47725 echo ' unless overridden by -import'
47726 echo '*> "importlib_name" should have no extension.'
47727 echo ' If it has the .o, or .a extension, it is automatically removed.'
47728 echo ' This name is used as the import library name and may be longer and'
47729 echo ' more descriptive than the DLL name which has to follow the old '
47730 echo ' 8.3 convention of FAT.'
47731 echo '*> "script.sh may be given to override the output_file name by a'
47732 echo ' different name. It is mainly useful if the regular make process'
47733 echo ' of some package does not take into account OS/2 restriction of'
47734 echo ' DLL name lengths. It takes the importlib name as input and is'
47735 echo ' supposed to procude a shorter name as output. The script should'
47736 echo ' expect to get importlib_name without extension and should produce'
47737 echo ' a (max.) 8 letter name without extension.'
47738 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47739 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47740 echo ' These flags will be put at the start of GCC command line.'
47741 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47742 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47743 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47744 echo ' If the last character of a symbol is "*", all symbols beginning'
47745 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47746 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47747 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47748 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47749 echo ' C runtime DLLs.'
47750 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47751 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47752 echo ' unchanged to GCC at the end of command line.'
47753 echo '*> If you create a DLL from a library and you do not specify -o,'
47754 echo ' the basename for DLL and import library will be set to library name,'
47755 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47756 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47757 echo ' library will be renamed into gcc_s.a.'
47760 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47761 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47766 # Execute a command.
47767 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47768 # @Uses Whatever CleanUp() uses.
47774 if [ ${D}rcCmd -ne 0 ]; then
47775 echo "command failed, exit code="${D}rcCmd
47790 CFLAGS="-s -Zcrtdll"
47792 EXPORT_BY_ORDINALS=0
47797 case ${D}curDirS in
47801 curDirS=${D}{curDirS}"/"
47804 # Parse commandline
47807 while [ ${D}1 ]; do
47810 EXPORT_BY_ORDINALS=1;
47820 -name-mangler-script)
47841 exclude_symbols=${D}{exclude_symbols}${D}1" "
47845 library_flags=${D}{library_flags}${D}1" "
47864 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47867 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47868 if [ ${D}omfLinking -eq 1 ]; then
47869 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47871 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47876 if [ ${D}libsToLink -ne 0 ]; then
47877 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47879 for file in ${D}1 ; do
47880 if [ -f ${D}file ]; then
47881 inputFiles="${D}{inputFiles} ${D}file"
47885 if [ ${D}found -eq 0 ]; then
47886 echo "ERROR: No file(s) found: "${D}1
47893 done # iterate cmdline words
47896 if [ -z "${D}inputFiles" ]; then
47897 echo "dllar: no input files"
47901 # Now extract all .o files from .a files
47903 for file in ${D}inputFiles ; do
47914 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47919 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47921 if [ ${D}? -ne 0 ]; then
47922 echo "Failed to create subdirectory ./${D}dirname"
47926 # Append '!' to indicate archive
47927 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47928 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47931 for subfile in ${D}dirname/*.o* ; do
47932 if [ -f ${D}subfile ]; then
47934 if [ -s ${D}subfile ]; then
47935 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47936 newInputFiles="${D}newInputFiles ${D}subfile"
47940 if [ ${D}found -eq 0 ]; then
47941 echo "WARNING: there are no files in archive \\'${D}file\\'"
47945 newInputFiles="${D}{newInputFiles} ${D}file"
47949 inputFiles="${D}newInputFiles"
47951 # Output filename(s).
47953 if [ -z ${D}outFile ]; then
47955 set outFile ${D}inputFiles; outFile=${D}2
47958 # If it is an archive, remove the '!' and the '_%' suffixes
47959 case ${D}outFile in
47961 outFile=\`basnam ${D}outFile _%!\`
47966 case ${D}outFile in
47968 outFile=\`basnam ${D}outFile .dll\`
47971 outFile=\`basnam ${D}outFile .DLL\`
47974 outFile=\`basnam ${D}outFile .o\`
47977 outFile=\`basnam ${D}outFile .obj\`
47980 outFile=\`basnam ${D}outFile .a\`
47983 outFile=\`basnam ${D}outFile .lib\`
47988 case ${D}outimpFile in
47990 outimpFile=\`basnam ${D}outimpFile .a\`
47993 outimpFile=\`basnam ${D}outimpFile .lib\`
47998 if [ -z ${D}outimpFile ]; then
47999 outimpFile=${D}outFile
48001 defFile="${D}{outFile}.def"
48002 arcFile="${D}{outimpFile}.a"
48003 arcFile2="${D}{outimpFile}.lib"
48005 #create ${D}dllFile as something matching 8.3 restrictions,
48006 if [ -z ${D}renameScript ] ; then
48007 dllFile="${D}outFile"
48009 dllFile=\`${D}renameScript ${D}outimpFile\`
48012 if [ ${D}do_backup -ne 0 ] ; then
48013 if [ -f ${D}arcFile ] ; then
48014 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48016 if [ -f ${D}arcFile2 ] ; then
48017 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48021 # Extract public symbols from all the object files.
48022 tmpdefFile=${D}{defFile}_%
48023 rm -f ${D}tmpdefFile
48024 for file in ${D}inputFiles ; do
48029 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48034 # Create the def file.
48036 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48037 dllFile="${D}{dllFile}.dll"
48038 if [ ! -z ${D}description ]; then
48039 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48041 echo "EXPORTS" >> ${D}defFile
48043 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48044 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48046 # Checks if the export is ok or not.
48047 for word in ${D}exclude_symbols; do
48048 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48049 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48053 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48054 sed "=" < ${D}tmpdefFile | \\
48058 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48060 ' > ${D}{tmpdefFile}%
48061 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48063 rm -f ${D}{tmpdefFile}%
48065 cat ${D}tmpdefFile >> ${D}defFile
48066 rm -f ${D}tmpdefFile
48068 # Do linking, create implib, and apply lxlite.
48070 for file in ${D}inputFiles ; do
48075 gccCmdl="${D}gccCmdl ${D}file"
48079 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48080 touch "${D}{outFile}.dll"
48082 doCommand "emximp -o ${D}arcFile ${D}defFile"
48083 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48085 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48088 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48090 doCommand "emxomf -s -l ${D}arcFile"
48100 powerpc
-apple-macos* | \
48101 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48112 if test "x$PIC_FLAG" != "x" ; then
48113 PIC_FLAG
="$PIC_FLAG -DPIC"
48116 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48117 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48119 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48120 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48139 case "${BAKEFILE_HOST}" in
48140 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48141 SONAME_FLAG
="-Wl,-soname,"
48175 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48176 if test "${enable_dependency_tracking+set}" = set; then
48177 enableval
="$enable_dependency_tracking"
48178 bk_use_trackdeps
="$enableval"
48181 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48182 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48184 if test "x$bk_use_trackdeps" = "xno" ; then
48186 echo "$as_me:$LINENO: result: disabled" >&5
48187 echo "${ECHO_T}disabled" >&6
48191 if test "x$GCC" = "xyes"; then
48193 case "${BAKEFILE_HOST}" in
48195 DEPSFLAG
="-no-cpp-precomp -MMD"
48201 echo "$as_me:$LINENO: result: gcc" >&5
48202 echo "${ECHO_T}gcc" >&6
48203 elif test "x$MWCC" = "xyes"; then
48206 echo "$as_me:$LINENO: result: mwcc" >&5
48207 echo "${ECHO_T}mwcc" >&6
48208 elif test "x$SUNCC" = "xyes"; then
48211 echo "$as_me:$LINENO: result: Sun cc" >&5
48212 echo "${ECHO_T}Sun cc" >&6
48213 elif test "x$SGICC" = "xyes"; then
48216 echo "$as_me:$LINENO: result: SGI cc" >&5
48217 echo "${ECHO_T}SGI cc" >&6
48218 elif test "x$HPCC" = "xyes"; then
48221 echo "$as_me:$LINENO: result: HP cc" >&5
48222 echo "${ECHO_T}HP cc" >&6
48223 elif test "x$COMPAQCC" = "xyes"; then
48226 echo "$as_me:$LINENO: result: Compaq cc" >&5
48227 echo "${ECHO_T}Compaq cc" >&6
48230 echo "$as_me:$LINENO: result: none" >&5
48231 echo "${ECHO_T}none" >&6
48234 if test $DEPS_TRACKING = 1 ; then
48240 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48241 # script. It is used to track C/C++ files dependencies in portable way.
48243 # Permission is given to use this file in any way.
48245 DEPSMODE=${DEPSMODE}
48247 DEPSFLAG="${DEPSFLAG}"
48249 mkdir -p ${D}DEPSDIR
48251 if test ${D}DEPSMODE = gcc ; then
48252 ${D}* ${D}{DEPSFLAG}
48254 if test ${D}{status} != 0 ; then
48257 # move created file to the location we want it in:
48258 while test ${D}# -gt 0; do
48272 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48273 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48274 if test -f ${D}depfile ; then
48275 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48278 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48279 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48280 if test ! -f ${D}depfile ; then
48281 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48282 depfile="${D}objfile.d"
48284 if test -f ${D}depfile ; then
48285 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48290 elif test ${D}DEPSMODE = mwcc ; then
48291 ${D}* || exit ${D}?
48292 # Run mwcc again with -MM and redirect into the dep file we want
48293 # NOTE: We can't use shift here because we need ${D}* to be valid
48295 for arg in ${D}* ; do
48296 if test "${D}prevarg" = "-o"; then
48309 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48311 elif test ${D}DEPSMODE = unixcc; then
48312 ${D}* || exit ${D}?
48313 # Run compiler again with deps flag and redirect into the dep file.
48314 # It doesn't work if the '-o FILE' option is used, but without it the
48315 # dependency file will contain the wrong name for the object. So it is
48316 # removed from the command line, and the dep file is fixed with sed.
48318 while test ${D}# -gt 0; do
48325 eval arg${D}#=\\${D}1
48326 cmd="${D}cmd \\${D}arg${D}#"
48331 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48346 case ${BAKEFILE_HOST} in
48347 *-*-cygwin* | *-*-mingw32* )
48348 if test -n "$ac_tool_prefix"; then
48349 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48350 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48351 echo "$as_me:$LINENO: checking for $ac_word" >&5
48352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48353 if test "${ac_cv_prog_WINDRES+set}" = set; then
48354 echo $ECHO_N "(cached) $ECHO_C" >&6
48356 if test -n "$WINDRES"; then
48357 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48360 for as_dir
in $PATH
48363 test -z "$as_dir" && as_dir
=.
48364 for ac_exec_ext
in '' $ac_executable_extensions; do
48365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48366 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48375 WINDRES
=$ac_cv_prog_WINDRES
48376 if test -n "$WINDRES"; then
48377 echo "$as_me:$LINENO: result: $WINDRES" >&5
48378 echo "${ECHO_T}$WINDRES" >&6
48380 echo "$as_me:$LINENO: result: no" >&5
48381 echo "${ECHO_T}no" >&6
48385 if test -z "$ac_cv_prog_WINDRES"; then
48386 ac_ct_WINDRES
=$WINDRES
48387 # Extract the first word of "windres", so it can be a program name with args.
48388 set dummy windres
; ac_word
=$2
48389 echo "$as_me:$LINENO: checking for $ac_word" >&5
48390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48391 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48392 echo $ECHO_N "(cached) $ECHO_C" >&6
48394 if test -n "$ac_ct_WINDRES"; then
48395 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48398 for as_dir
in $PATH
48401 test -z "$as_dir" && as_dir
=.
48402 for ac_exec_ext
in '' $ac_executable_extensions; do
48403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48404 ac_cv_prog_ac_ct_WINDRES
="windres"
48405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48413 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48414 if test -n "$ac_ct_WINDRES"; then
48415 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48416 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48418 echo "$as_me:$LINENO: result: no" >&5
48419 echo "${ECHO_T}no" >&6
48422 WINDRES
=$ac_ct_WINDRES
48424 WINDRES
="$ac_cv_prog_WINDRES"
48429 *-*-darwin* | powerpc
-apple-macos* )
48430 # Extract the first word of "Rez", so it can be a program name with args.
48431 set dummy Rez
; ac_word
=$2
48432 echo "$as_me:$LINENO: checking for $ac_word" >&5
48433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48434 if test "${ac_cv_prog_REZ+set}" = set; then
48435 echo $ECHO_N "(cached) $ECHO_C" >&6
48437 if test -n "$REZ"; then
48438 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48441 for as_dir
in $PATH
48444 test -z "$as_dir" && as_dir
=.
48445 for ac_exec_ext
in '' $ac_executable_extensions; do
48446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48447 ac_cv_prog_REZ
="Rez"
48448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48454 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48457 REZ
=$ac_cv_prog_REZ
48458 if test -n "$REZ"; then
48459 echo "$as_me:$LINENO: result: $REZ" >&5
48460 echo "${ECHO_T}$REZ" >&6
48462 echo "$as_me:$LINENO: result: no" >&5
48463 echo "${ECHO_T}no" >&6
48466 # Extract the first word of "SetFile", so it can be a program name with args.
48467 set dummy SetFile
; ac_word
=$2
48468 echo "$as_me:$LINENO: checking for $ac_word" >&5
48469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48470 if test "${ac_cv_prog_SETFILE+set}" = set; then
48471 echo $ECHO_N "(cached) $ECHO_C" >&6
48473 if test -n "$SETFILE"; then
48474 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48477 for as_dir
in $PATH
48480 test -z "$as_dir" && as_dir
=.
48481 for ac_exec_ext
in '' $ac_executable_extensions; do
48482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48483 ac_cv_prog_SETFILE
="SetFile"
48484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48490 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48493 SETFILE
=$ac_cv_prog_SETFILE
48494 if test -n "$SETFILE"; then
48495 echo "$as_me:$LINENO: result: $SETFILE" >&5
48496 echo "${ECHO_T}$SETFILE" >&6
48498 echo "$as_me:$LINENO: result: no" >&5
48499 echo "${ECHO_T}no" >&6
48510 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48513 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48517 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48518 if test "${enable_precomp_headers+set}" = set; then
48519 enableval
="$enable_precomp_headers"
48520 bk_use_pch
="$enableval"
48527 case ${BAKEFILE_HOST} in
48533 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48534 if test "x$GCC" = "xyes"; then
48535 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48536 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48537 cat >conftest.
$ac_ext <<_ACEOF
48540 cat confdefs.h
>>conftest.
$ac_ext
48541 cat >>conftest.
$ac_ext <<_ACEOF
48542 /* end confdefs.h. */
48548 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48549 There is no PCH support
48552 There is no PCH support
48554 #if (__GNUC__ == 3) && \
48555 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48556 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48557 ( defined(__INTEL_COMPILER) )
48558 There is no PCH support
48565 rm -f conftest.
$ac_objext
48566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48567 (eval $ac_compile) 2>conftest.er1
48569 grep -v '^ *+' conftest.er1
>conftest.err
48571 cat conftest.err
>&5
48572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48573 (exit $ac_status); } &&
48574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48576 (eval $ac_try) 2>&5
48578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48579 (exit $ac_status); }; } &&
48580 { ac_try
='test -s conftest.$ac_objext'
48581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48582 (eval $ac_try) 2>&5
48584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48585 (exit $ac_status); }; }; then
48587 echo "$as_me:$LINENO: result: yes" >&5
48588 echo "${ECHO_T}yes" >&6
48592 echo "$as_me: failed program was:" >&5
48593 sed 's/^/| /' conftest.
$ac_ext >&5
48596 cat >conftest.
$ac_ext <<_ACEOF
48599 cat confdefs.h
>>conftest.
$ac_ext
48600 cat >>conftest.
$ac_ext <<_ACEOF
48601 /* end confdefs.h. */
48607 #if !defined(__INTEL_COMPILER) || \
48608 (__INTEL_COMPILER < 800)
48609 There is no PCH support
48616 rm -f conftest.
$ac_objext
48617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48618 (eval $ac_compile) 2>conftest.er1
48620 grep -v '^ *+' conftest.er1
>conftest.err
48622 cat conftest.err
>&5
48623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48624 (exit $ac_status); } &&
48625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48627 (eval $ac_try) 2>&5
48629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48630 (exit $ac_status); }; } &&
48631 { ac_try
='test -s conftest.$ac_objext'
48632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48633 (eval $ac_try) 2>&5
48635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48636 (exit $ac_status); }; }; then
48638 echo "$as_me:$LINENO: result: yes" >&5
48639 echo "${ECHO_T}yes" >&6
48643 echo "$as_me: failed program was:" >&5
48644 sed 's/^/| /' conftest.
$ac_ext >&5
48647 echo "$as_me:$LINENO: result: no" >&5
48648 echo "${ECHO_T}no" >&6
48651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48655 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48659 cat <<EOF >bk-make-pch
48662 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48663 # script. It is used to generated precompiled headers.
48665 # Permission is given to use this file in any way.
48675 while test ${D}{#} -gt 0; do
48679 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48680 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48681 headerfile="${D}{incdir}/${D}{header}"
48684 -use-pch|-use_pch )
48689 if test ${D}add_to_cmdline = 1 ; then
48690 compiler="${D}{compiler} ${D}{1}"
48695 if test "x${D}{headerfile}" = "x" ; then
48696 echo "error: can't find header ${D}{header} in include paths" >&2
48698 if test -f ${D}{outfile} ; then
48699 rm -f ${D}{outfile}
48701 mkdir -p \`dirname ${D}{outfile}\`
48703 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48705 if test "x${GCC_PCH}" = "x1" ; then
48706 # can do this because gcc is >= 3.4:
48707 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48708 elif test "x${ICC_PCH}" = "x1" ; then
48709 filename=pch_gen-${D}${D}
48710 file=${D}{filename}.c
48711 dfile=${D}{filename}.d
48712 cat > ${D}file <<EOT
48713 #include "${D}header"
48715 # using -MF icc complains about differing command lines in creation/use
48716 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48717 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48718 rm -f ${D}file ${D}dfile ${D}{filename}.o
48724 chmod +x bk
-make-pch
48732 COND_BUILD_DEBUG
="#"
48733 if test "x$BUILD" = "xdebug" ; then
48734 COND_BUILD_DEBUG
=""
48737 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48738 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48739 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48742 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48743 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48744 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48747 COND_BUILD_DEBUG_UNICODE_0
="#"
48748 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48749 COND_BUILD_DEBUG_UNICODE_0
=""
48752 COND_BUILD_DEBUG_UNICODE_1
="#"
48753 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48754 COND_BUILD_DEBUG_UNICODE_1
=""
48757 COND_BUILD_RELEASE
="#"
48758 if test "x$BUILD" = "xrelease" ; then
48759 COND_BUILD_RELEASE
=""
48762 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48763 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48764 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48767 COND_BUILD_RELEASE_UNICODE_0
="#"
48768 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48769 COND_BUILD_RELEASE_UNICODE_0
=""
48772 COND_BUILD_RELEASE_UNICODE_1
="#"
48773 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48774 COND_BUILD_RELEASE_UNICODE_1
=""
48777 COND_DEBUG_FLAG_1
="#"
48778 if test "x$DEBUG_FLAG" = "x1" ; then
48779 COND_DEBUG_FLAG_1
=""
48782 COND_DEBUG_INFO_0
="#"
48783 if test "x$DEBUG_INFO" = "x0" ; then
48784 COND_DEBUG_INFO_0
=""
48787 COND_DEBUG_INFO_1
="#"
48788 if test "x$DEBUG_INFO" = "x1" ; then
48789 COND_DEBUG_INFO_1
=""
48792 COND_DEPS_TRACKING_0
="#"
48793 if test "x$DEPS_TRACKING" = "x0" ; then
48794 COND_DEPS_TRACKING_0
=""
48797 COND_DEPS_TRACKING_1
="#"
48798 if test "x$DEPS_TRACKING" = "x1" ; then
48799 COND_DEPS_TRACKING_1
=""
48803 if test "x$GCC_PCH" = "x1" ; then
48808 if test "x$ICC_PCH" = "x1" ; then
48812 COND_MONOLITHIC_0
="#"
48813 if test "x$MONOLITHIC" = "x0" ; then
48814 COND_MONOLITHIC_0
=""
48817 COND_MONOLITHIC_0_SHARED_0
="#"
48818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48819 COND_MONOLITHIC_0_SHARED_0
=""
48822 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48852 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48854 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48857 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48859 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48862 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48864 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48867 COND_MONOLITHIC_0_SHARED_1
="#"
48868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48869 COND_MONOLITHIC_0_SHARED_1
=""
48872 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48874 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48902 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48904 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48907 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48909 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48912 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48917 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48918 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48919 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48922 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48923 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48924 COND_MONOLITHIC_0_USE_ODBC_1
=""
48927 COND_MONOLITHIC_1
="#"
48928 if test "x$MONOLITHIC" = "x1" ; then
48929 COND_MONOLITHIC_1
=""
48932 COND_MONOLITHIC_1_SHARED_0
="#"
48933 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48934 COND_MONOLITHIC_1_SHARED_0
=""
48937 COND_MONOLITHIC_1_SHARED_1
="#"
48938 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48939 COND_MONOLITHIC_1_SHARED_1
=""
48942 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48943 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48944 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48947 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48948 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48949 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48952 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48953 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48954 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48957 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48958 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48959 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48962 COND_PLATFORM_MACOSX_1
="#"
48963 if test "x$PLATFORM_MACOSX" = "x1" ; then
48964 COND_PLATFORM_MACOSX_1
=""
48967 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48969 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48972 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48974 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48977 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48979 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48982 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48984 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48987 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48989 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48992 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48994 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48997 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48998 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48999 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49002 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49003 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49004 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49007 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49008 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49009 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49012 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49013 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49014 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49017 COND_PLATFORM_MACOS_1
="#"
49018 if test "x$PLATFORM_MACOS" = "x1" ; then
49019 COND_PLATFORM_MACOS_1
=""
49022 COND_PLATFORM_MAC_1
="#"
49023 if test "x$PLATFORM_MAC" = "x1" ; then
49024 COND_PLATFORM_MAC_1
=""
49027 COND_PLATFORM_MSDOS_0
="#"
49028 if test "x$PLATFORM_MSDOS" = "x0" ; then
49029 COND_PLATFORM_MSDOS_0
=""
49032 COND_PLATFORM_MSDOS_1
="#"
49033 if test "x$PLATFORM_MSDOS" = "x1" ; then
49034 COND_PLATFORM_MSDOS_1
=""
49037 COND_PLATFORM_OS2_1
="#"
49038 if test "x$PLATFORM_OS2" = "x1" ; then
49039 COND_PLATFORM_OS2_1
=""
49042 COND_PLATFORM_UNIX_0
="#"
49043 if test "x$PLATFORM_UNIX" = "x0" ; then
49044 COND_PLATFORM_UNIX_0
=""
49047 COND_PLATFORM_UNIX_1
="#"
49048 if test "x$PLATFORM_UNIX" = "x1" ; then
49049 COND_PLATFORM_UNIX_1
=""
49052 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49053 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49054 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49057 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49058 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49059 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49062 COND_PLATFORM_WIN32_0
="#"
49063 if test "x$PLATFORM_WIN32" = "x0" ; then
49064 COND_PLATFORM_WIN32_0
=""
49067 COND_PLATFORM_WIN32_1
="#"
49068 if test "x$PLATFORM_WIN32" = "x1" ; then
49069 COND_PLATFORM_WIN32_1
=""
49073 if test "x$SHARED" = "x0" ; then
49077 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49078 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49079 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49082 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49083 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49084 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49087 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49088 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49092 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49093 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49094 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49097 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49098 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49099 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49102 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49103 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49104 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49107 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49108 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49109 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49112 COND_SHARED_0_USE_XRC_1
="#"
49113 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49114 COND_SHARED_0_USE_XRC_1
=""
49117 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49118 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49119 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49122 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49123 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49124 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49127 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49128 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49129 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49132 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49133 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49134 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49138 if test "x$SHARED" = "x1" ; then
49142 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49143 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49144 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49147 COND_SHARED_1_USE_XRC_1
="#"
49148 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49149 COND_SHARED_1_USE_XRC_1
=""
49153 if test "x$TOOLKIT" = "x" ; then
49157 COND_TOOLKIT_COCOA
="#"
49158 if test "x$TOOLKIT" = "xCOCOA" ; then
49159 COND_TOOLKIT_COCOA
=""
49162 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49163 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49164 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49167 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49168 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49169 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49172 COND_TOOLKIT_DFB
="#"
49173 if test "x$TOOLKIT" = "xDFB" ; then
49174 COND_TOOLKIT_DFB
=""
49177 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49178 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49179 COND_TOOLKIT_DFB_USE_GUI_1
=""
49182 COND_TOOLKIT_GTK
="#"
49183 if test "x$TOOLKIT" = "xGTK" ; then
49184 COND_TOOLKIT_GTK
=""
49187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49188 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49189 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49192 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49193 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49197 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49198 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49199 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49202 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49203 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49204 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49207 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49208 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49209 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49212 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49213 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49214 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49217 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49218 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49219 COND_TOOLKIT_GTK_USE_GUI_1
=""
49222 COND_TOOLKIT_MAC
="#"
49223 if test "x$TOOLKIT" = "xMAC" ; then
49224 COND_TOOLKIT_MAC
=""
49227 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49228 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49229 COND_TOOLKIT_MAC_USE_GUI_1
=""
49232 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49233 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49234 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49237 COND_TOOLKIT_MGL
="#"
49238 if test "x$TOOLKIT" = "xMGL" ; then
49239 COND_TOOLKIT_MGL
=""
49242 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49243 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49244 COND_TOOLKIT_MGL_USE_GUI_1
=""
49247 COND_TOOLKIT_MOTIF
="#"
49248 if test "x$TOOLKIT" = "xMOTIF" ; then
49249 COND_TOOLKIT_MOTIF
=""
49252 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49253 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49254 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49257 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49258 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49259 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49262 COND_TOOLKIT_MSW
="#"
49263 if test "x$TOOLKIT" = "xMSW" ; then
49264 COND_TOOLKIT_MSW
=""
49267 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49268 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49269 COND_TOOLKIT_MSW_USE_GUI_1
=""
49272 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49273 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49274 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49277 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49278 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49279 COND_TOOLKIT_MSW_WXUNIV_0
=""
49282 COND_TOOLKIT_PM
="#"
49283 if test "x$TOOLKIT" = "xPM" ; then
49287 COND_TOOLKIT_PM_USE_GUI_1
="#"
49288 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49289 COND_TOOLKIT_PM_USE_GUI_1
=""
49292 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49293 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49294 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49297 COND_TOOLKIT_WINCE
="#"
49298 if test "x$TOOLKIT" = "xWINCE" ; then
49299 COND_TOOLKIT_WINCE
=""
49302 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49303 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49304 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49307 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49308 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49309 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49312 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49313 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49314 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49317 COND_TOOLKIT_X11
="#"
49318 if test "x$TOOLKIT" = "xX11" ; then
49319 COND_TOOLKIT_X11
=""
49322 COND_TOOLKIT_X11_USE_GUI_1
="#"
49323 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49324 COND_TOOLKIT_X11_USE_GUI_1
=""
49328 if test "x$UNICODE" = "x1" ; then
49332 COND_USE_EXCEPTIONS_0
="#"
49333 if test "x$USE_EXCEPTIONS" = "x0" ; then
49334 COND_USE_EXCEPTIONS_0
=""
49337 COND_USE_EXCEPTIONS_1
="#"
49338 if test "x$USE_EXCEPTIONS" = "x1" ; then
49339 COND_USE_EXCEPTIONS_1
=""
49343 if test "x$USE_GUI" = "x0" ; then
49348 if test "x$USE_GUI" = "x1" ; then
49352 COND_USE_GUI_1_WXUNIV_0
="#"
49353 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49354 COND_USE_GUI_1_WXUNIV_0
=""
49357 COND_USE_GUI_1_WXUNIV_1
="#"
49358 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49359 COND_USE_GUI_1_WXUNIV_1
=""
49362 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49363 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49364 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49367 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49368 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49369 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49372 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49373 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49374 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49377 COND_USE_ODBC_1
="#"
49378 if test "x$USE_ODBC" = "x1" ; then
49382 COND_USE_OPENGL_1
="#"
49383 if test "x$USE_OPENGL" = "x1" ; then
49384 COND_USE_OPENGL_1
=""
49388 if test "x$USE_PCH" = "x1" ; then
49392 COND_USE_PLUGINS_0
="#"
49393 if test "x$USE_PLUGINS" = "x0" ; then
49394 COND_USE_PLUGINS_0
=""
49397 COND_USE_RTTI_0
="#"
49398 if test "x$USE_RTTI" = "x0" ; then
49402 COND_USE_RTTI_1
="#"
49403 if test "x$USE_RTTI" = "x1" ; then
49407 COND_USE_SOSYMLINKS_1
="#"
49408 if test "x$USE_SOSYMLINKS" = "x1" ; then
49409 COND_USE_SOSYMLINKS_1
=""
49412 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49413 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49414 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49417 COND_USE_SOVERLINUX_1
="#"
49418 if test "x$USE_SOVERLINUX" = "x1" ; then
49419 COND_USE_SOVERLINUX_1
=""
49422 COND_USE_SOVERSION_0
="#"
49423 if test "x$USE_SOVERSION" = "x0" ; then
49424 COND_USE_SOVERSION_0
=""
49427 COND_USE_SOVERSOLARIS_1
="#"
49428 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49429 COND_USE_SOVERSOLARIS_1
=""
49432 COND_USE_THREADS_0
="#"
49433 if test "x$USE_THREADS" = "x0" ; then
49434 COND_USE_THREADS_0
=""
49437 COND_USE_THREADS_1
="#"
49438 if test "x$USE_THREADS" = "x1" ; then
49439 COND_USE_THREADS_1
=""
49443 if test "x$USE_XRC" = "x1" ; then
49447 COND_WINDOWS_IMPLIB_1
="#"
49448 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49449 COND_WINDOWS_IMPLIB_1
=""
49452 COND_WITH_PLUGIN_SDL_1
="#"
49453 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49454 COND_WITH_PLUGIN_SDL_1
=""
49458 if test "x$WXUNIV" = "x0" ; then
49463 if test "x$WXUNIV" = "x1" ; then
49467 COND_WXUSE_EXPAT_BUILTIN
="#"
49468 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49469 COND_WXUSE_EXPAT_BUILTIN
=""
49472 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49473 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49474 COND_WXUSE_LIBJPEG_BUILTIN
=""
49477 COND_WXUSE_LIBPNG_BUILTIN
="#"
49478 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49479 COND_WXUSE_LIBPNG_BUILTIN
=""
49482 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49483 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49484 COND_WXUSE_LIBTIFF_BUILTIN
=""
49487 COND_WXUSE_ODBC_BUILTIN
="#"
49488 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49489 COND_WXUSE_ODBC_BUILTIN
=""
49492 COND_WXUSE_REGEX_BUILTIN
="#"
49493 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49494 COND_WXUSE_REGEX_BUILTIN
=""
49497 COND_WXUSE_ZLIB_BUILTIN
="#"
49498 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49499 COND_WXUSE_ZLIB_BUILTIN
=""
49504 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49505 { { 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
49506 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;}
49507 { (exit 1); exit 1; }; }
49510 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49511 { { 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
49512 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;}
49513 { (exit 1); exit 1; }; }
49518 if test "$wxUSE_MAC" = 1 ; then
49519 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49520 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49526 if test "$wxUSE_SHARED" = "yes"; then
49528 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49529 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49532 *-pc-os2_emx | *-pc-os2-emx )
49533 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49534 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49535 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49536 cp -p ${srcdir}/src
/os
2/dllar.sh .
49541 EXE_LINKER
="$CXX -o"
49544 if test "$wxUSE_OMF" = "yes"; then
49546 *-pc-os2_emx | *-pc-os2-emx )
49547 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49548 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49549 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49554 if test $GCC_PCH = 1 ; then
49555 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49558 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49560 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49622 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49623 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49624 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49625 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49626 echo $ECHO_N "(cached) $ECHO_C" >&6
49628 cat >conftest.
make <<\_ACEOF
49630 @
echo 'ac_maketemp="$(MAKE)"'
49632 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49633 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49634 if test -n "$ac_maketemp"; then
49635 eval ac_cv_prog_make_
${ac_make}_set
=yes
49637 eval ac_cv_prog_make_
${ac_make}_set
=no
49639 rm -f conftest.
make
49641 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49642 echo "$as_me:$LINENO: result: yes" >&5
49643 echo "${ECHO_T}yes" >&6
49646 echo "$as_me:$LINENO: result: no" >&5
49647 echo "${ECHO_T}no" >&6
49648 SET_MAKE
="MAKE=${MAKE-make}"
49653 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49656 if test "$USE_WIN32" = 1; then
49657 ac_config_commands
="$ac_config_commands
49663 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49666 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49669 ac_config_files
="$ac_config_files version-script Makefile"
49672 ac_config_commands
="$ac_config_commands wx-config"
49676 if test "$wxWITH_SUBDIRS" != "no"; then
49677 if test "$wxUSE_GUI" = "yes"; then
49678 SUBDIRS
="samples demos utils contrib"
49679 else SUBDIRS
="samples utils"
49684 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49685 if test "${with_cppunit_prefix+set}" = set; then
49686 withval
="$with_cppunit_prefix"
49687 cppunit_config_prefix
="$withval"
49689 cppunit_config_prefix
=""
49692 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49693 if test "${with_cppunit_exec_prefix+set}" = set; then
49694 withval
="$with_cppunit_exec_prefix"
49695 cppunit_config_exec_prefix
="$withval"
49697 cppunit_config_exec_prefix
=""
49700 if test x
$cppunit_config_exec_prefix != x
; then
49701 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49702 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49703 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49706 if test x
$cppunit_config_prefix != x
; then
49707 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49708 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49709 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49713 # Extract the first word of "cppunit-config", so it can be a program name with args.
49714 set dummy cppunit
-config; ac_word
=$2
49715 echo "$as_me:$LINENO: checking for $ac_word" >&5
49716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49717 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49720 case $CPPUNIT_CONFIG in
49722 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49726 for as_dir
in $PATH
49729 test -z "$as_dir" && as_dir
=.
49730 for ac_exec_ext
in '' $ac_executable_extensions; do
49731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49732 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49739 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49743 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49745 if test -n "$CPPUNIT_CONFIG"; then
49746 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49747 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49749 echo "$as_me:$LINENO: result: no" >&5
49750 echo "${ECHO_T}no" >&6
49753 cppunit_version_min
=1.8.0
49755 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49756 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49758 if test "$CPPUNIT_CONFIG" = "no" ; then
49759 echo "$as_me:$LINENO: result: no" >&5
49760 echo "${ECHO_T}no" >&6
49763 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49764 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49765 cppunit_version
=`$CPPUNIT_CONFIG --version`
49767 cppunit_major_version
=`echo $cppunit_version | \
49768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49769 cppunit_minor_version
=`echo $cppunit_version | \
49770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49771 cppunit_micro_version
=`echo $cppunit_version | \
49772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49774 cppunit_major_min
=`echo $cppunit_version_min | \
49775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49776 cppunit_minor_min
=`echo $cppunit_version_min | \
49777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49778 cppunit_micro_min
=`echo $cppunit_version_min | \
49779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49781 cppunit_version_proper
=`expr \
49782 $cppunit_major_version \> $cppunit_major_min \| \
49783 $cppunit_major_version \= $cppunit_major_min \& \
49784 $cppunit_minor_version \> $cppunit_minor_min \| \
49785 $cppunit_major_version \= $cppunit_major_min \& \
49786 $cppunit_minor_version \= $cppunit_minor_min \& \
49787 $cppunit_micro_version \>= $cppunit_micro_min `
49789 if test "$cppunit_version_proper" = "1" ; then
49790 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49791 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49793 echo "$as_me:$LINENO: result: no" >&5
49794 echo "${ECHO_T}no" >&6
49799 if test "x$no_cppunit" = x
; then
49800 SUBDIRS
="$SUBDIRS tests"
49811 for subdir
in `echo $SUBDIRS`; do
49812 if test -d ${srcdir}/${subdir} ; then
49813 if test "$wxUSE_GUI" = "yes"; then
49814 if test ${subdir} = "samples"; then
49815 makefiles
="samples/Makefile.in $makefiles"
49816 for sample
in `echo $SAMPLES_SUBDIRS`; do
49817 if test -d $srcdir/samples
/$sample; then
49818 makefiles
="samples/$sample/Makefile.in $makefiles"
49822 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49823 eval "disabled=\$$disabled_var"
49824 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49825 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49827 else if test ${subdir} = "samples"; then
49828 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49829 elif test ${subdir} = "utils"; then
49831 for util
in HelpGen tex2rtf
; do
49832 if test -d $srcdir/utils
/$util ; then
49833 makefiles
="utils/$util/Makefile.in \
49834 utils/$util/src/Makefile.in \
49838 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49842 for mkin
in $makefiles ; do
49843 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49844 ac_config_files
="$ac_config_files $mk"
49850 cat >confcache
<<\_ACEOF
49851 # This file is a shell script that caches the results of configure
49852 # tests run on this system so they can be shared between configure
49853 # scripts and configure runs, see configure's option --config-cache.
49854 # It is not useful on other systems. If it contains results you don't
49855 # want to keep, you may remove or edit it.
49857 # config.status only pays attention to the cache file if you give it
49858 # the --recheck option to rerun configure.
49860 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49861 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49862 # following values.
49866 # The following way of writing the cache mishandles newlines in values,
49867 # but we know of no workaround that is simple, portable, and efficient.
49868 # So, don't put newlines in cache variables' values.
49869 # Ultrix sh set writes to stderr and can't be redirected directly,
49870 # and sets the high bit in the cache file unless we assign to the vars.
49873 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49875 # `set' does not quote correctly, so add quotes (double-quote
49876 # substitution turns \\\\ into \\, and sed turns \\ into \).
49879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49882 # `set' quotes correctly as required by POSIX, so do not add quotes.
49884 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49893 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49895 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49896 if test -w $cache_file; then
49897 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49898 cat confcache
>$cache_file
49900 echo "not updating unwritable cache $cache_file"
49905 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49906 # Let make expand exec_prefix.
49907 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49909 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49910 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49911 # trailing colons and then remove the whole line if VPATH becomes empty
49912 # (actually we leave an empty line to preserve line numbers).
49913 if test "x$srcdir" = x.
; then
49914 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49915 s/:*\$(srcdir):*/:/;
49916 s/:*\${srcdir}:*/:/;
49918 s/^\([^=]*=[ ]*\):*/\1/;
49924 DEFS
=-DHAVE_CONFIG_H
49928 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49929 # 1. Remove the extension, and $U if already installed.
49930 ac_i
=`echo "$ac_i" |
49931 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49933 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49934 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49936 LIBOBJS
=$ac_libobjs
49938 LTLIBOBJS
=$ac_ltlibobjs
49942 : ${CONFIG_STATUS=./config.status}
49943 ac_clean_files_save
=$ac_clean_files
49944 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49945 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49946 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49947 cat >$CONFIG_STATUS <<_ACEOF
49949 # Generated by $as_me.
49950 # Run this file to recreate the current configuration.
49951 # Compiler output produced by configure, useful for debugging
49952 # configure, is in config.log if it exists.
49955 ac_cs_recheck=false
49957 SHELL=\${CONFIG_SHELL-$SHELL}
49960 cat >>$CONFIG_STATUS <<\_ACEOF
49961 ## --------------------- ##
49962 ## M4sh Initialization. ##
49963 ## --------------------- ##
49965 # Be Bourne compatible
49966 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49969 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49970 # is contrary to our usage. Disable this feature.
49971 alias -g '${1+"$@"}'='"$@"'
49972 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49975 DUALCASE
=1; export DUALCASE
# for MKS sh
49977 # Support unset when possible.
49978 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49985 # Work around bugs in pre-3.0 UWIN ksh.
49986 $as_unset ENV MAIL MAILPATH
49993 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49994 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49995 LC_TELEPHONE LC_TIME
49997 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49998 eval $as_var=C
; export $as_var
50004 # Required to use basename.
50005 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50011 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50012 as_basename
=basename
50018 # Name of the executable.
50019 as_me
=`$as_basename "$0" ||
50020 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50021 X"$0" : 'X\(//\)$' \| \
50022 X"$0" : 'X\(/\)$' \| \
50023 . : '\(.\)' 2>/dev/null ||
50025 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50026 /^X\/\(\/\/\)$/{ s//\1/; q; }
50027 /^X\/\(\/\).*/{ s//\1/; q; }
50031 # PATH needs CR, and LINENO needs CR and PATH.
50032 # Avoid depending upon Character Ranges.
50033 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50034 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50035 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50036 as_cr_digits
='0123456789'
50037 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50039 # The user is always right.
50040 if test "${PATH_SEPARATOR+set}" != set; then
50041 echo "#! /bin/sh" >conf$$.sh
50042 echo "exit 0" >>conf$$.sh
50044 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50053 as_lineno_1
=$LINENO
50054 as_lineno_2
=$LINENO
50055 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50056 test "x$as_lineno_1" != "x$as_lineno_2" &&
50057 test "x$as_lineno_3" = "x$as_lineno_2" || {
50058 # Find who we are. Look in the path if we contain no path at all
50061 *[\\/]* ) as_myself
=$0 ;;
50062 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50063 for as_dir
in $PATH
50066 test -z "$as_dir" && as_dir
=.
50067 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50072 # We did not find ourselves, most probably we were run as `sh COMMAND'
50073 # in which case we are not to be found in the path.
50074 if test "x$as_myself" = x
; then
50077 if test ! -f "$as_myself"; then
50078 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50079 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50080 { (exit 1); exit 1; }; }
50082 case $CONFIG_SHELL in
50084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50085 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50088 test -z "$as_dir" && as_dir
=.
50089 for as_base
in sh bash ksh sh5
; do
50092 if ("$as_dir/$as_base" -c '
50093 as_lineno_1=$LINENO
50094 as_lineno_2=$LINENO
50095 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50096 test "x$as_lineno_1" != "x$as_lineno_2" &&
50097 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50098 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50099 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50100 CONFIG_SHELL
=$as_dir/$as_base
50101 export CONFIG_SHELL
50102 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50110 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50111 # uniformly replaced by the line number. The first 'sed' inserts a
50112 # line-number line before each line; the second 'sed' does the real
50113 # work. The second script uses 'N' to pair each line-number line
50114 # with the numbered line, and appends trailing '-' during
50115 # substitution so that $LINENO is not a special case at line end.
50116 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50117 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50118 sed '=' <$as_myself |
50123 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50126 s,^['$as_cr_digits']*\n,,
50127 ' >$as_me.lineno
&&
50128 chmod +x
$as_me.lineno
||
50129 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50130 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50131 { (exit 1); exit 1; }; }
50133 # Don't try to exec as it changes $[0], causing all sort of problems
50134 # (the dirname of $[0] is not the place where we might find the
50135 # original and so on. Autoconf is especially sensible to this).
50137 # Exit status is that of the last command.
50142 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50143 *c
*,-n*) ECHO_N
= ECHO_C
='
50145 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50146 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50149 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50155 rm -f conf$$ conf$$.exe conf$$.
file
50157 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50158 # We could just check for DJGPP; but this test a) works b) is more generic
50159 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50160 if test -f conf$$.exe
; then
50161 # Don't use ln at all; we don't have any links
50166 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50171 rm -f conf$$ conf$$.exe conf$$.
file
50173 if mkdir -p .
2>/dev
/null
; then
50176 test -d .
/-p && rmdir .
/-p
50180 as_executable_p
="test -f"
50182 # Sed expression to map a string onto a valid CPP name.
50183 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50185 # Sed expression to map a string onto a valid variable name.
50186 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50190 # We need space, tab and new line, in precisely that order.
50200 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50201 # report actual input values of CONFIG_FILES etc. instead of their
50202 # values after options handling. Logging --version etc. is OK.
50206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50207 ## Running $as_me. ##
50212 This file was extended by wxWidgets $as_me 2.7.0, which was
50213 generated by GNU Autoconf 2.59. Invocation command line was
50215 CONFIG_FILES = $CONFIG_FILES
50216 CONFIG_HEADERS = $CONFIG_HEADERS
50217 CONFIG_LINKS = $CONFIG_LINKS
50218 CONFIG_COMMANDS = $CONFIG_COMMANDS
50222 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50226 # Files that config.status was made for.
50227 if test -n "$ac_config_files"; then
50228 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50231 if test -n "$ac_config_headers"; then
50232 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50235 if test -n "$ac_config_links"; then
50236 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50239 if test -n "$ac_config_commands"; then
50240 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50243 cat >>$CONFIG_STATUS <<\_ACEOF
50246 \`$as_me' instantiates files from templates according to the
50247 current configuration.
50249 Usage: $0 [OPTIONS] [FILE]...
50251 -h, --help print this help, then exit
50252 -V, --version print version number, then exit
50253 -q, --quiet do not print progress messages
50254 -d, --debug don't remove temporary files
50255 --recheck update $as_me by reconfiguring in the same conditions
50256 --file=FILE[:TEMPLATE]
50257 instantiate the configuration file FILE
50258 --header=FILE[:TEMPLATE]
50259 instantiate the configuration header FILE
50261 Configuration files:
50264 Configuration headers:
50267 Configuration commands:
50270 Report bugs to <bug-autoconf@gnu.org>."
50273 cat >>$CONFIG_STATUS <<_ACEOF
50275 wxWidgets config.status 2.7.0
50276 configured by $0, generated by GNU Autoconf 2.59,
50277 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50279 Copyright (C) 2003 Free Software Foundation, Inc.
50280 This config.status script is free software; the Free Software Foundation
50281 gives unlimited permission to copy, distribute and modify it."
50286 cat >>$CONFIG_STATUS <<\_ACEOF
50287 # If no file are specified by the user, then we need to provide default
50288 # value. By we need to know if files were specified by the user.
50294 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50295 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50303 *) # This is not an option, so the user has probably given explicit
50306 ac_need_defaults
=false
;;
50310 # Handling of the options.
50312 cat >>$CONFIG_STATUS <<\_ACEOF
50313 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50315 --version | --vers* | -V )
50316 echo "$ac_cs_version"; exit 0 ;;
50318 # Conflict between --help and --header
50319 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50320 Try \`$0 --help' for more information." >&5
50321 echo "$as_me: error: ambiguous option: $1
50322 Try \`$0 --help' for more information." >&2;}
50323 { (exit 1); exit 1; }; };;
50324 --help | --hel | -h )
50325 echo "$ac_cs_usage"; exit 0 ;;
50326 --debug | --d* | -d )
50328 --file | --fil | --fi | --f )
50330 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50331 ac_need_defaults
=false
;;
50332 --header | --heade | --head | --hea )
50334 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50335 ac_need_defaults
=false
;;
50336 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50337 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50340 # This is an error.
50341 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50342 Try \`$0 --help' for more information." >&5
50343 echo "$as_me: error: unrecognized option: $1
50344 Try \`$0 --help' for more information." >&2;}
50345 { (exit 1); exit 1; }; } ;;
50347 *) ac_config_targets
="$ac_config_targets $1" ;;
50353 ac_configure_extra_args
=
50355 if $ac_cs_silent; then
50357 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50361 cat >>$CONFIG_STATUS <<_ACEOF
50362 if \$ac_cs_recheck; then
50363 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50364 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50369 cat >>$CONFIG_STATUS <<_ACEOF
50371 # INIT-COMMANDS section.
50376 infile="$srcdir/include/wx/msw/genrcdefs.h"
50377 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50380 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50381 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50382 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50390 cat >>$CONFIG_STATUS <<\_ACEOF
50391 for ac_config_target
in $ac_config_targets
50393 case "$ac_config_target" in
50394 # Handling of arguments.
50395 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50396 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50397 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50398 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50399 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50400 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50401 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50402 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50403 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50404 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50405 { (exit 1); exit 1; }; };;
50409 # If the user did not use the arguments to specify the items to instantiate,
50410 # then the envvar interface is used. Set only those that are not.
50411 # We use the long form for the default assignment because of an extremely
50412 # bizarre bug on SunOS 4.1.3.
50413 if $ac_need_defaults; then
50414 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50415 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50416 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50419 # Have a temporary directory for convenience. Make it in the build tree
50420 # simply because there is no reason to put it here, and in addition,
50421 # creating and moving files from /tmp can sometimes cause problems.
50422 # Create a temporary directory, and hook for its removal unless debugging.
50425 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50426 trap '{ (exit 1); exit 1; }' 1 2 13 15
50429 # Create a (secure) tmp directory for tmp files.
50432 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50433 test -n "$tmp" && test -d "$tmp"
50436 tmp
=.
/confstat$$
-$RANDOM
50437 (umask 077 && mkdir $tmp)
50440 echo "$me: cannot create a temporary directory in ." >&2
50441 { (exit 1); exit 1; }
50446 cat >>$CONFIG_STATUS <<_ACEOF
50449 # CONFIG_FILES section.
50452 # No need to generate the scripts if there are no CONFIG_FILES.
50453 # This happens for instance when ./config.status config.h
50454 if test -n "\$CONFIG_FILES"; then
50455 # Protect against being on the right side of a sed subst in config.status.
50456 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50457 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50458 s,@SHELL@,$SHELL,;t t
50459 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50460 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50461 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50462 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50463 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50464 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50465 s,@exec_prefix@,$exec_prefix,;t t
50466 s,@prefix@,$prefix,;t t
50467 s,@program_transform_name@,$program_transform_name,;t t
50468 s,@bindir@,$bindir,;t t
50469 s,@sbindir@,$sbindir,;t t
50470 s,@libexecdir@,$libexecdir,;t t
50471 s,@datadir@,$datadir,;t t
50472 s,@sysconfdir@,$sysconfdir,;t t
50473 s,@sharedstatedir@,$sharedstatedir,;t t
50474 s,@localstatedir@,$localstatedir,;t t
50475 s,@libdir@,$libdir,;t t
50476 s,@includedir@,$includedir,;t t
50477 s,@oldincludedir@,$oldincludedir,;t t
50478 s,@infodir@,$infodir,;t t
50479 s,@mandir@,$mandir,;t t
50480 s,@build_alias@,$build_alias,;t t
50481 s,@host_alias@,$host_alias,;t t
50482 s,@target_alias@,$target_alias,;t t
50483 s,@DEFS@,$DEFS,;t t
50484 s,@ECHO_C@,$ECHO_C,;t t
50485 s,@ECHO_N@,$ECHO_N,;t t
50486 s,@ECHO_T@,$ECHO_T,;t t
50487 s,@LIBS@,$LIBS,;t t
50488 s,@build@,$build,;t t
50489 s,@build_cpu@,$build_cpu,;t t
50490 s,@build_vendor@,$build_vendor,;t t
50491 s,@build_os@,$build_os,;t t
50492 s,@host@,$host,;t t
50493 s,@host_cpu@,$host_cpu,;t t
50494 s,@host_vendor@,$host_vendor,;t t
50495 s,@host_os@,$host_os,;t t
50496 s,@target@,$target,;t t
50497 s,@target_cpu@,$target_cpu,;t t
50498 s,@target_vendor@,$target_vendor,;t t
50499 s,@target_os@,$target_os,;t t
50501 s,@CFLAGS@,$CFLAGS,;t t
50502 s,@LDFLAGS@,$LDFLAGS,;t t
50503 s,@CPPFLAGS@,$CPPFLAGS,;t t
50504 s,@ac_ct_CC@,$ac_ct_CC,;t t
50505 s,@EXEEXT@,$EXEEXT,;t t
50506 s,@OBJEXT@,$OBJEXT,;t t
50508 s,@EGREP@,$EGREP,;t t
50510 s,@CXXFLAGS@,$CXXFLAGS,;t t
50511 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50512 s,@RANLIB@,$RANLIB,;t t
50513 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50515 s,@ac_ct_AR@,$ac_ct_AR,;t t
50516 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50517 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50518 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50519 s,@STRIP@,$STRIP,;t t
50520 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50521 s,@WINDRES@,$WINDRES,;t t
50522 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50523 s,@DLLTOOL@,$DLLTOOL,;t t
50524 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50525 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50526 s,@LN_S@,$LN_S,;t t
50527 s,@CXXCPP@,$CXXCPP,;t t
50528 s,@subdirs@,$subdirs,;t t
50529 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50530 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50531 s,@GTK_LIBS@,$GTK_LIBS,;t t
50532 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50533 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50534 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50535 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50536 s,@X_CFLAGS@,$X_CFLAGS,;t t
50537 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50538 s,@X_LIBS@,$X_LIBS,;t t
50539 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50540 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50541 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50542 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50543 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50544 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50545 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50547 s,@DEREZ@,$DEREZ,;t t
50548 s,@SETFILE@,$SETFILE,;t t
50549 s,@LIBICONV@,$LIBICONV,;t t
50550 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50551 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50552 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50553 s,@SDL_LIBS@,$SDL_LIBS,;t t
50554 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50555 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50556 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50557 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50558 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50559 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50560 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50561 s,@GST_LIBS@,$GST_LIBS,;t t
50562 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50563 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50564 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50565 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50566 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50567 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50568 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50569 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50570 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50571 s,@VENDOR@,$VENDOR,;t t
50572 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50573 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50574 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50575 s,@WXUNIV@,$WXUNIV,;t t
50576 s,@MONOLITHIC@,$MONOLITHIC,;t t
50577 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50578 s,@EXTRALIBS@,$EXTRALIBS,;t t
50579 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50580 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50581 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50582 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50583 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50584 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50585 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50586 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50587 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50588 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50589 s,@UNICODE@,$UNICODE,;t t
50590 s,@BUILD@,$BUILD,;t t
50591 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50592 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50593 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50594 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50595 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50596 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50597 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50598 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50599 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50600 s,@SET_MAKE@,$SET_MAKE,;t t
50601 s,@MAKE_SET@,$MAKE_SET,;t t
50603 s,@ac_ct_NM@,$ac_ct_NM,;t t
50604 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50605 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50606 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50607 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50608 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50609 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50610 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50611 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50612 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50613 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50614 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50615 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50616 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50617 s,@LIBPREFIX@,$LIBPREFIX,;t t
50618 s,@LIBEXT@,$LIBEXT,;t t
50619 s,@DLLPREFIX@,$DLLPREFIX,;t t
50620 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50621 s,@dlldir@,$dlldir,;t t
50622 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50623 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50624 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50625 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50626 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50627 s,@PIC_FLAG@,$PIC_FLAG,;t t
50628 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50629 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50630 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50631 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50632 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50633 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50634 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50635 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50636 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50637 s,@GCC_PCH@,$GCC_PCH,;t t
50638 s,@ICC_PCH@,$ICC_PCH,;t t
50639 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50640 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50641 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50642 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50643 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50644 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50645 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50646 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50647 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50648 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50649 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50650 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50651 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50652 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50653 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50654 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50655 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50656 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50657 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50658 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50659 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
50660 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
50661 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
50662 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
50663 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50664 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50665 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50666 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50667 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50668 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50669 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
50670 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
50671 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
50672 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
50673 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50674 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50675 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50676 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50677 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50678 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50679 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50680 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50681 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50682 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50683 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50684 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50685 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50686 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50687 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50688 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50689 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50690 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50691 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
50692 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50693 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50694 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50695 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50696 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50697 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50698 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50699 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50700 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50701 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50702 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50703 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50704 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50705 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50706 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50707 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50708 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50709 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50710 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50711 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50712 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50713 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50714 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50715 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50716 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50717 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50718 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50719 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50720 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50721 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50722 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50723 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50724 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50725 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50726 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50727 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50728 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50729 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50730 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50731 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50732 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50733 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
50734 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50735 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50736 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50737 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50738 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50739 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50740 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50741 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50742 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50743 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50744 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50745 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50746 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50747 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50748 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50749 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50750 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50751 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50752 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50753 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50754 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50755 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50756 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50757 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50758 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50759 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50760 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50761 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50762 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50763 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50764 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50765 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50766 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50767 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50768 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50769 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50770 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50771 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50772 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50773 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50774 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50775 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50776 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50777 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50778 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50779 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50780 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50781 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50782 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50783 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50784 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50785 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50786 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50787 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50788 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50789 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50790 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50791 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50792 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50793 s,@SHARED@,$SHARED,;t t
50794 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50795 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50796 s,@USE_GUI@,$USE_GUI,;t t
50797 s,@AFMINSTALL@,$AFMINSTALL,;t t
50798 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50799 s,@TOOLKIT@,$TOOLKIT,;t t
50800 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50801 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50802 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50803 s,@cross_compiling@,$cross_compiling,;t t
50804 s,@WIDGET_SET@,$WIDGET_SET,;t t
50805 s,@WX_RELEASE@,$WX_RELEASE,;t t
50806 s,@WX_VERSION@,$WX_VERSION,;t t
50807 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50808 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50809 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50810 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50811 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50812 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50813 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50814 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50815 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50816 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50817 s,@EXE_LINKER@,$EXE_LINKER,;t t
50818 s,@GUIDIST@,$GUIDIST,;t t
50819 s,@DISTDIR@,$DISTDIR,;t t
50820 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50821 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50822 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50823 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50824 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50825 s,@RESCOMP@,$RESCOMP,;t t
50826 s,@RESFLAGS@,$RESFLAGS,;t t
50827 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50828 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50829 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50830 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50831 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50832 s,@MACSETFILE@,$MACSETFILE,;t t
50834 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50835 s,@LIBOBJS@,$LIBOBJS,;t t
50836 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50841 cat >>$CONFIG_STATUS <<\_ACEOF
50842 # Split the substitutions into bite-sized pieces for seds with
50843 # small command number limits, like on Digital OSF/1 and HP-UX.
50844 ac_max_sed_lines
=48
50845 ac_sed_frag
=1 # Number of current file.
50846 ac_beg
=1 # First line for current file.
50847 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50850 while $ac_more_lines; do
50851 if test $ac_beg -gt 1; then
50852 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50854 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50856 if test ! -s $tmp/subs.frag
; then
50857 ac_more_lines
=false
50859 # The purpose of the label and of the branching condition is to
50860 # speed up the sed processing (if there are no `@' at all, there
50861 # is no need to browse any of the substitutions).
50862 # These are the two extra sed commands mentioned above.
50864 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50865 if test -z "$ac_sed_cmds"; then
50866 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50868 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50870 ac_sed_frag
=`expr $ac_sed_frag + 1`
50872 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50875 if test -z "$ac_sed_cmds"; then
50878 fi # test -n "$CONFIG_FILES"
50881 cat >>$CONFIG_STATUS <<\_ACEOF
50882 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50883 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50885 - | *:- | *:-:* ) # input from stdin
50887 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50888 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50889 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50890 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50891 * ) ac_file_in
=$ac_file.
in ;;
50894 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50895 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50897 X"$ac_file" : 'X\(//\)[^/]' \| \
50898 X"$ac_file" : 'X\(//\)$' \| \
50899 X"$ac_file" : 'X\(/\)' \| \
50900 . : '\(.\)' 2>/dev/null ||
50902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50903 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50904 /^X\(\/\/\)$/{ s//\1/; q; }
50905 /^X\(\/\).*/{ s//\1/; q; }
50907 { if $as_mkdir_p; then
50912 while test ! -d "$as_dir"; do
50913 as_dirs
="$as_dir $as_dirs"
50914 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50916 X"$as_dir" : 'X\(//\)[^/]' \| \
50917 X"$as_dir" : 'X\(//\)$' \| \
50918 X"$as_dir" : 'X\(/\)' \| \
50919 . : '\(.\)' 2>/dev/null ||
50921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50922 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50923 /^X\(\/\/\)$/{ s//\1/; q; }
50924 /^X\(\/\).*/{ s//\1/; q; }
50927 test ! -n "$as_dirs" || mkdir $as_dirs
50928 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50929 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50930 { (exit 1); exit 1; }; }; }
50934 if test "$ac_dir" != .
; then
50935 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50936 # A "../" for each directory in $ac_dir_suffix.
50937 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50939 ac_dir_suffix
= ac_top_builddir
=
50943 .
) # No --srcdir option. We are building in place.
50945 if test -z "$ac_top_builddir"; then
50948 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50950 [\\/]* | ?
:[\\/]* ) # Absolute path.
50951 ac_srcdir
=$srcdir$ac_dir_suffix;
50952 ac_top_srcdir
=$srcdir ;;
50953 *) # Relative path.
50954 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50955 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50958 # Do not use `cd foo && pwd` to compute absolute paths, because
50959 # the directories may not exist.
50961 .
) ac_abs_builddir
="$ac_dir";;
50964 .
) ac_abs_builddir
=`pwd`;;
50965 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50966 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50969 case $ac_abs_builddir in
50970 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50972 case ${ac_top_builddir}.
in
50973 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50974 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50975 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50978 case $ac_abs_builddir in
50979 .
) ac_abs_srcdir
=$ac_srcdir;;
50982 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50983 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50984 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50987 case $ac_abs_builddir in
50988 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50990 case $ac_top_srcdir in
50991 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50992 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50993 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50999 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51000 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51003 # Let's still pretend it is `configure' which instantiates (i.e., don't
51004 # use $as_me), people would be surprised to read:
51005 # /* config.h. Generated by config.status. */
51006 if test x
"$ac_file" = x
-; then
51009 configure_input
="$ac_file. "
51011 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51012 sed 's,.*/,,'` by configure."
51014 # First look for the input files in the build tree, otherwise in the
51016 ac_file_inputs
=`IFS=:
51017 for f in $ac_file_in; do
51019 -) echo $tmp/stdin ;;
51021 # Absolute (can't be DOS-style, as IFS=:)
51022 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51023 echo "$as_me: error: cannot find input file: $f" >&2;}
51024 { (exit 1); exit 1; }; }
51027 if test -f "$f"; then
51030 elif test -f "$srcdir/$f"; then
51035 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51036 echo "$as_me: error: cannot find input file: $f" >&2;}
51037 { (exit 1); exit 1; }; }
51040 done` || { (exit 1); exit 1; }
51042 if test x
"$ac_file" != x
-; then
51043 { echo "$as_me:$LINENO: creating $ac_file" >&5
51044 echo "$as_me: creating $ac_file" >&6;}
51048 cat >>$CONFIG_STATUS <<_ACEOF
51052 cat >>$CONFIG_STATUS <<\_ACEOF
51054 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51055 s
,@configure_input@
,$configure_input,;t t
51056 s
,@srcdir@
,$ac_srcdir,;t t
51057 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51058 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51059 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51060 s
,@builddir@
,$ac_builddir,;t t
51061 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51062 s
,@top_builddir@
,$ac_top_builddir,;t t
51063 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51064 s
,@INSTALL@
,$ac_INSTALL,;t t
51065 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51067 if test x"$ac_file" != x-; then
51068 mv $tmp/out $ac_file
51074 # Run the commands associated with the file.
51076 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51077 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51081 cat >>$CONFIG_STATUS <<\_ACEOF
51084 # CONFIG_HEADER section.
51087 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51088 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51090 # ac_d sets the value in "#define NAME VALUE" lines.
51091 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51092 ac_dB
='[ ].*$,\1#\2'
51095 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51096 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51097 ac_uB
='$,\1#\2define\3'
51101 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51102 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51104 - | *:- | *:-:* ) # input from stdin
51106 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51107 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51108 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51109 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51110 * ) ac_file_in
=$ac_file.
in ;;
51113 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51114 echo "$as_me: creating $ac_file" >&6;}
51116 # First look for the input files in the build tree, otherwise in the
51118 ac_file_inputs
=`IFS=:
51119 for f in $ac_file_in; do
51121 -) echo $tmp/stdin ;;
51123 # Absolute (can't be DOS-style, as IFS=:)
51124 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51125 echo "$as_me: error: cannot find input file: $f" >&2;}
51126 { (exit 1); exit 1; }; }
51127 # Do quote $f, to prevent DOS paths from being IFS'd.
51130 if test -f "$f"; then
51133 elif test -f "$srcdir/$f"; then
51138 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51139 echo "$as_me: error: cannot find input file: $f" >&2;}
51140 { (exit 1); exit 1; }; }
51143 done` || { (exit 1); exit 1; }
51144 # Remove the trailing spaces.
51145 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51149 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51150 # `conftest.undefs', that substitutes the proper values into
51151 # config.h.in to produce config.h. The first handles `#define'
51152 # templates, and the second `#undef' templates.
51153 # And first: Protect against being on the right side of a sed subst in
51154 # config.status. Protect against being in an unquoted here document
51155 # in config.status.
51156 rm -f conftest.defines conftest.undefs
51157 # Using a here document instead of a string reduces the quoting nightmare.
51158 # Putting comments in sed scripts is not portable.
51160 # `end' is used to avoid that the second main sed command (meant for
51161 # 0-ary CPP macros) applies to n-ary macro definitions.
51162 # See the Autoconf documentation for `clear'.
51163 cat >confdef2sed.
sed <<\_ACEOF
51168 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51170 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51173 # If some macros were called several times there might be several times
51174 # the same #defines, which is useless. Nevertheless, we may not want to
51175 # sort them, since we want the *last* AC-DEFINE to be honored.
51176 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51177 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51178 rm -f confdef2sed.sed
51180 # This sed command replaces #undef with comments. This is necessary, for
51181 # example, in the case of _POSIX_SOURCE, which is predefined and required
51182 # on some systems where configure will not decide to define it.
51183 cat >>conftest.undefs <<\_ACEOF
51184 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51187 # Break up conftest.defines because some shells have a limit on the size
51188 # of here documents, and old seds have small limits too (100 cmds).
51189 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51190 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51191 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51192 echo ' :' >>$CONFIG_STATUS
51193 rm -f conftest.tail
51194 while grep . conftest.defines >/dev/null
51196 # Write a limited-size here document to $tmp/defines.sed.
51197 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51198 # Speed up: don't consider the non `#define' lines.
51199 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51200 # Work around the forget-to-reset-the-flag bug.
51201 echo 't clr' >>$CONFIG_STATUS
51202 echo ': clr' >>$CONFIG_STATUS
51203 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51205 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51207 mv $tmp/out $tmp/in
51209 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51210 rm -f conftest.defines
51211 mv conftest.
tail conftest.defines
51213 rm -f conftest.defines
51214 echo ' fi # grep' >>$CONFIG_STATUS
51215 echo >>$CONFIG_STATUS
51217 # Break up conftest.undefs because some shells have a limit on the size
51218 # of here documents, and old seds have small limits too (100 cmds).
51219 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51220 rm -f conftest.
tail
51221 while grep . conftest.undefs
>/dev
/null
51223 # Write a limited-size here document to $tmp/undefs.sed.
51224 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51225 # Speed up: don't consider the non
`#undef'
51226 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51227 # Work around the forget-to-reset-the-flag bug.
51228 echo 't clr' >>$CONFIG_STATUS
51229 echo ': clr' >>$CONFIG_STATUS
51230 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51232 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51234 mv $tmp/out $tmp/in
51236 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51237 rm -f conftest.undefs
51238 mv conftest.tail conftest.undefs
51240 rm -f conftest.undefs
51242 cat >>$CONFIG_STATUS <<\_ACEOF
51243 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51244 # use $as_me), people would be surprised to read:
51245 # /* config.h. Generated by config.status. */
51246 if test x
"$ac_file" = x
-; then
51247 echo "/* Generated by configure. */" >$tmp/config.h
51249 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51251 cat $tmp/in >>$tmp/config.h
51253 if test x
"$ac_file" != x
-; then
51254 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51255 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51256 echo "$as_me: $ac_file is unchanged" >&6;}
51258 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51259 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51260 X"$ac_file" : 'X\(//\)[^/]' \| \
51261 X"$ac_file" : 'X\(//\)$' \| \
51262 X"$ac_file" : 'X\(/\)' \| \
51263 . : '\(.\)' 2>/dev/null ||
51265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51266 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51267 /^X\(\/\/\)$/{ s//\1/; q; }
51268 /^X\(\/\).*/{ s//\1/; q; }
51270 { if $as_mkdir_p; then
51275 while test ! -d "$as_dir"; do
51276 as_dirs
="$as_dir $as_dirs"
51277 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51279 X"$as_dir" : 'X\(//\)[^/]' \| \
51280 X"$as_dir" : 'X\(//\)$' \| \
51281 X"$as_dir" : 'X\(/\)' \| \
51282 . : '\(.\)' 2>/dev/null ||
51284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51286 /^X\(\/\/\)$/{ s//\1/; q; }
51287 /^X\(\/\).*/{ s//\1/; q; }
51290 test ! -n "$as_dirs" || mkdir $as_dirs
51291 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51292 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51293 { (exit 1); exit 1; }; }; }
51296 mv $tmp/config.h
$ac_file
51300 rm -f $tmp/config.h
51304 cat >>$CONFIG_STATUS <<\_ACEOF
51307 # CONFIG_COMMANDS section.
51309 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51310 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51311 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51312 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51313 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51314 X"$ac_dest" : 'X\(//\)[^/]' \| \
51315 X"$ac_dest" : 'X\(//\)$' \| \
51316 X"$ac_dest" : 'X\(/\)' \| \
51317 . : '\(.\)' 2>/dev/null ||
51319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51320 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51321 /^X\(\/\/\)$/{ s//\1/; q; }
51322 /^X\(\/\).*/{ s//\1/; q; }
51324 { if $as_mkdir_p; then
51329 while test ! -d "$as_dir"; do
51330 as_dirs
="$as_dir $as_dirs"
51331 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51333 X"$as_dir" : 'X\(//\)[^/]' \| \
51334 X"$as_dir" : 'X\(//\)$' \| \
51335 X"$as_dir" : 'X\(/\)' \| \
51336 . : '\(.\)' 2>/dev/null ||
51338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51339 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51340 /^X\(\/\/\)$/{ s//\1/; q; }
51341 /^X\(\/\).*/{ s//\1/; q; }
51344 test ! -n "$as_dirs" || mkdir $as_dirs
51345 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51346 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51347 { (exit 1); exit 1; }; }; }
51351 if test "$ac_dir" != .
; then
51352 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51353 # A "../" for each directory in $ac_dir_suffix.
51354 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51356 ac_dir_suffix
= ac_top_builddir
=
51360 .
) # No --srcdir option. We are building in place.
51362 if test -z "$ac_top_builddir"; then
51365 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51367 [\\/]* | ?
:[\\/]* ) # Absolute path.
51368 ac_srcdir
=$srcdir$ac_dir_suffix;
51369 ac_top_srcdir
=$srcdir ;;
51370 *) # Relative path.
51371 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51372 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51375 # Do not use `cd foo && pwd` to compute absolute paths, because
51376 # the directories may not exist.
51378 .
) ac_abs_builddir
="$ac_dir";;
51381 .
) ac_abs_builddir
=`pwd`;;
51382 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51383 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51386 case $ac_abs_builddir in
51387 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51389 case ${ac_top_builddir}.
in
51390 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51391 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51392 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51395 case $ac_abs_builddir in
51396 .
) ac_abs_srcdir
=$ac_srcdir;;
51399 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51400 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51401 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51404 case $ac_abs_builddir in
51405 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51407 case $ac_top_srcdir in
51408 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51409 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51410 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51415 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51416 echo "$as_me: executing $ac_dest commands" >&6;}
51419 mkdir -p $outdir &&
51420 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51422 wx
-config ) rm -f wx
-config
51423 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51429 cat >>$CONFIG_STATUS <<\_ACEOF
51431 { (exit 0); exit 0; }
51433 chmod +x
$CONFIG_STATUS
51434 ac_clean_files
=$ac_clean_files_save
51437 # configure is writing to config.log, and then calls config.status.
51438 # config.status does its own redirection, appending to config.log.
51439 # Unfortunately, on DOS this fails, as config.log is still kept open
51440 # by configure, so config.status won't be able to write to it; its
51441 # output is simply discarded. So we exec the FD to /dev/null,
51442 # effectively closing config.log, so it can be properly (re)opened and
51443 # appended to by config.status. When coming back to configure, we
51444 # need to make the FD available again.
51445 if test "$no_create" != yes; then
51447 ac_config_status_args
=
51448 test "$silent" = yes &&
51449 ac_config_status_args
="$ac_config_status_args --quiet"
51451 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51454 # would make configure fail if this is the last instruction.
51455 $ac_cs_success || { (exit 1); exit 1; }
51459 # CONFIG_SUBDIRS section.
51461 if test "$no_recursion" != yes; then
51463 # Remove --cache-file and --srcdir arguments so they do not pile up.
51464 ac_sub_configure_args
=
51466 for ac_arg
in $ac_configure_args; do
51467 if test -n "$ac_prev"; then
51472 -cache-file | --cache-file | --cache-fil | --cache-fi \
51473 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51474 ac_prev
=cache_file
;;
51475 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51476 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51479 --config-cache | -C)
51481 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51483 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51485 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51487 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51489 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51493 # Always prepend --prefix to ensure using the same prefix
51494 # in subdir configurations.
51495 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51498 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51500 # Do not complain, so a configure script can configure whichever
51501 # parts of a large source tree are present.
51502 test -d $srcdir/$ac_dir || continue
51504 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51505 echo "$as_me: configuring in $ac_dir" >&6;}
51506 { if $as_mkdir_p; then
51511 while test ! -d "$as_dir"; do
51512 as_dirs
="$as_dir $as_dirs"
51513 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51515 X"$as_dir" : 'X\(//\)[^/]' \| \
51516 X"$as_dir" : 'X\(//\)$' \| \
51517 X"$as_dir" : 'X\(/\)' \| \
51518 . : '\(.\)' 2>/dev/null ||
51520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51522 /^X\(\/\/\)$/{ s//\1/; q; }
51523 /^X\(\/\).*/{ s//\1/; q; }
51526 test ! -n "$as_dirs" || mkdir $as_dirs
51527 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51528 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51529 { (exit 1); exit 1; }; }; }
51533 if test "$ac_dir" != .
; then
51534 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51535 # A "../" for each directory in $ac_dir_suffix.
51536 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51538 ac_dir_suffix
= ac_top_builddir
=
51542 .
) # No --srcdir option. We are building in place.
51544 if test -z "$ac_top_builddir"; then
51547 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51549 [\\/]* | ?
:[\\/]* ) # Absolute path.
51550 ac_srcdir
=$srcdir$ac_dir_suffix;
51551 ac_top_srcdir
=$srcdir ;;
51552 *) # Relative path.
51553 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51554 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51557 # Do not use `cd foo && pwd` to compute absolute paths, because
51558 # the directories may not exist.
51560 .
) ac_abs_builddir
="$ac_dir";;
51563 .
) ac_abs_builddir
=`pwd`;;
51564 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51565 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51568 case $ac_abs_builddir in
51569 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51571 case ${ac_top_builddir}.
in
51572 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51573 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51574 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51577 case $ac_abs_builddir in
51578 .
) ac_abs_srcdir
=$ac_srcdir;;
51581 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51582 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51583 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51586 case $ac_abs_builddir in
51587 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51589 case $ac_top_srcdir in
51590 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51591 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51592 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51599 # Check for guested configure; otherwise get Cygnus style configure.
51600 if test -f $ac_srcdir/configure.gnu
; then
51601 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51602 elif test -f $ac_srcdir/configure
; then
51603 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51604 elif test -f $ac_srcdir/configure.
in; then
51605 ac_sub_configure
=$ac_configure
51607 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51608 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51612 # The recursion is here.
51613 if test -n "$ac_sub_configure"; then
51614 # Make the cache file name correct relative to the subdirectory.
51615 case $cache_file in
51616 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51617 *) # Relative path.
51618 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51621 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51622 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51623 # The eval makes quoting arguments work.
51624 eval $ac_sub_configure $ac_sub_configure_args \
51625 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51626 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51627 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51628 { (exit 1); exit 1; }; }
51637 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51639 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51640 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51642 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51643 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51644 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51646 echo " What level of wxWidgets compatibility should be enabled?"
51647 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51648 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51650 echo " Which libraries should wxWidgets use?"
51651 echo " jpeg ${wxUSE_LIBJPEG-none}"
51652 echo " png ${wxUSE_LIBPNG-none}"
51653 echo " regex ${wxUSE_REGEX}"
51654 echo " tiff ${wxUSE_LIBTIFF-none}"
51655 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51656 echo " xpm ${wxUSE_LIBXPM-none}"
51658 echo " zlib ${wxUSE_ZLIB}"
51659 echo " odbc ${wxUSE_ODBC}"
51660 echo " expat ${wxUSE_EXPAT}"
51661 echo " libmspack ${wxUSE_LIBMSPACK}"
51662 echo " sdl ${wxUSE_LIBSDL}"