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.1.
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.1'
274 PACKAGE_STRING
='wxWidgets 2.7.1'
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 CAIRO_CFLAGS CAIRO_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_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
861 ac_env_GST_LIBS_set
=${GST_LIBS+set}
862 ac_env_GST_LIBS_value
=$GST_LIBS
863 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value
=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are
in DIR
928 --x-libraries=DIR X library files are
in DIR
931 --build=BUILD configure
for building on BUILD
[guessed
]
932 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
933 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short
| recursive
) echo "Configuration of wxWidgets 2.7.1:";;
944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
952 --enable-gpe use GNOME PDA Environment features
if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL
for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C
++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
969 --enable-compat24 enable wxWidgets
2.4 compatibility
970 --disable-compat26 disable wxWidgets
2.6 compatibility
971 --disable-rpath disable use of rpath
for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig
(and derived
) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP
(requires wxProtocol
976 --enable-http use wxHTTP
(requires wxProtocol
977 --enable-fileproto use wxFileProto class
(requires wxProtocol
978 --enable-sockets use socket
/network classes
979 --enable-ole use OLE classes
(Win32 only
)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication
(wxSocket etc.
)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class
for getting backtraces
985 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class
for DLL loading
991 --enable-dynamicloader use
(new
) wxDynamicLibrary class
992 --enable-exceptions build exception
-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual
file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP
/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C
++ stream classes
1007 --enable-std_string use standard C
++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support
in wxProtocol
1026 --enable-protocol-ftp FTP support
in wxProtocol
1027 --enable-protocol-file FILE support
in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use
help subsystem
1031 --enable-mshtmlhelp use MS HTML Help
(win32
)
1032 --enable-html use wxHTML sub
-library
1033 --enable-htmlhelp use wxHTML
-based help
1034 --enable-xrc use XRC resources sub
-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout
-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl
(Mac
)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context
2D drawing API
1046 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1047 --enable-prologio not available
; see contrib
1048 --enable-resources not available
; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag
'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile
(Win32 only
)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images
(GIF
file format
)
1137 --enable-pcx use pcx images
(PCX
file format
)
1138 --enable-tga use tga images
(TGA
file format
)
1139 --enable-iff use iff images
(IFF
file format
)
1140 --enable-pnm use pnm images
(PNM
file format
)
1141 --enable-xpm use xpm images
(XPM
file format
)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1144 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1145 --disable-largefile omit support
for large files
1146 --disable-gtktest do not try to compile and run a
test GTK
+ program
1147 --disable-gtktest Do not try to compile and run a
test GTK program
1148 --disable-sdltest Do not try to compile and run a
test SDL program
1149 --enable-omf use OMF object format
(OS
/2)
1150 --disable-dependency-tracking
1151 don
't use dependency tracking even if the compiler
1153 --disable-precomp-headers
1154 don't use precompiled headers even
if compiler can
1157 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1158 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1159 --without-subdirs don
't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1210 C compiler flags for DIRECTFB, overriding pkg-config
1212 linker flags for DIRECTFB, overriding pkg-config
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1217 C compiler flags for PANGOFT2, overriding pkg-config
1219 linker flags for PANGOFT2, overriding pkg-config
1221 C compiler flags for PANGOXFT, overriding pkg-config
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1231 linker flags for GNOMEVFS, overriding pkg-config
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1241 Use these variables to override the choices made by `configure' or to
help
1242 it to
find libraries and programs with nonstandard names
/locations.
1244 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1251 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1252 test -d $ac_dir || continue
1255 if test "$ac_dir" != .
; then
1256 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1260 ac_dir_suffix
= ac_top_builddir
=
1264 .
) # No --srcdir option. We are building in place.
1266 if test -z "$ac_top_builddir"; then
1269 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1271 [\\/]* | ?
:[\\/]* ) # Absolute path.
1272 ac_srcdir
=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir
=$srcdir ;;
1275 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1282 .
) ac_abs_builddir
="$ac_dir";;
1285 .
) ac_abs_builddir
=`pwd`;;
1286 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1287 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1290 case $ac_abs_builddir in
1291 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1293 case ${ac_top_builddir}.
in
1294 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1295 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1296 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1299 case $ac_abs_builddir in
1300 .
) ac_abs_srcdir
=$ac_srcdir;;
1303 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1304 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1305 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1308 case $ac_abs_builddir in
1309 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1311 case $ac_top_srcdir in
1312 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1313 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu
; then
1322 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1323 elif test -f $ac_srcdir/configure
; then
1325 $SHELL $ac_srcdir/configure
--help=recursive
1326 elif test -f $ac_srcdir/configure.ac
||
1327 test -f $ac_srcdir/configure.
in; then
1329 $ac_configure --help
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1340 wxWidgets configure
2.7.1
1341 generated by GNU Autoconf
2.59
1343 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1344 This configure
script is free software
; the Free Software Foundation
1345 gives unlimited permission to copy
, distribute and modify it.
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1354 It was created by wxWidgets $as_me 2.7.1, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir
=.
1390 echo "PATH: $as_dir"
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1414 ac_must_keep_next
=false
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1430 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true
; then
1432 ac_must_keep_next
=false
# Got value, back to normal.
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1443 -* ) ac_must_keep_next
=true
;;
1446 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1453 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1454 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1472 # The following way of writing the cache mishandles newlines in values,
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1495 for ac_var in $ac_subst_vars
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1502 if test -n "$ac_subst_files"; then
1509 for ac_var in $ac_subst_files
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1517 if test -s confdefs.h; then
1524 sed "/^$/d" confdefs.h | sort
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1535 for ac_signal
in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest
* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1545 # Predefined preprocessor variables.
1547 cat >>confdefs.h
<<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1552 cat >>confdefs.h
<<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1557 cat >>confdefs.h
<<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1562 cat >>confdefs.h
<<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1567 cat >>confdefs.h
<<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE
; then
1576 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1578 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1581 for ac_site_file
in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1597 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1598 *) . .
/$cache_file;;
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1607 # Check that the precious variables saved in the cache have kept the same
1609 ac_cache_corrupted
=false
1610 for ac_var
in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1613 eval ac_new_set
=\
$ac_env_${ac_var}_set
1614 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val
="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted
=: ;;
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted
=: ;;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted
=:
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg
=$ac_var=$ac_new_val ;;
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1659 ac_cpp
='$CPP $CPPFLAGS'
1660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1694 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1695 if test -f $ac_dir/install-sh; then
1697 ac_install_sh
="$ac_aux_dir/install-sh -c"
1699 elif test -f $ac_dir/install.sh
; then
1701 ac_install_sh
="$ac_aux_dir/install.sh -c"
1703 elif test -f $ac_dir/shtool
; then
1705 ac_install_sh
="$ac_aux_dir/shtool install -c"
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1714 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 ac_cv_build_alias
=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias
=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1745 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 ac_cv_host_alias
=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias
=$ac_cv_build_alias
1758 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1767 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 ac_cv_target_alias
=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias
=$ac_cv_host_alias
1780 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target
=$ac_cv_target
1789 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1799 program_prefix
=${target_alias}-
1803 wx_major_version_number
=2
1804 wx_minor_version_number
=7
1806 wx_subrelease_number
=0
1808 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1809 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1810 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1812 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1825 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1831 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1837 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1839 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1841 DEFAULT_wxUSE_COCOA
=0
1845 DEFAULT_wxUSE_MICROWIN
=0
1846 DEFAULT_wxUSE_MOTIF
=0
1852 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1853 DEFAULT_DEFAULT_wxUSE_GTK
=0
1854 DEFAULT_DEFAULT_wxUSE_MAC
=0
1855 DEFAULT_DEFAULT_wxUSE_MGL
=0
1856 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1857 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1858 DEFAULT_DEFAULT_wxUSE_MSW
=0
1859 DEFAULT_DEFAULT_wxUSE_PM
=0
1860 DEFAULT_DEFAULT_wxUSE_X11
=0
1861 DEFAULT_DEFAULT_wxUSE_DFB
=0
1866 SAMPLES_RPATH_POSTLINK
=
1868 DEFAULT_STD_FLAG
=yes
1873 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1874 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1876 cat >>confdefs.h
<<\_ACEOF
1881 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1885 cat >>confdefs.h
<<\_ACEOF
1890 if test "x$TMP" = "xalpha"; then
1892 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_GTK
=1
1899 *-*-gnu* | *-*-k*bsd
*-gnu )
1902 if test "x$TMP" = "xalpha"; then
1904 cat >>confdefs.h
<<\_ACEOF
1909 DEFAULT_DEFAULT_wxUSE_GTK
=1
1911 *-*-irix5* | *-*-irix6* )
1914 cat >>confdefs.h
<<\_ACEOF
1918 cat >>confdefs.h
<<\_ACEOF
1922 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1928 cat >>confdefs.h
<<\_ACEOF
1932 cat >>confdefs.h
<<\_ACEOF
1933 #define __SOLARIS__ 1
1936 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1941 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1947 cat >>confdefs.h
<<\_ACEOF
1951 cat >>confdefs.h
<<\_ACEOF
1955 cat >>confdefs.h
<<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1964 cat >>confdefs.h
<<\_ACEOF
1965 #define __FREEBSD__ 1
1968 cat >>confdefs.h
<<\_ACEOF
1972 DEFAULT_DEFAULT_wxUSE_GTK
=1
1974 *-*-openbsd*|*-*-mirbsd*)
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define __OPENBSD__ 1
1981 cat >>confdefs.h
<<\_ACEOF
1985 DEFAULT_DEFAULT_wxUSE_GTK
=1
1990 cat >>confdefs.h
<<\_ACEOF
1991 #define __NETBSD__ 1
1994 cat >>confdefs.h
<<\_ACEOF
1998 DEFAULT_DEFAULT_wxUSE_GTK
=1
1999 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2001 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2006 cat >>confdefs.h
<<\_ACEOF
2010 cat >>confdefs.h
<<\_ACEOF
2014 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2015 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2020 cat >>confdefs.h
<<\_ACEOF
2024 cat >>confdefs.h
<<\_ACEOF
2028 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2033 cat >>confdefs.h
<<\_ACEOF
2037 cat >>confdefs.h
<<\_ACEOF
2041 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2048 cat >>confdefs.h
<<\_ACEOF
2052 cat >>confdefs.h
<<\_ACEOF
2056 cat >>confdefs.h
<<\_ACEOF
2060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2067 cat >>confdefs.h
<<\_ACEOF
2068 #define __UNIXWARE__ 1
2073 *-*-cygwin* | *-*-mingw32* )
2076 DEFAULT_DEFAULT_wxUSE_MSW
=1
2082 cat >>confdefs.h
<<\_ACEOF
2087 DEFAULT_DEFAULT_wxUSE_MGL
=1
2090 *-pc-os2_emx | *-pc-os2-emx )
2091 cat >>confdefs.h
<<\_ACEOF
2096 cat >>confdefs.h
<<\_ACEOF
2101 DEFAULT_DEFAULT_wxUSE_PM
=1
2103 LDFLAGS
="$LDFLAGS -Zcrtdll"
2104 ac_executable_extensions
=".exe"
2105 export ac_executable_extensions
2109 for ac_dir
in $PATH; do
2111 if test -z "$ac_TEMP_PATH"; then
2112 ac_TEMP_PATH
="$ac_dir"
2114 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2117 export PATH
="$ac_TEMP_PATH"
2126 cat >>confdefs.h
<<\_ACEOF
2130 cat >>confdefs.h
<<\_ACEOF
2131 #define __DARWIN__ 1
2134 cat >>confdefs.h
<<\_ACEOF
2135 #define TARGET_CARBON 1
2138 DEFAULT_DEFAULT_wxUSE_MAC
=1
2141 powerpc
-apple-macos* )
2143 ac_cv_c_bigendian
=yes
2145 DEFAULT_DEFAULT_wxUSE_MAC
=1
2151 cat >>confdefs.h
<<\_ACEOF
2158 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2159 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2160 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2161 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2163 DEFAULT_DEFAULT_wxUSE_X11
=1
2164 DEFAULT_wxUSE_SHARED
=no
2170 wx_arg_cache_file
="configarg.cache"
2171 echo "loading argument cache $wx_arg_cache_file"
2172 rm -f ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}.tmp
2174 touch ${wx_arg_cache_file}
2178 if test $DEBUG_CONFIGURE = 1; then
2179 DEFAULT_wxUSE_UNIVERSAL
=no
2180 DEFAULT_wxUSE_STL
=no
2182 DEFAULT_wxUSE_NANOX
=no
2184 DEFAULT_wxUSE_THREADS
=yes
2186 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2187 DEFAULT_wxUSE_OPTIMISE
=no
2188 DEFAULT_wxUSE_PROFILE
=no
2189 DEFAULT_wxUSE_NO_DEPS
=no
2190 DEFAULT_wxUSE_NO_RTTI
=no
2191 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2192 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2193 DEFAULT_wxUSE_RPATH
=yes
2194 DEFAULT_wxUSE_PERMISSIVE
=no
2195 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2196 DEFAULT_wxUSE_DEBUG_INFO
=yes
2197 DEFAULT_wxUSE_DEBUG_GDB
=yes
2198 DEFAULT_wxUSE_MEM_TRACING
=no
2199 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2200 DEFAULT_wxUSE_DMALLOC
=no
2201 DEFAULT_wxUSE_APPLE_IEEE
=no
2203 DEFAULT_wxUSE_EXCEPTIONS
=no
2204 DEFAULT_wxUSE_LOG
=yes
2205 DEFAULT_wxUSE_LOGWINDOW
=no
2206 DEFAULT_wxUSE_LOGGUI
=no
2207 DEFAULT_wxUSE_LOGDIALOG
=no
2209 DEFAULT_wxUSE_GUI
=yes
2210 DEFAULT_wxUSE_CONTROLS
=no
2212 DEFAULT_wxUSE_REGEX
=no
2213 DEFAULT_wxUSE_XML
=no
2214 DEFAULT_wxUSE_EXPAT
=no
2215 DEFAULT_wxUSE_ZLIB
=no
2216 DEFAULT_wxUSE_LIBPNG
=no
2217 DEFAULT_wxUSE_LIBJPEG
=no
2218 DEFAULT_wxUSE_LIBTIFF
=no
2219 DEFAULT_wxUSE_LIBXPM
=no
2220 DEFAULT_wxUSE_LIBMSPACK
=no
2221 DEFAULT_wxUSE_LIBSDL
=no
2222 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2223 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2224 DEFAULT_wxUSE_LIBHILDON
=no
2225 DEFAULT_wxUSE_ODBC
=no
2226 DEFAULT_wxUSE_OPENGL
=no
2228 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2229 DEFAULT_wxUSE_STACKWALKER
=no
2230 DEFAULT_wxUSE_DEBUGREPORT
=no
2231 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2232 DEFAULT_wxUSE_STD_IOSTREAM
=no
2233 DEFAULT_wxUSE_STD_STRING
=no
2234 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2235 DEFAULT_wxUSE_DATETIME
=no
2236 DEFAULT_wxUSE_TIMER
=no
2237 DEFAULT_wxUSE_STOPWATCH
=no
2238 DEFAULT_wxUSE_FILE
=no
2239 DEFAULT_wxUSE_FFILE
=no
2240 DEFAULT_wxUSE_STDPATHS
=no
2241 DEFAULT_wxUSE_TEXTBUFFER
=no
2242 DEFAULT_wxUSE_TEXTFILE
=no
2243 DEFAULT_wxUSE_SOUND
=no
2244 DEFAULT_wxUSE_MEDIACTRL
=no
2245 DEFAULT_wxUSE_GSTREAMER8
=no
2246 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2247 DEFAULT_wxUSE_INTL
=no
2248 DEFAULT_wxUSE_CONFIG
=no
2249 DEFAULT_wxUSE_FONTMAP
=no
2250 DEFAULT_wxUSE_STREAMS
=no
2251 DEFAULT_wxUSE_SOCKETS
=no
2252 DEFAULT_wxUSE_OLE
=no
2253 DEFAULT_wxUSE_DATAOBJ
=no
2254 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2255 DEFAULT_wxUSE_JOYSTICK
=no
2256 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2257 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2258 DEFAULT_wxUSE_LONGLONG
=no
2259 DEFAULT_wxUSE_GEOMETRY
=no
2261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2263 DEFAULT_wxUSE_POSTSCRIPT
=no
2265 DEFAULT_wxUSE_CLIPBOARD
=no
2266 DEFAULT_wxUSE_TOOLTIPS
=no
2267 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2268 DEFAULT_wxUSE_DRAGIMAGE
=no
2269 DEFAULT_wxUSE_SPLINES
=no
2270 DEFAULT_wxUSE_MOUSEWHEEL
=no
2272 DEFAULT_wxUSE_MDI
=no
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2277 DEFAULT_wxUSE_RESOURCES
=no
2278 DEFAULT_wxUSE_CONSTRAINTS
=no
2279 DEFAULT_wxUSE_IPC
=no
2280 DEFAULT_wxUSE_HELP
=no
2281 DEFAULT_wxUSE_MS_HTML_HELP
=no
2282 DEFAULT_wxUSE_WXHTML_HELP
=no
2283 DEFAULT_wxUSE_TREELAYOUT
=no
2284 DEFAULT_wxUSE_METAFILE
=no
2285 DEFAULT_wxUSE_MIMETYPE
=no
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2287 DEFAULT_wxUSE_PROTOCOL
=no
2288 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2289 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2290 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2291 DEFAULT_wxUSE_URL
=no
2292 DEFAULT_wxUSE_VARIANT
=no
2294 DEFAULT_wxUSE_ABOUTDLG
=no
2295 DEFAULT_wxUSE_COMMONDLGS
=no
2296 DEFAULT_wxUSE_CHOICEDLG
=no
2297 DEFAULT_wxUSE_COLOURDLG
=no
2298 DEFAULT_wxUSE_DIRDLG
=no
2299 DEFAULT_wxUSE_FILEDLG
=no
2300 DEFAULT_wxUSE_FINDREPLDLG
=no
2301 DEFAULT_wxUSE_FONTDLG
=no
2302 DEFAULT_wxUSE_MSGDLG
=no
2303 DEFAULT_wxUSE_NUMBERDLG
=no
2304 DEFAULT_wxUSE_TEXTDLG
=no
2305 DEFAULT_wxUSE_SPLASH
=no
2306 DEFAULT_wxUSE_STARTUP_TIPS
=no
2307 DEFAULT_wxUSE_PROGRESSDLG
=no
2308 DEFAULT_wxUSE_WIZARDDLG
=no
2310 DEFAULT_wxUSE_MENUS
=no
2311 DEFAULT_wxUSE_MINIFRAME
=no
2312 DEFAULT_wxUSE_HTML
=no
2313 DEFAULT_wxUSE_RICHTEXT
=no
2314 DEFAULT_wxUSE_XRC
=no
2315 DEFAULT_wxUSE_AUI
=no
2316 DEFAULT_wxUSE_WEBKIT
=no
2317 DEFAULT_wxUSE_FILESYSTEM
=no
2318 DEFAULT_wxUSE_FS_INET
=no
2319 DEFAULT_wxUSE_FS_ZIP
=no
2320 DEFAULT_wxUSE_FS_ARCHIVE
=no
2321 DEFAULT_wxUSE_BUSYINFO
=no
2322 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2323 DEFAULT_wxUSE_ZIPSTREAM
=no
2324 DEFAULT_wxUSE_TARSTREAM
=no
2325 DEFAULT_wxUSE_VALIDATORS
=no
2327 DEFAULT_wxUSE_ACCEL
=no
2328 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2329 DEFAULT_wxUSE_BUTTON
=no
2330 DEFAULT_wxUSE_BMPBUTTON
=no
2331 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2332 DEFAULT_wxUSE_CALCTRL
=no
2333 DEFAULT_wxUSE_CARET
=no
2334 DEFAULT_wxUSE_CHECKBOX
=no
2335 DEFAULT_wxUSE_CHECKLST
=no
2336 DEFAULT_wxUSE_CHOICE
=no
2337 DEFAULT_wxUSE_CHOICEBOOK
=no
2338 DEFAULT_wxUSE_COLLPANE
=no
2339 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2340 DEFAULT_wxUSE_COMBOBOX
=no
2341 DEFAULT_wxUSE_COMBOCTRL
=no
2342 DEFAULT_wxUSE_DATEPICKCTRL
=no
2343 DEFAULT_wxUSE_DISPLAY
=no
2344 DEFAULT_wxUSE_DETECT_SM
=no
2345 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2346 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2347 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2348 DEFAULT_wxUSE_GAUGE
=no
2349 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2350 DEFAULT_wxUSE_GRID
=no
2351 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2352 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2353 DEFAULT_wxUSE_IMAGLIST
=no
2354 DEFAULT_wxUSE_LISTBOOK
=no
2355 DEFAULT_wxUSE_LISTBOX
=no
2356 DEFAULT_wxUSE_LISTCTRL
=no
2357 DEFAULT_wxUSE_NOTEBOOK
=no
2358 DEFAULT_wxUSE_ODCOMBOBOX
=no
2359 DEFAULT_wxUSE_RADIOBOX
=no
2360 DEFAULT_wxUSE_RADIOBTN
=no
2361 DEFAULT_wxUSE_SASH
=no
2362 DEFAULT_wxUSE_SCROLLBAR
=no
2363 DEFAULT_wxUSE_SLIDER
=no
2364 DEFAULT_wxUSE_SPINBTN
=no
2365 DEFAULT_wxUSE_SPINCTRL
=no
2366 DEFAULT_wxUSE_SPLITTER
=no
2367 DEFAULT_wxUSE_STATBMP
=no
2368 DEFAULT_wxUSE_STATBOX
=no
2369 DEFAULT_wxUSE_STATLINE
=no
2370 DEFAULT_wxUSE_STATTEXT
=no
2371 DEFAULT_wxUSE_STATUSBAR
=yes
2372 DEFAULT_wxUSE_TAB_DIALOG
=no
2373 DEFAULT_wxUSE_TEXTCTRL
=no
2374 DEFAULT_wxUSE_TOGGLEBTN
=no
2375 DEFAULT_wxUSE_TOOLBAR
=no
2376 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2377 DEFAULT_wxUSE_TREEBOOK
=no
2378 DEFAULT_wxUSE_TOOLBOOK
=no
2379 DEFAULT_wxUSE_TREECTRL
=no
2380 DEFAULT_wxUSE_POPUPWIN
=no
2381 DEFAULT_wxUSE_TIPWINDOW
=no
2383 DEFAULT_wxUSE_UNICODE
=no
2384 DEFAULT_wxUSE_UNICODE_MSLU
=no
2385 DEFAULT_wxUSE_WCSRTOMBS
=no
2387 DEFAULT_wxUSE_PALETTE
=no
2388 DEFAULT_wxUSE_IMAGE
=no
2389 DEFAULT_wxUSE_GIF
=no
2390 DEFAULT_wxUSE_PCX
=no
2391 DEFAULT_wxUSE_TGA
=no
2392 DEFAULT_wxUSE_PNM
=no
2393 DEFAULT_wxUSE_IFF
=no
2394 DEFAULT_wxUSE_XPM
=no
2395 DEFAULT_wxUSE_ICO_CUR
=no
2396 DEFAULT_wxUSE_ACCESSIBILITY
=no
2398 DEFAULT_wxUSE_MONOLITHIC
=no
2399 DEFAULT_wxUSE_PLUGINS
=no
2400 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2402 DEFAULT_wxUSE_UNIVERSAL
=no
2403 DEFAULT_wxUSE_STL
=no
2405 DEFAULT_wxUSE_NANOX
=no
2407 DEFAULT_wxUSE_THREADS
=yes
2409 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2410 DEFAULT_wxUSE_OPTIMISE
=yes
2411 DEFAULT_wxUSE_PROFILE
=no
2412 DEFAULT_wxUSE_NO_DEPS
=no
2413 DEFAULT_wxUSE_NO_RTTI
=no
2414 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2415 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2416 DEFAULT_wxUSE_RPATH
=yes
2417 DEFAULT_wxUSE_PERMISSIVE
=no
2418 DEFAULT_wxUSE_DEBUG_FLAG
=no
2419 DEFAULT_wxUSE_DEBUG_INFO
=no
2420 DEFAULT_wxUSE_DEBUG_GDB
=no
2421 DEFAULT_wxUSE_MEM_TRACING
=no
2422 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2423 DEFAULT_wxUSE_DMALLOC
=no
2424 DEFAULT_wxUSE_APPLE_IEEE
=yes
2426 DEFAULT_wxUSE_EXCEPTIONS
=yes
2427 DEFAULT_wxUSE_LOG
=yes
2428 DEFAULT_wxUSE_LOGWINDOW
=yes
2429 DEFAULT_wxUSE_LOGGUI
=yes
2430 DEFAULT_wxUSE_LOGDIALOG
=yes
2432 DEFAULT_wxUSE_GUI
=yes
2434 DEFAULT_wxUSE_REGEX
=yes
2435 DEFAULT_wxUSE_XML
=yes
2436 DEFAULT_wxUSE_EXPAT
=yes
2437 DEFAULT_wxUSE_ZLIB
=yes
2438 DEFAULT_wxUSE_LIBPNG
=yes
2439 DEFAULT_wxUSE_LIBJPEG
=yes
2440 DEFAULT_wxUSE_LIBTIFF
=yes
2441 DEFAULT_wxUSE_LIBXPM
=yes
2442 DEFAULT_wxUSE_LIBMSPACK
=yes
2443 DEFAULT_wxUSE_LIBSDL
=no
2444 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2445 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2446 DEFAULT_wxUSE_LIBHILDON
=no
2447 DEFAULT_wxUSE_ODBC
=no
2448 DEFAULT_wxUSE_OPENGL
=no
2450 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2451 DEFAULT_wxUSE_STACKWALKER
=yes
2452 DEFAULT_wxUSE_DEBUGREPORT
=yes
2453 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2454 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2455 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2456 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2457 DEFAULT_wxUSE_DATETIME
=yes
2458 DEFAULT_wxUSE_TIMER
=yes
2459 DEFAULT_wxUSE_STOPWATCH
=yes
2460 DEFAULT_wxUSE_FILE
=yes
2461 DEFAULT_wxUSE_FFILE
=yes
2462 DEFAULT_wxUSE_STDPATHS
=yes
2463 DEFAULT_wxUSE_TEXTBUFFER
=yes
2464 DEFAULT_wxUSE_TEXTFILE
=yes
2465 DEFAULT_wxUSE_SOUND
=yes
2466 DEFAULT_wxUSE_MEDIACTRL
=no
2467 DEFAULT_wxUSE_GSTREAMER8
=no
2468 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2469 DEFAULT_wxUSE_INTL
=yes
2470 DEFAULT_wxUSE_CONFIG
=yes
2471 DEFAULT_wxUSE_FONTMAP
=yes
2472 DEFAULT_wxUSE_STREAMS
=yes
2473 DEFAULT_wxUSE_SOCKETS
=yes
2474 DEFAULT_wxUSE_OLE
=yes
2475 DEFAULT_wxUSE_DATAOBJ
=yes
2476 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2477 DEFAULT_wxUSE_JOYSTICK
=yes
2478 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2479 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2480 DEFAULT_wxUSE_LONGLONG
=yes
2481 DEFAULT_wxUSE_GEOMETRY
=yes
2483 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2484 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2485 DEFAULT_wxUSE_POSTSCRIPT
=yes
2487 DEFAULT_wxUSE_CLIPBOARD
=yes
2488 DEFAULT_wxUSE_TOOLTIPS
=yes
2489 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2490 DEFAULT_wxUSE_DRAGIMAGE
=yes
2491 DEFAULT_wxUSE_SPLINES
=yes
2492 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2494 DEFAULT_wxUSE_MDI
=yes
2495 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2496 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2497 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2499 DEFAULT_wxUSE_RESOURCES
=no
2500 DEFAULT_wxUSE_CONSTRAINTS
=yes
2501 DEFAULT_wxUSE_IPC
=yes
2502 DEFAULT_wxUSE_HELP
=yes
2503 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2504 DEFAULT_wxUSE_WXHTML_HELP
=yes
2505 DEFAULT_wxUSE_TREELAYOUT
=yes
2506 DEFAULT_wxUSE_METAFILE
=yes
2507 DEFAULT_wxUSE_MIMETYPE
=yes
2508 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2509 DEFAULT_wxUSE_PROTOCOL
=yes
2510 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2511 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2512 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2513 DEFAULT_wxUSE_URL
=yes
2514 DEFAULT_wxUSE_VARIANT
=yes
2516 DEFAULT_wxUSE_ABOUTDLG
=yes
2517 DEFAULT_wxUSE_COMMONDLGS
=yes
2518 DEFAULT_wxUSE_CHOICEDLG
=yes
2519 DEFAULT_wxUSE_COLOURDLG
=yes
2520 DEFAULT_wxUSE_DIRDLG
=yes
2521 DEFAULT_wxUSE_FILEDLG
=yes
2522 DEFAULT_wxUSE_FINDREPLDLG
=yes
2523 DEFAULT_wxUSE_FONTDLG
=yes
2524 DEFAULT_wxUSE_MSGDLG
=yes
2525 DEFAULT_wxUSE_NUMBERDLG
=yes
2526 DEFAULT_wxUSE_TEXTDLG
=yes
2527 DEFAULT_wxUSE_SPLASH
=yes
2528 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2529 DEFAULT_wxUSE_PROGRESSDLG
=yes
2530 DEFAULT_wxUSE_WIZARDDLG
=yes
2532 DEFAULT_wxUSE_MENUS
=yes
2533 DEFAULT_wxUSE_MINIFRAME
=yes
2534 DEFAULT_wxUSE_HTML
=yes
2535 DEFAULT_wxUSE_RICHTEXT
=yes
2536 DEFAULT_wxUSE_XRC
=yes
2537 DEFAULT_wxUSE_AUI
=yes
2538 DEFAULT_wxUSE_WEBKIT
=yes
2539 DEFAULT_wxUSE_FILESYSTEM
=yes
2540 DEFAULT_wxUSE_FS_INET
=yes
2541 DEFAULT_wxUSE_FS_ZIP
=yes
2542 DEFAULT_wxUSE_FS_ARCHIVE
=yes
2543 DEFAULT_wxUSE_BUSYINFO
=yes
2544 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2545 DEFAULT_wxUSE_ZIPSTREAM
=yes
2546 DEFAULT_wxUSE_TARSTREAM
=yes
2547 DEFAULT_wxUSE_VALIDATORS
=yes
2549 DEFAULT_wxUSE_ACCEL
=yes
2550 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2551 DEFAULT_wxUSE_BUTTON
=yes
2552 DEFAULT_wxUSE_BMPBUTTON
=yes
2553 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2554 DEFAULT_wxUSE_CALCTRL
=yes
2555 DEFAULT_wxUSE_CARET
=yes
2556 DEFAULT_wxUSE_CHECKBOX
=yes
2557 DEFAULT_wxUSE_CHECKLST
=yes
2558 DEFAULT_wxUSE_CHOICE
=yes
2559 DEFAULT_wxUSE_CHOICEBOOK
=yes
2560 DEFAULT_wxUSE_COLLPANE
=yes
2561 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2562 DEFAULT_wxUSE_COMBOBOX
=yes
2563 DEFAULT_wxUSE_COMBOCTRL
=yes
2564 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2565 DEFAULT_wxUSE_DISPLAY
=yes
2566 DEFAULT_wxUSE_DETECT_SM
=yes
2567 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2568 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2569 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2570 DEFAULT_wxUSE_GAUGE
=yes
2571 DEFAULT_wxUSE_GRID
=yes
2572 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2573 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2574 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2575 DEFAULT_wxUSE_IMAGLIST
=yes
2576 DEFAULT_wxUSE_LISTBOOK
=yes
2577 DEFAULT_wxUSE_LISTBOX
=yes
2578 DEFAULT_wxUSE_LISTCTRL
=yes
2579 DEFAULT_wxUSE_NOTEBOOK
=yes
2580 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2581 DEFAULT_wxUSE_RADIOBOX
=yes
2582 DEFAULT_wxUSE_RADIOBTN
=yes
2583 DEFAULT_wxUSE_SASH
=yes
2584 DEFAULT_wxUSE_SCROLLBAR
=yes
2585 DEFAULT_wxUSE_SLIDER
=yes
2586 DEFAULT_wxUSE_SPINBTN
=yes
2587 DEFAULT_wxUSE_SPINCTRL
=yes
2588 DEFAULT_wxUSE_SPLITTER
=yes
2589 DEFAULT_wxUSE_STATBMP
=yes
2590 DEFAULT_wxUSE_STATBOX
=yes
2591 DEFAULT_wxUSE_STATLINE
=yes
2592 DEFAULT_wxUSE_STATTEXT
=yes
2593 DEFAULT_wxUSE_STATUSBAR
=yes
2594 DEFAULT_wxUSE_TAB_DIALOG
=no
2595 DEFAULT_wxUSE_TEXTCTRL
=yes
2596 DEFAULT_wxUSE_TOGGLEBTN
=yes
2597 DEFAULT_wxUSE_TOOLBAR
=yes
2598 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2599 DEFAULT_wxUSE_TREEBOOK
=yes
2600 DEFAULT_wxUSE_TOOLBOOK
=yes
2601 DEFAULT_wxUSE_TREECTRL
=yes
2602 DEFAULT_wxUSE_POPUPWIN
=yes
2603 DEFAULT_wxUSE_TIPWINDOW
=yes
2605 DEFAULT_wxUSE_UNICODE
=no
2606 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2607 DEFAULT_wxUSE_WCSRTOMBS
=no
2609 DEFAULT_wxUSE_PALETTE
=yes
2610 DEFAULT_wxUSE_IMAGE
=yes
2611 DEFAULT_wxUSE_GIF
=yes
2612 DEFAULT_wxUSE_PCX
=yes
2613 DEFAULT_wxUSE_TGA
=yes
2614 DEFAULT_wxUSE_IFF
=no DEFAULT_wxUSE_PNM
=yes
2615 DEFAULT_wxUSE_XPM
=yes
2616 DEFAULT_wxUSE_ICO_CUR
=yes
2617 DEFAULT_wxUSE_ACCESSIBILITY
=no
2619 DEFAULT_wxUSE_MONOLITHIC
=no
2620 DEFAULT_wxUSE_PLUGINS
=no
2621 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2623 DEFAULT_wxUSE_GTK2
=yes
2629 for toolkit
in `echo $ALL_TOOLKITS`; do
2630 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2631 if test "x$LINE" != "x" ; then
2632 has_toolkit_in_cache
=1
2633 eval "DEFAULT_$LINE"
2634 eval "CACHE_$toolkit=1"
2636 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 eval "DEFAULT_$LINE"
2646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2647 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2649 # Check whether --enable-gui or --disable-gui was given.
2650 if test "${enable_gui+set}" = set; then
2651 enableval
="$enable_gui"
2653 if test "$enableval" = yes; then
2654 ac_cv_use_gui
='wxUSE_GUI=yes'
2656 ac_cv_use_gui
='wxUSE_GUI=no'
2661 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x
; then
2663 eval "DEFAULT_$LINE"
2668 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672 eval "$ac_cv_use_gui"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_GUI" = yes; then
2678 echo "$as_me:$LINENO: result: yes" >&5
2679 echo "${ECHO_T}yes" >&6
2681 echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6
2687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2688 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2690 # Check whether --enable-monolithic or --disable-monolithic was given.
2691 if test "${enable_monolithic+set}" = set; then
2692 enableval
="$enable_monolithic"
2694 if test "$enableval" = yes; then
2695 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2697 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2702 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x
; then
2704 eval "DEFAULT_$LINE"
2709 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713 eval "$ac_cv_use_monolithic"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2718 if test "$wxUSE_MONOLITHIC" = yes; then
2719 echo "$as_me:$LINENO: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6
2722 echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6
2728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2729 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2731 # Check whether --enable-plugins or --disable-plugins was given.
2732 if test "${enable_plugins+set}" = set; then
2733 enableval
="$enable_plugins"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2738 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2743 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754 eval "$ac_cv_use_plugins"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2759 if test "$wxUSE_PLUGINS" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2769 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2770 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2773 # Check whether --with-subdirs or --without-subdirs was given.
2774 if test "${with_subdirs+set}" = set; then
2775 withval
="$with_subdirs"
2777 if test "$withval" = yes; then
2778 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2780 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2785 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796 eval "$ac_cv_use_subdirs"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2801 if test "$wxWITH_SUBDIRS" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2810 if test "$wxUSE_GUI" = "yes"; then
2814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2815 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2817 # Check whether --enable-universal or --disable-universal was given.
2818 if test "${enable_universal+set}" = set; then
2819 enableval
="$enable_universal"
2821 if test "$enableval" = yes; then
2822 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2824 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2829 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840 eval "$ac_cv_use_universal"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2845 if test "$wxUSE_UNIVERSAL" = yes; then
2846 echo "$as_me:$LINENO: result: yes" >&5
2847 echo "${ECHO_T}yes" >&6
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2854 # Check whether --with-gtk or --without-gtk was given.
2855 if test "${with_gtk+set}" = set; then
2857 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2860 # Check whether --with-motif or --without-motif was given.
2861 if test "${with_motif+set}" = set; then
2862 withval
="$with_motif"
2863 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2866 # Check whether --with-mac or --without-mac was given.
2867 if test "${with_mac+set}" = set; then
2869 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2872 # Check whether --with-cocoa or --without-cocoa was given.
2873 if test "${with_cocoa+set}" = set; then
2874 withval
="$with_cocoa"
2875 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2878 # Check whether --with-wine or --without-wine was given.
2879 if test "${with_wine+set}" = set; then
2880 withval
="$with_wine"
2881 wxUSE_WINE
="$withval" CACHE_WINE
=1
2884 # Check whether --with-msw or --without-msw was given.
2885 if test "${with_msw+set}" = set; then
2887 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2890 # Check whether --with-pm or --without-pm was given.
2891 if test "${with_pm+set}" = set; then
2893 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2896 # Check whether --with-mgl or --without-mgl was given.
2897 if test "${with_mgl+set}" = set; then
2899 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2902 # Check whether --with-directfb or --without-directfb was given.
2903 if test "${with_directfb+set}" = set; then
2904 withval
="$with_directfb"
2905 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2908 # Check whether --with-microwin or --without-microwin was given.
2909 if test "${with_microwin+set}" = set; then
2910 withval
="$with_microwin"
2911 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2914 # Check whether --with-x11 or --without-x11 was given.
2915 if test "${with_x11+set}" = set; then
2917 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2922 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2924 # Check whether --enable-nanox or --disable-nanox was given.
2925 if test "${enable_nanox+set}" = set; then
2926 enableval
="$enable_nanox"
2928 if test "$enableval" = yes; then
2929 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2931 ac_cv_use_nanox
='wxUSE_NANOX=no'
2936 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x
; then
2938 eval "DEFAULT_$LINE"
2943 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947 eval "$ac_cv_use_nanox"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2952 if test "$wxUSE_NANOX" = yes; then
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2961 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2962 if test "${enable_gtk2+set}" = set; then
2963 enableval
="$enable_gtk2"
2964 wxUSE_GTK2
="$enableval"
2968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2969 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2971 # Check whether --enable-gpe or --disable-gpe was given.
2972 if test "${enable_gpe+set}" = set; then
2973 enableval
="$enable_gpe"
2975 if test "$enableval" = yes; then
2976 ac_cv_use_gpe
='wxUSE_GPE=yes'
2978 ac_cv_use_gpe
='wxUSE_GPE=no'
2983 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x
; then
2985 eval "DEFAULT_$LINE"
2990 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994 eval "$ac_cv_use_gpe"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2999 if test "$wxUSE_GPE" = yes; then
3000 echo "$as_me:$LINENO: result: yes" >&5
3001 echo "${ECHO_T}yes" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3009 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3010 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3013 # Check whether --with-libpng or --without-libpng was given.
3014 if test "${with_libpng+set}" = set; then
3015 withval
="$with_libpng"
3017 if test "$withval" = yes; then
3018 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3019 elif test "$withval" = no
; then
3020 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3021 elif test "$withval" = sys
; then
3022 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3023 elif test "$withval" = builtin; then
3024 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3026 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3027 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3028 { (exit 1); exit 1; }; }
3033 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3034 if test "x$LINE" != x
; then
3035 eval "DEFAULT_$LINE"
3040 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044 eval "$ac_cv_use_libpng"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3049 if test "$wxUSE_LIBPNG" = yes; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3052 elif test "$wxUSE_LIBPNG" = no
; then
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 elif test "$wxUSE_LIBPNG" = sys
; then
3056 echo "$as_me:$LINENO: result: system version" >&5
3057 echo "${ECHO_T}system version" >&6
3058 elif test "$wxUSE_LIBPNG" = builtin; then
3059 echo "$as_me:$LINENO: result: builtin version" >&5
3060 echo "${ECHO_T}builtin version" >&6
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3068 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3069 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3072 # Check whether --with-libjpeg or --without-libjpeg was given.
3073 if test "${with_libjpeg+set}" = set; then
3074 withval
="$with_libjpeg"
3076 if test "$withval" = yes; then
3077 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3078 elif test "$withval" = no
; then
3079 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3080 elif test "$withval" = sys
; then
3081 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3082 elif test "$withval" = builtin; then
3083 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3085 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3086 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3087 { (exit 1); exit 1; }; }
3092 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x
; then
3094 eval "DEFAULT_$LINE"
3099 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103 eval "$ac_cv_use_libjpeg"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_LIBJPEG" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 elif test "$wxUSE_LIBJPEG" = no
; then
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 elif test "$wxUSE_LIBJPEG" = sys
; then
3115 echo "$as_me:$LINENO: result: system version" >&5
3116 echo "${ECHO_T}system version" >&6
3117 elif test "$wxUSE_LIBJPEG" = builtin; then
3118 echo "$as_me:$LINENO: result: builtin version" >&5
3119 echo "${ECHO_T}builtin version" >&6
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3127 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3128 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3131 # Check whether --with-libtiff or --without-libtiff was given.
3132 if test "${with_libtiff+set}" = set; then
3133 withval
="$with_libtiff"
3135 if test "$withval" = yes; then
3136 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3137 elif test "$withval" = no
; then
3138 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3139 elif test "$withval" = sys
; then
3140 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3141 elif test "$withval" = builtin; then
3142 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3144 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3145 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3146 { (exit 1); exit 1; }; }
3151 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x
; then
3153 eval "DEFAULT_$LINE"
3158 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162 eval "$ac_cv_use_libtiff"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3167 if test "$wxUSE_LIBTIFF" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 elif test "$wxUSE_LIBTIFF" = no
; then
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 elif test "$wxUSE_LIBTIFF" = sys
; then
3174 echo "$as_me:$LINENO: result: system version" >&5
3175 echo "${ECHO_T}system version" >&6
3176 elif test "$wxUSE_LIBTIFF" = builtin; then
3177 echo "$as_me:$LINENO: result: builtin version" >&5
3178 echo "${ECHO_T}builtin version" >&6
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3186 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3187 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3190 # Check whether --with-libxpm or --without-libxpm was given.
3191 if test "${with_libxpm+set}" = set; then
3192 withval
="$with_libxpm"
3194 if test "$withval" = yes; then
3195 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3196 elif test "$withval" = no
; then
3197 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3198 elif test "$withval" = sys
; then
3199 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3200 elif test "$withval" = builtin; then
3201 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3203 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3204 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3205 { (exit 1); exit 1; }; }
3210 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x
; then
3212 eval "DEFAULT_$LINE"
3217 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221 eval "$ac_cv_use_libxpm"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3226 if test "$wxUSE_LIBXPM" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3229 elif test "$wxUSE_LIBXPM" = no
; then
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3232 elif test "$wxUSE_LIBXPM" = sys
; then
3233 echo "$as_me:$LINENO: result: system version" >&5
3234 echo "${ECHO_T}system version" >&6
3235 elif test "$wxUSE_LIBXPM" = builtin; then
3236 echo "$as_me:$LINENO: result: builtin version" >&5
3237 echo "${ECHO_T}builtin version" >&6
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3246 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3247 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3250 # Check whether --with-libmspack or --without-libmspack was given.
3251 if test "${with_libmspack+set}" = set; then
3252 withval
="$with_libmspack"
3254 if test "$withval" = yes; then
3255 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3257 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3262 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x
; then
3264 eval "DEFAULT_$LINE"
3269 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273 eval "$ac_cv_use_libmspack"
3274 if test "$no_cache" != 1; then
3275 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3278 if test "$wxUSE_LIBMSPACK" = yes; then
3279 echo "$as_me:$LINENO: result: yes" >&5
3280 echo "${ECHO_T}yes" >&6
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3288 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3289 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3292 # Check whether --with-sdl or --without-sdl was given.
3293 if test "${with_sdl+set}" = set; then
3296 if test "$withval" = yes; then
3297 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3299 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3304 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315 eval "$ac_cv_use_sdl"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3320 if test "$wxUSE_LIBSDL" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3330 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3331 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3334 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3335 if test "${with_gnomeprint+set}" = set; then
3336 withval
="$with_gnomeprint"
3338 if test "$withval" = yes; then
3339 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3341 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3346 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x
; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357 eval "$ac_cv_use_gnomeprint"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3372 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3373 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3376 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3377 if test "${with_gnomevfs+set}" = set; then
3378 withval
="$with_gnomevfs"
3380 if test "$withval" = yes; then
3381 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3383 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3388 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x
; then
3390 eval "DEFAULT_$LINE"
3395 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399 eval "$ac_cv_use_gnomevfs"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3404 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3405 echo "$as_me:$LINENO: result: yes" >&5
3406 echo "${ECHO_T}yes" >&6
3408 echo "$as_me:$LINENO: result: no" >&5
3409 echo "${ECHO_T}no" >&6
3414 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3415 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3418 # Check whether --with-hildon or --without-hildon was given.
3419 if test "${with_hildon+set}" = set; then
3420 withval
="$with_hildon"
3422 if test "$withval" = yes; then
3423 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3425 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3430 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441 eval "$ac_cv_use_hildon"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_LIBHILDON" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3456 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3457 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3460 # Check whether --with-opengl or --without-opengl was given.
3461 if test "${with_opengl+set}" = set; then
3462 withval
="$with_opengl"
3464 if test "$withval" = yes; then
3465 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3467 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3472 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x
; then
3474 eval "DEFAULT_$LINE"
3479 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483 eval "$ac_cv_use_opengl"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3488 if test "$wxUSE_OPENGL" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3497 if test "$wxUSE_UNIVERSAL" = "yes"; then
3499 # Check whether --with-themes or --without-themes was given.
3500 if test "${with_themes+set}" = set; then
3501 withval
="$with_themes"
3502 wxUNIV_THEMES
="$withval"
3510 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3511 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3514 # Check whether --with-dmalloc or --without-dmalloc was given.
3515 if test "${with_dmalloc+set}" = set; then
3516 withval
="$with_dmalloc"
3518 if test "$withval" = yes; then
3519 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3521 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3526 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537 eval "$ac_cv_use_dmalloc"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_DMALLOC" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3551 echo "$as_me:$LINENO: checking for --with-regex" >&5
3552 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3555 # Check whether --with-regex or --without-regex was given.
3556 if test "${with_regex+set}" = set; then
3557 withval
="$with_regex"
3559 if test "$withval" = yes; then
3560 ac_cv_use_regex
='wxUSE_REGEX=yes'
3561 elif test "$withval" = no
; then
3562 ac_cv_use_regex
='wxUSE_REGEX=no'
3563 elif test "$withval" = sys
; then
3564 ac_cv_use_regex
='wxUSE_REGEX=sys'
3565 elif test "$withval" = builtin; then
3566 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3568 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3569 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3570 { (exit 1); exit 1; }; }
3575 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586 eval "$ac_cv_use_regex"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3591 if test "$wxUSE_REGEX" = yes; then
3592 echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6
3594 elif test "$wxUSE_REGEX" = no
; then
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3597 elif test "$wxUSE_REGEX" = sys
; then
3598 echo "$as_me:$LINENO: result: system version" >&5
3599 echo "${ECHO_T}system version" >&6
3600 elif test "$wxUSE_REGEX" = builtin; then
3601 echo "$as_me:$LINENO: result: builtin version" >&5
3602 echo "${ECHO_T}builtin version" >&6
3604 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3605 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3606 { (exit 1); exit 1; }; }
3610 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3611 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3614 # Check whether --with-zlib or --without-zlib was given.
3615 if test "${with_zlib+set}" = set; then
3616 withval
="$with_zlib"
3618 if test "$withval" = yes; then
3619 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3620 elif test "$withval" = no
; then
3621 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3622 elif test "$withval" = sys
; then
3623 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3624 elif test "$withval" = builtin; then
3625 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3627 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3628 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3629 { (exit 1); exit 1; }; }
3634 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x
; then
3636 eval "DEFAULT_$LINE"
3641 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645 eval "$ac_cv_use_zlib"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3650 if test "$wxUSE_ZLIB" = yes; then
3651 echo "$as_me:$LINENO: result: yes" >&5
3652 echo "${ECHO_T}yes" >&6
3653 elif test "$wxUSE_ZLIB" = no
; then
3654 echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6
3656 elif test "$wxUSE_ZLIB" = sys
; then
3657 echo "$as_me:$LINENO: result: system version" >&5
3658 echo "${ECHO_T}system version" >&6
3659 elif test "$wxUSE_ZLIB" = builtin; then
3660 echo "$as_me:$LINENO: result: builtin version" >&5
3661 echo "${ECHO_T}builtin version" >&6
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3669 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3670 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3673 # Check whether --with-odbc or --without-odbc was given.
3674 if test "${with_odbc+set}" = set; then
3675 withval
="$with_odbc"
3677 if test "$withval" = yes; then
3678 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3679 elif test "$withval" = no
; then
3680 ac_cv_use_odbc
='wxUSE_ODBC=no'
3681 elif test "$withval" = sys
; then
3682 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3683 elif test "$withval" = builtin; then
3684 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3693 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704 eval "$ac_cv_use_odbc"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3709 if test "$wxUSE_ODBC" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3712 elif test "$wxUSE_ODBC" = no
; then
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3715 elif test "$wxUSE_ODBC" = sys
; then
3716 echo "$as_me:$LINENO: result: system version" >&5
3717 echo "${ECHO_T}system version" >&6
3718 elif test "$wxUSE_ODBC" = builtin; then
3719 echo "$as_me:$LINENO: result: builtin version" >&5
3720 echo "${ECHO_T}builtin version" >&6
3722 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3723 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3724 { (exit 1); exit 1; }; }
3728 echo "$as_me:$LINENO: checking for --with-expat" >&5
3729 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3732 # Check whether --with-expat or --without-expat was given.
3733 if test "${with_expat+set}" = set; then
3734 withval
="$with_expat"
3736 if test "$withval" = yes; then
3737 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3738 elif test "$withval" = no
; then
3739 ac_cv_use_expat
='wxUSE_EXPAT=no'
3740 elif test "$withval" = sys
; then
3741 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3742 elif test "$withval" = builtin; then
3743 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3745 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3746 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3747 { (exit 1); exit 1; }; }
3752 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x
; then
3754 eval "DEFAULT_$LINE"
3759 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763 eval "$ac_cv_use_expat"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3768 if test "$wxUSE_EXPAT" = yes; then
3769 echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6
3771 elif test "$wxUSE_EXPAT" = no
; then
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3774 elif test "$wxUSE_EXPAT" = sys
; then
3775 echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6
3777 elif test "$wxUSE_EXPAT" = builtin; then
3778 echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3791 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3793 # Check whether --enable-shared or --disable-shared was given.
3794 if test "${enable_shared+set}" = set; then
3795 enableval
="$enable_shared"
3797 if test "$enableval" = yes; then
3798 ac_cv_use_shared
='wxUSE_SHARED=yes'
3800 ac_cv_use_shared
='wxUSE_SHARED=no'
3805 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x
; then
3807 eval "DEFAULT_$LINE"
3812 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816 eval "$ac_cv_use_shared"
3817 if test "$no_cache" != 1; then
3818 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3821 if test "$wxUSE_SHARED" = yes; then
3822 echo "$as_me:$LINENO: result: yes" >&5
3823 echo "${ECHO_T}yes" >&6
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3832 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3834 # Check whether --enable-optimise or --disable-optimise was given.
3835 if test "${enable_optimise+set}" = set; then
3836 enableval
="$enable_optimise"
3838 if test "$enableval" = yes; then
3839 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3841 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3846 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3847 if test "x$LINE" != x
; then
3848 eval "DEFAULT_$LINE"
3853 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857 eval "$ac_cv_use_optimise"
3858 if test "$no_cache" != 1; then
3859 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3862 if test "$wxUSE_OPTIMISE" = yes; then
3863 echo "$as_me:$LINENO: result: yes" >&5
3864 echo "${ECHO_T}yes" >&6
3866 echo "$as_me:$LINENO: result: no" >&5
3867 echo "${ECHO_T}no" >&6
3872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3873 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3875 # Check whether --enable-debug or --disable-debug was given.
3876 if test "${enable_debug+set}" = set; then
3877 enableval
="$enable_debug"
3879 if test "$enableval" = yes; then
3880 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3882 ac_cv_use_debug
='wxUSE_DEBUG=no'
3887 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x
; then
3889 eval "DEFAULT_$LINE"
3894 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898 eval "$ac_cv_use_debug"
3899 if test "$no_cache" != 1; then
3900 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3903 if test "$wxUSE_DEBUG" = yes; then
3904 echo "$as_me:$LINENO: result: yes" >&5
3905 echo "${ECHO_T}yes" >&6
3907 echo "$as_me:$LINENO: result: no" >&5
3908 echo "${ECHO_T}no" >&6
3913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3914 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3916 # Check whether --enable-stl or --disable-stl was given.
3917 if test "${enable_stl+set}" = set; then
3918 enableval
="$enable_stl"
3920 if test "$enableval" = yes; then
3921 ac_cv_use_stl
='wxUSE_STL=yes'
3923 ac_cv_use_stl
='wxUSE_STL=no'
3928 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x
; then
3930 eval "DEFAULT_$LINE"
3935 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3939 eval "$ac_cv_use_stl"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_STL" = yes; then
3945 echo "$as_me:$LINENO: result: yes" >&5
3946 echo "${ECHO_T}yes" >&6
3948 echo "$as_me:$LINENO: result: no" >&5
3949 echo "${ECHO_T}no" >&6
3952 if test "$USE_OS2" = "1"; then
3953 DEFAULT_wxUSE_OMF
=no
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3959 # Check whether --enable-omf or --disable-omf was given.
3960 if test "${enable_omf+set}" = set; then
3961 enableval
="$enable_omf"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_omf
='wxUSE_OMF=yes'
3966 ac_cv_use_omf
='wxUSE_OMF=no'
3971 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982 eval "$ac_cv_use_omf"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_OMF" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3997 if test "$wxUSE_DEBUG" = "yes"; then
3998 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3999 DEFAULT_wxUSE_DEBUG_INFO
=yes
4001 elif test "$wxUSE_DEBUG" = "no"; then
4002 DEFAULT_wxUSE_DEBUG_FLAG
=no
4003 DEFAULT_wxUSE_DEBUG_INFO
=no
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4012 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4013 if test "${enable_debug_flag+set}" = set; then
4014 enableval
="$enable_debug_flag"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4019 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4024 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035 eval "$ac_cv_use_debug_flag"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_DEBUG_FLAG" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4053 # Check whether --enable-debug_info or --disable-debug_info was given.
4054 if test "${enable_debug_info+set}" = set; then
4055 enableval
="$enable_debug_info"
4057 if test "$enableval" = yes; then
4058 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4060 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4065 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x
; then
4067 eval "DEFAULT_$LINE"
4072 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076 eval "$ac_cv_use_debug_info"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_DEBUG_INFO" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4094 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4095 if test "${enable_debug_gdb+set}" = set; then
4096 enableval
="$enable_debug_gdb"
4098 if test "$enableval" = yes; then
4099 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4101 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4106 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x
; then
4108 eval "DEFAULT_$LINE"
4113 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117 eval "$ac_cv_use_debug_gdb"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4122 if test "$wxUSE_DEBUG_GDB" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4135 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4136 if test "${enable_debug_cntxt+set}" = set; then
4137 enableval
="$enable_debug_cntxt"
4139 if test "$enableval" = yes; then
4140 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4142 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4147 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x
; then
4149 eval "DEFAULT_$LINE"
4154 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158 eval "$ac_cv_use_debug_cntxt"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4174 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4176 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4177 if test "${enable_mem_tracing+set}" = set; then
4178 enableval
="$enable_mem_tracing"
4180 if test "$enableval" = yes; then
4181 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4183 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4188 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x
; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199 eval "$ac_cv_use_mem_tracing"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4204 if test "$wxUSE_MEM_TRACING" = yes; then
4205 echo "$as_me:$LINENO: result: yes" >&5
4206 echo "${ECHO_T}yes" >&6
4208 echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6
4214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4215 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4217 # Check whether --enable-profile or --disable-profile was given.
4218 if test "${enable_profile+set}" = set; then
4219 enableval
="$enable_profile"
4221 if test "$enableval" = yes; then
4222 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4224 ac_cv_use_profile
='wxUSE_PROFILE=no'
4229 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x
; then
4231 eval "DEFAULT_$LINE"
4236 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240 eval "$ac_cv_use_profile"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4245 if test "$wxUSE_PROFILE" = yes; then
4246 echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4256 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4258 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4259 if test "${enable_no_rtti+set}" = set; then
4260 enableval
="$enable_no_rtti"
4262 if test "$enableval" = yes; then
4263 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4265 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4270 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x
; then
4272 eval "DEFAULT_$LINE"
4277 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281 eval "$ac_cv_use_no_rtti"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4286 if test "$wxUSE_NO_RTTI" = yes; then
4287 echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6
4290 echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4299 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4300 if test "${enable_no_exceptions+set}" = set; then
4301 enableval
="$enable_no_exceptions"
4303 if test "$enableval" = yes; then
4304 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4306 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4311 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x
; then
4313 eval "DEFAULT_$LINE"
4318 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322 eval "$ac_cv_use_no_exceptions"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4340 # Check whether --enable-permissive or --disable-permissive was given.
4341 if test "${enable_permissive+set}" = set; then
4342 enableval
="$enable_permissive"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4347 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4352 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363 eval "$ac_cv_use_permissive"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_PERMISSIVE" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4381 # Check whether --enable-no_deps or --disable-no_deps was given.
4382 if test "${enable_no_deps+set}" = set; then
4383 enableval
="$enable_no_deps"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4388 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4393 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404 eval "$ac_cv_use_no_deps"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_NO_DEPS" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4422 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4423 if test "${enable_universal_binary+set}" = set; then
4424 enableval
="$enable_universal_binary"
4426 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4433 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4436 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4441 eval "$wx_cv_use_universal_binary"
4442 if test "$no_cache" != 1; then
4443 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4446 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4447 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4455 # Check whether --enable-compat24 or --disable-compat24 was given.
4456 if test "${enable_compat24+set}" = set; then
4457 enableval
="$enable_compat24"
4459 if test "$enableval" = yes; then
4460 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4462 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4467 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x
; then
4469 eval "DEFAULT_$LINE"
4474 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478 eval "$ac_cv_use_compat24"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4483 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4484 echo "$as_me:$LINENO: result: yes" >&5
4485 echo "${ECHO_T}yes" >&6
4487 echo "$as_me:$LINENO: result: no" >&5
4488 echo "${ECHO_T}no" >&6
4492 enablestring
=disable
4493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4494 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4496 # Check whether --enable-compat26 or --disable-compat26 was given.
4497 if test "${enable_compat26+set}" = set; then
4498 enableval
="$enable_compat26"
4500 if test "$enableval" = yes; then
4501 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4503 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4508 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x
; then
4510 eval "DEFAULT_$LINE"
4515 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519 eval "$ac_cv_use_compat26"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4524 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4525 echo "$as_me:$LINENO: result: yes" >&5
4526 echo "${ECHO_T}yes" >&6
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4538 # Check whether --enable-rpath or --disable-rpath was given.
4539 if test "${enable_rpath+set}" = set; then
4540 enableval
="$enable_rpath"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4545 ac_cv_use_rpath
='wxUSE_RPATH=no'
4550 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561 eval "$ac_cv_use_rpath"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4566 if test "$wxUSE_RPATH" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4582 # Check whether --enable-intl or --disable-intl was given.
4583 if test "${enable_intl+set}" = set; then
4584 enableval
="$enable_intl"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_intl
='wxUSE_INTL=yes'
4589 ac_cv_use_intl
='wxUSE_INTL=no'
4594 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605 eval "$ac_cv_use_intl"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4610 if test "$wxUSE_INTL" = yes; then
4611 echo "$as_me:$LINENO: result: yes" >&5
4612 echo "${ECHO_T}yes" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4623 # Check whether --enable-config or --disable-config was given.
4624 if test "${enable_config+set}" = set; then
4625 enableval
="$enable_config"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_config
='wxUSE_CONFIG=yes'
4630 ac_cv_use_config
='wxUSE_CONFIG=no'
4635 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646 eval "$ac_cv_use_config"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_CONFIG" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4665 # Check whether --enable-protocols or --disable-protocols was given.
4666 if test "${enable_protocols+set}" = set; then
4667 enableval
="$enable_protocols"
4669 if test "$enableval" = yes; then
4670 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4672 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4677 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x
; then
4679 eval "DEFAULT_$LINE"
4684 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688 eval "$ac_cv_use_protocols"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_PROTOCOL" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4706 # Check whether --enable-ftp or --disable-ftp was given.
4707 if test "${enable_ftp+set}" = set; then
4708 enableval
="$enable_ftp"
4710 if test "$enableval" = yes; then
4711 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4713 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4718 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x
; then
4720 eval "DEFAULT_$LINE"
4725 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729 eval "$ac_cv_use_ftp"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4747 # Check whether --enable-http or --disable-http was given.
4748 if test "${enable_http+set}" = set; then
4749 enableval
="$enable_http"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4754 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4759 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x
; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770 eval "$ac_cv_use_http"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4775 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4788 # Check whether --enable-fileproto or --disable-fileproto was given.
4789 if test "${enable_fileproto+set}" = set; then
4790 enableval
="$enable_fileproto"
4792 if test "$enableval" = yes; then
4793 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4795 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4800 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x
; then
4802 eval "DEFAULT_$LINE"
4807 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811 eval "$ac_cv_use_fileproto"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4816 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4829 # Check whether --enable-sockets or --disable-sockets was given.
4830 if test "${enable_sockets+set}" = set; then
4831 enableval
="$enable_sockets"
4833 if test "$enableval" = yes; then
4834 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4836 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4841 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x
; then
4843 eval "DEFAULT_$LINE"
4848 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852 eval "$ac_cv_use_sockets"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4857 if test "$wxUSE_SOCKETS" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4870 # Check whether --enable-ole or --disable-ole was given.
4871 if test "${enable_ole+set}" = set; then
4872 enableval
="$enable_ole"
4874 if test "$enableval" = yes; then
4875 ac_cv_use_ole
='wxUSE_OLE=yes'
4877 ac_cv_use_ole
='wxUSE_OLE=no'
4882 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x
; then
4884 eval "DEFAULT_$LINE"
4889 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893 eval "$ac_cv_use_ole"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_OLE" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4911 # Check whether --enable-dataobj or --disable-dataobj was given.
4912 if test "${enable_dataobj+set}" = set; then
4913 enableval
="$enable_dataobj"
4915 if test "$enableval" = yes; then
4916 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4918 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4923 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x
; then
4925 eval "DEFAULT_$LINE"
4930 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934 eval "$ac_cv_use_dataobj"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4939 if test "$wxUSE_DATAOBJ" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4953 # Check whether --enable-ipc or --disable-ipc was given.
4954 if test "${enable_ipc+set}" = set; then
4955 enableval
="$enable_ipc"
4957 if test "$enableval" = yes; then
4958 ac_cv_use_ipc
='wxUSE_IPC=yes'
4960 ac_cv_use_ipc
='wxUSE_IPC=no'
4965 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x
; then
4967 eval "DEFAULT_$LINE"
4972 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976 eval "$ac_cv_use_ipc"
4977 if test "$no_cache" != 1; then
4978 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4981 if test "$wxUSE_IPC" = yes; then
4982 echo "$as_me:$LINENO: result: yes" >&5
4983 echo "${ECHO_T}yes" >&6
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4995 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4996 if test "${enable_apple_ieee+set}" = set; then
4997 enableval
="$enable_apple_ieee"
4999 if test "$enableval" = yes; then
5000 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
5002 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
5007 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x
; then
5009 eval "DEFAULT_$LINE"
5014 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018 eval "$ac_cv_use_apple_ieee"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5023 if test "$wxUSE_APPLE_IEEE" = yes; then
5024 echo "$as_me:$LINENO: result: yes" >&5
5025 echo "${ECHO_T}yes" >&6
5027 echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6
5033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5036 # Check whether --enable-arcstream or --disable-arcstream was given.
5037 if test "${enable_arcstream+set}" = set; then
5038 enableval
="$enable_arcstream"
5040 if test "$enableval" = yes; then
5041 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5043 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5048 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x
; then
5050 eval "DEFAULT_$LINE"
5055 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059 eval "$ac_cv_use_arcstream"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5064 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5065 echo "$as_me:$LINENO: result: yes" >&5
5066 echo "${ECHO_T}yes" >&6
5068 echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6
5074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5077 # Check whether --enable-backtrace or --disable-backtrace was given.
5078 if test "${enable_backtrace+set}" = set; then
5079 enableval
="$enable_backtrace"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5084 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5089 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x
; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100 eval "$ac_cv_use_backtrace"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5105 if test "$wxUSE_STACKWALKER" = yes; then
5106 echo "$as_me:$LINENO: result: yes" >&5
5107 echo "${ECHO_T}yes" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5118 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5119 if test "${enable_catch_segvs+set}" = set; then
5120 enableval
="$enable_catch_segvs"
5122 if test "$enableval" = yes; then
5123 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5125 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5130 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x
; then
5132 eval "DEFAULT_$LINE"
5137 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141 eval "$ac_cv_use_catch_segvs"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5146 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5147 echo "$as_me:$LINENO: result: yes" >&5
5148 echo "${ECHO_T}yes" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5159 # Check whether --enable-cmdline or --disable-cmdline was given.
5160 if test "${enable_cmdline+set}" = set; then
5161 enableval
="$enable_cmdline"
5163 if test "$enableval" = yes; then
5164 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5166 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5171 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x
; then
5173 eval "DEFAULT_$LINE"
5178 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182 eval "$ac_cv_use_cmdline"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5188 echo "$as_me:$LINENO: result: yes" >&5
5189 echo "${ECHO_T}yes" >&6
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5200 # Check whether --enable-datetime or --disable-datetime was given.
5201 if test "${enable_datetime+set}" = set; then
5202 enableval
="$enable_datetime"
5204 if test "$enableval" = yes; then
5205 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5207 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5212 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x
; then
5214 eval "DEFAULT_$LINE"
5219 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223 eval "$ac_cv_use_datetime"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5228 if test "$wxUSE_DATETIME" = yes; then
5229 echo "$as_me:$LINENO: result: yes" >&5
5230 echo "${ECHO_T}yes" >&6
5232 echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6
5238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5239 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5241 # Check whether --enable-debugreport or --disable-debugreport was given.
5242 if test "${enable_debugreport+set}" = set; then
5243 enableval
="$enable_debugreport"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5248 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5253 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x
; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264 eval "$ac_cv_use_debugreport"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_DEBUGREPORT" = yes; then
5270 echo "$as_me:$LINENO: result: yes" >&5
5271 echo "${ECHO_T}yes" >&6
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5282 # Check whether --enable-dialupman or --disable-dialupman was given.
5283 if test "${enable_dialupman+set}" = set; then
5284 enableval
="$enable_dialupman"
5286 if test "$enableval" = yes; then
5287 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5289 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5294 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x
; then
5296 eval "DEFAULT_$LINE"
5301 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305 eval "$ac_cv_use_dialupman"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5311 echo "$as_me:$LINENO: result: yes" >&5
5312 echo "${ECHO_T}yes" >&6
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5323 # Check whether --enable-dynlib or --disable-dynlib was given.
5324 if test "${enable_dynlib+set}" = set; then
5325 enableval
="$enable_dynlib"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5330 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5335 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x
; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346 eval "$ac_cv_use_dynlib"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5352 echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5364 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5365 if test "${enable_dynamicloader+set}" = set; then
5366 enableval
="$enable_dynamicloader"
5368 if test "$enableval" = yes; then
5369 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5371 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5376 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x
; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387 eval "$ac_cv_use_dynamicloader"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5396 echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6
5402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5405 # Check whether --enable-exceptions or --disable-exceptions was given.
5406 if test "${enable_exceptions+set}" = set; then
5407 enableval
="$enable_exceptions"
5409 if test "$enableval" = yes; then
5410 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5412 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5417 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428 eval "$ac_cv_use_exceptions"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_EXCEPTIONS" = yes; then
5434 echo "$as_me:$LINENO: result: yes" >&5
5435 echo "${ECHO_T}yes" >&6
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5446 # Check whether --enable-ffile or --disable-ffile was given.
5447 if test "${enable_ffile+set}" = set; then
5448 enableval
="$enable_ffile"
5450 if test "$enableval" = yes; then
5451 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5453 ac_cv_use_ffile
='wxUSE_FFILE=no'
5458 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x
; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469 eval "$ac_cv_use_ffile"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_FFILE" = yes; then
5475 echo "$as_me:$LINENO: result: yes" >&5
5476 echo "${ECHO_T}yes" >&6
5478 echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5487 # Check whether --enable-file or --disable-file was given.
5488 if test "${enable_file+set}" = set; then
5489 enableval
="$enable_file"
5491 if test "$enableval" = yes; then
5492 ac_cv_use_file
='wxUSE_FILE=yes'
5494 ac_cv_use_file
='wxUSE_FILE=no'
5499 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x
; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510 eval "$ac_cv_use_file"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_FILE" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517 echo "${ECHO_T}yes" >&6
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5528 # Check whether --enable-filesystem or --disable-filesystem was given.
5529 if test "${enable_filesystem+set}" = set; then
5530 enableval
="$enable_filesystem"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5535 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5540 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x
; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551 eval "$ac_cv_use_filesystem"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_FILESYSTEM" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5560 echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5569 # Check whether --enable-fontmap or --disable-fontmap was given.
5570 if test "${enable_fontmap+set}" = set; then
5571 enableval
="$enable_fontmap"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5576 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5581 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592 eval "$ac_cv_use_fontmap"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_FONTMAP" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5610 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5611 if test "${enable_fs_archive+set}" = set; then
5612 enableval
="$enable_fs_archive"
5614 if test "$enableval" = yes; then
5615 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
5617 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
5622 LINE
=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x
; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633 eval "$ac_cv_use_fs_archive"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5638 if test "$wxUSE_FS_ARCHIVE" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640 echo "${ECHO_T}yes" >&6
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5651 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5652 if test "${enable_fs_inet+set}" = set; then
5653 enableval
="$enable_fs_inet"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5658 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5663 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674 eval "$ac_cv_use_fs_inet"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5679 if test "$wxUSE_FS_INET" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681 echo "${ECHO_T}yes" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5692 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5693 if test "${enable_fs_zip+set}" = set; then
5694 enableval
="$enable_fs_zip"
5696 if test "$enableval" = yes; then
5697 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5699 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5704 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x
; then
5706 eval "DEFAULT_$LINE"
5711 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715 eval "$ac_cv_use_fs_zip"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_FS_ZIP" = yes; then
5721 echo "$as_me:$LINENO: result: yes" >&5
5722 echo "${ECHO_T}yes" >&6
5724 echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5733 # Check whether --enable-geometry or --disable-geometry was given.
5734 if test "${enable_geometry+set}" = set; then
5735 enableval
="$enable_geometry"
5737 if test "$enableval" = yes; then
5738 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5740 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5745 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x
; then
5747 eval "DEFAULT_$LINE"
5752 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756 eval "$ac_cv_use_geometry"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5761 if test "$wxUSE_GEOMETRY" = yes; then
5762 echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6
5765 echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5774 # Check whether --enable-log or --disable-log was given.
5775 if test "${enable_log+set}" = set; then
5776 enableval
="$enable_log"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_log
='wxUSE_LOG=yes'
5781 ac_cv_use_log
='wxUSE_LOG=no'
5786 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x
; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797 eval "$ac_cv_use_log"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_LOG" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5815 # Check whether --enable-longlong or --disable-longlong was given.
5816 if test "${enable_longlong+set}" = set; then
5817 enableval
="$enable_longlong"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5822 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5827 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838 eval "$ac_cv_use_longlong"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_LONGLONG" = yes; then
5844 echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6
5847 echo "$as_me:$LINENO: result: no" >&5
5848 echo "${ECHO_T}no" >&6
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5856 # Check whether --enable-mimetype or --disable-mimetype was given.
5857 if test "${enable_mimetype+set}" = set; then
5858 enableval
="$enable_mimetype"
5860 if test "$enableval" = yes; then
5861 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5863 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5868 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x
; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879 eval "$ac_cv_use_mimetype"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5884 if test "$wxUSE_MIMETYPE" = yes; then
5885 echo "$as_me:$LINENO: result: yes" >&5
5886 echo "${ECHO_T}yes" >&6
5888 echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6
5894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5897 # Check whether --enable-mslu or --disable-mslu was given.
5898 if test "${enable_mslu+set}" = set; then
5899 enableval
="$enable_mslu"
5901 if test "$enableval" = yes; then
5902 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5904 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5909 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x
; then
5911 eval "DEFAULT_$LINE"
5916 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920 eval "$ac_cv_use_mslu"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5925 if test "$wxUSE_UNICODE_MSLU" = yes; then
5926 echo "$as_me:$LINENO: result: yes" >&5
5927 echo "${ECHO_T}yes" >&6
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5938 # Check whether --enable-snglinst or --disable-snglinst was given.
5939 if test "${enable_snglinst+set}" = set; then
5940 enableval
="$enable_snglinst"
5942 if test "$enableval" = yes; then
5943 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5945 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5950 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x
; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961 eval "$ac_cv_use_snglinst"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5966 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5967 echo "$as_me:$LINENO: result: yes" >&5
5968 echo "${ECHO_T}yes" >&6
5970 echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6
5976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5979 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5980 if test "${enable_std_iostreams+set}" = set; then
5981 enableval
="$enable_std_iostreams"
5983 if test "$enableval" = yes; then
5984 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5986 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5991 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x
; then
5993 eval "DEFAULT_$LINE"
5998 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002 eval "$ac_cv_use_std_iostreams"
6003 if test "$no_cache" != 1; then
6004 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6007 if test "$wxUSE_STD_IOSTREAM" = yes; then
6008 echo "$as_me:$LINENO: result: yes" >&5
6009 echo "${ECHO_T}yes" >&6
6011 echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6020 # Check whether --enable-std_string or --disable-std_string was given.
6021 if test "${enable_std_string+set}" = set; then
6022 enableval
="$enable_std_string"
6024 if test "$enableval" = yes; then
6025 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6027 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6032 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x
; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043 eval "$ac_cv_use_std_string"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_STD_STRING" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6061 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6062 if test "${enable_stdpaths+set}" = set; then
6063 enableval
="$enable_stdpaths"
6065 if test "$enableval" = yes; then
6066 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6068 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6073 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x
; then
6075 eval "DEFAULT_$LINE"
6080 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084 eval "$ac_cv_use_stdpaths"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6089 if test "$wxUSE_STDPATHS" = yes; then
6090 echo "$as_me:$LINENO: result: yes" >&5
6091 echo "${ECHO_T}yes" >&6
6093 echo "$as_me:$LINENO: result: no" >&5
6094 echo "${ECHO_T}no" >&6
6099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6102 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6103 if test "${enable_stopwatch+set}" = set; then
6104 enableval
="$enable_stopwatch"
6106 if test "$enableval" = yes; then
6107 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6109 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6114 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x
; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125 eval "$ac_cv_use_stopwatch"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6130 if test "$wxUSE_STOPWATCH" = yes; then
6131 echo "$as_me:$LINENO: result: yes" >&5
6132 echo "${ECHO_T}yes" >&6
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6143 # Check whether --enable-streams or --disable-streams was given.
6144 if test "${enable_streams+set}" = set; then
6145 enableval
="$enable_streams"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6150 ac_cv_use_streams
='wxUSE_STREAMS=no'
6155 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166 eval "$ac_cv_use_streams"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_STREAMS" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6184 # Check whether --enable-system_options or --disable-system_options was given.
6185 if test "${enable_system_options+set}" = set; then
6186 enableval
="$enable_system_options"
6188 if test "$enableval" = yes; then
6189 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6191 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6196 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x
; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207 eval "$ac_cv_use_system_options"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214 echo "${ECHO_T}yes" >&6
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6225 # Check whether --enable-tarstream or --disable-tarstream was given.
6226 if test "${enable_tarstream+set}" = set; then
6227 enableval
="$enable_tarstream"
6229 if test "$enableval" = yes; then
6230 ac_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
6232 ac_cv_use_tarstream
='wxUSE_TARSTREAM=no'
6237 LINE
=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x
; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_tarstream
='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248 eval "$ac_cv_use_tarstream"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_TARSTREAM" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255 echo "${ECHO_T}yes" >&6
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6266 # Check whether --enable-textbuf or --disable-textbuf was given.
6267 if test "${enable_textbuf+set}" = set; then
6268 enableval
="$enable_textbuf"
6270 if test "$enableval" = yes; then
6271 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6273 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6278 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x
; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289 eval "$ac_cv_use_textbuf"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_TEXTBUFFER" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6307 # Check whether --enable-textfile or --disable-textfile was given.
6308 if test "${enable_textfile+set}" = set; then
6309 enableval
="$enable_textfile"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6314 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6319 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330 eval "$ac_cv_use_textfile"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_TEXTFILE" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337 echo "${ECHO_T}yes" >&6
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6348 # Check whether --enable-timer or --disable-timer was given.
6349 if test "${enable_timer+set}" = set; then
6350 enableval
="$enable_timer"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_timer
='wxUSE_TIMER=yes'
6355 ac_cv_use_timer
='wxUSE_TIMER=no'
6360 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371 eval "$ac_cv_use_timer"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_TIMER" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6389 # Check whether --enable-unicode or --disable-unicode was given.
6390 if test "${enable_unicode+set}" = set; then
6391 enableval
="$enable_unicode"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6396 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6401 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412 eval "$ac_cv_use_unicode"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_UNICODE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6430 # Check whether --enable-sound or --disable-sound was given.
6431 if test "${enable_sound+set}" = set; then
6432 enableval
="$enable_sound"
6434 if test "$enableval" = yes; then
6435 ac_cv_use_sound
='wxUSE_SOUND=yes'
6437 ac_cv_use_sound
='wxUSE_SOUND=no'
6442 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x
; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453 eval "$ac_cv_use_sound"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_SOUND" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6471 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6472 if test "${enable_mediactrl+set}" = set; then
6473 enableval
="$enable_mediactrl"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6478 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6483 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494 eval "$ac_cv_use_mediactrl"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_MEDIACTRL" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6512 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6513 if test "${enable_gstreamer8+set}" = set; then
6514 enableval
="$enable_gstreamer8"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6519 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6524 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535 eval "$ac_cv_use_gstreamer8"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6540 if test "$wxUSE_GSTREAMER8" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6553 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6554 if test "${enable_printfposparam+set}" = set; then
6555 enableval
="$enable_printfposparam"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6560 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6565 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576 eval "$ac_cv_use_printfposparam"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6594 # Check whether --enable-zipstream or --disable-zipstream was given.
6595 if test "${enable_zipstream+set}" = set; then
6596 enableval
="$enable_zipstream"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6601 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6606 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617 eval "$ac_cv_use_zipstream"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_ZIPSTREAM" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6636 # Check whether --enable-url or --disable-url was given.
6637 if test "${enable_url+set}" = set; then
6638 enableval
="$enable_url"
6640 if test "$enableval" = yes; then
6641 ac_cv_use_url
='wxUSE_URL=yes'
6643 ac_cv_use_url
='wxUSE_URL=no'
6648 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x
; then
6650 eval "DEFAULT_$LINE"
6655 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6659 eval "$ac_cv_use_url"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_URL" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6677 # Check whether --enable-variant or --disable-variant was given.
6678 if test "${enable_variant+set}" = set; then
6679 enableval
="$enable_variant"
6681 if test "$enableval" = yes; then
6682 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6684 ac_cv_use_variant
='wxUSE_VARIANT=no'
6689 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x
; then
6691 eval "DEFAULT_$LINE"
6696 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700 eval "$ac_cv_use_variant"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6705 if test "$wxUSE_VARIANT" = yes; then
6706 echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6718 # Check whether --enable-protocol or --disable-protocol was given.
6719 if test "${enable_protocol+set}" = set; then
6720 enableval
="$enable_protocol"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6725 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6730 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741 eval "$ac_cv_use_protocol"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_PROTOCOL" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6759 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6760 if test "${enable_protocol_http+set}" = set; then
6761 enableval
="$enable_protocol_http"
6763 if test "$enableval" = yes; then
6764 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6766 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6771 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x
; then
6773 eval "DEFAULT_$LINE"
6778 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782 eval "$ac_cv_use_protocol_http"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6787 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6800 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6801 if test "${enable_protocol_ftp+set}" = set; then
6802 enableval
="$enable_protocol_ftp"
6804 if test "$enableval" = yes; then
6805 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6807 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6812 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x
; then
6814 eval "DEFAULT_$LINE"
6819 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823 eval "$ac_cv_use_protocol_ftp"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6828 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6841 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6842 if test "${enable_protocol_file+set}" = set; then
6843 enableval
="$enable_protocol_file"
6845 if test "$enableval" = yes; then
6846 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6848 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6853 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x
; then
6855 eval "DEFAULT_$LINE"
6860 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864 eval "$ac_cv_use_protocol_file"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6869 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6885 # Check whether --enable-threads or --disable-threads was given.
6886 if test "${enable_threads+set}" = set; then
6887 enableval
="$enable_threads"
6889 if test "$enableval" = yes; then
6890 ac_cv_use_threads
='wxUSE_THREADS=yes'
6892 ac_cv_use_threads
='wxUSE_THREADS=no'
6897 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x
; then
6899 eval "DEFAULT_$LINE"
6904 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908 eval "$ac_cv_use_threads"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_THREADS" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6922 if test "$wxUSE_GUI" = "yes"; then
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6930 # Check whether --enable-docview or --disable-docview was given.
6931 if test "${enable_docview+set}" = set; then
6932 enableval
="$enable_docview"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6937 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6942 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x
; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953 eval "$ac_cv_use_docview"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6958 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960 echo "${ECHO_T}yes" >&6
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6971 # Check whether --enable-help or --disable-help was given.
6972 if test "${enable_help+set}" = set; then
6973 enableval
="$enable_help"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_help
='wxUSE_HELP=yes'
6978 ac_cv_use_help
='wxUSE_HELP=no'
6983 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x
; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994 eval "$ac_cv_use_help"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_HELP" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7012 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7013 if test "${enable_mshtmlhelp+set}" = set; then
7014 enableval
="$enable_mshtmlhelp"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
7019 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
7024 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035 eval "$ac_cv_use_mshtmlhelp"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_MS_HTML_HELP" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7053 # Check whether --enable-html or --disable-html was given.
7054 if test "${enable_html+set}" = set; then
7055 enableval
="$enable_html"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_html
='wxUSE_HTML=yes'
7060 ac_cv_use_html
='wxUSE_HTML=no'
7065 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x
; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076 eval "$ac_cv_use_html"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_HTML" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7094 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7095 if test "${enable_htmlhelp+set}" = set; then
7096 enableval
="$enable_htmlhelp"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7101 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7106 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117 eval "$ac_cv_use_htmlhelp"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_WXHTML_HELP" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7135 # Check whether --enable-xrc or --disable-xrc was given.
7136 if test "${enable_xrc+set}" = set; then
7137 enableval
="$enable_xrc"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_xrc
='wxUSE_XRC=yes'
7142 ac_cv_use_xrc
='wxUSE_XRC=no'
7147 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158 eval "$ac_cv_use_xrc"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_XRC" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7176 # Check whether --enable-aui or --disable-aui was given.
7177 if test "${enable_aui+set}" = set; then
7178 enableval
="$enable_aui"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_aui
='wxUSE_AUI=yes'
7183 ac_cv_use_aui
='wxUSE_AUI=no'
7188 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199 eval "$ac_cv_use_aui"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_AUI" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7217 # Check whether --enable-constraints or --disable-constraints was given.
7218 if test "${enable_constraints+set}" = set; then
7219 enableval
="$enable_constraints"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7224 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7229 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240 eval "$ac_cv_use_constraints"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CONSTRAINTS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7258 # Check whether --enable-printarch or --disable-printarch was given.
7259 if test "${enable_printarch+set}" = set; then
7260 enableval
="$enable_printarch"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7265 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7270 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281 eval "$ac_cv_use_printarch"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7299 # Check whether --enable-mdi or --disable-mdi was given.
7300 if test "${enable_mdi+set}" = set; then
7301 enableval
="$enable_mdi"
7303 if test "$enableval" = yes; then
7304 ac_cv_use_mdi
='wxUSE_MDI=yes'
7306 ac_cv_use_mdi
='wxUSE_MDI=no'
7311 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x
; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322 eval "$ac_cv_use_mdi"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_MDI" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7340 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7341 if test "${enable_mdidoc+set}" = set; then
7342 enableval
="$enable_mdidoc"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7347 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7352 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363 eval "$ac_cv_use_mdidoc"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7381 # Check whether --enable-loggui or --disable-loggui was given.
7382 if test "${enable_loggui+set}" = set; then
7383 enableval
="$enable_loggui"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7388 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7393 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x
; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404 eval "$ac_cv_use_loggui"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_LOGGUI" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7422 # Check whether --enable-logwin or --disable-logwin was given.
7423 if test "${enable_logwin+set}" = set; then
7424 enableval
="$enable_logwin"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7429 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7434 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x
; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445 eval "$ac_cv_use_logwin"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_LOGWINDOW" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7463 # Check whether --enable-logdialog or --disable-logdialog was given.
7464 if test "${enable_logdialog+set}" = set; then
7465 enableval
="$enable_logdialog"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7470 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7475 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486 eval "$ac_cv_use_logdialog"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7491 if test "$wxUSE_LOGDIALOG" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7504 # Check whether --enable-webkit or --disable-webkit was given.
7505 if test "${enable_webkit+set}" = set; then
7506 enableval
="$enable_webkit"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7511 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7516 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527 eval "$ac_cv_use_webkit"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_WEBKIT" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7545 # Check whether --enable-richtext or --disable-richtext was given.
7546 if test "${enable_richtext+set}" = set; then
7547 enableval
="$enable_richtext"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_richtext
='wxUSE_RICHTEXT=yes'
7552 ac_cv_use_richtext
='wxUSE_RICHTEXT=no'
7557 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x
; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_richtext
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568 eval "$ac_cv_use_richtext"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_RICHTEXT" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7586 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7587 if test "${enable_graphics_ctx+set}" = set; then
7588 enableval
="$enable_graphics_ctx"
7590 if test "$enableval" = yes; then
7591 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7593 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7598 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x
; then
7600 eval "DEFAULT_$LINE"
7605 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609 eval "$ac_cv_use_graphics_ctx"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7628 # Check whether --enable-postscript or --disable-postscript was given.
7629 if test "${enable_postscript+set}" = set; then
7630 enableval
="$enable_postscript"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7635 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7640 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651 eval "$ac_cv_use_postscript"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_POSTSCRIPT" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7672 # Check whether --enable-prologio or --disable-prologio was given.
7673 if test "${enable_prologio+set}" = set; then
7674 enableval
="$enable_prologio"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7679 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7684 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695 eval "$ac_cv_use_prologio"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_PROLOGIO" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7713 # Check whether --enable-resources or --disable-resources was given.
7714 if test "${enable_resources+set}" = set; then
7715 enableval
="$enable_resources"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7720 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7725 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736 eval "$ac_cv_use_resources"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_RESOURCES" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7756 # Check whether --enable-clipboard or --disable-clipboard was given.
7757 if test "${enable_clipboard+set}" = set; then
7758 enableval
="$enable_clipboard"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7763 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7768 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x
; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779 eval "$ac_cv_use_clipboard"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_CLIPBOARD" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7797 # Check whether --enable-dnd or --disable-dnd was given.
7798 if test "${enable_dnd+set}" = set; then
7799 enableval
="$enable_dnd"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7804 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7809 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x
; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820 eval "$ac_cv_use_dnd"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7838 # Check whether --enable-metafile or --disable-metafile was given.
7839 if test "${enable_metafile+set}" = set; then
7840 enableval
="$enable_metafile"
7842 if test "$enableval" = yes; then
7843 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7845 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7850 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x
; then
7852 eval "DEFAULT_$LINE"
7857 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861 eval "$ac_cv_use_metafile"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7866 if test "$wxUSE_METAFILE" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7882 # Check whether --enable-controls or --disable-controls was given.
7883 if test "${enable_controls+set}" = set; then
7884 enableval
="$enable_controls"
7886 if test "$enableval" = yes; then
7887 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7889 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7894 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x
; then
7896 eval "DEFAULT_$LINE"
7901 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905 eval "$ac_cv_use_controls"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7910 if test "$wxUSE_CONTROLS" = yes; then
7911 echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6
7914 echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6
7919 if test "$wxUSE_CONTROLS" = "yes"; then
7920 DEFAULT_wxUSE_ACCEL
=yes
7921 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7922 DEFAULT_wxUSE_BMPBUTTON
=yes
7923 DEFAULT_wxUSE_BUTTON
=yes
7924 DEFAULT_wxUSE_CALCTRL
=yes
7925 DEFAULT_wxUSE_CARET
=yes
7926 DEFAULT_wxUSE_COMBOBOX
=yes
7927 DEFAULT_wxUSE_CHECKBOX
=yes
7928 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7929 DEFAULT_wxUSE_CHOICE
=yes
7930 DEFAULT_wxUSE_CHOICEBOOK
=yes
7931 DEFAULT_wxUSE_COLLPANE
=yes
7932 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7933 DEFAULT_wxUSE_COMBOBOX
=yes
7934 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7935 DEFAULT_wxUSE_DISPLAY
=yes
7936 DEFAULT_wxUSE_DETECT_SM
=yes
7937 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7938 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7939 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7940 DEFAULT_wxUSE_GAUGE
=yes
7941 DEFAULT_wxUSE_GRID
=yes
7942 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7943 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7944 DEFAULT_wxUSE_IMAGLIST
=yes
7945 DEFAULT_wxUSE_LISTBOOK
=yes
7946 DEFAULT_wxUSE_LISTBOX
=yes
7947 DEFAULT_wxUSE_LISTCTRL
=yes
7948 DEFAULT_wxUSE_NOTEBOOK
=yes
7949 DEFAULT_wxUSE_RADIOBOX
=yes
7950 DEFAULT_wxUSE_RADIOBTN
=yes
7951 DEFAULT_wxUSE_SASH
=yes
7952 DEFAULT_wxUSE_SCROLLBAR
=yes
7953 DEFAULT_wxUSE_SLIDER
=yes
7954 DEFAULT_wxUSE_SPINBTN
=yes
7955 DEFAULT_wxUSE_SPINCTRL
=yes
7956 DEFAULT_wxUSE_SPLITTER
=yes
7957 DEFAULT_wxUSE_STATBMP
=yes
7958 DEFAULT_wxUSE_STATBOX
=yes
7959 DEFAULT_wxUSE_STATLINE
=yes
7960 DEFAULT_wxUSE_STATUSBAR
=yes
7961 DEFAULT_wxUSE_TAB_DIALOG
=yes
7962 DEFAULT_wxUSE_TOGGLEBTN
=yes
7963 DEFAULT_wxUSE_TOOLBAR
=yes
7964 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7965 DEFAULT_wxUSE_TOOLTIPS
=yes
7966 DEFAULT_wxUSE_TREEBOOK
=yes
7967 DEFAULT_wxUSE_TOOLBOOK
=yes
7968 DEFAULT_wxUSE_TREECTRL
=yes
7969 DEFAULT_wxUSE_POPUPWIN
=yes
7970 DEFAULT_wxUSE_TIPWINDOW
=yes
7971 elif test "$wxUSE_CONTROLS" = "no"; then
7972 DEFAULT_wxUSE_ACCEL
=no
7973 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7974 DEFAULT_wxUSE_BMPBUTTON
=no
7975 DEFAULT_wxUSE_BUTTON
=no
7976 DEFAULT_wxUSE_CALCTRL
=no
7977 DEFAULT_wxUSE_CARET
=no
7978 DEFAULT_wxUSE_COLLPANE
=no
7979 DEFAULT_wxUSE_COMBOBOX
=no
7980 DEFAULT_wxUSE_CHECKBOX
=no
7981 DEFAULT_wxUSE_CHECKLISTBOX
=no
7982 DEFAULT_wxUSE_CHOICE
=no
7983 DEFAULT_wxUSE_CHOICEBOOK
=no
7984 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7985 DEFAULT_wxUSE_COMBOBOX
=no
7986 DEFAULT_wxUSE_DATEPICKCTRL
=no
7987 DEFAULT_wxUSE_DISPLAY
=no
7988 DEFAULT_wxUSE_DETECT_SM
=no
7989 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7990 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7991 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7992 DEFAULT_wxUSE_GAUGE
=no
7993 DEFAULT_wxUSE_GRID
=no
7994 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7995 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7996 DEFAULT_wxUSE_IMAGLIST
=no
7997 DEFAULT_wxUSE_LISTBOOK
=no
7998 DEFAULT_wxUSE_LISTBOX
=no
7999 DEFAULT_wxUSE_LISTCTRL
=no
8000 DEFAULT_wxUSE_NOTEBOOK
=no
8001 DEFAULT_wxUSE_RADIOBOX
=no
8002 DEFAULT_wxUSE_RADIOBTN
=no
8003 DEFAULT_wxUSE_SASH
=no
8004 DEFAULT_wxUSE_SCROLLBAR
=no
8005 DEFAULT_wxUSE_SLIDER
=no
8006 DEFAULT_wxUSE_SPINBTN
=no
8007 DEFAULT_wxUSE_SPINCTRL
=no
8008 DEFAULT_wxUSE_SPLITTER
=no
8009 DEFAULT_wxUSE_STATBMP
=no
8010 DEFAULT_wxUSE_STATBOX
=no
8011 DEFAULT_wxUSE_STATLINE
=no
8012 DEFAULT_wxUSE_STATUSBAR
=no
8013 DEFAULT_wxUSE_TAB_DIALOG
=no
8014 DEFAULT_wxUSE_TOGGLEBTN
=no
8015 DEFAULT_wxUSE_TOOLBAR
=no
8016 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
8017 DEFAULT_wxUSE_TOOLTIPS
=no
8018 DEFAULT_wxUSE_TREEBOOK
=no
8019 DEFAULT_wxUSE_TOOLBOOK
=no
8020 DEFAULT_wxUSE_TREECTRL
=no
8021 DEFAULT_wxUSE_POPUPWIN
=no
8022 DEFAULT_wxUSE_TIPWINDOW
=no
8027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8030 # Check whether --enable-accel or --disable-accel was given.
8031 if test "${enable_accel+set}" = set; then
8032 enableval
="$enable_accel"
8034 if test "$enableval" = yes; then
8035 ac_cv_use_accel
='wxUSE_ACCEL=yes'
8037 ac_cv_use_accel
='wxUSE_ACCEL=no'
8042 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x
; then
8044 eval "DEFAULT_$LINE"
8049 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053 eval "$ac_cv_use_accel"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8058 if test "$wxUSE_ACCEL" = yes; then
8059 echo "$as_me:$LINENO: result: yes" >&5
8060 echo "${ECHO_T}yes" >&6
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8069 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8071 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8072 if test "${enable_animatectrl+set}" = set; then
8073 enableval
="$enable_animatectrl"
8075 if test "$enableval" = yes; then
8076 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8078 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8083 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x
; then
8085 eval "DEFAULT_$LINE"
8090 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094 eval "$ac_cv_use_animatectrl"
8095 if test "$no_cache" != 1; then
8096 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8099 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8100 echo "$as_me:$LINENO: result: yes" >&5
8101 echo "${ECHO_T}yes" >&6
8103 echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6
8109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8110 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8112 # Check whether --enable-button or --disable-button was given.
8113 if test "${enable_button+set}" = set; then
8114 enableval
="$enable_button"
8116 if test "$enableval" = yes; then
8117 ac_cv_use_button
='wxUSE_BUTTON=yes'
8119 ac_cv_use_button
='wxUSE_BUTTON=no'
8124 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x
; then
8126 eval "DEFAULT_$LINE"
8131 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135 eval "$ac_cv_use_button"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8140 if test "$wxUSE_BUTTON" = yes; then
8141 echo "$as_me:$LINENO: result: yes" >&5
8142 echo "${ECHO_T}yes" >&6
8144 echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6
8150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8153 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8154 if test "${enable_bmpbutton+set}" = set; then
8155 enableval
="$enable_bmpbutton"
8157 if test "$enableval" = yes; then
8158 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8160 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8165 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x
; then
8167 eval "DEFAULT_$LINE"
8172 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176 eval "$ac_cv_use_bmpbutton"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8181 if test "$wxUSE_BMPBUTTON" = yes; then
8182 echo "$as_me:$LINENO: result: yes" >&5
8183 echo "${ECHO_T}yes" >&6
8185 echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6
8191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8194 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8195 if test "${enable_bmpcombobox+set}" = set; then
8196 enableval
="$enable_bmpcombobox"
8198 if test "$enableval" = yes; then
8199 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8201 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8206 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x
; then
8208 eval "DEFAULT_$LINE"
8213 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217 eval "$ac_cv_use_bmpcombobox"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8222 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8223 echo "$as_me:$LINENO: result: yes" >&5
8224 echo "${ECHO_T}yes" >&6
8226 echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6
8232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8235 # Check whether --enable-calendar or --disable-calendar was given.
8236 if test "${enable_calendar+set}" = set; then
8237 enableval
="$enable_calendar"
8239 if test "$enableval" = yes; then
8240 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8242 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8247 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x
; then
8249 eval "DEFAULT_$LINE"
8254 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258 eval "$ac_cv_use_calendar"
8259 if test "$no_cache" != 1; then
8260 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8263 if test "$wxUSE_CALCTRL" = yes; then
8264 echo "$as_me:$LINENO: result: yes" >&5
8265 echo "${ECHO_T}yes" >&6
8267 echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6
8273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8276 # Check whether --enable-caret or --disable-caret was given.
8277 if test "${enable_caret+set}" = set; then
8278 enableval
="$enable_caret"
8280 if test "$enableval" = yes; then
8281 ac_cv_use_caret
='wxUSE_CARET=yes'
8283 ac_cv_use_caret
='wxUSE_CARET=no'
8288 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x
; then
8290 eval "DEFAULT_$LINE"
8295 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299 eval "$ac_cv_use_caret"
8300 if test "$no_cache" != 1; then
8301 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8304 if test "$wxUSE_CARET" = yes; then
8305 echo "$as_me:$LINENO: result: yes" >&5
8306 echo "${ECHO_T}yes" >&6
8308 echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6
8314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8315 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8317 # Check whether --enable-checkbox or --disable-checkbox was given.
8318 if test "${enable_checkbox+set}" = set; then
8319 enableval
="$enable_checkbox"
8321 if test "$enableval" = yes; then
8322 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8324 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8329 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8330 if test "x$LINE" != x
; then
8331 eval "DEFAULT_$LINE"
8336 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340 eval "$ac_cv_use_checkbox"
8341 if test "$no_cache" != 1; then
8342 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8345 if test "$wxUSE_CHECKBOX" = yes; then
8346 echo "$as_me:$LINENO: result: yes" >&5
8347 echo "${ECHO_T}yes" >&6
8349 echo "$as_me:$LINENO: result: no" >&5
8350 echo "${ECHO_T}no" >&6
8355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8358 # Check whether --enable-checklst or --disable-checklst was given.
8359 if test "${enable_checklst+set}" = set; then
8360 enableval
="$enable_checklst"
8362 if test "$enableval" = yes; then
8363 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8365 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8370 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x
; then
8372 eval "DEFAULT_$LINE"
8377 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381 eval "$ac_cv_use_checklst"
8382 if test "$no_cache" != 1; then
8383 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8386 if test "$wxUSE_CHECKLST" = yes; then
8387 echo "$as_me:$LINENO: result: yes" >&5
8388 echo "${ECHO_T}yes" >&6
8390 echo "$as_me:$LINENO: result: no" >&5
8391 echo "${ECHO_T}no" >&6
8396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8399 # Check whether --enable-choice or --disable-choice was given.
8400 if test "${enable_choice+set}" = set; then
8401 enableval
="$enable_choice"
8403 if test "$enableval" = yes; then
8404 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8406 ac_cv_use_choice
='wxUSE_CHOICE=no'
8411 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x
; then
8413 eval "DEFAULT_$LINE"
8418 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422 eval "$ac_cv_use_choice"
8423 if test "$no_cache" != 1; then
8424 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8427 if test "$wxUSE_CHOICE" = yes; then
8428 echo "$as_me:$LINENO: result: yes" >&5
8429 echo "${ECHO_T}yes" >&6
8431 echo "$as_me:$LINENO: result: no" >&5
8432 echo "${ECHO_T}no" >&6
8437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8438 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8440 # Check whether --enable-choicebook or --disable-choicebook was given.
8441 if test "${enable_choicebook+set}" = set; then
8442 enableval
="$enable_choicebook"
8444 if test "$enableval" = yes; then
8445 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8447 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8452 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x
; then
8454 eval "DEFAULT_$LINE"
8459 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463 eval "$ac_cv_use_choicebook"
8464 if test "$no_cache" != 1; then
8465 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8468 if test "$wxUSE_CHOICEBOOK" = yes; then
8469 echo "$as_me:$LINENO: result: yes" >&5
8470 echo "${ECHO_T}yes" >&6
8472 echo "$as_me:$LINENO: result: no" >&5
8473 echo "${ECHO_T}no" >&6
8478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8481 # Check whether --enable-collpane or --disable-collpane was given.
8482 if test "${enable_collpane+set}" = set; then
8483 enableval
="$enable_collpane"
8485 if test "$enableval" = yes; then
8486 ac_cv_use_collpane
='wxUSE_COLLPANE=yes'
8488 ac_cv_use_collpane
='wxUSE_COLLPANE=no'
8493 LINE
=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8494 if test "x$LINE" != x
; then
8495 eval "DEFAULT_$LINE"
8500 ac_cv_use_collpane
='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504 eval "$ac_cv_use_collpane"
8505 if test "$no_cache" != 1; then
8506 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8509 if test "$wxUSE_COLLPANE" = yes; then
8510 echo "$as_me:$LINENO: result: yes" >&5
8511 echo "${ECHO_T}yes" >&6
8513 echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6
8519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8520 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8522 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8523 if test "${enable_colourpicker+set}" = set; then
8524 enableval
="$enable_colourpicker"
8526 if test "$enableval" = yes; then
8527 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8529 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8534 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8535 if test "x$LINE" != x
; then
8536 eval "DEFAULT_$LINE"
8541 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545 eval "$ac_cv_use_colourpicker"
8546 if test "$no_cache" != 1; then
8547 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8550 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8551 echo "$as_me:$LINENO: result: yes" >&5
8552 echo "${ECHO_T}yes" >&6
8554 echo "$as_me:$LINENO: result: no" >&5
8555 echo "${ECHO_T}no" >&6
8560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8563 # Check whether --enable-combobox or --disable-combobox was given.
8564 if test "${enable_combobox+set}" = set; then
8565 enableval
="$enable_combobox"
8567 if test "$enableval" = yes; then
8568 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8570 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8575 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8576 if test "x$LINE" != x
; then
8577 eval "DEFAULT_$LINE"
8582 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586 eval "$ac_cv_use_combobox"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8591 if test "$wxUSE_COMBOBOX" = yes; then
8592 echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6
8595 echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6
8601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8602 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8604 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8605 if test "${enable_comboctrl+set}" = set; then
8606 enableval
="$enable_comboctrl"
8608 if test "$enableval" = yes; then
8609 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8611 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8616 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8617 if test "x$LINE" != x
; then
8618 eval "DEFAULT_$LINE"
8623 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627 eval "$ac_cv_use_comboctrl"
8628 if test "$no_cache" != 1; then
8629 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8632 if test "$wxUSE_COMBOCTRL" = yes; then
8633 echo "$as_me:$LINENO: result: yes" >&5
8634 echo "${ECHO_T}yes" >&6
8636 echo "$as_me:$LINENO: result: no" >&5
8637 echo "${ECHO_T}no" >&6
8642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8643 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8645 # Check whether --enable-datepick or --disable-datepick was given.
8646 if test "${enable_datepick+set}" = set; then
8647 enableval
="$enable_datepick"
8649 if test "$enableval" = yes; then
8650 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8652 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8657 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x
; then
8659 eval "DEFAULT_$LINE"
8664 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668 eval "$ac_cv_use_datepick"
8669 if test "$no_cache" != 1; then
8670 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8673 if test "$wxUSE_DATEPICKCTRL" = yes; then
8674 echo "$as_me:$LINENO: result: yes" >&5
8675 echo "${ECHO_T}yes" >&6
8677 echo "$as_me:$LINENO: result: no" >&5
8678 echo "${ECHO_T}no" >&6
8683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8684 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8686 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8687 if test "${enable_dirpicker+set}" = set; then
8688 enableval
="$enable_dirpicker"
8690 if test "$enableval" = yes; then
8691 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8693 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8698 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8699 if test "x$LINE" != x
; then
8700 eval "DEFAULT_$LINE"
8705 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709 eval "$ac_cv_use_dirpicker"
8710 if test "$no_cache" != 1; then
8711 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8714 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8715 echo "$as_me:$LINENO: result: yes" >&5
8716 echo "${ECHO_T}yes" >&6
8718 echo "$as_me:$LINENO: result: no" >&5
8719 echo "${ECHO_T}no" >&6
8724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8725 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8727 # Check whether --enable-display or --disable-display was given.
8728 if test "${enable_display+set}" = set; then
8729 enableval
="$enable_display"
8731 if test "$enableval" = yes; then
8732 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8734 ac_cv_use_display
='wxUSE_DISPLAY=no'
8739 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8740 if test "x$LINE" != x
; then
8741 eval "DEFAULT_$LINE"
8746 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750 eval "$ac_cv_use_display"
8751 if test "$no_cache" != 1; then
8752 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8755 if test "$wxUSE_DISPLAY" = yes; then
8756 echo "$as_me:$LINENO: result: yes" >&5
8757 echo "${ECHO_T}yes" >&6
8759 echo "$as_me:$LINENO: result: no" >&5
8760 echo "${ECHO_T}no" >&6
8765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8768 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8769 if test "${enable_detect_sm+set}" = set; then
8770 enableval
="$enable_detect_sm"
8772 if test "$enableval" = yes; then
8773 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8775 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8780 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x
; then
8782 eval "DEFAULT_$LINE"
8787 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791 eval "$ac_cv_use_detect_sm"
8792 if test "$no_cache" != 1; then
8793 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8796 if test "$wxUSE_DETECT_SM" = yes; then
8797 echo "$as_me:$LINENO: result: yes" >&5
8798 echo "${ECHO_T}yes" >&6
8800 echo "$as_me:$LINENO: result: no" >&5
8801 echo "${ECHO_T}no" >&6
8806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8807 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8809 # Check whether --enable-filepicker or --disable-filepicker was given.
8810 if test "${enable_filepicker+set}" = set; then
8811 enableval
="$enable_filepicker"
8813 if test "$enableval" = yes; then
8814 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8816 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8821 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8822 if test "x$LINE" != x
; then
8823 eval "DEFAULT_$LINE"
8828 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832 eval "$ac_cv_use_filepicker"
8833 if test "$no_cache" != 1; then
8834 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8837 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8838 echo "$as_me:$LINENO: result: yes" >&5
8839 echo "${ECHO_T}yes" >&6
8841 echo "$as_me:$LINENO: result: no" >&5
8842 echo "${ECHO_T}no" >&6
8847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8850 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8851 if test "${enable_fontpicker+set}" = set; then
8852 enableval
="$enable_fontpicker"
8854 if test "$enableval" = yes; then
8855 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8857 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8862 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8863 if test "x$LINE" != x
; then
8864 eval "DEFAULT_$LINE"
8869 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873 eval "$ac_cv_use_fontpicker"
8874 if test "$no_cache" != 1; then
8875 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8878 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8879 echo "$as_me:$LINENO: result: yes" >&5
8880 echo "${ECHO_T}yes" >&6
8882 echo "$as_me:$LINENO: result: no" >&5
8883 echo "${ECHO_T}no" >&6
8888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8889 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8891 # Check whether --enable-gauge or --disable-gauge was given.
8892 if test "${enable_gauge+set}" = set; then
8893 enableval
="$enable_gauge"
8895 if test "$enableval" = yes; then
8896 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8898 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8903 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8904 if test "x$LINE" != x
; then
8905 eval "DEFAULT_$LINE"
8910 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914 eval "$ac_cv_use_gauge"
8915 if test "$no_cache" != 1; then
8916 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8919 if test "$wxUSE_GAUGE" = yes; then
8920 echo "$as_me:$LINENO: result: yes" >&5
8921 echo "${ECHO_T}yes" >&6
8923 echo "$as_me:$LINENO: result: no" >&5
8924 echo "${ECHO_T}no" >&6
8929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8930 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8932 # Check whether --enable-grid or --disable-grid was given.
8933 if test "${enable_grid+set}" = set; then
8934 enableval
="$enable_grid"
8936 if test "$enableval" = yes; then
8937 ac_cv_use_grid
='wxUSE_GRID=yes'
8939 ac_cv_use_grid
='wxUSE_GRID=no'
8944 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8945 if test "x$LINE" != x
; then
8946 eval "DEFAULT_$LINE"
8951 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955 eval "$ac_cv_use_grid"
8956 if test "$no_cache" != 1; then
8957 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8960 if test "$wxUSE_GRID" = yes; then
8961 echo "$as_me:$LINENO: result: yes" >&5
8962 echo "${ECHO_T}yes" >&6
8964 echo "$as_me:$LINENO: result: no" >&5
8965 echo "${ECHO_T}no" >&6
8970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8973 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8974 if test "${enable_dataviewctrl+set}" = set; then
8975 enableval
="$enable_dataviewctrl"
8977 if test "$enableval" = yes; then
8978 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8980 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8985 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8986 if test "x$LINE" != x
; then
8987 eval "DEFAULT_$LINE"
8992 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996 eval "$ac_cv_use_dataviewctrl"
8997 if test "$no_cache" != 1; then
8998 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9001 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9002 echo "$as_me:$LINENO: result: yes" >&5
9003 echo "${ECHO_T}yes" >&6
9005 echo "$as_me:$LINENO: result: no" >&5
9006 echo "${ECHO_T}no" >&6
9011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9012 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9014 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9015 if test "${enable_hyperlink+set}" = set; then
9016 enableval
="$enable_hyperlink"
9018 if test "$enableval" = yes; then
9019 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
9021 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
9026 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9027 if test "x$LINE" != x
; then
9028 eval "DEFAULT_$LINE"
9033 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037 eval "$ac_cv_use_hyperlink"
9038 if test "$no_cache" != 1; then
9039 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9042 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9043 echo "$as_me:$LINENO: result: yes" >&5
9044 echo "${ECHO_T}yes" >&6
9046 echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6
9052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9055 # Check whether --enable-imaglist or --disable-imaglist was given.
9056 if test "${enable_imaglist+set}" = set; then
9057 enableval
="$enable_imaglist"
9059 if test "$enableval" = yes; then
9060 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
9062 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
9067 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9068 if test "x$LINE" != x
; then
9069 eval "DEFAULT_$LINE"
9074 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078 eval "$ac_cv_use_imaglist"
9079 if test "$no_cache" != 1; then
9080 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9083 if test "$wxUSE_IMAGLIST" = yes; then
9084 echo "$as_me:$LINENO: result: yes" >&5
9085 echo "${ECHO_T}yes" >&6
9087 echo "$as_me:$LINENO: result: no" >&5
9088 echo "${ECHO_T}no" >&6
9093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9094 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9096 # Check whether --enable-listbook or --disable-listbook was given.
9097 if test "${enable_listbook+set}" = set; then
9098 enableval
="$enable_listbook"
9100 if test "$enableval" = yes; then
9101 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9103 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9108 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9109 if test "x$LINE" != x
; then
9110 eval "DEFAULT_$LINE"
9115 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119 eval "$ac_cv_use_listbook"
9120 if test "$no_cache" != 1; then
9121 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9124 if test "$wxUSE_LISTBOOK" = yes; then
9125 echo "$as_me:$LINENO: result: yes" >&5
9126 echo "${ECHO_T}yes" >&6
9128 echo "$as_me:$LINENO: result: no" >&5
9129 echo "${ECHO_T}no" >&6
9134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9135 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9137 # Check whether --enable-listbox or --disable-listbox was given.
9138 if test "${enable_listbox+set}" = set; then
9139 enableval
="$enable_listbox"
9141 if test "$enableval" = yes; then
9142 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9144 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9149 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9150 if test "x$LINE" != x
; then
9151 eval "DEFAULT_$LINE"
9156 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160 eval "$ac_cv_use_listbox"
9161 if test "$no_cache" != 1; then
9162 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9165 if test "$wxUSE_LISTBOX" = yes; then
9166 echo "$as_me:$LINENO: result: yes" >&5
9167 echo "${ECHO_T}yes" >&6
9169 echo "$as_me:$LINENO: result: no" >&5
9170 echo "${ECHO_T}no" >&6
9175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9176 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9178 # Check whether --enable-listctrl or --disable-listctrl was given.
9179 if test "${enable_listctrl+set}" = set; then
9180 enableval
="$enable_listctrl"
9182 if test "$enableval" = yes; then
9183 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9185 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9190 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9191 if test "x$LINE" != x
; then
9192 eval "DEFAULT_$LINE"
9197 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201 eval "$ac_cv_use_listctrl"
9202 if test "$no_cache" != 1; then
9203 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9206 if test "$wxUSE_LISTCTRL" = yes; then
9207 echo "$as_me:$LINENO: result: yes" >&5
9208 echo "${ECHO_T}yes" >&6
9210 echo "$as_me:$LINENO: result: no" >&5
9211 echo "${ECHO_T}no" >&6
9216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9217 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9219 # Check whether --enable-notebook or --disable-notebook was given.
9220 if test "${enable_notebook+set}" = set; then
9221 enableval
="$enable_notebook"
9223 if test "$enableval" = yes; then
9224 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9226 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9231 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9232 if test "x$LINE" != x
; then
9233 eval "DEFAULT_$LINE"
9238 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242 eval "$ac_cv_use_notebook"
9243 if test "$no_cache" != 1; then
9244 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9247 if test "$wxUSE_NOTEBOOK" = yes; then
9248 echo "$as_me:$LINENO: result: yes" >&5
9249 echo "${ECHO_T}yes" >&6
9251 echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6
9257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9260 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9261 if test "${enable_odcombobox+set}" = set; then
9262 enableval
="$enable_odcombobox"
9264 if test "$enableval" = yes; then
9265 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9267 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9272 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9273 if test "x$LINE" != x
; then
9274 eval "DEFAULT_$LINE"
9279 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283 eval "$ac_cv_use_odcombobox"
9284 if test "$no_cache" != 1; then
9285 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9288 if test "$wxUSE_ODCOMBOBOX" = yes; then
9289 echo "$as_me:$LINENO: result: yes" >&5
9290 echo "${ECHO_T}yes" >&6
9292 echo "$as_me:$LINENO: result: no" >&5
9293 echo "${ECHO_T}no" >&6
9298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9301 # Check whether --enable-radiobox or --disable-radiobox was given.
9302 if test "${enable_radiobox+set}" = set; then
9303 enableval
="$enable_radiobox"
9305 if test "$enableval" = yes; then
9306 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9308 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9313 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9314 if test "x$LINE" != x
; then
9315 eval "DEFAULT_$LINE"
9320 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324 eval "$ac_cv_use_radiobox"
9325 if test "$no_cache" != 1; then
9326 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9329 if test "$wxUSE_RADIOBOX" = yes; then
9330 echo "$as_me:$LINENO: result: yes" >&5
9331 echo "${ECHO_T}yes" >&6
9333 echo "$as_me:$LINENO: result: no" >&5
9334 echo "${ECHO_T}no" >&6
9339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9342 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9343 if test "${enable_radiobtn+set}" = set; then
9344 enableval
="$enable_radiobtn"
9346 if test "$enableval" = yes; then
9347 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9349 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9354 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9355 if test "x$LINE" != x
; then
9356 eval "DEFAULT_$LINE"
9361 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365 eval "$ac_cv_use_radiobtn"
9366 if test "$no_cache" != 1; then
9367 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9370 if test "$wxUSE_RADIOBTN" = yes; then
9371 echo "$as_me:$LINENO: result: yes" >&5
9372 echo "${ECHO_T}yes" >&6
9374 echo "$as_me:$LINENO: result: no" >&5
9375 echo "${ECHO_T}no" >&6
9380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9381 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9383 # Check whether --enable-sash or --disable-sash was given.
9384 if test "${enable_sash+set}" = set; then
9385 enableval
="$enable_sash"
9387 if test "$enableval" = yes; then
9388 ac_cv_use_sash
='wxUSE_SASH=yes'
9390 ac_cv_use_sash
='wxUSE_SASH=no'
9395 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9396 if test "x$LINE" != x
; then
9397 eval "DEFAULT_$LINE"
9402 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406 eval "$ac_cv_use_sash"
9407 if test "$no_cache" != 1; then
9408 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9411 if test "$wxUSE_SASH" = yes; then
9412 echo "$as_me:$LINENO: result: yes" >&5
9413 echo "${ECHO_T}yes" >&6
9415 echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6
9421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9424 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9425 if test "${enable_scrollbar+set}" = set; then
9426 enableval
="$enable_scrollbar"
9428 if test "$enableval" = yes; then
9429 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9431 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9436 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x
; then
9438 eval "DEFAULT_$LINE"
9443 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447 eval "$ac_cv_use_scrollbar"
9448 if test "$no_cache" != 1; then
9449 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9452 if test "$wxUSE_SCROLLBAR" = yes; then
9453 echo "$as_me:$LINENO: result: yes" >&5
9454 echo "${ECHO_T}yes" >&6
9456 echo "$as_me:$LINENO: result: no" >&5
9457 echo "${ECHO_T}no" >&6
9462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9463 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9465 # Check whether --enable-slider or --disable-slider was given.
9466 if test "${enable_slider+set}" = set; then
9467 enableval
="$enable_slider"
9469 if test "$enableval" = yes; then
9470 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9472 ac_cv_use_slider
='wxUSE_SLIDER=no'
9477 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x
; then
9479 eval "DEFAULT_$LINE"
9484 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488 eval "$ac_cv_use_slider"
9489 if test "$no_cache" != 1; then
9490 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9493 if test "$wxUSE_SLIDER" = yes; then
9494 echo "$as_me:$LINENO: result: yes" >&5
9495 echo "${ECHO_T}yes" >&6
9497 echo "$as_me:$LINENO: result: no" >&5
9498 echo "${ECHO_T}no" >&6
9503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9506 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9507 if test "${enable_spinbtn+set}" = set; then
9508 enableval
="$enable_spinbtn"
9510 if test "$enableval" = yes; then
9511 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9513 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9518 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9519 if test "x$LINE" != x
; then
9520 eval "DEFAULT_$LINE"
9525 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529 eval "$ac_cv_use_spinbtn"
9530 if test "$no_cache" != 1; then
9531 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9534 if test "$wxUSE_SPINBTN" = yes; then
9535 echo "$as_me:$LINENO: result: yes" >&5
9536 echo "${ECHO_T}yes" >&6
9538 echo "$as_me:$LINENO: result: no" >&5
9539 echo "${ECHO_T}no" >&6
9544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9545 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9547 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9548 if test "${enable_spinctrl+set}" = set; then
9549 enableval
="$enable_spinctrl"
9551 if test "$enableval" = yes; then
9552 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9554 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9559 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9560 if test "x$LINE" != x
; then
9561 eval "DEFAULT_$LINE"
9566 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570 eval "$ac_cv_use_spinctrl"
9571 if test "$no_cache" != 1; then
9572 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9575 if test "$wxUSE_SPINCTRL" = yes; then
9576 echo "$as_me:$LINENO: result: yes" >&5
9577 echo "${ECHO_T}yes" >&6
9579 echo "$as_me:$LINENO: result: no" >&5
9580 echo "${ECHO_T}no" >&6
9585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9588 # Check whether --enable-splitter or --disable-splitter was given.
9589 if test "${enable_splitter+set}" = set; then
9590 enableval
="$enable_splitter"
9592 if test "$enableval" = yes; then
9593 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9595 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9600 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9601 if test "x$LINE" != x
; then
9602 eval "DEFAULT_$LINE"
9607 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611 eval "$ac_cv_use_splitter"
9612 if test "$no_cache" != 1; then
9613 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9616 if test "$wxUSE_SPLITTER" = yes; then
9617 echo "$as_me:$LINENO: result: yes" >&5
9618 echo "${ECHO_T}yes" >&6
9620 echo "$as_me:$LINENO: result: no" >&5
9621 echo "${ECHO_T}no" >&6
9626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9629 # Check whether --enable-statbmp or --disable-statbmp was given.
9630 if test "${enable_statbmp+set}" = set; then
9631 enableval
="$enable_statbmp"
9633 if test "$enableval" = yes; then
9634 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9636 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9641 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9642 if test "x$LINE" != x
; then
9643 eval "DEFAULT_$LINE"
9648 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652 eval "$ac_cv_use_statbmp"
9653 if test "$no_cache" != 1; then
9654 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9657 if test "$wxUSE_STATBMP" = yes; then
9658 echo "$as_me:$LINENO: result: yes" >&5
9659 echo "${ECHO_T}yes" >&6
9661 echo "$as_me:$LINENO: result: no" >&5
9662 echo "${ECHO_T}no" >&6
9667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9670 # Check whether --enable-statbox or --disable-statbox was given.
9671 if test "${enable_statbox+set}" = set; then
9672 enableval
="$enable_statbox"
9674 if test "$enableval" = yes; then
9675 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9677 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9682 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x
; then
9684 eval "DEFAULT_$LINE"
9689 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693 eval "$ac_cv_use_statbox"
9694 if test "$no_cache" != 1; then
9695 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9698 if test "$wxUSE_STATBOX" = yes; then
9699 echo "$as_me:$LINENO: result: yes" >&5
9700 echo "${ECHO_T}yes" >&6
9702 echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6
9708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9709 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9711 # Check whether --enable-statline or --disable-statline was given.
9712 if test "${enable_statline+set}" = set; then
9713 enableval
="$enable_statline"
9715 if test "$enableval" = yes; then
9716 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9718 ac_cv_use_statline
='wxUSE_STATLINE=no'
9723 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9724 if test "x$LINE" != x
; then
9725 eval "DEFAULT_$LINE"
9730 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734 eval "$ac_cv_use_statline"
9735 if test "$no_cache" != 1; then
9736 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9739 if test "$wxUSE_STATLINE" = yes; then
9740 echo "$as_me:$LINENO: result: yes" >&5
9741 echo "${ECHO_T}yes" >&6
9743 echo "$as_me:$LINENO: result: no" >&5
9744 echo "${ECHO_T}no" >&6
9749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9750 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9752 # Check whether --enable-stattext or --disable-stattext was given.
9753 if test "${enable_stattext+set}" = set; then
9754 enableval
="$enable_stattext"
9756 if test "$enableval" = yes; then
9757 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9759 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9764 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9765 if test "x$LINE" != x
; then
9766 eval "DEFAULT_$LINE"
9771 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775 eval "$ac_cv_use_stattext"
9776 if test "$no_cache" != 1; then
9777 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9780 if test "$wxUSE_STATTEXT" = yes; then
9781 echo "$as_me:$LINENO: result: yes" >&5
9782 echo "${ECHO_T}yes" >&6
9784 echo "$as_me:$LINENO: result: no" >&5
9785 echo "${ECHO_T}no" >&6
9790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9791 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9793 # Check whether --enable-statusbar or --disable-statusbar was given.
9794 if test "${enable_statusbar+set}" = set; then
9795 enableval
="$enable_statusbar"
9797 if test "$enableval" = yes; then
9798 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9800 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9805 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9806 if test "x$LINE" != x
; then
9807 eval "DEFAULT_$LINE"
9812 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816 eval "$ac_cv_use_statusbar"
9817 if test "$no_cache" != 1; then
9818 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9821 if test "$wxUSE_STATUSBAR" = yes; then
9822 echo "$as_me:$LINENO: result: yes" >&5
9823 echo "${ECHO_T}yes" >&6
9825 echo "$as_me:$LINENO: result: no" >&5
9826 echo "${ECHO_T}no" >&6
9831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9834 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9835 if test "${enable_tabdialog+set}" = set; then
9836 enableval
="$enable_tabdialog"
9838 if test "$enableval" = yes; then
9839 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9841 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9846 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9847 if test "x$LINE" != x
; then
9848 eval "DEFAULT_$LINE"
9853 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857 eval "$ac_cv_use_tabdialog"
9858 if test "$no_cache" != 1; then
9859 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9862 if test "$wxUSE_TAB_DIALOG" = yes; then
9863 echo "$as_me:$LINENO: result: yes" >&5
9864 echo "${ECHO_T}yes" >&6
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9875 # Check whether --enable-textctrl or --disable-textctrl was given.
9876 if test "${enable_textctrl+set}" = set; then
9877 enableval
="$enable_textctrl"
9879 if test "$enableval" = yes; then
9880 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9882 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9887 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9888 if test "x$LINE" != x
; then
9889 eval "DEFAULT_$LINE"
9894 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898 eval "$ac_cv_use_textctrl"
9899 if test "$no_cache" != 1; then
9900 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9903 if test "$wxUSE_TEXTCTRL" = yes; then
9904 echo "$as_me:$LINENO: result: yes" >&5
9905 echo "${ECHO_T}yes" >&6
9907 echo "$as_me:$LINENO: result: no" >&5
9908 echo "${ECHO_T}no" >&6
9913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9916 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9917 if test "${enable_togglebtn+set}" = set; then
9918 enableval
="$enable_togglebtn"
9920 if test "$enableval" = yes; then
9921 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9923 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9928 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9929 if test "x$LINE" != x
; then
9930 eval "DEFAULT_$LINE"
9935 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939 eval "$ac_cv_use_togglebtn"
9940 if test "$no_cache" != 1; then
9941 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9944 if test "$wxUSE_TOGGLEBTN" = yes; then
9945 echo "$as_me:$LINENO: result: yes" >&5
9946 echo "${ECHO_T}yes" >&6
9948 echo "$as_me:$LINENO: result: no" >&5
9949 echo "${ECHO_T}no" >&6
9954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9955 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9957 # Check whether --enable-toolbar or --disable-toolbar was given.
9958 if test "${enable_toolbar+set}" = set; then
9959 enableval
="$enable_toolbar"
9961 if test "$enableval" = yes; then
9962 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9964 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9969 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9970 if test "x$LINE" != x
; then
9971 eval "DEFAULT_$LINE"
9976 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980 eval "$ac_cv_use_toolbar"
9981 if test "$no_cache" != 1; then
9982 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9985 if test "$wxUSE_TOOLBAR" = yes; then
9986 echo "$as_me:$LINENO: result: yes" >&5
9987 echo "${ECHO_T}yes" >&6
9989 echo "$as_me:$LINENO: result: no" >&5
9990 echo "${ECHO_T}no" >&6
9995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9996 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9998 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9999 if test "${enable_tbarnative+set}" = set; then
10000 enableval
="$enable_tbarnative"
10002 if test "$enableval" = yes; then
10003 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
10005 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
10010 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10011 if test "x$LINE" != x
; then
10012 eval "DEFAULT_$LINE"
10017 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021 eval "$ac_cv_use_tbarnative"
10022 if test "$no_cache" != 1; then
10023 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10026 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10027 echo "$as_me:$LINENO: result: yes" >&5
10028 echo "${ECHO_T}yes" >&6
10030 echo "$as_me:$LINENO: result: no" >&5
10031 echo "${ECHO_T}no" >&6
10036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10037 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10039 # Check whether --enable-treebook or --disable-treebook was given.
10040 if test "${enable_treebook+set}" = set; then
10041 enableval
="$enable_treebook"
10043 if test "$enableval" = yes; then
10044 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
10046 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
10051 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10052 if test "x$LINE" != x
; then
10053 eval "DEFAULT_$LINE"
10058 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062 eval "$ac_cv_use_treebook"
10063 if test "$no_cache" != 1; then
10064 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10067 if test "$wxUSE_TREEBOOK" = yes; then
10068 echo "$as_me:$LINENO: result: yes" >&5
10069 echo "${ECHO_T}yes" >&6
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10078 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10080 # Check whether --enable-toolbook or --disable-toolbook was given.
10081 if test "${enable_toolbook+set}" = set; then
10082 enableval
="$enable_toolbook"
10084 if test "$enableval" = yes; then
10085 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
10087 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10092 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10093 if test "x$LINE" != x
; then
10094 eval "DEFAULT_$LINE"
10099 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103 eval "$ac_cv_use_toolbook"
10104 if test "$no_cache" != 1; then
10105 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10108 if test "$wxUSE_TOOLBOOK" = yes; then
10109 echo "$as_me:$LINENO: result: yes" >&5
10110 echo "${ECHO_T}yes" >&6
10112 echo "$as_me:$LINENO: result: no" >&5
10113 echo "${ECHO_T}no" >&6
10118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10121 # Check whether --enable-treectrl or --disable-treectrl was given.
10122 if test "${enable_treectrl+set}" = set; then
10123 enableval
="$enable_treectrl"
10125 if test "$enableval" = yes; then
10126 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10128 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10133 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10134 if test "x$LINE" != x
; then
10135 eval "DEFAULT_$LINE"
10140 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144 eval "$ac_cv_use_treectrl"
10145 if test "$no_cache" != 1; then
10146 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10149 if test "$wxUSE_TREECTRL" = yes; then
10150 echo "$as_me:$LINENO: result: yes" >&5
10151 echo "${ECHO_T}yes" >&6
10153 echo "$as_me:$LINENO: result: no" >&5
10154 echo "${ECHO_T}no" >&6
10159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10162 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10163 if test "${enable_tipwindow+set}" = set; then
10164 enableval
="$enable_tipwindow"
10166 if test "$enableval" = yes; then
10167 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10169 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10174 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10175 if test "x$LINE" != x
; then
10176 eval "DEFAULT_$LINE"
10181 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185 eval "$ac_cv_use_tipwindow"
10186 if test "$no_cache" != 1; then
10187 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10190 if test "$wxUSE_TIPWINDOW" = yes; then
10191 echo "$as_me:$LINENO: result: yes" >&5
10192 echo "${ECHO_T}yes" >&6
10194 echo "$as_me:$LINENO: result: no" >&5
10195 echo "${ECHO_T}no" >&6
10200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10203 # Check whether --enable-popupwin or --disable-popupwin was given.
10204 if test "${enable_popupwin+set}" = set; then
10205 enableval
="$enable_popupwin"
10207 if test "$enableval" = yes; then
10208 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10210 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10215 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10216 if test "x$LINE" != x
; then
10217 eval "DEFAULT_$LINE"
10222 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226 eval "$ac_cv_use_popupwin"
10227 if test "$no_cache" != 1; then
10228 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10231 if test "$wxUSE_POPUPWIN" = yes; then
10232 echo "$as_me:$LINENO: result: yes" >&5
10233 echo "${ECHO_T}yes" >&6
10235 echo "$as_me:$LINENO: result: no" >&5
10236 echo "${ECHO_T}no" >&6
10243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10246 # Check whether --enable-commondlg or --disable-commondlg was given.
10247 if test "${enable_commondlg+set}" = set; then
10248 enableval
="$enable_commondlg"
10250 if test "$enableval" = yes; then
10251 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10253 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10258 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10259 if test "x$LINE" != x
; then
10260 eval "DEFAULT_$LINE"
10265 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269 eval "$ac_cv_use_commondlg"
10270 if test "$no_cache" != 1; then
10271 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10274 if test "$wxUSE_COMMONDLGS" = yes; then
10275 echo "$as_me:$LINENO: result: yes" >&5
10276 echo "${ECHO_T}yes" >&6
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10287 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10288 if test "${enable_aboutdlg+set}" = set; then
10289 enableval
="$enable_aboutdlg"
10291 if test "$enableval" = yes; then
10292 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10294 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10299 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x
; then
10301 eval "DEFAULT_$LINE"
10306 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310 eval "$ac_cv_use_aboutdlg"
10311 if test "$no_cache" != 1; then
10312 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10315 if test "$wxUSE_ABOUTDLG" = yes; then
10316 echo "$as_me:$LINENO: result: yes" >&5
10317 echo "${ECHO_T}yes" >&6
10319 echo "$as_me:$LINENO: result: no" >&5
10320 echo "${ECHO_T}no" >&6
10325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10328 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10329 if test "${enable_choicedlg+set}" = set; then
10330 enableval
="$enable_choicedlg"
10332 if test "$enableval" = yes; then
10333 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10335 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10340 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10341 if test "x$LINE" != x
; then
10342 eval "DEFAULT_$LINE"
10347 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351 eval "$ac_cv_use_choicedlg"
10352 if test "$no_cache" != 1; then
10353 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10356 if test "$wxUSE_CHOICEDLG" = yes; then
10357 echo "$as_me:$LINENO: result: yes" >&5
10358 echo "${ECHO_T}yes" >&6
10360 echo "$as_me:$LINENO: result: no" >&5
10361 echo "${ECHO_T}no" >&6
10366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10369 # Check whether --enable-coldlg or --disable-coldlg was given.
10370 if test "${enable_coldlg+set}" = set; then
10371 enableval
="$enable_coldlg"
10373 if test "$enableval" = yes; then
10374 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10376 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10381 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10382 if test "x$LINE" != x
; then
10383 eval "DEFAULT_$LINE"
10388 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392 eval "$ac_cv_use_coldlg"
10393 if test "$no_cache" != 1; then
10394 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10397 if test "$wxUSE_COLOURDLG" = yes; then
10398 echo "$as_me:$LINENO: result: yes" >&5
10399 echo "${ECHO_T}yes" >&6
10401 echo "$as_me:$LINENO: result: no" >&5
10402 echo "${ECHO_T}no" >&6
10407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10408 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10410 # Check whether --enable-filedlg or --disable-filedlg was given.
10411 if test "${enable_filedlg+set}" = set; then
10412 enableval
="$enable_filedlg"
10414 if test "$enableval" = yes; then
10415 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10417 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10422 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10423 if test "x$LINE" != x
; then
10424 eval "DEFAULT_$LINE"
10429 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433 eval "$ac_cv_use_filedlg"
10434 if test "$no_cache" != 1; then
10435 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10438 if test "$wxUSE_FILEDLG" = yes; then
10439 echo "$as_me:$LINENO: result: yes" >&5
10440 echo "${ECHO_T}yes" >&6
10442 echo "$as_me:$LINENO: result: no" >&5
10443 echo "${ECHO_T}no" >&6
10448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10451 # Check whether --enable-finddlg or --disable-finddlg was given.
10452 if test "${enable_finddlg+set}" = set; then
10453 enableval
="$enable_finddlg"
10455 if test "$enableval" = yes; then
10456 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10458 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10463 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10464 if test "x$LINE" != x
; then
10465 eval "DEFAULT_$LINE"
10470 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474 eval "$ac_cv_use_finddlg"
10475 if test "$no_cache" != 1; then
10476 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10479 if test "$wxUSE_FINDREPLDLG" = yes; then
10480 echo "$as_me:$LINENO: result: yes" >&5
10481 echo "${ECHO_T}yes" >&6
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10490 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10492 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10493 if test "${enable_fontdlg+set}" = set; then
10494 enableval
="$enable_fontdlg"
10496 if test "$enableval" = yes; then
10497 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10499 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10504 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10505 if test "x$LINE" != x
; then
10506 eval "DEFAULT_$LINE"
10511 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515 eval "$ac_cv_use_fontdlg"
10516 if test "$no_cache" != 1; then
10517 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10520 if test "$wxUSE_FONTDLG" = yes; then
10521 echo "$as_me:$LINENO: result: yes" >&5
10522 echo "${ECHO_T}yes" >&6
10524 echo "$as_me:$LINENO: result: no" >&5
10525 echo "${ECHO_T}no" >&6
10530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10533 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10534 if test "${enable_dirdlg+set}" = set; then
10535 enableval
="$enable_dirdlg"
10537 if test "$enableval" = yes; then
10538 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10540 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10545 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x
; then
10547 eval "DEFAULT_$LINE"
10552 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556 eval "$ac_cv_use_dirdlg"
10557 if test "$no_cache" != 1; then
10558 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10561 if test "$wxUSE_DIRDLG" = yes; then
10562 echo "$as_me:$LINENO: result: yes" >&5
10563 echo "${ECHO_T}yes" >&6
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10572 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10574 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10575 if test "${enable_msgdlg+set}" = set; then
10576 enableval
="$enable_msgdlg"
10578 if test "$enableval" = yes; then
10579 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10581 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10586 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10587 if test "x$LINE" != x
; then
10588 eval "DEFAULT_$LINE"
10593 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597 eval "$ac_cv_use_msgdlg"
10598 if test "$no_cache" != 1; then
10599 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10602 if test "$wxUSE_MSGDLG" = yes; then
10603 echo "$as_me:$LINENO: result: yes" >&5
10604 echo "${ECHO_T}yes" >&6
10606 echo "$as_me:$LINENO: result: no" >&5
10607 echo "${ECHO_T}no" >&6
10612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10615 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10616 if test "${enable_numberdlg+set}" = set; then
10617 enableval
="$enable_numberdlg"
10619 if test "$enableval" = yes; then
10620 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10622 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10627 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10628 if test "x$LINE" != x
; then
10629 eval "DEFAULT_$LINE"
10634 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638 eval "$ac_cv_use_numberdlg"
10639 if test "$no_cache" != 1; then
10640 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10643 if test "$wxUSE_NUMBERDLG" = yes; then
10644 echo "$as_me:$LINENO: result: yes" >&5
10645 echo "${ECHO_T}yes" >&6
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10654 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10656 # Check whether --enable-splash or --disable-splash was given.
10657 if test "${enable_splash+set}" = set; then
10658 enableval
="$enable_splash"
10660 if test "$enableval" = yes; then
10661 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10663 ac_cv_use_splash
='wxUSE_SPLASH=no'
10668 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10669 if test "x$LINE" != x
; then
10670 eval "DEFAULT_$LINE"
10675 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679 eval "$ac_cv_use_splash"
10680 if test "$no_cache" != 1; then
10681 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10684 if test "$wxUSE_SPLASH" = yes; then
10685 echo "$as_me:$LINENO: result: yes" >&5
10686 echo "${ECHO_T}yes" >&6
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10695 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10697 # Check whether --enable-textdlg or --disable-textdlg was given.
10698 if test "${enable_textdlg+set}" = set; then
10699 enableval
="$enable_textdlg"
10701 if test "$enableval" = yes; then
10702 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10704 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10709 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10710 if test "x$LINE" != x
; then
10711 eval "DEFAULT_$LINE"
10716 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720 eval "$ac_cv_use_textdlg"
10721 if test "$no_cache" != 1; then
10722 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10725 if test "$wxUSE_TEXTDLG" = yes; then
10726 echo "$as_me:$LINENO: result: yes" >&5
10727 echo "${ECHO_T}yes" >&6
10729 echo "$as_me:$LINENO: result: no" >&5
10730 echo "${ECHO_T}no" >&6
10735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10738 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10739 if test "${enable_tipdlg+set}" = set; then
10740 enableval
="$enable_tipdlg"
10742 if test "$enableval" = yes; then
10743 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10745 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10750 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10751 if test "x$LINE" != x
; then
10752 eval "DEFAULT_$LINE"
10757 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761 eval "$ac_cv_use_tipdlg"
10762 if test "$no_cache" != 1; then
10763 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10766 if test "$wxUSE_STARTUP_TIPS" = yes; then
10767 echo "$as_me:$LINENO: result: yes" >&5
10768 echo "${ECHO_T}yes" >&6
10770 echo "$as_me:$LINENO: result: no" >&5
10771 echo "${ECHO_T}no" >&6
10776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10779 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10780 if test "${enable_progressdlg+set}" = set; then
10781 enableval
="$enable_progressdlg"
10783 if test "$enableval" = yes; then
10784 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10786 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10791 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10792 if test "x$LINE" != x
; then
10793 eval "DEFAULT_$LINE"
10798 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802 eval "$ac_cv_use_progressdlg"
10803 if test "$no_cache" != 1; then
10804 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10807 if test "$wxUSE_PROGRESSDLG" = yes; then
10808 echo "$as_me:$LINENO: result: yes" >&5
10809 echo "${ECHO_T}yes" >&6
10811 echo "$as_me:$LINENO: result: no" >&5
10812 echo "${ECHO_T}no" >&6
10817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10818 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10820 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10821 if test "${enable_wizarddlg+set}" = set; then
10822 enableval
="$enable_wizarddlg"
10824 if test "$enableval" = yes; then
10825 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10827 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10832 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10833 if test "x$LINE" != x
; then
10834 eval "DEFAULT_$LINE"
10839 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843 eval "$ac_cv_use_wizarddlg"
10844 if test "$no_cache" != 1; then
10845 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10848 if test "$wxUSE_WIZARDDLG" = yes; then
10849 echo "$as_me:$LINENO: result: yes" >&5
10850 echo "${ECHO_T}yes" >&6
10852 echo "$as_me:$LINENO: result: no" >&5
10853 echo "${ECHO_T}no" >&6
10860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10863 # Check whether --enable-menus or --disable-menus was given.
10864 if test "${enable_menus+set}" = set; then
10865 enableval
="$enable_menus"
10867 if test "$enableval" = yes; then
10868 ac_cv_use_menus
='wxUSE_MENUS=yes'
10870 ac_cv_use_menus
='wxUSE_MENUS=no'
10875 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10876 if test "x$LINE" != x
; then
10877 eval "DEFAULT_$LINE"
10882 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886 eval "$ac_cv_use_menus"
10887 if test "$no_cache" != 1; then
10888 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10891 if test "$wxUSE_MENUS" = yes; then
10892 echo "$as_me:$LINENO: result: yes" >&5
10893 echo "${ECHO_T}yes" >&6
10895 echo "$as_me:$LINENO: result: no" >&5
10896 echo "${ECHO_T}no" >&6
10901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10904 # Check whether --enable-miniframe or --disable-miniframe was given.
10905 if test "${enable_miniframe+set}" = set; then
10906 enableval
="$enable_miniframe"
10908 if test "$enableval" = yes; then
10909 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10911 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10916 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x
; then
10918 eval "DEFAULT_$LINE"
10923 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927 eval "$ac_cv_use_miniframe"
10928 if test "$no_cache" != 1; then
10929 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10932 if test "$wxUSE_MINIFRAME" = yes; then
10933 echo "$as_me:$LINENO: result: yes" >&5
10934 echo "${ECHO_T}yes" >&6
10936 echo "$as_me:$LINENO: result: no" >&5
10937 echo "${ECHO_T}no" >&6
10942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10945 # Check whether --enable-tooltips or --disable-tooltips was given.
10946 if test "${enable_tooltips+set}" = set; then
10947 enableval
="$enable_tooltips"
10949 if test "$enableval" = yes; then
10950 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10952 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10957 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x
; then
10959 eval "DEFAULT_$LINE"
10964 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968 eval "$ac_cv_use_tooltips"
10969 if test "$no_cache" != 1; then
10970 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10973 if test "$wxUSE_TOOLTIPS" = yes; then
10974 echo "$as_me:$LINENO: result: yes" >&5
10975 echo "${ECHO_T}yes" >&6
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10986 # Check whether --enable-splines or --disable-splines was given.
10987 if test "${enable_splines+set}" = set; then
10988 enableval
="$enable_splines"
10990 if test "$enableval" = yes; then
10991 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10993 ac_cv_use_splines
='wxUSE_SPLINES=no'
10998 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10999 if test "x$LINE" != x
; then
11000 eval "DEFAULT_$LINE"
11005 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009 eval "$ac_cv_use_splines"
11010 if test "$no_cache" != 1; then
11011 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11014 if test "$wxUSE_SPLINES" = yes; then
11015 echo "$as_me:$LINENO: result: yes" >&5
11016 echo "${ECHO_T}yes" >&6
11018 echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11025 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11027 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11028 if test "${enable_mousewheel+set}" = set; then
11029 enableval
="$enable_mousewheel"
11031 if test "$enableval" = yes; then
11032 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
11034 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
11039 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11040 if test "x$LINE" != x
; then
11041 eval "DEFAULT_$LINE"
11046 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050 eval "$ac_cv_use_mousewheel"
11051 if test "$no_cache" != 1; then
11052 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11055 if test "$wxUSE_MOUSEWHEEL" = yes; then
11056 echo "$as_me:$LINENO: result: yes" >&5
11057 echo "${ECHO_T}yes" >&6
11059 echo "$as_me:$LINENO: result: no" >&5
11060 echo "${ECHO_T}no" >&6
11065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11068 # Check whether --enable-validators or --disable-validators was given.
11069 if test "${enable_validators+set}" = set; then
11070 enableval
="$enable_validators"
11072 if test "$enableval" = yes; then
11073 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
11075 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
11080 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11081 if test "x$LINE" != x
; then
11082 eval "DEFAULT_$LINE"
11087 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091 eval "$ac_cv_use_validators"
11092 if test "$no_cache" != 1; then
11093 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11096 if test "$wxUSE_VALIDATORS" = yes; then
11097 echo "$as_me:$LINENO: result: yes" >&5
11098 echo "${ECHO_T}yes" >&6
11100 echo "$as_me:$LINENO: result: no" >&5
11101 echo "${ECHO_T}no" >&6
11106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11107 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11109 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11110 if test "${enable_busyinfo+set}" = set; then
11111 enableval
="$enable_busyinfo"
11113 if test "$enableval" = yes; then
11114 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11116 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11121 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11122 if test "x$LINE" != x
; then
11123 eval "DEFAULT_$LINE"
11128 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132 eval "$ac_cv_use_busyinfo"
11133 if test "$no_cache" != 1; then
11134 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11137 if test "$wxUSE_BUSYINFO" = yes; then
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11141 echo "$as_me:$LINENO: result: no" >&5
11142 echo "${ECHO_T}no" >&6
11147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11148 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11150 # Check whether --enable-joystick or --disable-joystick was given.
11151 if test "${enable_joystick+set}" = set; then
11152 enableval
="$enable_joystick"
11154 if test "$enableval" = yes; then
11155 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11157 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11162 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11163 if test "x$LINE" != x
; then
11164 eval "DEFAULT_$LINE"
11169 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173 eval "$ac_cv_use_joystick"
11174 if test "$no_cache" != 1; then
11175 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11178 if test "$wxUSE_JOYSTICK" = yes; then
11179 echo "$as_me:$LINENO: result: yes" >&5
11180 echo "${ECHO_T}yes" >&6
11182 echo "$as_me:$LINENO: result: no" >&5
11183 echo "${ECHO_T}no" >&6
11188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11191 # Check whether --enable-metafile or --disable-metafile was given.
11192 if test "${enable_metafile+set}" = set; then
11193 enableval
="$enable_metafile"
11195 if test "$enableval" = yes; then
11196 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11198 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11203 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11204 if test "x$LINE" != x
; then
11205 eval "DEFAULT_$LINE"
11210 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214 eval "$ac_cv_use_metafile"
11215 if test "$no_cache" != 1; then
11216 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11219 if test "$wxUSE_METAFILE" = yes; then
11220 echo "$as_me:$LINENO: result: yes" >&5
11221 echo "${ECHO_T}yes" >&6
11223 echo "$as_me:$LINENO: result: no" >&5
11224 echo "${ECHO_T}no" >&6
11229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11230 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11232 # Check whether --enable-dragimage or --disable-dragimage was given.
11233 if test "${enable_dragimage+set}" = set; then
11234 enableval
="$enable_dragimage"
11236 if test "$enableval" = yes; then
11237 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11239 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11244 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11245 if test "x$LINE" != x
; then
11246 eval "DEFAULT_$LINE"
11251 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255 eval "$ac_cv_use_dragimage"
11256 if test "$no_cache" != 1; then
11257 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11260 if test "$wxUSE_DRAGIMAGE" = yes; then
11261 echo "$as_me:$LINENO: result: yes" >&5
11262 echo "${ECHO_T}yes" >&6
11264 echo "$as_me:$LINENO: result: no" >&5
11265 echo "${ECHO_T}no" >&6
11270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11273 # Check whether --enable-accessibility or --disable-accessibility was given.
11274 if test "${enable_accessibility+set}" = set; then
11275 enableval
="$enable_accessibility"
11277 if test "$enableval" = yes; then
11278 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11280 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11285 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11286 if test "x$LINE" != x
; then
11287 eval "DEFAULT_$LINE"
11292 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296 eval "$ac_cv_use_accessibility"
11297 if test "$no_cache" != 1; then
11298 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11301 if test "$wxUSE_ACCESSIBILITY" = yes; then
11302 echo "$as_me:$LINENO: result: yes" >&5
11303 echo "${ECHO_T}yes" >&6
11305 echo "$as_me:$LINENO: result: no" >&5
11306 echo "${ECHO_T}no" >&6
11310 if test "$wxUSE_MSW" = "1"; then
11313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11314 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11316 # Check whether --enable-dccache or --disable-dccache was given.
11317 if test "${enable_dccache+set}" = set; then
11318 enableval
="$enable_dccache"
11320 if test "$enableval" = yes; then
11321 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11323 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11328 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11329 if test "x$LINE" != x
; then
11330 eval "DEFAULT_$LINE"
11335 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339 eval "$ac_cv_use_dccache"
11340 if test "$no_cache" != 1; then
11341 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11344 if test "$wxUSE_DC_CACHEING" = yes; then
11345 echo "$as_me:$LINENO: result: yes" >&5
11346 echo "${ECHO_T}yes" >&6
11348 echo "$as_me:$LINENO: result: no" >&5
11349 echo "${ECHO_T}no" >&6
11357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11358 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11360 # Check whether --enable-palette or --disable-palette was given.
11361 if test "${enable_palette+set}" = set; then
11362 enableval
="$enable_palette"
11364 if test "$enableval" = yes; then
11365 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11367 ac_cv_use_palette
='wxUSE_PALETTE=no'
11372 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11373 if test "x$LINE" != x
; then
11374 eval "DEFAULT_$LINE"
11379 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383 eval "$ac_cv_use_palette"
11384 if test "$no_cache" != 1; then
11385 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11388 if test "$wxUSE_PALETTE" = yes; then
11389 echo "$as_me:$LINENO: result: yes" >&5
11390 echo "${ECHO_T}yes" >&6
11392 echo "$as_me:$LINENO: result: no" >&5
11393 echo "${ECHO_T}no" >&6
11398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11399 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11401 # Check whether --enable-image or --disable-image was given.
11402 if test "${enable_image+set}" = set; then
11403 enableval
="$enable_image"
11405 if test "$enableval" = yes; then
11406 ac_cv_use_image
='wxUSE_IMAGE=yes'
11408 ac_cv_use_image
='wxUSE_IMAGE=no'
11413 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11414 if test "x$LINE" != x
; then
11415 eval "DEFAULT_$LINE"
11420 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424 eval "$ac_cv_use_image"
11425 if test "$no_cache" != 1; then
11426 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11429 if test "$wxUSE_IMAGE" = yes; then
11430 echo "$as_me:$LINENO: result: yes" >&5
11431 echo "${ECHO_T}yes" >&6
11433 echo "$as_me:$LINENO: result: no" >&5
11434 echo "${ECHO_T}no" >&6
11439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11440 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11442 # Check whether --enable-gif or --disable-gif was given.
11443 if test "${enable_gif+set}" = set; then
11444 enableval
="$enable_gif"
11446 if test "$enableval" = yes; then
11447 ac_cv_use_gif
='wxUSE_GIF=yes'
11449 ac_cv_use_gif
='wxUSE_GIF=no'
11454 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11455 if test "x$LINE" != x
; then
11456 eval "DEFAULT_$LINE"
11461 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465 eval "$ac_cv_use_gif"
11466 if test "$no_cache" != 1; then
11467 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11470 if test "$wxUSE_GIF" = yes; then
11471 echo "$as_me:$LINENO: result: yes" >&5
11472 echo "${ECHO_T}yes" >&6
11474 echo "$as_me:$LINENO: result: no" >&5
11475 echo "${ECHO_T}no" >&6
11480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11483 # Check whether --enable-pcx or --disable-pcx was given.
11484 if test "${enable_pcx+set}" = set; then
11485 enableval
="$enable_pcx"
11487 if test "$enableval" = yes; then
11488 ac_cv_use_pcx
='wxUSE_PCX=yes'
11490 ac_cv_use_pcx
='wxUSE_PCX=no'
11495 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11496 if test "x$LINE" != x
; then
11497 eval "DEFAULT_$LINE"
11502 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506 eval "$ac_cv_use_pcx"
11507 if test "$no_cache" != 1; then
11508 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11511 if test "$wxUSE_PCX" = yes; then
11512 echo "$as_me:$LINENO: result: yes" >&5
11513 echo "${ECHO_T}yes" >&6
11515 echo "$as_me:$LINENO: result: no" >&5
11516 echo "${ECHO_T}no" >&6
11521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11524 # Check whether --enable-tga or --disable-tga was given.
11525 if test "${enable_tga+set}" = set; then
11526 enableval
="$enable_tga"
11528 if test "$enableval" = yes; then
11529 ac_cv_use_tga
='wxUSE_TGA=yes'
11531 ac_cv_use_tga
='wxUSE_TGA=no'
11536 LINE
=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x
; then
11538 eval "DEFAULT_$LINE"
11543 ac_cv_use_tga
='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547 eval "$ac_cv_use_tga"
11548 if test "$no_cache" != 1; then
11549 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11552 if test "$wxUSE_TGA" = yes; then
11553 echo "$as_me:$LINENO: result: yes" >&5
11554 echo "${ECHO_T}yes" >&6
11556 echo "$as_me:$LINENO: result: no" >&5
11557 echo "${ECHO_T}no" >&6
11562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11565 # Check whether --enable-iff or --disable-iff was given.
11566 if test "${enable_iff+set}" = set; then
11567 enableval
="$enable_iff"
11569 if test "$enableval" = yes; then
11570 ac_cv_use_iff
='wxUSE_IFF=yes'
11572 ac_cv_use_iff
='wxUSE_IFF=no'
11577 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x
; then
11579 eval "DEFAULT_$LINE"
11584 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588 eval "$ac_cv_use_iff"
11589 if test "$no_cache" != 1; then
11590 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11593 if test "$wxUSE_IFF" = yes; then
11594 echo "$as_me:$LINENO: result: yes" >&5
11595 echo "${ECHO_T}yes" >&6
11597 echo "$as_me:$LINENO: result: no" >&5
11598 echo "${ECHO_T}no" >&6
11603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11606 # Check whether --enable-pnm or --disable-pnm was given.
11607 if test "${enable_pnm+set}" = set; then
11608 enableval
="$enable_pnm"
11610 if test "$enableval" = yes; then
11611 ac_cv_use_pnm
='wxUSE_PNM=yes'
11613 ac_cv_use_pnm
='wxUSE_PNM=no'
11618 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11619 if test "x$LINE" != x
; then
11620 eval "DEFAULT_$LINE"
11625 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629 eval "$ac_cv_use_pnm"
11630 if test "$no_cache" != 1; then
11631 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11634 if test "$wxUSE_PNM" = yes; then
11635 echo "$as_me:$LINENO: result: yes" >&5
11636 echo "${ECHO_T}yes" >&6
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11647 # Check whether --enable-xpm or --disable-xpm was given.
11648 if test "${enable_xpm+set}" = set; then
11649 enableval
="$enable_xpm"
11651 if test "$enableval" = yes; then
11652 ac_cv_use_xpm
='wxUSE_XPM=yes'
11654 ac_cv_use_xpm
='wxUSE_XPM=no'
11659 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11660 if test "x$LINE" != x
; then
11661 eval "DEFAULT_$LINE"
11666 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670 eval "$ac_cv_use_xpm"
11671 if test "$no_cache" != 1; then
11672 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11675 if test "$wxUSE_XPM" = yes; then
11676 echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6
11679 echo "$as_me:$LINENO: result: no" >&5
11680 echo "${ECHO_T}no" >&6
11685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11688 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11689 if test "${enable_ico_cur+set}" = set; then
11690 enableval
="$enable_ico_cur"
11692 if test "$enableval" = yes; then
11693 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11695 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11700 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x
; then
11702 eval "DEFAULT_$LINE"
11707 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711 eval "$ac_cv_use_ico_cur"
11712 if test "$no_cache" != 1; then
11713 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11716 if test "$wxUSE_ICO_CUR" = yes; then
11717 echo "$as_me:$LINENO: result: yes" >&5
11718 echo "${ECHO_T}yes" >&6
11720 echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6
11729 # Check whether --with-flavour or --without-flavour was given.
11730 if test "${with_flavour+set}" = set; then
11731 withval
="$with_flavour"
11732 WX_FLAVOUR
="$withval"
11738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11741 # Check whether --enable-official_build or --disable-official_build was given.
11742 if test "${enable_official_build+set}" = set; then
11743 enableval
="$enable_official_build"
11745 if test "$enableval" = yes; then
11746 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11748 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11753 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11754 if test "x$LINE" != x
; then
11755 eval "DEFAULT_$LINE"
11760 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764 eval "$ac_cv_use_official_build"
11765 if test "$no_cache" != 1; then
11766 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11769 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11770 echo "$as_me:$LINENO: result: yes" >&5
11771 echo "${ECHO_T}yes" >&6
11773 echo "$as_me:$LINENO: result: no" >&5
11774 echo "${ECHO_T}no" >&6
11777 # Check whether --enable-vendor or --disable-vendor was given.
11778 if test "${enable_vendor+set}" = set; then
11779 enableval
="$enable_vendor"
11780 VENDOR
="$enableval"
11782 if test "x$VENDOR" = "x"; then
11789 echo "saving argument cache $wx_arg_cache_file"
11790 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11794 echo "$as_me:$LINENO: checking for toolkit" >&5
11795 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11797 # In Wine, we need to default to MSW, not GTK or MOTIF
11798 if test "$wxUSE_WINE" = "yes"; then
11799 DEFAULT_DEFAULT_wxUSE_GTK
=0
11800 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11801 DEFAULT_DEFAULT_wxUSE_MSW
=1
11806 if test "$wxUSE_GUI" = "yes"; then
11808 if test "$USE_BEOS" = 1; then
11809 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11810 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11811 { (exit 1); exit 1; }; }
11814 if test "$TOOLKIT_GIVEN" = 1; then
11815 for toolkit
in `echo $ALL_TOOLKITS`; do
11817 eval "value=\$${var}"
11818 if test "x$value" = "xno"; then
11820 elif test "x$value" != "x"; then
11824 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11825 eval "wx${toolkit}_VERSION=$value"
11829 for toolkit
in `echo $ALL_TOOLKITS`; do
11830 if test "$has_toolkit_in_cache" != 1; then
11831 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11833 var
=DEFAULT_wxUSE_
$toolkit
11835 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11836 if test "x$version" != "x"; then
11837 eval "wx${toolkit}_VERSION=$version"
11840 eval "wxUSE_$toolkit=\$${var}"
11844 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11845 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11846 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11849 *-pc-os2_emx | *-pc-os2-emx )
11850 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11853 case "$NUM_TOOLKITS" in
11857 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11858 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11859 { (exit 1); exit 1; }; }
11862 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11863 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11864 { (exit 1); exit 1; }; }
11867 # to be removed when --disable-gtk2 isn't needed
11868 if test "x$wxUSE_GTK2" = "xyes"; then
11870 elif test "x$wxUSE_GTK2" = "xno"; then
11874 for toolkit
in `echo $ALL_TOOLKITS`; do
11876 eval "value=\$${var}"
11877 if test "x$value" != x
; then
11878 cache_var
=CACHE_
$toolkit
11879 eval "cache=\$${cache_var}"
11880 if test "$cache" = 1; then
11881 echo "$var=$value" >> ${wx_arg_cache_file}
11882 eval "version=\$wx${toolkit}_VERSION"
11883 if test "x$version" != "x"; then
11884 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11887 if test "$value" = 1; then
11888 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11889 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11890 echo "${ECHO_T}$toolkit_echo" >&6
11895 if test "x$host_alias" != "x"; then
11896 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11897 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11899 echo "$as_me:$LINENO: result: base only" >&5
11900 echo "${ECHO_T}base only" >&6
11905 doesnt_want_win32
=0
11908 if test "$wxUSE_MSW" = 1 ; then
11912 ac_cpp
='$CPP $CPPFLAGS'
11913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11916 if test -n "$ac_tool_prefix"; then
11917 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11918 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11919 echo "$as_me:$LINENO: checking for $ac_word" >&5
11920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11921 if test "${ac_cv_prog_CC+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 if test -n "$CC"; then
11925 ac_cv_prog_CC
="$CC" # Let the user override the test.
11927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11928 for as_dir
in $PATH
11931 test -z "$as_dir" && as_dir
=.
11932 for ac_exec_ext
in '' $ac_executable_extensions; do
11933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11934 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11944 if test -n "$CC"; then
11945 echo "$as_me:$LINENO: result: $CC" >&5
11946 echo "${ECHO_T}$CC" >&6
11948 echo "$as_me:$LINENO: result: no" >&5
11949 echo "${ECHO_T}no" >&6
11953 if test -z "$ac_cv_prog_CC"; then
11955 # Extract the first word of "gcc", so it can be a program name with args.
11956 set dummy gcc
; ac_word
=$2
11957 echo "$as_me:$LINENO: checking for $ac_word" >&5
11958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11962 if test -n "$ac_ct_CC"; then
11963 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11966 for as_dir
in $PATH
11969 test -z "$as_dir" && as_dir
=.
11970 for ac_exec_ext
in '' $ac_executable_extensions; do
11971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11972 ac_cv_prog_ac_ct_CC
="gcc"
11973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11981 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11982 if test -n "$ac_ct_CC"; then
11983 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11984 echo "${ECHO_T}$ac_ct_CC" >&6
11986 echo "$as_me:$LINENO: result: no" >&5
11987 echo "${ECHO_T}no" >&6
11992 CC
="$ac_cv_prog_CC"
11995 if test -z "$CC"; then
11996 if test -n "$ac_tool_prefix"; then
11997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11998 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11999 echo "$as_me:$LINENO: checking for $ac_word" >&5
12000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12001 if test "${ac_cv_prog_CC+set}" = set; then
12002 echo $ECHO_N "(cached) $ECHO_C" >&6
12004 if test -n "$CC"; then
12005 ac_cv_prog_CC
="$CC" # Let the user override the test.
12007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12008 for as_dir
in $PATH
12011 test -z "$as_dir" && as_dir
=.
12012 for ac_exec_ext
in '' $ac_executable_extensions; do
12013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12014 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12024 if test -n "$CC"; then
12025 echo "$as_me:$LINENO: result: $CC" >&5
12026 echo "${ECHO_T}$CC" >&6
12028 echo "$as_me:$LINENO: result: no" >&5
12029 echo "${ECHO_T}no" >&6
12033 if test -z "$ac_cv_prog_CC"; then
12035 # Extract the first word of "cc", so it can be a program name with args.
12036 set dummy cc
; ac_word
=$2
12037 echo "$as_me:$LINENO: checking for $ac_word" >&5
12038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12039 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 if test -n "$ac_ct_CC"; then
12043 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12046 for as_dir
in $PATH
12049 test -z "$as_dir" && as_dir
=.
12050 for ac_exec_ext
in '' $ac_executable_extensions; do
12051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12052 ac_cv_prog_ac_ct_CC
="cc"
12053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12061 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12062 if test -n "$ac_ct_CC"; then
12063 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12064 echo "${ECHO_T}$ac_ct_CC" >&6
12066 echo "$as_me:$LINENO: result: no" >&5
12067 echo "${ECHO_T}no" >&6
12072 CC
="$ac_cv_prog_CC"
12076 if test -z "$CC"; then
12077 # Extract the first word of "cc", so it can be a program name with args.
12078 set dummy cc
; ac_word
=$2
12079 echo "$as_me:$LINENO: checking for $ac_word" >&5
12080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12081 if test "${ac_cv_prog_CC+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 if test -n "$CC"; then
12085 ac_cv_prog_CC
="$CC" # Let the user override the test.
12087 ac_prog_rejected
=no
12088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12089 for as_dir
in $PATH
12092 test -z "$as_dir" && as_dir
=.
12093 for ac_exec_ext
in '' $ac_executable_extensions; do
12094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12095 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12096 ac_prog_rejected
=yes
12100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12106 if test $ac_prog_rejected = yes; then
12107 # We found a bogon in the path, so make sure we never use it.
12108 set dummy
$ac_cv_prog_CC
12110 if test $# != 0; then
12111 # We chose a different compiler from the bogus one.
12112 # However, it has the same basename, so the bogon will be chosen
12113 # first if we set CC to just the basename; use the full file name.
12115 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12121 if test -n "$CC"; then
12122 echo "$as_me:$LINENO: result: $CC" >&5
12123 echo "${ECHO_T}$CC" >&6
12125 echo "$as_me:$LINENO: result: no" >&5
12126 echo "${ECHO_T}no" >&6
12130 if test -z "$CC"; then
12131 if test -n "$ac_tool_prefix"; then
12134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12135 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12136 echo "$as_me:$LINENO: checking for $ac_word" >&5
12137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12138 if test "${ac_cv_prog_CC+set}" = set; then
12139 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 if test -n "$CC"; then
12142 ac_cv_prog_CC
="$CC" # Let the user override the test.
12144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12145 for as_dir
in $PATH
12148 test -z "$as_dir" && as_dir
=.
12149 for ac_exec_ext
in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 if test -n "$CC"; then
12162 echo "$as_me:$LINENO: result: $CC" >&5
12163 echo "${ECHO_T}$CC" >&6
12165 echo "$as_me:$LINENO: result: no" >&5
12166 echo "${ECHO_T}no" >&6
12169 test -n "$CC" && break
12172 if test -z "$CC"; then
12176 # Extract the first word of "$ac_prog", so it can be a program name with args.
12177 set dummy
$ac_prog; ac_word
=$2
12178 echo "$as_me:$LINENO: checking for $ac_word" >&5
12179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12181 echo $ECHO_N "(cached) $ECHO_C" >&6
12183 if test -n "$ac_ct_CC"; then
12184 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12187 for as_dir
in $PATH
12190 test -z "$as_dir" && as_dir
=.
12191 for ac_exec_ext
in '' $ac_executable_extensions; do
12192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12193 ac_cv_prog_ac_ct_CC
="$ac_prog"
12194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12202 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12203 if test -n "$ac_ct_CC"; then
12204 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12205 echo "${ECHO_T}$ac_ct_CC" >&6
12207 echo "$as_me:$LINENO: result: no" >&5
12208 echo "${ECHO_T}no" >&6
12211 test -n "$ac_ct_CC" && break
12220 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12221 See \`config.log' for more details." >&5
12222 echo "$as_me: error: no acceptable C compiler found in \$PATH
12223 See \`config.log' for more details." >&2;}
12224 { (exit 1); exit 1; }; }
12226 # Provide some information about the compiler.
12227 echo "$as_me:$LINENO:" \
12228 "checking for C compiler version" >&5
12229 ac_compiler
=`set X $ac_compile; echo $2`
12230 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12231 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }
12235 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12236 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); }
12240 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12241 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); }
12246 cat >conftest.
$ac_ext <<_ACEOF
12249 cat confdefs.h
>>conftest.
$ac_ext
12250 cat >>conftest.
$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12261 ac_clean_files_save
=$ac_clean_files
12262 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12263 # Try to create an executable without -o first, disregard a.out.
12264 # It will help us diagnose broken compilers, and finding out an intuition
12266 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12267 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12268 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12269 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12270 (eval $ac_link_default) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; then
12274 # Find the output, starting from the most likely. This scheme is
12275 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12278 # Be careful to initialize this variable, since it used to be cached.
12279 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12281 # b.out is created by i960 compilers.
12282 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12284 test -f "$ac_file" || continue
12286 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12289 # This is the source file.
12292 # We found the default executable, but exeext='' is most
12296 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12297 # FIXME: I believe we export ac_cv_exeext for Libtool,
12298 # but it would be cool to find out if it's true. Does anybody
12299 # maintain Libtool? --akim.
12300 export ac_cv_exeext
12307 echo "$as_me: failed program was:" >&5
12308 sed 's/^/| /' conftest.
$ac_ext >&5
12310 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12311 See \`config.log' for more details." >&5
12312 echo "$as_me: error: C compiler cannot create executables
12313 See \`config.log' for more details." >&2;}
12314 { (exit 77); exit 77; }; }
12317 ac_exeext
=$ac_cv_exeext
12318 echo "$as_me:$LINENO: result: $ac_file" >&5
12319 echo "${ECHO_T}$ac_file" >&6
12321 # Check the compiler produces executables we can run. If not, either
12322 # the compiler is broken, or we cross compile.
12323 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12324 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12325 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12326 # If not cross compiling, check that we can run a simple program.
12327 if test "$cross_compiling" != yes; then
12328 if { ac_try
='./$ac_file'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; }; then
12336 if test "$cross_compiling" = maybe
; then
12337 cross_compiling
=yes
12339 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12340 If you meant to cross compile, use \`--host'.
12341 See \`config.log' for more details." >&5
12342 echo "$as_me: error: cannot run C compiled programs.
12343 If you meant to cross compile, use \`--host'.
12344 See \`config.log' for more details." >&2;}
12345 { (exit 1); exit 1; }; }
12349 echo "$as_me:$LINENO: result: yes" >&5
12350 echo "${ECHO_T}yes" >&6
12352 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12353 ac_clean_files
=$ac_clean_files_save
12354 # Check the compiler produces executables we can run. If not, either
12355 # the compiler is broken, or we cross compile.
12356 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12357 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12358 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12359 echo "${ECHO_T}$cross_compiling" >&6
12361 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12362 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12364 (eval $ac_link) 2>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); }; then
12368 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12369 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12370 # work properly (i.e., refer to `conftest.exe'), while it won't with
12372 for ac_file
in conftest.exe conftest conftest.
*; do
12373 test -f "$ac_file" || continue
12375 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12376 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12377 export ac_cv_exeext
12383 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12384 See \`config.log' for more details." >&5
12385 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12386 See \`config.log' for more details." >&2;}
12387 { (exit 1); exit 1; }; }
12390 rm -f conftest
$ac_cv_exeext
12391 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12392 echo "${ECHO_T}$ac_cv_exeext" >&6
12394 rm -f conftest.
$ac_ext
12395 EXEEXT
=$ac_cv_exeext
12397 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12398 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12399 if test "${ac_cv_objext+set}" = set; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 cat >conftest.
$ac_ext <<_ACEOF
12405 cat confdefs.h
>>conftest.
$ac_ext
12406 cat >>conftest.
$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12417 rm -f conftest.o conftest.obj
12418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12419 (eval $ac_compile) 2>&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; then
12423 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12425 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12426 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.
$ac_ext >&5
12434 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12435 See \`config.log' for more details." >&5
12436 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12437 See \`config.log' for more details." >&2;}
12438 { (exit 1); exit 1; }; }
12441 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12443 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12444 echo "${ECHO_T}$ac_cv_objext" >&6
12445 OBJEXT
=$ac_cv_objext
12447 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12448 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12449 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12452 cat >conftest.
$ac_ext <<_ACEOF
12455 cat confdefs.h
>>conftest.
$ac_ext
12456 cat >>conftest.
$ac_ext <<_ACEOF
12457 /* end confdefs.h. */
12470 rm -f conftest.
$ac_objext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12472 (eval $ac_compile) 2>conftest.er1
12474 grep -v '^ *+' conftest.er1
>conftest.err
12476 cat conftest.err
>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; } &&
12485 { ac_try
='test -s conftest.$ac_objext'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 ac_compiler_gnu
=yes
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.
$ac_ext >&5
12498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12499 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12502 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12503 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12504 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12505 ac_test_CFLAGS
=${CFLAGS+set}
12506 ac_save_CFLAGS
=$CFLAGS
12508 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12509 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12510 if test "${ac_cv_prog_cc_g+set}" = set; then
12511 echo $ECHO_N "(cached) $ECHO_C" >&6
12513 cat >conftest.
$ac_ext <<_ACEOF
12516 cat confdefs.h
>>conftest.
$ac_ext
12517 cat >>conftest.
$ac_ext <<_ACEOF
12518 /* end confdefs.h. */
12528 rm -f conftest.
$ac_objext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12530 (eval $ac_compile) 2>conftest.er1
12532 grep -v '^ *+' conftest.er1
>conftest.err
12534 cat conftest.err
>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; } &&
12543 { ac_try
='test -s conftest.$ac_objext'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; }; then
12549 ac_cv_prog_cc_g
=yes
12551 echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.
$ac_ext >&5
12556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12558 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12559 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12560 if test "$ac_test_CFLAGS" = set; then
12561 CFLAGS
=$ac_save_CFLAGS
12562 elif test $ac_cv_prog_cc_g = yes; then
12563 if test "$GCC" = yes; then
12569 if test "$GCC" = yes; then
12575 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12576 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12577 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12580 ac_cv_prog_cc_stdc
=no
12582 cat >conftest.
$ac_ext <<_ACEOF
12585 cat confdefs.h
>>conftest.
$ac_ext
12586 cat >>conftest.
$ac_ext <<_ACEOF
12587 /* end confdefs.h. */
12588 #include <stdarg.h>
12590 #include <sys/types.h>
12591 #include <sys/stat.h>
12592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12593 struct buf { int x; };
12594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12595 static char *e (p, i)
12601 static char *f (char * (*g) (char **, int), char **p, ...)
12606 s = g (p, va_arg (v,int));
12611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12612 function prototypes and stuff, but not '\xHH' hex character constants.
12613 These don't provoke an error unfortunately, instead are silently treated
12614 as 'x'. The following induces an error, until -std1 is added to get
12615 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12616 array size at least. It's necessary to write '\x00'==0 to get something
12617 that's true only with -std1. */
12618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12620 int test (int i, double x);
12621 struct s1 {int (*f) (int a);};
12622 struct s2 {int (*f) (double a);};
12623 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12629 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12634 # Don't try gcc -ansi; that turns off useful extensions and
12635 # breaks some systems' header files.
12636 # AIX -qlanglvl=ansi
12637 # Ultrix and OSF/1 -std1
12638 # HP-UX 10.20 and later -Ae
12639 # HP-UX older versions -Aa -D_HPUX_SOURCE
12640 # SVR4 -Xc -D__EXTENSIONS__
12641 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12643 CC
="$ac_save_CC $ac_arg"
12644 rm -f conftest.
$ac_objext
12645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12646 (eval $ac_compile) 2>conftest.er1
12648 grep -v '^ *+' conftest.er1
>conftest.err
12650 cat conftest.err
>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } &&
12653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; } &&
12659 { ac_try
='test -s conftest.$ac_objext'
12660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12661 (eval $ac_try) 2>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; }; then
12665 ac_cv_prog_cc_stdc
=$ac_arg
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.
$ac_ext >&5
12672 rm -f conftest.err conftest.
$ac_objext
12674 rm -f conftest.
$ac_ext conftest.
$ac_objext
12679 case "x$ac_cv_prog_cc_stdc" in
12681 echo "$as_me:$LINENO: result: none needed" >&5
12682 echo "${ECHO_T}none needed" >&6 ;;
12684 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12685 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12686 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12689 # Some people use a C++ compiler to compile C. Since we use `exit',
12690 # in C++ we need to declare it. In case someone uses the same compiler
12691 # for both compiling C and C++ we need to have the C++ compiler decide
12692 # the declaration of exit, since it's the most demanding environment.
12693 cat >conftest.
$ac_ext <<_ACEOF
12694 #ifndef __cplusplus
12698 rm -f conftest.
$ac_objext
12699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12700 (eval $ac_compile) 2>conftest.er1
12702 grep -v '^ *+' conftest.er1
>conftest.err
12704 cat conftest.err
>&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); } &&
12707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12709 (eval $ac_try) 2>&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); }; } &&
12713 { ac_try
='test -s conftest.$ac_objext'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; }; then
12719 for ac_declaration
in \
12721 'extern "C" void std::exit (int) throw (); using std::exit;' \
12722 'extern "C" void std::exit (int); using std::exit;' \
12723 'extern "C" void exit (int) throw ();' \
12724 'extern "C" void exit (int);' \
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12734 #include <stdlib.h>
12743 rm -f conftest.
$ac_objext
12744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12745 (eval $ac_compile) 2>conftest.er1
12747 grep -v '^ *+' conftest.er1
>conftest.err
12749 cat conftest.err
>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } &&
12752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try
='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12766 echo "$as_me: failed program was:" >&5
12767 sed 's/^/| /' conftest.
$ac_ext >&5
12771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12772 cat >conftest.
$ac_ext <<_ACEOF
12775 cat confdefs.h
>>conftest.
$ac_ext
12776 cat >>conftest.
$ac_ext <<_ACEOF
12777 /* end confdefs.h. */
12787 rm -f conftest.
$ac_objext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12789 (eval $ac_compile) 2>conftest.er1
12791 grep -v '^ *+' conftest.er1
>conftest.err
12793 cat conftest.err
>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } &&
12796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; } &&
12802 { ac_try
='test -s conftest.$ac_objext'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; }; then
12810 echo "$as_me: failed program was:" >&5
12811 sed 's/^/| /' conftest.
$ac_ext >&5
12814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12817 if test -n "$ac_declaration"; then
12818 echo '#ifdef __cplusplus' >>confdefs.h
12819 echo $ac_declaration >>confdefs.h
12820 echo '#endif' >>confdefs.h
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.
$ac_ext >&5
12828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12830 ac_cpp
='$CPP $CPPFLAGS'
12831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12836 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
12837 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
12838 if test "${wx_cv_nocygwin+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12842 cat >conftest.
$ac_ext <<_ACEOF
12845 cat confdefs.h
>>conftest.
$ac_ext
12846 cat >>conftest.
$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12861 rm -f conftest.
$ac_objext
12862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12863 (eval $ac_compile) 2>conftest.er1
12865 grep -v '^ *+' conftest.er1
>conftest.err
12867 cat conftest.err
>&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } &&
12870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12872 (eval $ac_try) 2>&5
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); }; } &&
12876 { ac_try
='test -s conftest.$ac_objext'
12877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12878 (eval $ac_try) 2>&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); }; }; then
12884 echo "$as_me: failed program was:" >&5
12885 sed 's/^/| /' conftest.
$ac_ext >&5
12890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12894 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
12895 echo "${ECHO_T}$wx_cv_nocygwin" >&6
12897 if test "$wx_cv_nocygwin" = "yes"; then
12900 doesnt_want_win32
=1
12903 if test "$wants_win32" = 1 ; then
12904 BAKEFILE_FORCE_PLATFORM
=win32
12912 if test "$wxUSE_WINE" = "yes"; then
12916 LDFLAGS_GUI
="-mwindows"
12919 if test "$wants_win32" = 1 ; then
12922 cat >>confdefs.h
<<\_ACEOF
12923 #define __WIN32__ 1
12926 cat >>confdefs.h
<<\_ACEOF
12927 #define __WIN95__ 1
12930 cat >>confdefs.h
<<\_ACEOF
12931 #define __WINDOWS__ 1
12934 cat >>confdefs.h
<<\_ACEOF
12935 #define __GNUWIN32__ 1
12938 cat >>confdefs.h
<<\_ACEOF
12943 if test "$doesnt_want_win32" = 1 ; then
12948 if test "$USE_UNIX" = 1 ; then
12950 cat >>confdefs.h
<<\_ACEOF
12957 cat >confcache
<<\_ACEOF
12958 # This file is a shell script that caches the results of configure
12959 # tests run on this system so they can be shared between configure
12960 # scripts and configure runs, see configure's option --config-cache.
12961 # It is not useful on other systems. If it contains results you don't
12962 # want to keep, you may remove or edit it.
12964 # config.status only pays attention to the cache file if you give it
12965 # the --recheck option to rerun configure.
12967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12969 # following values.
12973 # The following way of writing the cache mishandles newlines in values,
12974 # but we know of no workaround that is simple, portable, and efficient.
12975 # So, don't put newlines in cache variables' values.
12976 # Ultrix sh set writes to stderr and can't be redirected directly,
12977 # and sets the high bit in the cache file unless we assign to the vars.
12980 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12982 # `set' does not quote correctly, so add quotes (double-quote
12983 # substitution turns \\\\ into \\, and sed turns \\ into \).
12986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12989 # `set' quotes correctly as required by POSIX, so do not add quotes.
12991 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13000 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13002 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
13003 if test -w $cache_file; then
13004 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13005 cat confcache
>$cache_file
13007 echo "not updating unwritable cache $cache_file"
13016 ac_cpp
='$CPP $CPPFLAGS'
13017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13020 if test -n "$ac_tool_prefix"; then
13021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13022 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13023 echo "$as_me:$LINENO: checking for $ac_word" >&5
13024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13025 if test "${ac_cv_prog_CC+set}" = set; then
13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 if test -n "$CC"; then
13029 ac_cv_prog_CC
="$CC" # Let the user override the test.
13031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13032 for as_dir
in $PATH
13035 test -z "$as_dir" && as_dir
=.
13036 for ac_exec_ext
in '' $ac_executable_extensions; do
13037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13038 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13048 if test -n "$CC"; then
13049 echo "$as_me:$LINENO: result: $CC" >&5
13050 echo "${ECHO_T}$CC" >&6
13052 echo "$as_me:$LINENO: result: no" >&5
13053 echo "${ECHO_T}no" >&6
13057 if test -z "$ac_cv_prog_CC"; then
13059 # Extract the first word of "gcc", so it can be a program name with args.
13060 set dummy gcc
; ac_word
=$2
13061 echo "$as_me:$LINENO: checking for $ac_word" >&5
13062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13064 echo $ECHO_N "(cached) $ECHO_C" >&6
13066 if test -n "$ac_ct_CC"; then
13067 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13070 for as_dir
in $PATH
13073 test -z "$as_dir" && as_dir
=.
13074 for ac_exec_ext
in '' $ac_executable_extensions; do
13075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13076 ac_cv_prog_ac_ct_CC
="gcc"
13077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13085 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13086 if test -n "$ac_ct_CC"; then
13087 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13088 echo "${ECHO_T}$ac_ct_CC" >&6
13090 echo "$as_me:$LINENO: result: no" >&5
13091 echo "${ECHO_T}no" >&6
13096 CC
="$ac_cv_prog_CC"
13099 if test -z "$CC"; then
13100 if test -n "$ac_tool_prefix"; then
13101 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13102 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13103 echo "$as_me:$LINENO: checking for $ac_word" >&5
13104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13105 if test "${ac_cv_prog_CC+set}" = set; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 if test -n "$CC"; then
13109 ac_cv_prog_CC
="$CC" # Let the user override the test.
13111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13112 for as_dir
in $PATH
13115 test -z "$as_dir" && as_dir
=.
13116 for ac_exec_ext
in '' $ac_executable_extensions; do
13117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13118 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13128 if test -n "$CC"; then
13129 echo "$as_me:$LINENO: result: $CC" >&5
13130 echo "${ECHO_T}$CC" >&6
13132 echo "$as_me:$LINENO: result: no" >&5
13133 echo "${ECHO_T}no" >&6
13137 if test -z "$ac_cv_prog_CC"; then
13139 # Extract the first word of "cc", so it can be a program name with args.
13140 set dummy cc
; ac_word
=$2
13141 echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13143 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 if test -n "$ac_ct_CC"; then
13147 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13150 for as_dir
in $PATH
13153 test -z "$as_dir" && as_dir
=.
13154 for ac_exec_ext
in '' $ac_executable_extensions; do
13155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13156 ac_cv_prog_ac_ct_CC
="cc"
13157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13165 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13166 if test -n "$ac_ct_CC"; then
13167 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13168 echo "${ECHO_T}$ac_ct_CC" >&6
13170 echo "$as_me:$LINENO: result: no" >&5
13171 echo "${ECHO_T}no" >&6
13176 CC
="$ac_cv_prog_CC"
13180 if test -z "$CC"; then
13181 # Extract the first word of "cc", so it can be a program name with args.
13182 set dummy cc
; ac_word
=$2
13183 echo "$as_me:$LINENO: checking for $ac_word" >&5
13184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13185 if test "${ac_cv_prog_CC+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 if test -n "$CC"; then
13189 ac_cv_prog_CC
="$CC" # Let the user override the test.
13191 ac_prog_rejected
=no
13192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13193 for as_dir
in $PATH
13196 test -z "$as_dir" && as_dir
=.
13197 for ac_exec_ext
in '' $ac_executable_extensions; do
13198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13200 ac_prog_rejected
=yes
13204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13210 if test $ac_prog_rejected = yes; then
13211 # We found a bogon in the path, so make sure we never use it.
13212 set dummy
$ac_cv_prog_CC
13214 if test $# != 0; then
13215 # We chose a different compiler from the bogus one.
13216 # However, it has the same basename, so the bogon will be chosen
13217 # first if we set CC to just the basename; use the full file name.
13219 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13225 if test -n "$CC"; then
13226 echo "$as_me:$LINENO: result: $CC" >&5
13227 echo "${ECHO_T}$CC" >&6
13229 echo "$as_me:$LINENO: result: no" >&5
13230 echo "${ECHO_T}no" >&6
13234 if test -z "$CC"; then
13235 if test -n "$ac_tool_prefix"; then
13238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13239 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13240 echo "$as_me:$LINENO: checking for $ac_word" >&5
13241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13242 if test "${ac_cv_prog_CC+set}" = set; then
13243 echo $ECHO_N "(cached) $ECHO_C" >&6
13245 if test -n "$CC"; then
13246 ac_cv_prog_CC
="$CC" # Let the user override the test.
13248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13249 for as_dir
in $PATH
13252 test -z "$as_dir" && as_dir
=.
13253 for ac_exec_ext
in '' $ac_executable_extensions; do
13254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13255 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13265 if test -n "$CC"; then
13266 echo "$as_me:$LINENO: result: $CC" >&5
13267 echo "${ECHO_T}$CC" >&6
13269 echo "$as_me:$LINENO: result: no" >&5
13270 echo "${ECHO_T}no" >&6
13273 test -n "$CC" && break
13276 if test -z "$CC"; then
13280 # Extract the first word of "$ac_prog", so it can be a program name with args.
13281 set dummy
$ac_prog; ac_word
=$2
13282 echo "$as_me:$LINENO: checking for $ac_word" >&5
13283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13287 if test -n "$ac_ct_CC"; then
13288 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13291 for as_dir
in $PATH
13294 test -z "$as_dir" && as_dir
=.
13295 for ac_exec_ext
in '' $ac_executable_extensions; do
13296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13297 ac_cv_prog_ac_ct_CC
="$ac_prog"
13298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13306 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13307 if test -n "$ac_ct_CC"; then
13308 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13309 echo "${ECHO_T}$ac_ct_CC" >&6
13311 echo "$as_me:$LINENO: result: no" >&5
13312 echo "${ECHO_T}no" >&6
13315 test -n "$ac_ct_CC" && break
13324 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13325 See \`config.log' for more details." >&5
13326 echo "$as_me: error: no acceptable C compiler found in \$PATH
13327 See \`config.log' for more details." >&2;}
13328 { (exit 1); exit 1; }; }
13330 # Provide some information about the compiler.
13331 echo "$as_me:$LINENO:" \
13332 "checking for C compiler version" >&5
13333 ac_compiler
=`set X $ac_compile; echo $2`
13334 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13335 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); }
13339 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13340 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); }
13344 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13345 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }
13350 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13351 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
13352 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13355 cat >conftest.
$ac_ext <<_ACEOF
13358 cat confdefs.h
>>conftest.
$ac_ext
13359 cat >>conftest.
$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13373 rm -f conftest.
$ac_objext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>conftest.er1
13377 grep -v '^ *+' conftest.er1
>conftest.err
13379 cat conftest.err
>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } &&
13382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; } &&
13388 { ac_try
='test -s conftest.$ac_objext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 ac_compiler_gnu
=yes
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.
$ac_ext >&5
13401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13402 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
13405 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13406 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
13407 GCC
=`test $ac_compiler_gnu = yes && echo yes`
13408 ac_test_CFLAGS
=${CFLAGS+set}
13409 ac_save_CFLAGS
=$CFLAGS
13411 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13412 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13413 if test "${ac_cv_prog_cc_g+set}" = set; then
13414 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 cat >conftest.
$ac_ext <<_ACEOF
13419 cat confdefs.h
>>conftest.
$ac_ext
13420 cat >>conftest.
$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13431 rm -f conftest.
$ac_objext
13432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13433 (eval $ac_compile) 2>conftest.er1
13435 grep -v '^ *+' conftest.er1
>conftest.err
13437 cat conftest.err
>&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } &&
13440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442 (eval $ac_try) 2>&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; } &&
13446 { ac_try
='test -s conftest.$ac_objext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 ac_cv_prog_cc_g
=yes
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.
$ac_ext >&5
13459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13461 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13462 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13463 if test "$ac_test_CFLAGS" = set; then
13464 CFLAGS
=$ac_save_CFLAGS
13465 elif test $ac_cv_prog_cc_g = yes; then
13466 if test "$GCC" = yes; then
13472 if test "$GCC" = yes; then
13478 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
13479 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
13480 if test "${ac_cv_prog_cc_stdc+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 ac_cv_prog_cc_stdc
=no
13485 cat >conftest.
$ac_ext <<_ACEOF
13488 cat confdefs.h
>>conftest.
$ac_ext
13489 cat >>conftest.
$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13491 #include <stdarg.h>
13493 #include <sys/types.h>
13494 #include <sys/stat.h>
13495 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13496 struct buf { int x; };
13497 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13498 static char *e (p, i)
13504 static char *f (char * (*g) (char **, int), char **p, ...)
13509 s = g (p, va_arg (v,int));
13514 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13515 function prototypes and stuff, but not '\xHH' hex character constants.
13516 These don't provoke an error unfortunately, instead are silently treated
13517 as 'x'. The following induces an error, until -std1 is added to get
13518 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13519 array size at least. It's necessary to write '\x00'==0 to get something
13520 that's true only with -std1. */
13521 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13523 int test (int i, double x);
13524 struct s1 {int (*f) (int a);};
13525 struct s2 {int (*f) (double a);};
13526 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13532 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13537 # Don't try gcc -ansi; that turns off useful extensions and
13538 # breaks some systems' header files.
13539 # AIX -qlanglvl=ansi
13540 # Ultrix and OSF/1 -std1
13541 # HP-UX 10.20 and later -Ae
13542 # HP-UX older versions -Aa -D_HPUX_SOURCE
13543 # SVR4 -Xc -D__EXTENSIONS__
13544 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13546 CC
="$ac_save_CC $ac_arg"
13547 rm -f conftest.
$ac_objext
13548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13549 (eval $ac_compile) 2>conftest.er1
13551 grep -v '^ *+' conftest.er1
>conftest.err
13553 cat conftest.err
>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } &&
13556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; } &&
13562 { ac_try
='test -s conftest.$ac_objext'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; }; then
13568 ac_cv_prog_cc_stdc
=$ac_arg
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.
$ac_ext >&5
13575 rm -f conftest.err conftest.
$ac_objext
13577 rm -f conftest.
$ac_ext conftest.
$ac_objext
13582 case "x$ac_cv_prog_cc_stdc" in
13584 echo "$as_me:$LINENO: result: none needed" >&5
13585 echo "${ECHO_T}none needed" >&6 ;;
13587 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
13588 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
13589 CC
="$CC $ac_cv_prog_cc_stdc" ;;
13592 # Some people use a C++ compiler to compile C. Since we use `exit',
13593 # in C++ we need to declare it. In case someone uses the same compiler
13594 # for both compiling C and C++ we need to have the C++ compiler decide
13595 # the declaration of exit, since it's the most demanding environment.
13596 cat >conftest.
$ac_ext <<_ACEOF
13597 #ifndef __cplusplus
13601 rm -f conftest.
$ac_objext
13602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13603 (eval $ac_compile) 2>conftest.er1
13605 grep -v '^ *+' conftest.er1
>conftest.err
13607 cat conftest.err
>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } &&
13610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; } &&
13616 { ac_try
='test -s conftest.$ac_objext'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13622 for ac_declaration
in \
13624 'extern "C" void std::exit (int) throw (); using std::exit;' \
13625 'extern "C" void std::exit (int); using std::exit;' \
13626 'extern "C" void exit (int) throw ();' \
13627 'extern "C" void exit (int);' \
13630 cat >conftest.
$ac_ext <<_ACEOF
13633 cat confdefs.h
>>conftest.
$ac_ext
13634 cat >>conftest.
$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13637 #include <stdlib.h>
13646 rm -f conftest.
$ac_objext
13647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13648 (eval $ac_compile) 2>conftest.er1
13650 grep -v '^ *+' conftest.er1
>conftest.err
13652 cat conftest.err
>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } &&
13655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13657 (eval $ac_try) 2>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; } &&
13661 { ac_try
='test -s conftest.$ac_objext'
13662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13663 (eval $ac_try) 2>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; }; then
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.
$ac_ext >&5
13674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13675 cat >conftest.
$ac_ext <<_ACEOF
13678 cat confdefs.h
>>conftest.
$ac_ext
13679 cat >>conftest.
$ac_ext <<_ACEOF
13680 /* end confdefs.h. */
13690 rm -f conftest.
$ac_objext
13691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13692 (eval $ac_compile) 2>conftest.er1
13694 grep -v '^ *+' conftest.er1
>conftest.err
13696 cat conftest.err
>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } &&
13699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; } &&
13705 { ac_try
='test -s conftest.$ac_objext'
13706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707 (eval $ac_try) 2>&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); }; }; then
13713 echo "$as_me: failed program was:" >&5
13714 sed 's/^/| /' conftest.
$ac_ext >&5
13717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13720 if test -n "$ac_declaration"; then
13721 echo '#ifdef __cplusplus' >>confdefs.h
13722 echo $ac_declaration >>confdefs.h
13723 echo '#endif' >>confdefs.h
13727 echo "$as_me: failed program was:" >&5
13728 sed 's/^/| /' conftest.
$ac_ext >&5
13731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13733 ac_cpp
='$CPP $CPPFLAGS'
13734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13741 ac_cpp
='$CPP $CPPFLAGS'
13742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13746 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13747 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13748 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 cat >conftest.
$ac_ext <<_ACEOF
13754 cat confdefs.h
>>conftest.
$ac_ext
13755 cat >>conftest.
$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13762 #ifndef __INTEL_COMPILER
13770 rm -f conftest.
$ac_objext
13771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13772 (eval $ac_compile) 2>conftest.er1
13774 grep -v '^ *+' conftest.er1
>conftest.err
13776 cat conftest.err
>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); } &&
13779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; } &&
13785 { ac_try
='test -s conftest.$ac_objext'
13786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13787 (eval $ac_try) 2>&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); }; }; then
13791 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.
$ac_ext >&5
13796 bakefile_cv_c_compiler___INTEL_COMPILER
=no
13799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13803 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13804 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13806 ac_cpp
='$CPP $CPPFLAGS'
13807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13811 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13818 if test "x$GCC" != "xyes"; then
13819 if test "xCC" = "xC"; then
13820 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13821 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13822 if test "${bakefile_cv_c_exto+set}" = set; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 cat >conftest.
$ac_ext <<_ACEOF
13828 cat confdefs.h
>>conftest.
$ac_ext
13829 cat >>conftest.
$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13840 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; then
13846 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13848 conftest.
$ac_ext.o
)
13849 bakefile_cv_c_exto
="-ext o"
13856 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13857 See \`config.log' for more details." >&5
13858 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13859 See \`config.log' for more details." >&2;}
13860 { (exit 1); exit 1; }; }
13864 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13867 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13868 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13869 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13870 if test "c" = "c"; then
13871 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13873 if test "c" = "cxx"; then
13874 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13878 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13879 unset ac_cv_prog_cc_g
13880 ac_test_CFLAGS
=${CFLAGS+set}
13881 ac_save_CFLAGS
=$CFLAGS
13883 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13884 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13885 if test "${ac_cv_prog_cc_g+set}" = set; then
13886 echo $ECHO_N "(cached) $ECHO_C" >&6
13888 cat >conftest.
$ac_ext <<_ACEOF
13891 cat confdefs.h
>>conftest.
$ac_ext
13892 cat >>conftest.
$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13903 rm -f conftest.
$ac_objext
13904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13905 (eval $ac_compile) 2>conftest.er1
13907 grep -v '^ *+' conftest.er1
>conftest.err
13909 cat conftest.err
>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } &&
13912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; } &&
13918 { ac_try
='test -s conftest.$ac_objext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 ac_cv_prog_cc_g
=yes
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.
$ac_ext >&5
13931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13933 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13935 if test "$ac_test_CFLAGS" = set; then
13936 CFLAGS
=$ac_save_CFLAGS
13937 elif test $ac_cv_prog_cc_g = yes; then
13938 if test "$GCC" = yes; then
13944 if test "$GCC" = yes; then
13956 ac_cpp
='$CPP $CPPFLAGS'
13957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13961 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13962 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13963 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13964 echo $ECHO_N "(cached) $ECHO_C" >&6
13966 cat >conftest.
$ac_ext <<_ACEOF
13969 cat confdefs.h
>>conftest.
$ac_ext
13970 cat >>conftest.
$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13984 rm -f conftest.
$ac_objext
13985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13986 (eval $ac_compile) 2>conftest.er1
13988 grep -v '^ *+' conftest.er1
>conftest.err
13990 cat conftest.err
>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); } &&
13993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } &&
13999 { ac_try
='test -s conftest.$ac_objext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 bakefile_compiler_xlc
=yes
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.
$ac_ext >&5
14010 bakefile_compiler_xlc
=no
14012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14013 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
14016 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14017 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
14019 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14021 ac_cpp
='$CPP $CPPFLAGS'
14022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14031 ac_cpp
='$CPP $CPPFLAGS'
14032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14036 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14037 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
14038 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 cat >conftest.
$ac_ext <<_ACEOF
14044 cat confdefs.h
>>conftest.
$ac_ext
14045 cat >>conftest.
$ac_ext <<_ACEOF
14046 /* end confdefs.h. */
14059 rm -f conftest.
$ac_objext
14060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14061 (eval $ac_compile) 2>conftest.er1
14063 grep -v '^ *+' conftest.er1
>conftest.err
14065 cat conftest.err
>&5
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); } &&
14068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14070 (eval $ac_try) 2>&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }; } &&
14074 { ac_try
='test -s conftest.$ac_objext'
14075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14076 (eval $ac_try) 2>&5
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); }; }; then
14080 bakefile_compiler_mwerks
=yes
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.
$ac_ext >&5
14085 bakefile_compiler_mwerks
=no
14087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14088 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
14091 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14092 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
14094 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14096 ac_cpp
='$CPP $CPPFLAGS'
14097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14103 ac_cpp
='$CPP $CPPFLAGS'
14104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14108 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14109 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
14110 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14113 cat >conftest.
$ac_ext <<_ACEOF
14116 cat confdefs.h
>>conftest.
$ac_ext
14117 cat >>conftest.
$ac_ext <<_ACEOF
14118 /* end confdefs.h. */
14131 rm -f conftest.
$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133 (eval $ac_compile) 2>conftest.er1
14135 grep -v '^ *+' conftest.er1
>conftest.err
14137 cat conftest.err
>&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); } &&
14140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try
='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 bakefile_compiler_xlc
=yes
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.
$ac_ext >&5
14157 bakefile_compiler_xlc
=no
14159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14160 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
14163 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14164 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
14166 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14168 ac_cpp
='$CPP $CPPFLAGS'
14169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14180 ac_cpp
='$CPP $CPPFLAGS'
14181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14185 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14186 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
14187 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14190 cat >conftest.
$ac_ext <<_ACEOF
14193 cat confdefs.h
>>conftest.
$ac_ext
14194 cat >>conftest.
$ac_ext <<_ACEOF
14195 /* end confdefs.h. */
14201 #ifndef _SGI_COMPILER_VERSION
14209 rm -f conftest.
$ac_objext
14210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14211 (eval $ac_compile) 2>conftest.er1
14213 grep -v '^ *+' conftest.er1
>conftest.err
14215 cat conftest.err
>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); } &&
14218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; } &&
14224 { ac_try
='test -s conftest.$ac_objext'
14225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226 (eval $ac_try) 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; }; then
14230 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
14232 echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.
$ac_ext >&5
14235 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
14238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14242 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14243 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
14245 ac_cpp
='$CPP $CPPFLAGS'
14246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14250 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14263 ac_cpp
='$CPP $CPPFLAGS'
14264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14268 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14269 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
14270 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 cat >conftest.
$ac_ext <<_ACEOF
14276 cat confdefs.h
>>conftest.
$ac_ext
14277 cat >>conftest.
$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14292 rm -f conftest.
$ac_objext
14293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14294 (eval $ac_compile) 2>conftest.er1
14296 grep -v '^ *+' conftest.er1
>conftest.err
14298 cat conftest.err
>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); } &&
14301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; } &&
14307 { ac_try
='test -s conftest.$ac_objext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 bakefile_cv_c_compiler___HP_cc
=yes
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.
$ac_ext >&5
14318 bakefile_cv_c_compiler___HP_cc
=no
14321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14325 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14326 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
14328 ac_cpp
='$CPP $CPPFLAGS'
14329 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14330 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14331 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14333 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14346 ac_cpp
='$CPP $CPPFLAGS'
14347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14351 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14352 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
14353 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 cat >conftest.
$ac_ext <<_ACEOF
14359 cat confdefs.h
>>conftest.
$ac_ext
14360 cat >>conftest.
$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14375 rm -f conftest.
$ac_objext
14376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14377 (eval $ac_compile) 2>conftest.er1
14379 grep -v '^ *+' conftest.er1
>conftest.err
14381 cat conftest.err
>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); } &&
14384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; } &&
14390 { ac_try
='test -s conftest.$ac_objext'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14396 bakefile_cv_c_compiler___DECC
=yes
14398 echo "$as_me: failed program was:" >&5
14399 sed 's/^/| /' conftest.
$ac_ext >&5
14401 bakefile_cv_c_compiler___DECC
=no
14404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14408 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14409 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
14411 ac_cpp
='$CPP $CPPFLAGS'
14412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14416 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14429 ac_cpp
='$CPP $CPPFLAGS'
14430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14434 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14435 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
14436 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 cat >conftest.
$ac_ext <<_ACEOF
14442 cat confdefs.h
>>conftest.
$ac_ext
14443 cat >>conftest.
$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14458 rm -f conftest.
$ac_objext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14460 (eval $ac_compile) 2>conftest.er1
14462 grep -v '^ *+' conftest.er1
>conftest.err
14464 cat conftest.err
>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } &&
14467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try
='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 bakefile_cv_c_compiler___SUNPRO_C
=yes
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.
$ac_ext >&5
14484 bakefile_cv_c_compiler___SUNPRO_C
=no
14487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14491 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14492 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
14494 ac_cpp
='$CPP $CPPFLAGS'
14495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14499 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14513 ac_cpp
='$CPP $CPPFLAGS'
14514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14517 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14518 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
14519 # On Suns, sometimes $CPP names a directory.
14520 if test -n "$CPP" && test -d "$CPP"; then
14523 if test -z "$CPP"; then
14524 if test "${ac_cv_prog_CPP+set}" = set; then
14525 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 # Double quotes because CPP needs to be expanded
14528 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14530 ac_preproc_ok
=false
14531 for ac_c_preproc_warn_flag
in '' yes
14533 # Use a header file that comes with gcc, so configuring glibc
14534 # with a fresh cross-compiler works.
14535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14536 # <limits.h> exists even on freestanding compilers.
14537 # On the NeXT, cc -E runs the code through the compiler's parser,
14538 # not just through cpp. "Syntax error" is here to catch this case.
14539 cat >conftest.
$ac_ext <<_ACEOF
14542 cat confdefs.h
>>conftest.
$ac_ext
14543 cat >>conftest.
$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14546 # include <limits.h>
14548 # include <assert.h>
14552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14555 grep -v '^ *+' conftest.er1
>conftest.err
14557 cat conftest.err
>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } >/dev
/null
; then
14560 if test -s conftest.err
; then
14561 ac_cpp_err
=$ac_c_preproc_warn_flag
14562 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14569 if test -z "$ac_cpp_err"; then
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.
$ac_ext >&5
14575 # Broken: fails on valid input.
14578 rm -f conftest.err conftest.
$ac_ext
14580 # OK, works on sane cases. Now check whether non-existent headers
14581 # can be detected and how.
14582 cat >conftest.
$ac_ext <<_ACEOF
14585 cat confdefs.h
>>conftest.
$ac_ext
14586 cat >>conftest.
$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14588 #include <ac_nonexistent.h>
14590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14591 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14593 grep -v '^ *+' conftest.er1
>conftest.err
14595 cat conftest.err
>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } >/dev
/null
; then
14598 if test -s conftest.err
; then
14599 ac_cpp_err
=$ac_c_preproc_warn_flag
14600 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14607 if test -z "$ac_cpp_err"; then
14608 # Broken: success on invalid input.
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.
$ac_ext >&5
14614 # Passes both tests.
14618 rm -f conftest.err conftest.
$ac_ext
14621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14622 rm -f conftest.err conftest.
$ac_ext
14623 if $ac_preproc_ok; then
14628 ac_cv_prog_CPP
=$CPP
14631 CPP
=$ac_cv_prog_CPP
14633 ac_cv_prog_CPP
=$CPP
14635 echo "$as_me:$LINENO: result: $CPP" >&5
14636 echo "${ECHO_T}$CPP" >&6
14637 ac_preproc_ok
=false
14638 for ac_c_preproc_warn_flag
in '' yes
14640 # Use a header file that comes with gcc, so configuring glibc
14641 # with a fresh cross-compiler works.
14642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14643 # <limits.h> exists even on freestanding compilers.
14644 # On the NeXT, cc -E runs the code through the compiler's parser,
14645 # not just through cpp. "Syntax error" is here to catch this case.
14646 cat >conftest.
$ac_ext <<_ACEOF
14649 cat confdefs.h
>>conftest.
$ac_ext
14650 cat >>conftest.
$ac_ext <<_ACEOF
14651 /* end confdefs.h. */
14653 # include <limits.h>
14655 # include <assert.h>
14659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14660 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14662 grep -v '^ *+' conftest.er1
>conftest.err
14664 cat conftest.err
>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } >/dev
/null
; then
14667 if test -s conftest.err
; then
14668 ac_cpp_err
=$ac_c_preproc_warn_flag
14669 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14676 if test -z "$ac_cpp_err"; then
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14682 # Broken: fails on valid input.
14685 rm -f conftest.err conftest.
$ac_ext
14687 # OK, works on sane cases. Now check whether non-existent headers
14688 # can be detected and how.
14689 cat >conftest.
$ac_ext <<_ACEOF
14692 cat confdefs.h
>>conftest.
$ac_ext
14693 cat >>conftest.
$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14695 #include <ac_nonexistent.h>
14697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14700 grep -v '^ *+' conftest.er1
>conftest.err
14702 cat conftest.err
>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } >/dev
/null
; then
14705 if test -s conftest.err
; then
14706 ac_cpp_err
=$ac_c_preproc_warn_flag
14707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14714 if test -z "$ac_cpp_err"; then
14715 # Broken: success on invalid input.
14718 echo "$as_me: failed program was:" >&5
14719 sed 's/^/| /' conftest.
$ac_ext >&5
14721 # Passes both tests.
14725 rm -f conftest.err conftest.
$ac_ext
14728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14729 rm -f conftest.err conftest.
$ac_ext
14730 if $ac_preproc_ok; then
14733 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14734 See \`config.log' for more details." >&5
14735 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14736 See \`config.log' for more details." >&2;}
14737 { (exit 1); exit 1; }; }
14741 ac_cpp
='$CPP $CPPFLAGS'
14742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14747 echo "$as_me:$LINENO: checking for egrep" >&5
14748 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14749 if test "${ac_cv_prog_egrep+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
14753 then ac_cv_prog_egrep
='grep -E'
14754 else ac_cv_prog_egrep
='egrep'
14757 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14758 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14759 EGREP
=$ac_cv_prog_egrep
14762 if test $ac_cv_c_compiler_gnu = yes; then
14763 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14764 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14765 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14768 ac_pattern
="Autoconf.*'x'"
14769 cat >conftest.
$ac_ext <<_ACEOF
14772 cat confdefs.h
>>conftest.
$ac_ext
14773 cat >>conftest.
$ac_ext <<_ACEOF
14774 /* end confdefs.h. */
14778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14779 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14780 ac_cv_prog_gcc_traditional
=yes
14782 ac_cv_prog_gcc_traditional
=no
14787 if test $ac_cv_prog_gcc_traditional = no
; then
14788 cat >conftest.
$ac_ext <<_ACEOF
14791 cat confdefs.h
>>conftest.
$ac_ext
14792 cat >>conftest.
$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 #include <termio.h>
14797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14798 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14799 ac_cv_prog_gcc_traditional
=yes
14805 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14806 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14807 if test $ac_cv_prog_gcc_traditional = yes; then
14808 CC
="$CC -traditional"
14814 ac_cpp
='$CXXCPP $CPPFLAGS'
14815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14820 CXXFLAGS
=${CXXFLAGS:=}
14825 ac_cpp
='$CXXCPP $CPPFLAGS'
14826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14829 if test -n "$ac_tool_prefix"; then
14830 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14832 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14833 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14834 echo "$as_me:$LINENO: checking for $ac_word" >&5
14835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14836 if test "${ac_cv_prog_CXX+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 if test -n "$CXX"; then
14840 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14843 for as_dir
in $PATH
14846 test -z "$as_dir" && as_dir
=.
14847 for ac_exec_ext
in '' $ac_executable_extensions; do
14848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14849 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14858 CXX
=$ac_cv_prog_CXX
14859 if test -n "$CXX"; then
14860 echo "$as_me:$LINENO: result: $CXX" >&5
14861 echo "${ECHO_T}$CXX" >&6
14863 echo "$as_me:$LINENO: result: no" >&5
14864 echo "${ECHO_T}no" >&6
14867 test -n "$CXX" && break
14870 if test -z "$CXX"; then
14872 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14874 # Extract the first word of "$ac_prog", so it can be a program name with args.
14875 set dummy
$ac_prog; ac_word
=$2
14876 echo "$as_me:$LINENO: checking for $ac_word" >&5
14877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14878 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14881 if test -n "$ac_ct_CXX"; then
14882 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14885 for as_dir
in $PATH
14888 test -z "$as_dir" && as_dir
=.
14889 for ac_exec_ext
in '' $ac_executable_extensions; do
14890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14891 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14900 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14901 if test -n "$ac_ct_CXX"; then
14902 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14903 echo "${ECHO_T}$ac_ct_CXX" >&6
14905 echo "$as_me:$LINENO: result: no" >&5
14906 echo "${ECHO_T}no" >&6
14909 test -n "$ac_ct_CXX" && break
14911 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14917 # Provide some information about the compiler.
14918 echo "$as_me:$LINENO:" \
14919 "checking for C++ compiler version" >&5
14920 ac_compiler
=`set X $ac_compile; echo $2`
14921 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14922 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }
14926 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14927 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }
14931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14932 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }
14937 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14938 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14939 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14940 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 cat >conftest.
$ac_ext <<_ACEOF
14945 cat confdefs.h
>>conftest.
$ac_ext
14946 cat >>conftest.
$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14960 rm -f conftest.
$ac_objext
14961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14962 (eval $ac_compile) 2>conftest.er1
14964 grep -v '^ *+' conftest.er1
>conftest.err
14966 cat conftest.err
>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } &&
14969 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14971 (eval $ac_try) 2>&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); }; } &&
14975 { ac_try
='test -s conftest.$ac_objext'
14976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977 (eval $ac_try) 2>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); }; }; then
14981 ac_compiler_gnu
=yes
14983 echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.
$ac_ext >&5
14988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14989 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14992 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14993 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14994 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14995 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14996 ac_save_CXXFLAGS
=$CXXFLAGS
14998 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14999 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15000 if test "${ac_cv_prog_cxx_g+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 cat >conftest.
$ac_ext <<_ACEOF
15006 cat confdefs.h
>>conftest.
$ac_ext
15007 cat >>conftest.
$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15018 rm -f conftest.
$ac_objext
15019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15020 (eval $ac_compile) 2>conftest.er1
15022 grep -v '^ *+' conftest.er1
>conftest.err
15024 cat conftest.err
>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } &&
15027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029 (eval $ac_try) 2>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; } &&
15033 { ac_try
='test -s conftest.$ac_objext'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15039 ac_cv_prog_cxx_g
=yes
15041 echo "$as_me: failed program was:" >&5
15042 sed 's/^/| /' conftest.
$ac_ext >&5
15044 ac_cv_prog_cxx_g
=no
15046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15048 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15049 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15050 if test "$ac_test_CXXFLAGS" = set; then
15051 CXXFLAGS
=$ac_save_CXXFLAGS
15052 elif test $ac_cv_prog_cxx_g = yes; then
15053 if test "$GXX" = yes; then
15059 if test "$GXX" = yes; then
15065 for ac_declaration
in \
15067 'extern "C" void std::exit (int) throw (); using std::exit;' \
15068 'extern "C" void std::exit (int); using std::exit;' \
15069 'extern "C" void exit (int) throw ();' \
15070 'extern "C" void exit (int);' \
15073 cat >conftest.
$ac_ext <<_ACEOF
15076 cat confdefs.h
>>conftest.
$ac_ext
15077 cat >>conftest.
$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15080 #include <stdlib.h>
15089 rm -f conftest.
$ac_objext
15090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15091 (eval $ac_compile) 2>conftest.er1
15093 grep -v '^ *+' conftest.er1
>conftest.err
15095 cat conftest.err
>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } &&
15098 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; } &&
15104 { ac_try
='test -s conftest.$ac_objext'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; }; then
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.
$ac_ext >&5
15117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15118 cat >conftest.
$ac_ext <<_ACEOF
15121 cat confdefs.h
>>conftest.
$ac_ext
15122 cat >>conftest.
$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15133 rm -f conftest.
$ac_objext
15134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15135 (eval $ac_compile) 2>conftest.er1
15137 grep -v '^ *+' conftest.er1
>conftest.err
15139 cat conftest.err
>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } &&
15142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15144 (eval $ac_try) 2>&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); }; } &&
15148 { ac_try
='test -s conftest.$ac_objext'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; }; then
15156 echo "$as_me: failed program was:" >&5
15157 sed 's/^/| /' conftest.
$ac_ext >&5
15160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15163 if test -n "$ac_declaration"; then
15164 echo '#ifdef __cplusplus' >>confdefs.h
15165 echo $ac_declaration >>confdefs.h
15166 echo '#endif' >>confdefs.h
15170 ac_cpp
='$CXXCPP $CPPFLAGS'
15171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15178 ac_cpp
='$CXXCPP $CPPFLAGS'
15179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15183 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15184 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
15185 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 cat >conftest.
$ac_ext <<_ACEOF
15191 cat confdefs.h
>>conftest.
$ac_ext
15192 cat >>conftest.
$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15199 #ifndef __INTEL_COMPILER
15207 rm -f conftest.
$ac_objext
15208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15209 (eval $ac_compile) 2>conftest.er1
15211 grep -v '^ *+' conftest.er1
>conftest.err
15213 cat conftest.err
>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; } &&
15222 { ac_try
='test -s conftest.$ac_objext'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; }; then
15228 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15230 echo "$as_me: failed program was:" >&5
15231 sed 's/^/| /' conftest.
$ac_ext >&5
15233 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15240 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15241 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
15243 ac_cpp
='$CXXCPP $CPPFLAGS'
15244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15248 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15255 if test "x$GCXX" != "xyes"; then
15256 if test "xCXX" = "xC"; then
15257 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
15258 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
15259 if test "${bakefile_cv_cxx_exto+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 cat >conftest.
$ac_ext <<_ACEOF
15265 cat confdefs.h
>>conftest.
$ac_ext
15266 cat >>conftest.
$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15277 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15279 (eval $ac_compile) 2>&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; then
15283 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15285 conftest.
$ac_ext.o
)
15286 bakefile_cv_cxx_exto
="-ext o"
15293 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15294 See \`config.log' for more details." >&5
15295 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15296 See \`config.log' for more details." >&2;}
15297 { (exit 1); exit 1; }; }
15301 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15304 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
15305 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
15306 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
15307 if test "cxx" = "c"; then
15308 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
15310 if test "cxx" = "cxx"; then
15311 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
15315 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15316 unset ac_cv_prog_cc_g
15317 ac_test_CFLAGS
=${CFLAGS+set}
15318 ac_save_CFLAGS
=$CFLAGS
15320 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15321 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15322 if test "${ac_cv_prog_cc_g+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 cat >conftest.
$ac_ext <<_ACEOF
15328 cat confdefs.h
>>conftest.
$ac_ext
15329 cat >>conftest.
$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15340 rm -f conftest.
$ac_objext
15341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15342 (eval $ac_compile) 2>conftest.er1
15344 grep -v '^ *+' conftest.er1
>conftest.err
15346 cat conftest.err
>&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } &&
15349 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; } &&
15355 { ac_try
='test -s conftest.$ac_objext'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; }; then
15361 ac_cv_prog_cc_g
=yes
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15370 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15371 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15372 if test "$ac_test_CFLAGS" = set; then
15373 CFLAGS
=$ac_save_CFLAGS
15374 elif test $ac_cv_prog_cc_g = yes; then
15375 if test "$GCC" = yes; then
15381 if test "$GCC" = yes; then
15393 ac_cpp
='$CXXCPP $CPPFLAGS'
15394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15398 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15399 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
15400 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 cat >conftest.
$ac_ext <<_ACEOF
15406 cat confdefs.h
>>conftest.
$ac_ext
15407 cat >>conftest.
$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15421 rm -f conftest.
$ac_objext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15423 (eval $ac_compile) 2>conftest.er1
15425 grep -v '^ *+' conftest.er1
>conftest.err
15427 cat conftest.err
>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } &&
15430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try
='test -s conftest.$ac_objext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 bakefile_compiler_xlc
=yes
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15447 bakefile_compiler_xlc
=no
15449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15450 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15453 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15454 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
15456 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15458 ac_cpp
='$CXXCPP $CPPFLAGS'
15459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15468 ac_cpp
='$CXXCPP $CPPFLAGS'
15469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15473 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15474 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
15475 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 cat >conftest.
$ac_ext <<_ACEOF
15481 cat confdefs.h
>>conftest.
$ac_ext
15482 cat >>conftest.
$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15496 rm -f conftest.
$ac_objext
15497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15498 (eval $ac_compile) 2>conftest.er1
15500 grep -v '^ *+' conftest.er1
>conftest.err
15502 cat conftest.err
>&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } &&
15505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; } &&
15511 { ac_try
='test -s conftest.$ac_objext'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; }; then
15517 bakefile_compiler_mwerks
=yes
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.
$ac_ext >&5
15522 bakefile_compiler_mwerks
=no
15524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15525 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
15528 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15529 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
15531 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15533 ac_cpp
='$CXXCPP $CPPFLAGS'
15534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15540 ac_cpp
='$CXXCPP $CPPFLAGS'
15541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15545 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15546 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
15547 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15548 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 cat >conftest.
$ac_ext <<_ACEOF
15553 cat confdefs.h
>>conftest.
$ac_ext
15554 cat >>conftest.
$ac_ext <<_ACEOF
15555 /* end confdefs.h. */
15568 rm -f conftest.
$ac_objext
15569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15570 (eval $ac_compile) 2>conftest.er1
15572 grep -v '^ *+' conftest.er1
>conftest.err
15574 cat conftest.err
>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } &&
15577 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; } &&
15583 { ac_try
='test -s conftest.$ac_objext'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; }; then
15589 bakefile_compiler_xlc
=yes
15591 echo "$as_me: failed program was:" >&5
15592 sed 's/^/| /' conftest.
$ac_ext >&5
15594 bakefile_compiler_xlc
=no
15596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15597 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15600 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15601 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
15603 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15605 ac_cpp
='$CXXCPP $CPPFLAGS'
15606 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15617 ac_cpp
='$CXXCPP $CPPFLAGS'
15618 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15619 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15620 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15622 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15623 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
15624 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15627 cat >conftest.
$ac_ext <<_ACEOF
15630 cat confdefs.h
>>conftest.
$ac_ext
15631 cat >>conftest.
$ac_ext <<_ACEOF
15632 /* end confdefs.h. */
15638 #ifndef _SGI_COMPILER_VERSION
15646 rm -f conftest.
$ac_objext
15647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15648 (eval $ac_compile) 2>conftest.er1
15650 grep -v '^ *+' conftest.er1
>conftest.err
15652 cat conftest.err
>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } &&
15655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; } &&
15661 { ac_try
='test -s conftest.$ac_objext'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; }; then
15667 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.
$ac_ext >&5
15672 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
15675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15679 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15680 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15682 ac_cpp
='$CXXCPP $CPPFLAGS'
15683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15687 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15700 ac_cpp
='$CXXCPP $CPPFLAGS'
15701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15705 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15706 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15707 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15708 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 cat >conftest.
$ac_ext <<_ACEOF
15713 cat confdefs.h
>>conftest.
$ac_ext
15714 cat >>conftest.
$ac_ext <<_ACEOF
15715 /* end confdefs.h. */
15729 rm -f conftest.
$ac_objext
15730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15731 (eval $ac_compile) 2>conftest.er1
15733 grep -v '^ *+' conftest.er1
>conftest.err
15735 cat conftest.err
>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } &&
15738 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try
='test -s conftest.$ac_objext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 bakefile_cv_cxx_compiler___HP_aCC
=yes
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.
$ac_ext >&5
15755 bakefile_cv_cxx_compiler___HP_aCC
=no
15758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15762 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15763 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15765 ac_cpp
='$CXXCPP $CPPFLAGS'
15766 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15770 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
15783 ac_cpp
='$CXXCPP $CPPFLAGS'
15784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15788 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15789 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15790 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15791 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 cat >conftest.
$ac_ext <<_ACEOF
15796 cat confdefs.h
>>conftest.
$ac_ext
15797 cat >>conftest.
$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15812 rm -f conftest.
$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15816 grep -v '^ *+' conftest.er1
>conftest.err
15818 cat conftest.err
>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try
='test -s conftest.$ac_objext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 bakefile_cv_cxx_compiler___DECCXX
=yes
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.
$ac_ext >&5
15838 bakefile_cv_cxx_compiler___DECCXX
=no
15841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15845 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15846 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15848 ac_cpp
='$CXXCPP $CPPFLAGS'
15849 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15850 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15851 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15853 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15866 ac_cpp
='$CXXCPP $CPPFLAGS'
15867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15871 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15872 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15873 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 cat >conftest.
$ac_ext <<_ACEOF
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15887 #ifndef __SUNPRO_CC
15895 rm -f conftest.
$ac_objext
15896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15897 (eval $ac_compile) 2>conftest.er1
15899 grep -v '^ *+' conftest.er1
>conftest.err
15901 cat conftest.err
>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } &&
15904 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; } &&
15910 { ac_try
='test -s conftest.$ac_objext'
15911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15912 (eval $ac_try) 2>&5
15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915 (exit $ac_status); }; }; then
15916 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.
$ac_ext >&5
15921 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15928 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15929 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15931 ac_cpp
='$CXXCPP $CPPFLAGS'
15932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15936 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15949 if test -n "$ac_tool_prefix"; then
15950 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15951 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15952 echo "$as_me:$LINENO: checking for $ac_word" >&5
15953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15954 if test "${ac_cv_prog_RANLIB+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15957 if test -n "$RANLIB"; then
15958 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15961 for as_dir
in $PATH
15964 test -z "$as_dir" && as_dir
=.
15965 for ac_exec_ext
in '' $ac_executable_extensions; do
15966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15967 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15976 RANLIB
=$ac_cv_prog_RANLIB
15977 if test -n "$RANLIB"; then
15978 echo "$as_me:$LINENO: result: $RANLIB" >&5
15979 echo "${ECHO_T}$RANLIB" >&6
15981 echo "$as_me:$LINENO: result: no" >&5
15982 echo "${ECHO_T}no" >&6
15986 if test -z "$ac_cv_prog_RANLIB"; then
15987 ac_ct_RANLIB
=$RANLIB
15988 # Extract the first word of "ranlib", so it can be a program name with args.
15989 set dummy ranlib
; ac_word
=$2
15990 echo "$as_me:$LINENO: checking for $ac_word" >&5
15991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15992 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 if test -n "$ac_ct_RANLIB"; then
15996 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15999 for as_dir
in $PATH
16002 test -z "$as_dir" && as_dir
=.
16003 for ac_exec_ext
in '' $ac_executable_extensions; do
16004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16005 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16012 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
16015 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16016 if test -n "$ac_ct_RANLIB"; then
16017 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16018 echo "${ECHO_T}$ac_ct_RANLIB" >&6
16020 echo "$as_me:$LINENO: result: no" >&5
16021 echo "${ECHO_T}no" >&6
16024 RANLIB
=$ac_ct_RANLIB
16026 RANLIB
="$ac_cv_prog_RANLIB"
16030 if test -n "$ac_tool_prefix"; then
16031 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16032 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16033 echo "$as_me:$LINENO: checking for $ac_word" >&5
16034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16035 if test "${ac_cv_prog_AR+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 if test -n "$AR"; then
16039 ac_cv_prog_AR
="$AR" # Let the user override the test.
16041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16042 for as_dir
in $PATH
16045 test -z "$as_dir" && as_dir
=.
16046 for ac_exec_ext
in '' $ac_executable_extensions; do
16047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16048 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16058 if test -n "$AR"; then
16059 echo "$as_me:$LINENO: result: $AR" >&5
16060 echo "${ECHO_T}$AR" >&6
16062 echo "$as_me:$LINENO: result: no" >&5
16063 echo "${ECHO_T}no" >&6
16067 if test -z "$ac_cv_prog_AR"; then
16069 # Extract the first word of "ar", so it can be a program name with args.
16070 set dummy
ar; ac_word
=$2
16071 echo "$as_me:$LINENO: checking for $ac_word" >&5
16072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16073 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16076 if test -n "$ac_ct_AR"; then
16077 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16080 for as_dir
in $PATH
16083 test -z "$as_dir" && as_dir
=.
16084 for ac_exec_ext
in '' $ac_executable_extensions; do
16085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16086 ac_cv_prog_ac_ct_AR
="ar"
16087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16095 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16096 if test -n "$ac_ct_AR"; then
16097 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16098 echo "${ECHO_T}$ac_ct_AR" >&6
16100 echo "$as_me:$LINENO: result: no" >&5
16101 echo "${ECHO_T}no" >&6
16106 AR
="$ac_cv_prog_AR"
16109 if test "x$AR" = "x" ; then
16110 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16111 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16112 { (exit 1); exit 1; }; }
16115 # Find a good install program. We prefer a C program (faster),
16116 # so one script is as good as another. But avoid the broken or
16117 # incompatible versions:
16118 # SysV /etc/install, /usr/sbin/install
16119 # SunOS /usr/etc/install
16120 # IRIX /sbin/install
16122 # AmigaOS /C/install, which installs bootblocks on floppy discs
16123 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16124 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16125 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16126 # OS/2's system install, which has a completely different semantic
16127 # ./install, which can be erroneously created by make from ./install.sh.
16128 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16129 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
16130 if test -z "$INSTALL"; then
16131 if test "${ac_cv_path_install+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16135 for as_dir
in $PATH
16138 test -z "$as_dir" && as_dir
=.
16139 # Account for people who put trailing slashes in PATH elements.
16141 .
/ | .
// | /cC
/* | \
16142 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16143 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16146 # OSF1 and SCO ODT 3.0 have their own names for install.
16147 # Don't use installbsd from OSF since it installs stuff as root
16149 for ac_prog
in ginstall scoinst
install; do
16150 for ac_exec_ext
in '' $ac_executable_extensions; do
16151 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
16152 if test $ac_prog = install &&
16153 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16154 # AIX install. It has an incompatible calling convention.
16156 elif test $ac_prog = install &&
16157 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16158 # program-specific install script used by HP pwplus--don't use.
16161 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16173 if test "${ac_cv_path_install+set}" = set; then
16174 INSTALL
=$ac_cv_path_install
16176 # As a last resort, use the slow shell script. We don't cache a
16177 # path for INSTALL within a source directory, because that will
16178 # break other packages using the cache if that directory is
16179 # removed, or if the path is relative.
16180 INSTALL
=$ac_install_sh
16183 echo "$as_me:$LINENO: result: $INSTALL" >&5
16184 echo "${ECHO_T}$INSTALL" >&6
16186 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16187 # It thinks the first close brace ends the variable substitution.
16188 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16190 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16192 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16198 ?
:* ) # Drive letter, considered as absolute.
16201 INSTALL
=`pwd`/${INSTALL} ;;
16208 INSTALL_PROGRAM
="cp -fp"
16209 INSTALL_DATA
="cp -fp"
16215 if test -n "$ac_tool_prefix"; then
16216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16217 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16218 echo "$as_me:$LINENO: checking for $ac_word" >&5
16219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16220 if test "${ac_cv_prog_STRIP+set}" = set; then
16221 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 if test -n "$STRIP"; then
16224 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16227 for as_dir
in $PATH
16230 test -z "$as_dir" && as_dir
=.
16231 for ac_exec_ext
in '' $ac_executable_extensions; do
16232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16233 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16242 STRIP
=$ac_cv_prog_STRIP
16243 if test -n "$STRIP"; then
16244 echo "$as_me:$LINENO: result: $STRIP" >&5
16245 echo "${ECHO_T}$STRIP" >&6
16247 echo "$as_me:$LINENO: result: no" >&5
16248 echo "${ECHO_T}no" >&6
16252 if test -z "$ac_cv_prog_STRIP"; then
16254 # Extract the first word of "strip", so it can be a program name with args.
16255 set dummy strip
; ac_word
=$2
16256 echo "$as_me:$LINENO: checking for $ac_word" >&5
16257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16258 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16259 echo $ECHO_N "(cached) $ECHO_C" >&6
16261 if test -n "$ac_ct_STRIP"; then
16262 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16265 for as_dir
in $PATH
16268 test -z "$as_dir" && as_dir
=.
16269 for ac_exec_ext
in '' $ac_executable_extensions; do
16270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16271 ac_cv_prog_ac_ct_STRIP
="strip"
16272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16278 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
16281 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16282 if test -n "$ac_ct_STRIP"; then
16283 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16284 echo "${ECHO_T}$ac_ct_STRIP" >&6
16286 echo "$as_me:$LINENO: result: no" >&5
16287 echo "${ECHO_T}no" >&6
16292 STRIP
="$ac_cv_prog_STRIP"
16296 if test "$wxUSE_WINE" = "yes"; then
16297 if test -n "$ac_tool_prefix"; then
16298 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16299 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16300 echo "$as_me:$LINENO: checking for $ac_word" >&5
16301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16302 if test "${ac_cv_prog_WINDRES+set}" = set; then
16303 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 if test -n "$WINDRES"; then
16306 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16309 for as_dir
in $PATH
16312 test -z "$as_dir" && as_dir
=.
16313 for ac_exec_ext
in '' $ac_executable_extensions; do
16314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16315 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16324 WINDRES
=$ac_cv_prog_WINDRES
16325 if test -n "$WINDRES"; then
16326 echo "$as_me:$LINENO: result: $WINDRES" >&5
16327 echo "${ECHO_T}$WINDRES" >&6
16329 echo "$as_me:$LINENO: result: no" >&5
16330 echo "${ECHO_T}no" >&6
16334 if test -z "$ac_cv_prog_WINDRES"; then
16335 ac_ct_WINDRES
=$WINDRES
16336 # Extract the first word of "wrc", so it can be a program name with args.
16337 set dummy wrc
; ac_word
=$2
16338 echo "$as_me:$LINENO: checking for $ac_word" >&5
16339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16340 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16341 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 if test -n "$ac_ct_WINDRES"; then
16344 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16347 for as_dir
in $PATH
16350 test -z "$as_dir" && as_dir
=.
16351 for ac_exec_ext
in '' $ac_executable_extensions; do
16352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16353 ac_cv_prog_ac_ct_WINDRES
="wrc"
16354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16362 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16363 if test -n "$ac_ct_WINDRES"; then
16364 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16365 echo "${ECHO_T}$ac_ct_WINDRES" >&6
16367 echo "$as_me:$LINENO: result: no" >&5
16368 echo "${ECHO_T}no" >&6
16371 WINDRES
=$ac_ct_WINDRES
16373 WINDRES
="$ac_cv_prog_WINDRES"
16379 *-*-cygwin* | *-*-mingw32* )
16380 if test -n "$ac_tool_prefix"; then
16381 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16382 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16383 echo "$as_me:$LINENO: checking for $ac_word" >&5
16384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16385 if test "${ac_cv_prog_WINDRES+set}" = set; then
16386 echo $ECHO_N "(cached) $ECHO_C" >&6
16388 if test -n "$WINDRES"; then
16389 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16392 for as_dir
in $PATH
16395 test -z "$as_dir" && as_dir
=.
16396 for ac_exec_ext
in '' $ac_executable_extensions; do
16397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16398 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16407 WINDRES
=$ac_cv_prog_WINDRES
16408 if test -n "$WINDRES"; then
16409 echo "$as_me:$LINENO: result: $WINDRES" >&5
16410 echo "${ECHO_T}$WINDRES" >&6
16412 echo "$as_me:$LINENO: result: no" >&5
16413 echo "${ECHO_T}no" >&6
16417 if test -z "$ac_cv_prog_WINDRES"; then
16418 ac_ct_WINDRES
=$WINDRES
16419 # Extract the first word of "windres", so it can be a program name with args.
16420 set dummy windres
; ac_word
=$2
16421 echo "$as_me:$LINENO: checking for $ac_word" >&5
16422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16423 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16424 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 if test -n "$ac_ct_WINDRES"; then
16427 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16430 for as_dir
in $PATH
16433 test -z "$as_dir" && as_dir
=.
16434 for ac_exec_ext
in '' $ac_executable_extensions; do
16435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16436 ac_cv_prog_ac_ct_WINDRES
="windres"
16437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16445 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16446 if test -n "$ac_ct_WINDRES"; then
16447 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16448 echo "${ECHO_T}$ac_ct_WINDRES" >&6
16450 echo "$as_me:$LINENO: result: no" >&5
16451 echo "${ECHO_T}no" >&6
16454 WINDRES
=$ac_ct_WINDRES
16456 WINDRES
="$ac_cv_prog_WINDRES"
16460 if test -n "$ac_tool_prefix"; then
16461 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16462 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16463 echo "$as_me:$LINENO: checking for $ac_word" >&5
16464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16465 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 if test -n "$DLLTOOL"; then
16469 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16472 for as_dir
in $PATH
16475 test -z "$as_dir" && as_dir
=.
16476 for ac_exec_ext
in '' $ac_executable_extensions; do
16477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16478 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16487 DLLTOOL
=$ac_cv_prog_DLLTOOL
16488 if test -n "$DLLTOOL"; then
16489 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16490 echo "${ECHO_T}$DLLTOOL" >&6
16492 echo "$as_me:$LINENO: result: no" >&5
16493 echo "${ECHO_T}no" >&6
16497 if test -z "$ac_cv_prog_DLLTOOL"; then
16498 ac_ct_DLLTOOL
=$DLLTOOL
16499 # Extract the first word of "dlltool", so it can be a program name with args.
16500 set dummy dlltool
; ac_word
=$2
16501 echo "$as_me:$LINENO: checking for $ac_word" >&5
16502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16503 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16504 echo $ECHO_N "(cached) $ECHO_C" >&6
16506 if test -n "$ac_ct_DLLTOOL"; then
16507 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16510 for as_dir
in $PATH
16513 test -z "$as_dir" && as_dir
=.
16514 for ac_exec_ext
in '' $ac_executable_extensions; do
16515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16516 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16525 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16526 if test -n "$ac_ct_DLLTOOL"; then
16527 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16528 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
16530 echo "$as_me:$LINENO: result: no" >&5
16531 echo "${ECHO_T}no" >&6
16534 DLLTOOL
=$ac_ct_DLLTOOL
16536 DLLTOOL
="$ac_cv_prog_DLLTOOL"
16543 echo "$as_me:$LINENO: checking if make is GNU make" >&5
16544 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
16545 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16546 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
16550 egrep -s GNU
> /dev
/null
); then
16551 wx_cv_prog_makeisgnu
="yes"
16553 wx_cv_prog_makeisgnu
="no"
16557 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16558 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
16560 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16568 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16569 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16570 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
16571 if test "${wx_cv_prog_makevpath+set}" = set; then
16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16575 cat - << EOF > confMake
16581 if test ! -d sub
; then
16584 echo dummy
> sub
/file
16585 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
16587 rm -f sub
/file check final_file confMake
16589 if test "$RESULT" = 0; then
16590 wx_cv_prog_makevpath
="yes"
16592 wx_cv_prog_makevpath
="no"
16596 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16597 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
16599 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16600 { { echo "$as_me:$LINENO: error:
16601 You need a make-utility that is able to use the variable
16603 If your version of make does not support VPATH correctly,
16604 please install GNU-make (possibly as gmake), and start
16605 configure with the following command:
16606 export MAKE=gmake; ./configure for sh-type shells
16607 setenv MAKE gmake; ./configure for csh-type shells
16608 Also please do remember to use gmake in this case every time
16609 you are trying to compile.
16611 echo "$as_me: error:
16612 You need a make-utility that is able to use the variable
16614 If your version of make does not support VPATH correctly,
16615 please install GNU-make (possibly as gmake), and start
16616 configure with the following command:
16617 export MAKE=gmake; ./configure for sh-type shells
16618 setenv MAKE gmake; ./configure for csh-type shells
16619 Also please do remember to use gmake in this case every time
16620 you are trying to compile.
16622 { (exit 1); exit 1; }; }
16624 echo "$as_me:$LINENO: checking whether ln -s works" >&5
16625 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
16627 if test "$LN_S" = "ln -s"; then
16628 echo "$as_me:$LINENO: result: yes" >&5
16629 echo "${ECHO_T}yes" >&6
16631 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16632 echo "${ECHO_T}no, using $LN_S" >&6
16638 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16639 CXXFLAGS
="-qunique $CXXFLAGS"
16643 powerpc
-*-darwin* )
16644 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16645 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
16646 cat >conftest.
$ac_ext <<_ACEOF
16649 cat confdefs.h
>>conftest.
$ac_ext
16650 cat >>conftest.
$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16656 #ifndef __POWERPC__
16657 choke me for lack of PowerPC
16664 rm -f conftest.
$ac_objext
16665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16666 (eval $ac_compile) 2>conftest.er1
16668 grep -v '^ *+' conftest.er1
>conftest.err
16670 cat conftest.err
>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } &&
16673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try
='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 echo "$as_me:$LINENO: result: yes" >&5
16686 echo "${ECHO_T}yes" >&6
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.
$ac_ext >&5
16691 echo "$as_me:$LINENO: result: no" >&5
16692 echo "${ECHO_T}no" >&6
16693 cat >>confdefs.h
<<\_ACEOF
16694 #define __POWERPC__ 1
16699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16705 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16706 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16707 cat >conftest.
$ac_ext <<_ACEOF
16710 cat confdefs.h
>>conftest.
$ac_ext
16711 cat >>conftest.
$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 #include <CoreFoundation/CFBase.h>
16723 rm -f conftest.
$ac_objext
16724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16725 (eval $ac_compile) 2>conftest.er1
16727 grep -v '^ *+' conftest.er1
>conftest.err
16729 cat conftest.err
>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } &&
16732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; } &&
16738 { ac_try
='test -s conftest.$ac_objext'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; }; then
16744 echo "$as_me:$LINENO: result: yes" >&5
16745 echo "${ECHO_T}yes" >&6
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.
$ac_ext >&5
16750 echo "$as_me:$LINENO: result: no" >&5
16751 echo "${ECHO_T}no" >&6
16752 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16753 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16754 cat >conftest.
$ac_ext <<_ACEOF
16757 cat confdefs.h
>>conftest.
$ac_ext
16758 cat >>conftest.
$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760 #define __CF_USE_FRAMEWORK_INCLUDES__
16761 #include <CoreFoundation/CFBase.h>
16771 rm -f conftest.
$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16775 grep -v '^ *+' conftest.er1
>conftest.err
16777 cat conftest.err
>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try
='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 echo "$as_me:$LINENO: result: yes" >&5
16793 echo "${ECHO_T}yes" >&6
16794 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.
$ac_ext >&5
16799 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16800 See \`config.log' for more details." >&5
16801 echo "$as_me: error: no. CoreFoundation not available.
16802 See \`config.log' for more details." >&2;}
16803 { (exit 1); exit 1; }; }
16806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16815 *-pc-os2_emx | *-pc-os2-emx )
16817 ac_cpp
='$CPP $CPPFLAGS'
16818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16822 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16823 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16824 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16825 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 ac_check_lib_save_LIBS
=$LIBS
16829 LIBS
="-lcExt $LIBS"
16830 cat >conftest.
$ac_ext <<_ACEOF
16833 cat confdefs.h
>>conftest.
$ac_ext
16834 cat >>conftest.
$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16837 /* Override any gcc2 internal prototype to avoid an error. */
16841 /* We use char because int might match the return type of a gcc2
16842 builtin and then its argument prototype would still apply. */
16852 rm -f conftest.
$ac_objext conftest
$ac_exeext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16854 (eval $ac_link) 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_c_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_exeext'
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_cv_lib_cExt_drand48
=yes
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.
$ac_ext >&5
16878 ac_cv_lib_cExt_drand48
=no
16880 rm -f conftest.err conftest.
$ac_objext \
16881 conftest
$ac_exeext conftest.
$ac_ext
16882 LIBS
=$ac_check_lib_save_LIBS
16884 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16885 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16886 if test $ac_cv_lib_cExt_drand48 = yes; then
16887 LIBS
="$LIBS -lcExt"
16891 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16893 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16894 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16895 if test "${wx_cv_gccversion+set}" = set; then
16896 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 if test "$cross_compiling" = yes; then
16900 wx_cv_gccversion
="EMX2"
16903 cat >conftest.
$ac_ext <<_ACEOF
16906 cat confdefs.h
>>conftest.
$ac_ext
16907 cat >>conftest.
$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16914 FILE *f=fopen("conftestval", "w");
16919 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16921 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16931 rm -f conftest
$ac_exeext
16932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16933 (eval $ac_link) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938 (eval $ac_try) 2>&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }; }; then
16942 wx_cv_gccversion
=`cat conftestval`
16944 echo "$as_me: program exited with status $ac_status" >&5
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.
$ac_ext >&5
16948 ( exit $ac_status )
16949 wx_cv_gccversion
="EMX2"
16951 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16955 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16956 echo "${ECHO_T}$wx_cv_gccversion" >&6
16958 ac_cpp
='$CXXCPP $CPPFLAGS'
16959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16963 if test "$wx_cv_gccversion" = "EMX2"; then
16964 LIBS
="$LIBS -lstdcpp"
16965 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16967 if test "$wx_cv_gccversion" = "EMX3"; then
16968 LIBS
="$LIBS -lstdcxx -lgcc"
16969 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16971 LIBS
="$LIBS -lstdc++"
16974 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16975 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16976 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16983 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16984 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16985 if test "${ac_cv_string_strcasecmp+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16989 cat >conftest.
$ac_ext <<_ACEOF
16992 cat confdefs.h
>>conftest.
$ac_ext
16993 cat >>conftest.
$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16996 #include <string.h>
17002 strcasecmp("foo", "bar");
17008 rm -f conftest.
$ac_objext conftest
$ac_exeext
17009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17010 (eval $ac_link) 2>conftest.er1
17012 grep -v '^ *+' conftest.er1
>conftest.err
17014 cat conftest.err
>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; } &&
17023 { ac_try
='test -s conftest$ac_exeext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 ac_cv_string_strcasecmp
=yes
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.
$ac_ext >&5
17034 ac_cv_string_strcasecmp
=no
17037 rm -f conftest.err conftest.
$ac_objext \
17038 conftest
$ac_exeext conftest.
$ac_ext
17041 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17042 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
17044 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
17045 cat >>confdefs.h
<<\_ACEOF
17046 #define HAVE_STRCASECMP_IN_STRING_H 1
17050 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17051 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
17052 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 cat >conftest.
$ac_ext <<_ACEOF
17059 cat confdefs.h
>>conftest.
$ac_ext
17060 cat >>conftest.
$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17063 #include <strings.h>
17069 strcasecmp("foo", "bar");
17075 rm -f conftest.
$ac_objext conftest
$ac_exeext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17077 (eval $ac_link) 2>conftest.er1
17079 grep -v '^ *+' conftest.er1
>conftest.err
17081 cat conftest.err
>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try
='test -s conftest$ac_exeext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_cv_strings_strcasecmp
=yes
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.
$ac_ext >&5
17101 ac_cv_strings_strcasecmp
=no
17104 rm -f conftest.err conftest.
$ac_objext \
17105 conftest
$ac_exeext conftest.
$ac_ext
17108 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17109 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
17111 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
17112 cat >>confdefs.h
<<\_ACEOF
17113 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17117 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17118 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17119 { (exit 1); exit 1; }; }
17128 ac_cpp
='$CXXCPP $CPPFLAGS'
17129 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17132 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17133 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17134 if test -z "$CXXCPP"; then
17135 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17136 echo $ECHO_N "(cached) $ECHO_C" >&6
17138 # Double quotes because CXXCPP needs to be expanded
17139 for CXXCPP
in "$CXX -E" "/lib/cpp"
17141 ac_preproc_ok
=false
17142 for ac_cxx_preproc_warn_flag
in '' yes
17144 # Use a header file that comes with gcc, so configuring glibc
17145 # with a fresh cross-compiler works.
17146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17147 # <limits.h> exists even on freestanding compilers.
17148 # On the NeXT, cc -E runs the code through the compiler's parser,
17149 # not just through cpp. "Syntax error" is here to catch this case.
17150 cat >conftest.
$ac_ext <<_ACEOF
17153 cat confdefs.h
>>conftest.
$ac_ext
17154 cat >>conftest.
$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17157 # include <limits.h>
17159 # include <assert.h>
17163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17166 grep -v '^ *+' conftest.er1
>conftest.err
17168 cat conftest.err
>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); } >/dev
/null
; then
17171 if test -s conftest.err
; then
17172 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17173 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17180 if test -z "$ac_cpp_err"; then
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.
$ac_ext >&5
17186 # Broken: fails on valid input.
17189 rm -f conftest.err conftest.
$ac_ext
17191 # OK, works on sane cases. Now check whether non-existent headers
17192 # can be detected and how.
17193 cat >conftest.
$ac_ext <<_ACEOF
17196 cat confdefs.h
>>conftest.
$ac_ext
17197 cat >>conftest.
$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17199 #include <ac_nonexistent.h>
17201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17204 grep -v '^ *+' conftest.er1
>conftest.err
17206 cat conftest.err
>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } >/dev
/null
; then
17209 if test -s conftest.err
; then
17210 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17211 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17218 if test -z "$ac_cpp_err"; then
17219 # Broken: success on invalid input.
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.
$ac_ext >&5
17225 # Passes both tests.
17229 rm -f conftest.err conftest.
$ac_ext
17232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17233 rm -f conftest.err conftest.
$ac_ext
17234 if $ac_preproc_ok; then
17239 ac_cv_prog_CXXCPP
=$CXXCPP
17242 CXXCPP
=$ac_cv_prog_CXXCPP
17244 ac_cv_prog_CXXCPP
=$CXXCPP
17246 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17247 echo "${ECHO_T}$CXXCPP" >&6
17248 ac_preproc_ok
=false
17249 for ac_cxx_preproc_warn_flag
in '' yes
17251 # Use a header file that comes with gcc, so configuring glibc
17252 # with a fresh cross-compiler works.
17253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17254 # <limits.h> exists even on freestanding compilers.
17255 # On the NeXT, cc -E runs the code through the compiler's parser,
17256 # not just through cpp. "Syntax error" is here to catch this case.
17257 cat >conftest.
$ac_ext <<_ACEOF
17260 cat confdefs.h
>>conftest.
$ac_ext
17261 cat >>conftest.
$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17264 # include <limits.h>
17266 # include <assert.h>
17270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17273 grep -v '^ *+' conftest.er1
>conftest.err
17275 cat conftest.err
>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } >/dev
/null
; then
17278 if test -s conftest.err
; then
17279 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17280 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17287 if test -z "$ac_cpp_err"; then
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.
$ac_ext >&5
17293 # Broken: fails on valid input.
17296 rm -f conftest.err conftest.
$ac_ext
17298 # OK, works on sane cases. Now check whether non-existent headers
17299 # can be detected and how.
17300 cat >conftest.
$ac_ext <<_ACEOF
17303 cat confdefs.h
>>conftest.
$ac_ext
17304 cat >>conftest.
$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 #include <ac_nonexistent.h>
17308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17311 grep -v '^ *+' conftest.er1
>conftest.err
17313 cat conftest.err
>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } >/dev
/null
; then
17316 if test -s conftest.err
; then
17317 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17318 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17325 if test -z "$ac_cpp_err"; then
17326 # Broken: success on invalid input.
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.
$ac_ext >&5
17332 # Passes both tests.
17336 rm -f conftest.err conftest.
$ac_ext
17339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17340 rm -f conftest.err conftest.
$ac_ext
17341 if $ac_preproc_ok; then
17344 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17345 See \`config.log' for more details." >&5
17346 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17347 See \`config.log' for more details." >&2;}
17348 { (exit 1); exit 1; }; }
17352 ac_cpp
='$CXXCPP $CPPFLAGS'
17353 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17354 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17355 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17358 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17359 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
17360 if test "${ac_cv_header_stdc+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 cat >conftest.
$ac_ext <<_ACEOF
17366 cat confdefs.h
>>conftest.
$ac_ext
17367 cat >>conftest.
$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17369 #include <stdlib.h>
17370 #include <stdarg.h>
17371 #include <string.h>
17382 rm -f conftest.
$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>conftest.er1
17386 grep -v '^ *+' conftest.er1
>conftest.err
17388 cat conftest.err
>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; } &&
17397 { ac_try
='test -s conftest.$ac_objext'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; }; then
17403 ac_cv_header_stdc
=yes
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.
$ac_ext >&5
17408 ac_cv_header_stdc
=no
17410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17412 if test $ac_cv_header_stdc = yes; then
17413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17414 cat >conftest.
$ac_ext <<_ACEOF
17417 cat confdefs.h
>>conftest.
$ac_ext
17418 cat >>conftest.
$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 #include <string.h>
17423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17424 $EGREP "memchr" >/dev
/null
2>&1; then
17427 ac_cv_header_stdc
=no
17433 if test $ac_cv_header_stdc = yes; then
17434 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17435 cat >conftest.
$ac_ext <<_ACEOF
17438 cat confdefs.h
>>conftest.
$ac_ext
17439 cat >>conftest.
$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 #include <stdlib.h>
17444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17445 $EGREP "free" >/dev
/null
2>&1; then
17448 ac_cv_header_stdc
=no
17454 if test $ac_cv_header_stdc = yes; then
17455 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17456 if test "$cross_compiling" = yes; then
17459 cat >conftest.
$ac_ext <<_ACEOF
17462 cat confdefs.h
>>conftest.
$ac_ext
17463 cat >>conftest.
$ac_ext <<_ACEOF
17464 /* end confdefs.h. */
17466 #if ((' ' & 0x0FF) == 0x020)
17467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17470 # define ISLOWER(c) \
17471 (('a' <= (c) && (c) <= 'i') \
17472 || ('j' <= (c) && (c) <= 'r') \
17473 || ('s' <= (c) && (c) <= 'z'))
17474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17482 for (i = 0; i < 256; i++)
17483 if (XOR (islower (i), ISLOWER (i))
17484 || toupper (i) != TOUPPER (i))
17489 rm -f conftest
$ac_exeext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17491 (eval $ac_link) 2>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; }; then
17502 echo "$as_me: program exited with status $ac_status" >&5
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.
$ac_ext >&5
17506 ( exit $ac_status )
17507 ac_cv_header_stdc
=no
17509 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17513 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17514 echo "${ECHO_T}$ac_cv_header_stdc" >&6
17515 if test $ac_cv_header_stdc = yes; then
17517 cat >>confdefs.h
<<\_ACEOF
17518 #define STDC_HEADERS 1
17523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17533 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
17534 inttypes.h stdint.h unistd.h
17536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17537 echo "$as_me:$LINENO: checking for $ac_header" >&5
17538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17542 cat >conftest.
$ac_ext <<_ACEOF
17545 cat confdefs.h
>>conftest.
$ac_ext
17546 cat >>conftest.
$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17550 #include <$ac_header>
17552 rm -f conftest.
$ac_objext
17553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17554 (eval $ac_compile) 2>conftest.er1
17556 grep -v '^ *+' conftest.er1
>conftest.err
17558 cat conftest.err
>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } &&
17561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try
='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 eval "$as_ac_Header=yes"
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.
$ac_ext >&5
17578 eval "$as_ac_Header=no"
17580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17585 cat >>confdefs.h
<<_ACEOF
17586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17595 for ac_header
in stdlib.h
17597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17599 echo "$as_me:$LINENO: checking for $ac_header" >&5
17600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17602 echo $ECHO_N "(cached) $ECHO_C" >&6
17604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17607 # Is the header compilable?
17608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17610 cat >conftest.
$ac_ext <<_ACEOF
17613 cat confdefs.h
>>conftest.
$ac_ext
17614 cat >>conftest.
$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17616 $ac_includes_default
17617 #include <$ac_header>
17619 rm -f conftest.
$ac_objext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17621 (eval $ac_compile) 2>conftest.er1
17623 grep -v '^ *+' conftest.er1
>conftest.err
17625 cat conftest.err
>&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try
='test -s conftest.$ac_objext'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; }; then
17640 ac_header_compiler
=yes
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.
$ac_ext >&5
17645 ac_header_compiler
=no
17647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17649 echo "${ECHO_T}$ac_header_compiler" >&6
17651 # Is the header present?
17652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17654 cat >conftest.
$ac_ext <<_ACEOF
17657 cat confdefs.h
>>conftest.
$ac_ext
17658 cat >>conftest.
$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 #include <$ac_header>
17662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17665 grep -v '^ *+' conftest.er1
>conftest.err
17667 cat conftest.err
>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } >/dev
/null
; then
17670 if test -s conftest.err
; then
17671 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17672 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17679 if test -z "$ac_cpp_err"; then
17680 ac_header_preproc
=yes
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.
$ac_ext >&5
17685 ac_header_preproc
=no
17687 rm -f conftest.err conftest.
$ac_ext
17688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17689 echo "${ECHO_T}$ac_header_preproc" >&6
17691 # So? What about this header?
17692 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17698 ac_header_preproc
=yes
17701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17715 ## ----------------------------------------- ##
17716 ## Report this to wx-dev@lists.wxwidgets.org ##
17717 ## ----------------------------------------- ##
17720 sed "s/^/$as_me: WARNING: /" >&2
17723 echo "$as_me:$LINENO: checking for $ac_header" >&5
17724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17728 eval "$as_ac_Header=\$ac_header_preproc"
17730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17735 cat >>confdefs.h
<<_ACEOF
17736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17744 for ac_header
in malloc.h
17746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17748 echo "$as_me:$LINENO: checking for $ac_header" >&5
17749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17756 # Is the header compilable?
17757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17759 cat >conftest.
$ac_ext <<_ACEOF
17762 cat confdefs.h
>>conftest.
$ac_ext
17763 cat >>conftest.
$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17766 #include <$ac_header>
17768 rm -f conftest.
$ac_objext
17769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17770 (eval $ac_compile) 2>conftest.er1
17772 grep -v '^ *+' conftest.er1
>conftest.err
17774 cat conftest.err
>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
17777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; } &&
17783 { ac_try
='test -s conftest.$ac_objext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789 ac_header_compiler
=yes
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.
$ac_ext >&5
17794 ac_header_compiler
=no
17796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17798 echo "${ECHO_T}$ac_header_compiler" >&6
17800 # Is the header present?
17801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17803 cat >conftest.
$ac_ext <<_ACEOF
17806 cat confdefs.h
>>conftest.
$ac_ext
17807 cat >>conftest.
$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809 #include <$ac_header>
17811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17814 grep -v '^ *+' conftest.er1
>conftest.err
17816 cat conftest.err
>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); } >/dev
/null
; then
17819 if test -s conftest.err
; then
17820 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17821 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17828 if test -z "$ac_cpp_err"; then
17829 ac_header_preproc
=yes
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 ac_header_preproc
=no
17836 rm -f conftest.err conftest.
$ac_ext
17837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17838 echo "${ECHO_T}$ac_header_preproc" >&6
17840 # So? What about this header?
17841 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17847 ac_header_preproc
=yes
17850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17864 ## ----------------------------------------- ##
17865 ## Report this to wx-dev@lists.wxwidgets.org ##
17866 ## ----------------------------------------- ##
17869 sed "s/^/$as_me: WARNING: /" >&2
17872 echo "$as_me:$LINENO: checking for $ac_header" >&5
17873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17877 eval "$as_ac_Header=\$ac_header_preproc"
17879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17884 cat >>confdefs.h
<<_ACEOF
17885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17893 for ac_header
in unistd.h
17895 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17897 echo "$as_me:$LINENO: checking for $ac_header" >&5
17898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17900 echo $ECHO_N "(cached) $ECHO_C" >&6
17902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17905 # Is the header compilable?
17906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17908 cat >conftest.
$ac_ext <<_ACEOF
17911 cat confdefs.h
>>conftest.
$ac_ext
17912 cat >>conftest.
$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 $ac_includes_default
17915 #include <$ac_header>
17917 rm -f conftest.
$ac_objext
17918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17919 (eval $ac_compile) 2>conftest.er1
17921 grep -v '^ *+' conftest.er1
>conftest.err
17923 cat conftest.err
>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } &&
17926 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; } &&
17932 { ac_try
='test -s conftest.$ac_objext'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; }; then
17938 ac_header_compiler
=yes
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.
$ac_ext >&5
17943 ac_header_compiler
=no
17945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17947 echo "${ECHO_T}$ac_header_compiler" >&6
17949 # Is the header present?
17950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17952 cat >conftest.
$ac_ext <<_ACEOF
17955 cat confdefs.h
>>conftest.
$ac_ext
17956 cat >>conftest.
$ac_ext <<_ACEOF
17957 /* end confdefs.h. */
17958 #include <$ac_header>
17960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17961 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17963 grep -v '^ *+' conftest.er1
>conftest.err
17965 cat conftest.err
>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } >/dev
/null
; then
17968 if test -s conftest.err
; then
17969 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17970 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17977 if test -z "$ac_cpp_err"; then
17978 ac_header_preproc
=yes
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.
$ac_ext >&5
17983 ac_header_preproc
=no
17985 rm -f conftest.err conftest.
$ac_ext
17986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17987 echo "${ECHO_T}$ac_header_preproc" >&6
17989 # So? What about this header?
17990 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17996 ac_header_preproc
=yes
17999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18013 ## ----------------------------------------- ##
18014 ## Report this to wx-dev@lists.wxwidgets.org ##
18015 ## ----------------------------------------- ##
18018 sed "s/^/$as_me: WARNING: /" >&2
18021 echo "$as_me:$LINENO: checking for $ac_header" >&5
18022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 eval "$as_ac_Header=\$ac_header_preproc"
18028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18033 cat >>confdefs.h
<<_ACEOF
18034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18042 for ac_header
in wchar.h
18044 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18046 echo "$as_me:$LINENO: checking for $ac_header" >&5
18047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18054 # Is the header compilable?
18055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18057 cat >conftest.
$ac_ext <<_ACEOF
18060 cat confdefs.h
>>conftest.
$ac_ext
18061 cat >>conftest.
$ac_ext <<_ACEOF
18062 /* end confdefs.h. */
18063 $ac_includes_default
18064 #include <$ac_header>
18066 rm -f conftest.
$ac_objext
18067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18068 (eval $ac_compile) 2>conftest.er1
18070 grep -v '^ *+' conftest.er1
>conftest.err
18072 cat conftest.err
>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); } &&
18075 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; } &&
18081 { ac_try
='test -s conftest.$ac_objext'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; }; then
18087 ac_header_compiler
=yes
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.
$ac_ext >&5
18092 ac_header_compiler
=no
18094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18096 echo "${ECHO_T}$ac_header_compiler" >&6
18098 # Is the header present?
18099 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18101 cat >conftest.
$ac_ext <<_ACEOF
18104 cat confdefs.h
>>conftest.
$ac_ext
18105 cat >>conftest.
$ac_ext <<_ACEOF
18106 /* end confdefs.h. */
18107 #include <$ac_header>
18109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18110 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18112 grep -v '^ *+' conftest.er1
>conftest.err
18114 cat conftest.err
>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } >/dev
/null
; then
18117 if test -s conftest.err
; then
18118 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18119 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18126 if test -z "$ac_cpp_err"; then
18127 ac_header_preproc
=yes
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.
$ac_ext >&5
18132 ac_header_preproc
=no
18134 rm -f conftest.err conftest.
$ac_ext
18135 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18136 echo "${ECHO_T}$ac_header_preproc" >&6
18138 # So? What about this header?
18139 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18141 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18142 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18144 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18145 ac_header_preproc
=yes
18148 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18149 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18150 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18151 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18152 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18153 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18154 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18155 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18157 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18158 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18159 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18162 ## ----------------------------------------- ##
18163 ## Report this to wx-dev@lists.wxwidgets.org ##
18164 ## ----------------------------------------- ##
18167 sed "s/^/$as_me: WARNING: /" >&2
18170 echo "$as_me:$LINENO: checking for $ac_header" >&5
18171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18173 echo $ECHO_N "(cached) $ECHO_C" >&6
18175 eval "$as_ac_Header=\$ac_header_preproc"
18177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18182 cat >>confdefs.h
<<_ACEOF
18183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18191 if test "$ac_cv_header_wchar_h" != "yes"; then
18193 for ac_header
in wcstr.h
18195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18197 echo "$as_me:$LINENO: checking for $ac_header" >&5
18198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18200 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18205 # Is the header compilable?
18206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18208 cat >conftest.
$ac_ext <<_ACEOF
18211 cat confdefs.h
>>conftest.
$ac_ext
18212 cat >>conftest.
$ac_ext <<_ACEOF
18213 /* end confdefs.h. */
18214 $ac_includes_default
18215 #include <$ac_header>
18217 rm -f conftest.
$ac_objext
18218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18219 (eval $ac_compile) 2>conftest.er1
18221 grep -v '^ *+' conftest.er1
>conftest.err
18223 cat conftest.err
>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } &&
18226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try
='test -s conftest.$ac_objext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 ac_header_compiler
=yes
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.
$ac_ext >&5
18243 ac_header_compiler
=no
18245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18247 echo "${ECHO_T}$ac_header_compiler" >&6
18249 # Is the header present?
18250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18252 cat >conftest.
$ac_ext <<_ACEOF
18255 cat confdefs.h
>>conftest.
$ac_ext
18256 cat >>conftest.
$ac_ext <<_ACEOF
18257 /* end confdefs.h. */
18258 #include <$ac_header>
18260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18263 grep -v '^ *+' conftest.er1
>conftest.err
18265 cat conftest.err
>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } >/dev
/null
; then
18268 if test -s conftest.err
; then
18269 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18270 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18277 if test -z "$ac_cpp_err"; then
18278 ac_header_preproc
=yes
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.
$ac_ext >&5
18283 ac_header_preproc
=no
18285 rm -f conftest.err conftest.
$ac_ext
18286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18287 echo "${ECHO_T}$ac_header_preproc" >&6
18289 # So? What about this header?
18290 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18295 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18296 ac_header_preproc
=yes
18299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18300 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18302 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18303 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18304 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18305 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18306 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18309 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18310 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18313 ## ----------------------------------------- ##
18314 ## Report this to wx-dev@lists.wxwidgets.org ##
18315 ## ----------------------------------------- ##
18318 sed "s/^/$as_me: WARNING: /" >&2
18321 echo "$as_me:$LINENO: checking for $ac_header" >&5
18322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18324 echo $ECHO_N "(cached) $ECHO_C" >&6
18326 eval "$as_ac_Header=\$ac_header_preproc"
18328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18333 cat >>confdefs.h
<<_ACEOF
18334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18344 for ac_header
in fnmatch.h
18346 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18348 echo "$as_me:$LINENO: checking for $ac_header" >&5
18349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18356 # Is the header compilable?
18357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18359 cat >conftest.
$ac_ext <<_ACEOF
18362 cat confdefs.h
>>conftest.
$ac_ext
18363 cat >>conftest.
$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 $ac_includes_default
18366 #include <$ac_header>
18368 rm -f conftest.
$ac_objext
18369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18370 (eval $ac_compile) 2>conftest.er1
18372 grep -v '^ *+' conftest.er1
>conftest.err
18374 cat conftest.err
>&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } &&
18377 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379 (eval $ac_try) 2>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; } &&
18383 { ac_try
='test -s conftest.$ac_objext'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 ac_header_compiler
=yes
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.
$ac_ext >&5
18394 ac_header_compiler
=no
18396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18398 echo "${ECHO_T}$ac_header_compiler" >&6
18400 # Is the header present?
18401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18403 cat >conftest.
$ac_ext <<_ACEOF
18406 cat confdefs.h
>>conftest.
$ac_ext
18407 cat >>conftest.
$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 #include <$ac_header>
18411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18412 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
18419 if test -s conftest.err
; then
18420 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18421 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18428 if test -z "$ac_cpp_err"; then
18429 ac_header_preproc
=yes
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.
$ac_ext >&5
18434 ac_header_preproc
=no
18436 rm -f conftest.err conftest.
$ac_ext
18437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18438 echo "${ECHO_T}$ac_header_preproc" >&6
18440 # So? What about this header?
18441 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18447 ac_header_preproc
=yes
18450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18464 ## ----------------------------------------- ##
18465 ## Report this to wx-dev@lists.wxwidgets.org ##
18466 ## ----------------------------------------- ##
18469 sed "s/^/$as_me: WARNING: /" >&2
18472 echo "$as_me:$LINENO: checking for $ac_header" >&5
18473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 eval "$as_ac_Header=\$ac_header_preproc"
18479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18484 cat >>confdefs.h
<<_ACEOF
18485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18494 for ac_header
in langinfo.h
18496 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18498 echo "$as_me:$LINENO: checking for $ac_header" >&5
18499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18501 echo $ECHO_N "(cached) $ECHO_C" >&6
18503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18506 # Is the header compilable?
18507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18509 cat >conftest.
$ac_ext <<_ACEOF
18512 cat confdefs.h
>>conftest.
$ac_ext
18513 cat >>conftest.
$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 $ac_includes_default
18516 #include <$ac_header>
18518 rm -f conftest.
$ac_objext
18519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18520 (eval $ac_compile) 2>conftest.er1
18522 grep -v '^ *+' conftest.er1
>conftest.err
18524 cat conftest.err
>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } &&
18527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; } &&
18533 { ac_try
='test -s conftest.$ac_objext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_header_compiler
=yes
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.
$ac_ext >&5
18544 ac_header_compiler
=no
18546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18548 echo "${ECHO_T}$ac_header_compiler" >&6
18550 # Is the header present?
18551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18553 cat >conftest.
$ac_ext <<_ACEOF
18556 cat confdefs.h
>>conftest.
$ac_ext
18557 cat >>conftest.
$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <$ac_header>
18561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18564 grep -v '^ *+' conftest.er1
>conftest.err
18566 cat conftest.err
>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } >/dev
/null
; then
18569 if test -s conftest.err
; then
18570 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18571 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18578 if test -z "$ac_cpp_err"; then
18579 ac_header_preproc
=yes
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.
$ac_ext >&5
18584 ac_header_preproc
=no
18586 rm -f conftest.err conftest.
$ac_ext
18587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18588 echo "${ECHO_T}$ac_header_preproc" >&6
18590 # So? What about this header?
18591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18597 ac_header_preproc
=yes
18600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18614 ## ----------------------------------------- ##
18615 ## Report this to wx-dev@lists.wxwidgets.org ##
18616 ## ----------------------------------------- ##
18619 sed "s/^/$as_me: WARNING: /" >&2
18622 echo "$as_me:$LINENO: checking for $ac_header" >&5
18623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6
18627 eval "$as_ac_Header=\$ac_header_preproc"
18629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18634 cat >>confdefs.h
<<_ACEOF
18635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18644 *-pc-os2_emx | *-pc-os2-emx )
18645 if test $ac_cv_header_langinfo_h = "yes" \
18646 -a \
( "$wx_cv_gccversion" = "EMX2" \
18647 -o "$wx_cv_gccversion" = "EMX3" \
18648 -o "$wx_cv_gccversion" = "Innotek5" \
); then
18649 LIBS
="$LIBS -lintl"
18654 if test "$USE_UNIX" = 1 ; then
18656 for ac_header
in sys
/select.h
18658 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18660 echo "$as_me:$LINENO: checking for $ac_header" >&5
18661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18668 # Is the header compilable?
18669 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18670 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18671 cat >conftest.
$ac_ext <<_ACEOF
18674 cat confdefs.h
>>conftest.
$ac_ext
18675 cat >>conftest.
$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18677 $ac_includes_default
18678 #include <$ac_header>
18680 rm -f conftest.
$ac_objext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18682 (eval $ac_compile) 2>conftest.er1
18684 grep -v '^ *+' conftest.er1
>conftest.err
18686 cat conftest.err
>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } &&
18689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; } &&
18695 { ac_try
='test -s conftest.$ac_objext'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; }; then
18701 ac_header_compiler
=yes
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.
$ac_ext >&5
18706 ac_header_compiler
=no
18708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18710 echo "${ECHO_T}$ac_header_compiler" >&6
18712 # Is the header present?
18713 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18715 cat >conftest.
$ac_ext <<_ACEOF
18718 cat confdefs.h
>>conftest.
$ac_ext
18719 cat >>conftest.
$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 #include <$ac_header>
18723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18726 grep -v '^ *+' conftest.er1
>conftest.err
18728 cat conftest.err
>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } >/dev
/null
; then
18731 if test -s conftest.err
; then
18732 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18733 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18740 if test -z "$ac_cpp_err"; then
18741 ac_header_preproc
=yes
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.
$ac_ext >&5
18746 ac_header_preproc
=no
18748 rm -f conftest.err conftest.
$ac_ext
18749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18750 echo "${ECHO_T}$ac_header_preproc" >&6
18752 # So? What about this header?
18753 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18759 ac_header_preproc
=yes
18762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18776 ## ----------------------------------------- ##
18777 ## Report this to wx-dev@lists.wxwidgets.org ##
18778 ## ----------------------------------------- ##
18781 sed "s/^/$as_me: WARNING: /" >&2
18784 echo "$as_me:$LINENO: checking for $ac_header" >&5
18785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18789 eval "$as_ac_Header=\$ac_header_preproc"
18791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18796 cat >>confdefs.h
<<_ACEOF
18797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18807 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18808 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18809 if test "${ac_cv_c_const+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18812 cat >conftest.
$ac_ext <<_ACEOF
18815 cat confdefs.h
>>conftest.
$ac_ext
18816 cat >>conftest.
$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18822 /* FIXME: Include the comments suggested by Paul. */
18823 #ifndef __cplusplus
18824 /* Ultrix mips cc rejects this. */
18825 typedef int charset[2];
18827 /* SunOS 4.1.1 cc rejects this. */
18828 char const *const *ccp;
18830 /* NEC SVR4.0.2 mips cc rejects this. */
18831 struct point {int x, y;};
18832 static struct point const zero = {0,0};
18833 /* AIX XL C 1.02.0.0 rejects this.
18834 It does not let you subtract one const X* pointer from another in
18835 an arm of an if-expression whose if-part is not a constant
18837 const char *g = "string";
18838 ccp = &g + (g ? g-g : 0);
18839 /* HPUX 7.0 cc rejects these. */
18842 ccp = (char const *const *) p;
18843 { /* SCO 3.2v4 cc rejects this. */
18845 char const *s = 0 ? (char *) 0 : (char const *) 0;
18849 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18850 int x[] = {25, 17};
18851 const int *foo = &x[0];
18854 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18855 typedef const int *iptr;
18859 { /* AIX XL C 1.02.0.0 rejects this saying
18860 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18861 struct s { int j; const int *ap[3]; };
18862 struct s *b; b->j = 5;
18864 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18865 const int foo = 10;
18873 rm -f conftest.
$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>conftest.er1
18877 grep -v '^ *+' conftest.er1
>conftest.err
18879 cat conftest.err
>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } &&
18882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; } &&
18888 { ac_try
='test -s conftest.$ac_objext'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.
$ac_ext >&5
18901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18903 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18904 echo "${ECHO_T}$ac_cv_c_const" >&6
18905 if test $ac_cv_c_const = no
; then
18907 cat >>confdefs.h
<<\_ACEOF
18913 echo "$as_me:$LINENO: checking for inline" >&5
18914 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18915 if test "${ac_cv_c_inline+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18919 for ac_kw
in inline __inline__ __inline
; do
18920 cat >conftest.
$ac_ext <<_ACEOF
18923 cat confdefs.h
>>conftest.
$ac_ext
18924 cat >>conftest.
$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 #ifndef __cplusplus
18928 static $ac_kw foo_t static_foo () {return 0; }
18929 $ac_kw foo_t foo () {return 0; }
18933 rm -f conftest.
$ac_objext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18935 (eval $ac_compile) 2>conftest.er1
18937 grep -v '^ *+' conftest.er1
>conftest.err
18939 cat conftest.err
>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } &&
18942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try
='test -s conftest.$ac_objext'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; }; then
18954 ac_cv_c_inline
=$ac_kw; break
18956 echo "$as_me: failed program was:" >&5
18957 sed 's/^/| /' conftest.
$ac_ext >&5
18960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18964 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18965 echo "${ECHO_T}$ac_cv_c_inline" >&6
18968 case $ac_cv_c_inline in
18971 case $ac_cv_c_inline in
18973 *) ac_val
=$ac_cv_c_inline;;
18975 cat >>confdefs.h
<<_ACEOF
18976 #ifndef __cplusplus
18977 #define inline $ac_val
18984 echo "$as_me:$LINENO: checking for char" >&5
18985 echo $ECHO_N "checking for char... $ECHO_C" >&6
18986 if test "${ac_cv_type_char+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18989 cat >conftest.
$ac_ext <<_ACEOF
18992 cat confdefs.h
>>conftest.
$ac_ext
18993 cat >>conftest.
$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 $ac_includes_default
19007 rm -f conftest.
$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19011 grep -v '^ *+' conftest.er1
>conftest.err
19013 cat conftest.err
>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; } &&
19022 { ac_try
='test -s conftest.$ac_objext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_cv_type_char
=yes
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.
$ac_ext >&5
19035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19037 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
19038 echo "${ECHO_T}$ac_cv_type_char" >&6
19040 echo "$as_me:$LINENO: checking size of char" >&5
19041 echo $ECHO_N "checking size of char... $ECHO_C" >&6
19042 if test "${ac_cv_sizeof_char+set}" = set; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 if test "$ac_cv_type_char" = yes; then
19046 # The cast to unsigned long works around a bug in the HP C Compiler
19047 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19048 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19049 # This bug is HP SR number 8606223364.
19050 if test "$cross_compiling" = yes; then
19051 # Depending upon the size, compute the lo and hi bounds.
19052 cat >conftest.
$ac_ext <<_ACEOF
19055 cat confdefs.h
>>conftest.
$ac_ext
19056 cat >>conftest.
$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 $ac_includes_default
19062 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
19069 rm -f conftest.
$ac_objext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19071 (eval $ac_compile) 2>conftest.er1
19073 grep -v '^ *+' conftest.er1
>conftest.err
19075 cat conftest.err
>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try
='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19092 cat >conftest.
$ac_ext <<_ACEOF
19095 cat confdefs.h
>>conftest.
$ac_ext
19096 cat >>conftest.
$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 $ac_includes_default
19102 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
19109 rm -f conftest.
$ac_objext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19111 (eval $ac_compile) 2>conftest.er1
19113 grep -v '^ *+' conftest.er1
>conftest.err
19115 cat conftest.err
>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } &&
19118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; } &&
19124 { ac_try
='test -s conftest.$ac_objext'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; }; then
19130 ac_hi
=$ac_mid; break
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.
$ac_ext >&5
19135 ac_lo
=`expr $ac_mid + 1`
19136 if test $ac_lo -le $ac_mid; then
19140 ac_mid
=`expr 2 '*' $ac_mid + 1`
19142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.
$ac_ext >&5
19148 cat >conftest.
$ac_ext <<_ACEOF
19151 cat confdefs.h
>>conftest.
$ac_ext
19152 cat >>conftest.
$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 $ac_includes_default
19158 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
19165 rm -f conftest.
$ac_objext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19167 (eval $ac_compile) 2>conftest.er1
19169 grep -v '^ *+' conftest.er1
>conftest.err
19171 cat conftest.err
>&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; } &&
19180 { ac_try
='test -s conftest.$ac_objext'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19188 cat >conftest.
$ac_ext <<_ACEOF
19191 cat confdefs.h
>>conftest.
$ac_ext
19192 cat >>conftest.
$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 $ac_includes_default
19198 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
19205 rm -f conftest.
$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19209 grep -v '^ *+' conftest.er1
>conftest.err
19211 cat conftest.err
>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; } &&
19220 { ac_try
='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 ac_lo
=$ac_mid; break
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.
$ac_ext >&5
19231 ac_hi
=`expr '(' $ac_mid ')' - 1`
19232 if test $ac_mid -le $ac_hi; then
19236 ac_mid
=`expr 2 '*' $ac_mid`
19238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.
$ac_ext >&5
19246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19249 # Binary search between lo and hi bounds.
19250 while test "x$ac_lo" != "x$ac_hi"; do
19251 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19252 cat >conftest.
$ac_ext <<_ACEOF
19255 cat confdefs.h
>>conftest.
$ac_ext
19256 cat >>conftest.
$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19258 $ac_includes_default
19262 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
19269 rm -f conftest.
$ac_objext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19271 (eval $ac_compile) 2>conftest.er1
19273 grep -v '^ *+' conftest.er1
>conftest.err
19275 cat conftest.err
>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; } &&
19284 { ac_try
='test -s conftest.$ac_objext'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; }; then
19292 echo "$as_me: failed program was:" >&5
19293 sed 's/^/| /' conftest.
$ac_ext >&5
19295 ac_lo
=`expr '(' $ac_mid ')' + 1`
19297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19300 ?
*) ac_cv_sizeof_char
=$ac_lo;;
19301 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
19302 See \`config.log' for more details." >&5
19303 echo "$as_me: error: cannot compute sizeof (char), 77
19304 See \`config.log' for more details." >&2;}
19305 { (exit 1); exit 1; }; } ;;
19308 if test "$cross_compiling" = yes; then
19309 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19310 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19311 { (exit 1); exit 1; }; }
19313 cat >conftest.
$ac_ext <<_ACEOF
19316 cat confdefs.h
>>conftest.
$ac_ext
19317 cat >>conftest.
$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 $ac_includes_default
19320 long longval () { return (long) (sizeof (char)); }
19321 unsigned long ulongval () { return (long) (sizeof (char)); }
19323 #include <stdlib.h>
19328 FILE *f = fopen ("conftest.val", "w");
19331 if (((long) (sizeof (char))) < 0)
19333 long i = longval ();
19334 if (i != ((long) (sizeof (char))))
19336 fprintf (f, "%ld\n", i);
19340 unsigned long i = ulongval ();
19341 if (i != ((long) (sizeof (char))))
19343 fprintf (f, "%lu\n", i);
19345 exit (ferror (f) || fclose (f) != 0);
19351 rm -f conftest
$ac_exeext
19352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19353 (eval $ac_link) 2>&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_cv_sizeof_char
=`cat conftest.val`
19364 echo "$as_me: program exited with status $ac_status" >&5
19365 echo "$as_me: failed program was:" >&5
19366 sed 's/^/| /' conftest.
$ac_ext >&5
19368 ( exit $ac_status )
19369 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
19370 See \`config.log' for more details." >&5
19371 echo "$as_me: error: cannot compute sizeof (char), 77
19372 See \`config.log' for more details." >&2;}
19373 { (exit 1); exit 1; }; }
19375 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19380 ac_cv_sizeof_char
=0
19383 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19384 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
19385 cat >>confdefs.h
<<_ACEOF
19386 #define SIZEOF_CHAR $ac_cv_sizeof_char
19390 echo "$as_me:$LINENO: checking for short" >&5
19391 echo $ECHO_N "checking for short... $ECHO_C" >&6
19392 if test "${ac_cv_type_short+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 cat >conftest.
$ac_ext <<_ACEOF
19398 cat confdefs.h
>>conftest.
$ac_ext
19399 cat >>conftest.
$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401 $ac_includes_default
19407 if (sizeof (short))
19413 rm -f conftest.
$ac_objext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19415 (eval $ac_compile) 2>conftest.er1
19417 grep -v '^ *+' conftest.er1
>conftest.err
19419 cat conftest.err
>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); } &&
19422 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19424 (eval $ac_try) 2>&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); }; } &&
19428 { ac_try
='test -s conftest.$ac_objext'
19429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 (eval $ac_try) 2>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; }; then
19434 ac_cv_type_short
=yes
19436 echo "$as_me: failed program was:" >&5
19437 sed 's/^/| /' conftest.
$ac_ext >&5
19439 ac_cv_type_short
=no
19441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19443 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19444 echo "${ECHO_T}$ac_cv_type_short" >&6
19446 echo "$as_me:$LINENO: checking size of short" >&5
19447 echo $ECHO_N "checking size of short... $ECHO_C" >&6
19448 if test "${ac_cv_sizeof_short+set}" = set; then
19449 echo $ECHO_N "(cached) $ECHO_C" >&6
19451 if test "$ac_cv_type_short" = yes; then
19452 # The cast to unsigned long works around a bug in the HP C Compiler
19453 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19454 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19455 # This bug is HP SR number 8606223364.
19456 if test "$cross_compiling" = yes; then
19457 # Depending upon the size, compute the lo and hi bounds.
19458 cat >conftest.
$ac_ext <<_ACEOF
19461 cat confdefs.h
>>conftest.
$ac_ext
19462 cat >>conftest.
$ac_ext <<_ACEOF
19463 /* end confdefs.h. */
19464 $ac_includes_default
19468 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
19475 rm -f conftest.
$ac_objext
19476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>conftest.er1
19479 grep -v '^ *+' conftest.er1
>conftest.err
19481 cat conftest.err
>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } &&
19484 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try
='test -s conftest.$ac_objext'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; }; then
19498 cat >conftest.
$ac_ext <<_ACEOF
19501 cat confdefs.h
>>conftest.
$ac_ext
19502 cat >>conftest.
$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19508 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
19515 rm -f conftest.
$ac_objext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19517 (eval $ac_compile) 2>conftest.er1
19519 grep -v '^ *+' conftest.er1
>conftest.err
19521 cat conftest.err
>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; } &&
19530 { ac_try
='test -s conftest.$ac_objext'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19536 ac_hi
=$ac_mid; break
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.
$ac_ext >&5
19541 ac_lo
=`expr $ac_mid + 1`
19542 if test $ac_lo -le $ac_mid; then
19546 ac_mid
=`expr 2 '*' $ac_mid + 1`
19548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19554 cat >conftest.
$ac_ext <<_ACEOF
19557 cat confdefs.h
>>conftest.
$ac_ext
19558 cat >>conftest.
$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19560 $ac_includes_default
19564 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
19571 rm -f conftest.
$ac_objext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19573 (eval $ac_compile) 2>conftest.er1
19575 grep -v '^ *+' conftest.er1
>conftest.err
19577 cat conftest.err
>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try
='test -s conftest.$ac_objext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19594 cat >conftest.
$ac_ext <<_ACEOF
19597 cat confdefs.h
>>conftest.
$ac_ext
19598 cat >>conftest.
$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600 $ac_includes_default
19604 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
19611 rm -f conftest.
$ac_objext
19612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19613 (eval $ac_compile) 2>conftest.er1
19615 grep -v '^ *+' conftest.er1
>conftest.err
19617 cat conftest.err
>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } &&
19620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; } &&
19626 { ac_try
='test -s conftest.$ac_objext'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; }; then
19632 ac_lo
=$ac_mid; break
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.
$ac_ext >&5
19637 ac_hi
=`expr '(' $ac_mid ')' - 1`
19638 if test $ac_mid -le $ac_hi; then
19642 ac_mid
=`expr 2 '*' $ac_mid`
19644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.
$ac_ext >&5
19652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19655 # Binary search between lo and hi bounds.
19656 while test "x$ac_lo" != "x$ac_hi"; do
19657 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19658 cat >conftest.
$ac_ext <<_ACEOF
19661 cat confdefs.h
>>conftest.
$ac_ext
19662 cat >>conftest.
$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 $ac_includes_default
19668 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
19675 rm -f conftest.
$ac_objext
19676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19677 (eval $ac_compile) 2>conftest.er1
19679 grep -v '^ *+' conftest.er1
>conftest.err
19681 cat conftest.err
>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } &&
19684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try
='test -s conftest.$ac_objext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.
$ac_ext >&5
19701 ac_lo
=`expr '(' $ac_mid ')' + 1`
19703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19706 ?
*) ac_cv_sizeof_short
=$ac_lo;;
19707 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19708 See \`config.log' for more details." >&5
19709 echo "$as_me: error: cannot compute sizeof (short), 77
19710 See \`config.log' for more details." >&2;}
19711 { (exit 1); exit 1; }; } ;;
19714 if test "$cross_compiling" = yes; then
19715 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19716 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19717 { (exit 1); exit 1; }; }
19719 cat >conftest.
$ac_ext <<_ACEOF
19722 cat confdefs.h
>>conftest.
$ac_ext
19723 cat >>conftest.
$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 $ac_includes_default
19726 long longval () { return (long) (sizeof (short)); }
19727 unsigned long ulongval () { return (long) (sizeof (short)); }
19729 #include <stdlib.h>
19734 FILE *f = fopen ("conftest.val", "w");
19737 if (((long) (sizeof (short))) < 0)
19739 long i = longval ();
19740 if (i != ((long) (sizeof (short))))
19742 fprintf (f, "%ld\n", i);
19746 unsigned long i = ulongval ();
19747 if (i != ((long) (sizeof (short))))
19749 fprintf (f, "%lu\n", i);
19751 exit (ferror (f) || fclose (f) != 0);
19757 rm -f conftest
$ac_exeext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19759 (eval $ac_link) 2>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; }; then
19768 ac_cv_sizeof_short
=`cat conftest.val`
19770 echo "$as_me: program exited with status $ac_status" >&5
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.
$ac_ext >&5
19774 ( exit $ac_status )
19775 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19776 See \`config.log' for more details." >&5
19777 echo "$as_me: error: cannot compute sizeof (short), 77
19778 See \`config.log' for more details." >&2;}
19779 { (exit 1); exit 1; }; }
19781 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19786 ac_cv_sizeof_short
=0
19789 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19790 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19791 cat >>confdefs.h
<<_ACEOF
19792 #define SIZEOF_SHORT $ac_cv_sizeof_short
19796 echo "$as_me:$LINENO: checking for void *" >&5
19797 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19798 if test "${ac_cv_type_void_p+set}" = set; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 cat >conftest.
$ac_ext <<_ACEOF
19804 cat confdefs.h
>>conftest.
$ac_ext
19805 cat >>conftest.
$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 $ac_includes_default
19813 if (sizeof (void *))
19819 rm -f conftest.
$ac_objext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19821 (eval $ac_compile) 2>conftest.er1
19823 grep -v '^ *+' conftest.er1
>conftest.err
19825 cat conftest.err
>&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; } &&
19834 { ac_try
='test -s conftest.$ac_objext'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; }; then
19840 ac_cv_type_void_p
=yes
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.
$ac_ext >&5
19845 ac_cv_type_void_p
=no
19847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19849 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19850 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19852 echo "$as_me:$LINENO: checking size of void *" >&5
19853 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19854 if test "${ac_cv_sizeof_void_p+set}" = set; then
19855 echo $ECHO_N "(cached) $ECHO_C" >&6
19857 if test "$ac_cv_type_void_p" = yes; then
19858 # The cast to unsigned long works around a bug in the HP C Compiler
19859 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19860 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19861 # This bug is HP SR number 8606223364.
19862 if test "$cross_compiling" = yes; then
19863 # Depending upon the size, compute the lo and hi bounds.
19864 cat >conftest.
$ac_ext <<_ACEOF
19867 cat confdefs.h
>>conftest.
$ac_ext
19868 cat >>conftest.
$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19870 $ac_includes_default
19874 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19881 rm -f conftest.
$ac_objext
19882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19883 (eval $ac_compile) 2>conftest.er1
19885 grep -v '^ *+' conftest.er1
>conftest.err
19887 cat conftest.err
>&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } &&
19890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try
='test -s conftest.$ac_objext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19904 cat >conftest.
$ac_ext <<_ACEOF
19907 cat confdefs.h
>>conftest.
$ac_ext
19908 cat >>conftest.
$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 $ac_includes_default
19914 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19921 rm -f conftest.
$ac_objext
19922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19923 (eval $ac_compile) 2>conftest.er1
19925 grep -v '^ *+' conftest.er1
>conftest.err
19927 cat conftest.err
>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } &&
19930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try
='test -s conftest.$ac_objext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_hi
=$ac_mid; break
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.
$ac_ext >&5
19947 ac_lo
=`expr $ac_mid + 1`
19948 if test $ac_lo -le $ac_mid; then
19952 ac_mid
=`expr 2 '*' $ac_mid + 1`
19954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.
$ac_ext >&5
19960 cat >conftest.
$ac_ext <<_ACEOF
19963 cat confdefs.h
>>conftest.
$ac_ext
19964 cat >>conftest.
$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 $ac_includes_default
19970 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19977 rm -f conftest.
$ac_objext
19978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19979 (eval $ac_compile) 2>conftest.er1
19981 grep -v '^ *+' conftest.er1
>conftest.err
19983 cat conftest.err
>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); } &&
19986 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; } &&
19992 { ac_try
='test -s conftest.$ac_objext'
19993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994 (eval $ac_try) 2>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); }; }; then
20000 cat >conftest.
$ac_ext <<_ACEOF
20003 cat confdefs.h
>>conftest.
$ac_ext
20004 cat >>conftest.
$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 $ac_includes_default
20010 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
20017 rm -f conftest.
$ac_objext
20018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20019 (eval $ac_compile) 2>conftest.er1
20021 grep -v '^ *+' conftest.er1
>conftest.err
20023 cat conftest.err
>&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); } &&
20026 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; } &&
20032 { ac_try
='test -s conftest.$ac_objext'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; }; then
20038 ac_lo
=$ac_mid; break
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.
$ac_ext >&5
20043 ac_hi
=`expr '(' $ac_mid ')' - 1`
20044 if test $ac_mid -le $ac_hi; then
20048 ac_mid
=`expr 2 '*' $ac_mid`
20050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.
$ac_ext >&5
20058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20061 # Binary search between lo and hi bounds.
20062 while test "x$ac_lo" != "x$ac_hi"; do
20063 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20064 cat >conftest.
$ac_ext <<_ACEOF
20067 cat confdefs.h
>>conftest.
$ac_ext
20068 cat >>conftest.
$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 $ac_includes_default
20074 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20081 rm -f conftest.
$ac_objext
20082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20083 (eval $ac_compile) 2>conftest.er1
20085 grep -v '^ *+' conftest.er1
>conftest.err
20087 cat conftest.err
>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); } &&
20090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; } &&
20096 { ac_try
='test -s conftest.$ac_objext'
20097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20098 (eval $ac_try) 2>&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); }; }; then
20104 echo "$as_me: failed program was:" >&5
20105 sed 's/^/| /' conftest.
$ac_ext >&5
20107 ac_lo
=`expr '(' $ac_mid ')' + 1`
20109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20112 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
20113 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20114 See \`config.log' for more details." >&5
20115 echo "$as_me: error: cannot compute sizeof (void *), 77
20116 See \`config.log' for more details." >&2;}
20117 { (exit 1); exit 1; }; } ;;
20120 if test "$cross_compiling" = yes; then
20121 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20122 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20123 { (exit 1); exit 1; }; }
20125 cat >conftest.
$ac_ext <<_ACEOF
20128 cat confdefs.h
>>conftest.
$ac_ext
20129 cat >>conftest.
$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20131 $ac_includes_default
20132 long longval () { return (long) (sizeof (void *)); }
20133 unsigned long ulongval () { return (long) (sizeof (void *)); }
20135 #include <stdlib.h>
20140 FILE *f = fopen ("conftest.val", "w");
20143 if (((long) (sizeof (void *))) < 0)
20145 long i = longval ();
20146 if (i != ((long) (sizeof (void *))))
20148 fprintf (f, "%ld\n", i);
20152 unsigned long i = ulongval ();
20153 if (i != ((long) (sizeof (void *))))
20155 fprintf (f, "%lu\n", i);
20157 exit (ferror (f) || fclose (f) != 0);
20163 rm -f conftest
$ac_exeext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165 (eval $ac_link) 2>&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170 (eval $ac_try) 2>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); }; }; then
20174 ac_cv_sizeof_void_p
=`cat conftest.val`
20176 echo "$as_me: program exited with status $ac_status" >&5
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.
$ac_ext >&5
20180 ( exit $ac_status )
20181 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20182 See \`config.log' for more details." >&5
20183 echo "$as_me: error: cannot compute sizeof (void *), 77
20184 See \`config.log' for more details." >&2;}
20185 { (exit 1); exit 1; }; }
20187 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20192 ac_cv_sizeof_void_p
=0
20195 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20196 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
20197 cat >>confdefs.h
<<_ACEOF
20198 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20202 echo "$as_me:$LINENO: checking for int" >&5
20203 echo $ECHO_N "checking for int... $ECHO_C" >&6
20204 if test "${ac_cv_type_int+set}" = set; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 cat >conftest.
$ac_ext <<_ACEOF
20210 cat confdefs.h
>>conftest.
$ac_ext
20211 cat >>conftest.
$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20225 rm -f conftest.
$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20229 grep -v '^ *+' conftest.er1
>conftest.err
20231 cat conftest.err
>&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; } &&
20240 { ac_try
='test -s conftest.$ac_objext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.
$ac_ext >&5
20253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20255 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20256 echo "${ECHO_T}$ac_cv_type_int" >&6
20258 echo "$as_me:$LINENO: checking size of int" >&5
20259 echo $ECHO_N "checking size of int... $ECHO_C" >&6
20260 if test "${ac_cv_sizeof_int+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 if test "$ac_cv_type_int" = yes; then
20264 # The cast to unsigned long works around a bug in the HP C Compiler
20265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20267 # This bug is HP SR number 8606223364.
20268 if test "$cross_compiling" = yes; then
20269 # Depending upon the size, compute the lo and hi bounds.
20270 cat >conftest.
$ac_ext <<_ACEOF
20273 cat confdefs.h
>>conftest.
$ac_ext
20274 cat >>conftest.
$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 $ac_includes_default
20280 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
20287 rm -f conftest.
$ac_objext
20288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20289 (eval $ac_compile) 2>conftest.er1
20291 grep -v '^ *+' conftest.er1
>conftest.err
20293 cat conftest.err
>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } &&
20296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; } &&
20302 { ac_try
='test -s conftest.$ac_objext'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; }; then
20310 cat >conftest.
$ac_ext <<_ACEOF
20313 cat confdefs.h
>>conftest.
$ac_ext
20314 cat >>conftest.
$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 $ac_includes_default
20320 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
20327 rm -f conftest.
$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>conftest.er1
20331 grep -v '^ *+' conftest.er1
>conftest.err
20333 cat conftest.err
>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } &&
20336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; } &&
20342 { ac_try
='test -s conftest.$ac_objext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20348 ac_hi
=$ac_mid; break
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.
$ac_ext >&5
20353 ac_lo
=`expr $ac_mid + 1`
20354 if test $ac_lo -le $ac_mid; then
20358 ac_mid
=`expr 2 '*' $ac_mid + 1`
20360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.
$ac_ext >&5
20366 cat >conftest.
$ac_ext <<_ACEOF
20369 cat confdefs.h
>>conftest.
$ac_ext
20370 cat >>conftest.
$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 $ac_includes_default
20376 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
20383 rm -f conftest.
$ac_objext
20384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20385 (eval $ac_compile) 2>conftest.er1
20387 grep -v '^ *+' conftest.er1
>conftest.err
20389 cat conftest.err
>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); } &&
20392 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; } &&
20398 { ac_try
='test -s conftest.$ac_objext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20406 cat >conftest.
$ac_ext <<_ACEOF
20409 cat confdefs.h
>>conftest.
$ac_ext
20410 cat >>conftest.
$ac_ext <<_ACEOF
20411 /* end confdefs.h. */
20412 $ac_includes_default
20416 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
20423 rm -f conftest.
$ac_objext
20424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20425 (eval $ac_compile) 2>conftest.er1
20427 grep -v '^ *+' conftest.er1
>conftest.err
20429 cat conftest.err
>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } &&
20432 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; } &&
20438 { ac_try
='test -s conftest.$ac_objext'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_lo
=$ac_mid; break
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.
$ac_ext >&5
20449 ac_hi
=`expr '(' $ac_mid ')' - 1`
20450 if test $ac_mid -le $ac_hi; then
20454 ac_mid
=`expr 2 '*' $ac_mid`
20456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20467 # Binary search between lo and hi bounds.
20468 while test "x$ac_lo" != "x$ac_hi"; do
20469 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20470 cat >conftest.
$ac_ext <<_ACEOF
20473 cat confdefs.h
>>conftest.
$ac_ext
20474 cat >>conftest.
$ac_ext <<_ACEOF
20475 /* end confdefs.h. */
20476 $ac_includes_default
20480 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
20487 rm -f conftest.
$ac_objext
20488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20489 (eval $ac_compile) 2>conftest.er1
20491 grep -v '^ *+' conftest.er1
>conftest.err
20493 cat conftest.err
>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } &&
20496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; } &&
20502 { ac_try
='test -s conftest.$ac_objext'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; }; then
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.
$ac_ext >&5
20513 ac_lo
=`expr '(' $ac_mid ')' + 1`
20515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20518 ?
*) ac_cv_sizeof_int
=$ac_lo;;
20519 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
20520 See \`config.log' for more details." >&5
20521 echo "$as_me: error: cannot compute sizeof (int), 77
20522 See \`config.log' for more details." >&2;}
20523 { (exit 1); exit 1; }; } ;;
20526 if test "$cross_compiling" = yes; then
20527 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20528 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20529 { (exit 1); exit 1; }; }
20531 cat >conftest.
$ac_ext <<_ACEOF
20534 cat confdefs.h
>>conftest.
$ac_ext
20535 cat >>conftest.
$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20538 long longval () { return (long) (sizeof (int)); }
20539 unsigned long ulongval () { return (long) (sizeof (int)); }
20541 #include <stdlib.h>
20546 FILE *f = fopen ("conftest.val", "w");
20549 if (((long) (sizeof (int))) < 0)
20551 long i = longval ();
20552 if (i != ((long) (sizeof (int))))
20554 fprintf (f, "%ld\n", i);
20558 unsigned long i = ulongval ();
20559 if (i != ((long) (sizeof (int))))
20561 fprintf (f, "%lu\n", i);
20563 exit (ferror (f) || fclose (f) != 0);
20569 rm -f conftest
$ac_exeext
20570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20571 (eval $ac_link) 2>&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; }; then
20580 ac_cv_sizeof_int
=`cat conftest.val`
20582 echo "$as_me: program exited with status $ac_status" >&5
20583 echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.
$ac_ext >&5
20586 ( exit $ac_status )
20587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
20588 See \`config.log' for more details." >&5
20589 echo "$as_me: error: cannot compute sizeof (int), 77
20590 See \`config.log' for more details." >&2;}
20591 { (exit 1); exit 1; }; }
20593 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20601 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20602 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
20603 cat >>confdefs.h
<<_ACEOF
20604 #define SIZEOF_INT $ac_cv_sizeof_int
20608 echo "$as_me:$LINENO: checking for long" >&5
20609 echo $ECHO_N "checking for long... $ECHO_C" >&6
20610 if test "${ac_cv_type_long+set}" = set; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 cat >conftest.
$ac_ext <<_ACEOF
20616 cat confdefs.h
>>conftest.
$ac_ext
20617 cat >>conftest.
$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20619 $ac_includes_default
20631 rm -f conftest.
$ac_objext
20632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20633 (eval $ac_compile) 2>conftest.er1
20635 grep -v '^ *+' conftest.er1
>conftest.err
20637 cat conftest.err
>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } &&
20640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; } &&
20646 { ac_try
='test -s conftest.$ac_objext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 ac_cv_type_long
=yes
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.
$ac_ext >&5
20659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20661 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20662 echo "${ECHO_T}$ac_cv_type_long" >&6
20664 echo "$as_me:$LINENO: checking size of long" >&5
20665 echo $ECHO_N "checking size of long... $ECHO_C" >&6
20666 if test "${ac_cv_sizeof_long+set}" = set; then
20667 echo $ECHO_N "(cached) $ECHO_C" >&6
20669 if test "$ac_cv_type_long" = yes; then
20670 # The cast to unsigned long works around a bug in the HP C Compiler
20671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20673 # This bug is HP SR number 8606223364.
20674 if test "$cross_compiling" = yes; then
20675 # Depending upon the size, compute the lo and hi bounds.
20676 cat >conftest.
$ac_ext <<_ACEOF
20679 cat confdefs.h
>>conftest.
$ac_ext
20680 cat >>conftest.
$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20682 $ac_includes_default
20686 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
20693 rm -f conftest.
$ac_objext
20694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20695 (eval $ac_compile) 2>conftest.er1
20697 grep -v '^ *+' conftest.er1
>conftest.err
20699 cat conftest.err
>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } &&
20702 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; } &&
20708 { ac_try
='test -s conftest.$ac_objext'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; }; then
20716 cat >conftest.
$ac_ext <<_ACEOF
20719 cat confdefs.h
>>conftest.
$ac_ext
20720 cat >>conftest.
$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20726 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20733 rm -f conftest.
$ac_objext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20735 (eval $ac_compile) 2>conftest.er1
20737 grep -v '^ *+' conftest.er1
>conftest.err
20739 cat conftest.err
>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; } &&
20748 { ac_try
='test -s conftest.$ac_objext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_hi
=$ac_mid; break
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.
$ac_ext >&5
20759 ac_lo
=`expr $ac_mid + 1`
20760 if test $ac_lo -le $ac_mid; then
20764 ac_mid
=`expr 2 '*' $ac_mid + 1`
20766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.
$ac_ext >&5
20772 cat >conftest.
$ac_ext <<_ACEOF
20775 cat confdefs.h
>>conftest.
$ac_ext
20776 cat >>conftest.
$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 $ac_includes_default
20782 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
20789 rm -f conftest.
$ac_objext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791 (eval $ac_compile) 2>conftest.er1
20793 grep -v '^ *+' conftest.er1
>conftest.err
20795 cat conftest.err
>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try
='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20812 cat >conftest.
$ac_ext <<_ACEOF
20815 cat confdefs.h
>>conftest.
$ac_ext
20816 cat >>conftest.
$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 $ac_includes_default
20822 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20829 rm -f conftest.
$ac_objext
20830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20831 (eval $ac_compile) 2>conftest.er1
20833 grep -v '^ *+' conftest.er1
>conftest.err
20835 cat conftest.err
>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } &&
20838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; } &&
20844 { ac_try
='test -s conftest.$ac_objext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_lo
=$ac_mid; break
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.
$ac_ext >&5
20855 ac_hi
=`expr '(' $ac_mid ')' - 1`
20856 if test $ac_mid -le $ac_hi; then
20860 ac_mid
=`expr 2 '*' $ac_mid`
20862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20865 echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.
$ac_ext >&5
20870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20873 # Binary search between lo and hi bounds.
20874 while test "x$ac_lo" != "x$ac_hi"; do
20875 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20876 cat >conftest.
$ac_ext <<_ACEOF
20879 cat confdefs.h
>>conftest.
$ac_ext
20880 cat >>conftest.
$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 $ac_includes_default
20886 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20893 rm -f conftest.
$ac_objext
20894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20895 (eval $ac_compile) 2>conftest.er1
20897 grep -v '^ *+' conftest.er1
>conftest.err
20899 cat conftest.err
>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } &&
20902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; } &&
20908 { ac_try
='test -s conftest.$ac_objext'
20909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20910 (eval $ac_try) 2>&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); }; }; then
20916 echo "$as_me: failed program was:" >&5
20917 sed 's/^/| /' conftest.
$ac_ext >&5
20919 ac_lo
=`expr '(' $ac_mid ')' + 1`
20921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20924 ?
*) ac_cv_sizeof_long
=$ac_lo;;
20925 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20926 See \`config.log' for more details." >&5
20927 echo "$as_me: error: cannot compute sizeof (long), 77
20928 See \`config.log' for more details." >&2;}
20929 { (exit 1); exit 1; }; } ;;
20932 if test "$cross_compiling" = yes; then
20933 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20934 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20935 { (exit 1); exit 1; }; }
20937 cat >conftest.
$ac_ext <<_ACEOF
20940 cat confdefs.h
>>conftest.
$ac_ext
20941 cat >>conftest.
$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20944 long longval () { return (long) (sizeof (long)); }
20945 unsigned long ulongval () { return (long) (sizeof (long)); }
20947 #include <stdlib.h>
20952 FILE *f = fopen ("conftest.val", "w");
20955 if (((long) (sizeof (long))) < 0)
20957 long i = longval ();
20958 if (i != ((long) (sizeof (long))))
20960 fprintf (f, "%ld\n", i);
20964 unsigned long i = ulongval ();
20965 if (i != ((long) (sizeof (long))))
20967 fprintf (f, "%lu\n", i);
20969 exit (ferror (f) || fclose (f) != 0);
20975 rm -f conftest
$ac_exeext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20977 (eval $ac_link) 2>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982 (eval $ac_try) 2>&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); }; }; then
20986 ac_cv_sizeof_long
=`cat conftest.val`
20988 echo "$as_me: program exited with status $ac_status" >&5
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.
$ac_ext >&5
20992 ( exit $ac_status )
20993 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20994 See \`config.log' for more details." >&5
20995 echo "$as_me: error: cannot compute sizeof (long), 77
20996 See \`config.log' for more details." >&2;}
20997 { (exit 1); exit 1; }; }
20999 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21004 ac_cv_sizeof_long
=0
21007 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21008 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
21009 cat >>confdefs.h
<<_ACEOF
21010 #define SIZEOF_LONG $ac_cv_sizeof_long
21014 echo "$as_me:$LINENO: checking for size_t" >&5
21015 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21016 if test "${ac_cv_type_size_t+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21019 cat >conftest.
$ac_ext <<_ACEOF
21022 cat confdefs.h
>>conftest.
$ac_ext
21023 cat >>conftest.
$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21031 if (sizeof (size_t))
21037 rm -f conftest.
$ac_objext
21038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21039 (eval $ac_compile) 2>conftest.er1
21041 grep -v '^ *+' conftest.er1
>conftest.err
21043 cat conftest.err
>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; } &&
21052 { ac_try
='test -s conftest.$ac_objext'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 ac_cv_type_size_t
=yes
21060 echo "$as_me: failed program was:" >&5
21061 sed 's/^/| /' conftest.
$ac_ext >&5
21063 ac_cv_type_size_t
=no
21065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21067 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21068 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21070 echo "$as_me:$LINENO: checking size of size_t" >&5
21071 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
21072 if test "${ac_cv_sizeof_size_t+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21075 if test "$ac_cv_type_size_t" = yes; then
21076 # The cast to unsigned long works around a bug in the HP C Compiler
21077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21079 # This bug is HP SR number 8606223364.
21080 if test "$cross_compiling" = yes; then
21081 # Depending upon the size, compute the lo and hi bounds.
21082 cat >conftest.
$ac_ext <<_ACEOF
21085 cat confdefs.h
>>conftest.
$ac_ext
21086 cat >>conftest.
$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 $ac_includes_default
21092 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
21099 rm -f conftest.
$ac_objext
21100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21101 (eval $ac_compile) 2>conftest.er1
21103 grep -v '^ *+' conftest.er1
>conftest.err
21105 cat conftest.err
>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } &&
21108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; } &&
21114 { ac_try
='test -s conftest.$ac_objext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21122 cat >conftest.
$ac_ext <<_ACEOF
21125 cat confdefs.h
>>conftest.
$ac_ext
21126 cat >>conftest.
$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 $ac_includes_default
21132 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
21139 rm -f conftest.
$ac_objext
21140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21141 (eval $ac_compile) 2>conftest.er1
21143 grep -v '^ *+' conftest.er1
>conftest.err
21145 cat conftest.err
>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } &&
21148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; } &&
21154 { ac_try
='test -s conftest.$ac_objext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 ac_hi
=$ac_mid; break
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.
$ac_ext >&5
21165 ac_lo
=`expr $ac_mid + 1`
21166 if test $ac_lo -le $ac_mid; then
21170 ac_mid
=`expr 2 '*' $ac_mid + 1`
21172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.
$ac_ext >&5
21178 cat >conftest.
$ac_ext <<_ACEOF
21181 cat confdefs.h
>>conftest.
$ac_ext
21182 cat >>conftest.
$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21184 $ac_includes_default
21188 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
21195 rm -f conftest.
$ac_objext
21196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21197 (eval $ac_compile) 2>conftest.er1
21199 grep -v '^ *+' conftest.er1
>conftest.err
21201 cat conftest.err
>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } &&
21204 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; } &&
21210 { ac_try
='test -s conftest.$ac_objext'
21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212 (eval $ac_try) 2>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; }; then
21218 cat >conftest.
$ac_ext <<_ACEOF
21221 cat confdefs.h
>>conftest.
$ac_ext
21222 cat >>conftest.
$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 $ac_includes_default
21228 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
21235 rm -f conftest.
$ac_objext
21236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21237 (eval $ac_compile) 2>conftest.er1
21239 grep -v '^ *+' conftest.er1
>conftest.err
21241 cat conftest.err
>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } &&
21244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; } &&
21250 { ac_try
='test -s conftest.$ac_objext'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; }; then
21256 ac_lo
=$ac_mid; break
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.
$ac_ext >&5
21261 ac_hi
=`expr '(' $ac_mid ')' - 1`
21262 if test $ac_mid -le $ac_hi; then
21266 ac_mid
=`expr 2 '*' $ac_mid`
21268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.
$ac_ext >&5
21276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21279 # Binary search between lo and hi bounds.
21280 while test "x$ac_lo" != "x$ac_hi"; do
21281 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21282 cat >conftest.
$ac_ext <<_ACEOF
21285 cat confdefs.h
>>conftest.
$ac_ext
21286 cat >>conftest.
$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 $ac_includes_default
21292 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
21299 rm -f conftest.
$ac_objext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21301 (eval $ac_compile) 2>conftest.er1
21303 grep -v '^ *+' conftest.er1
>conftest.err
21305 cat conftest.err
>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } &&
21308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310 (eval $ac_try) 2>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; } &&
21314 { ac_try
='test -s conftest.$ac_objext'
21315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316 (eval $ac_try) 2>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); }; }; then
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.
$ac_ext >&5
21325 ac_lo
=`expr '(' $ac_mid ')' + 1`
21327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21330 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
21331 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
21332 See \`config.log' for more details." >&5
21333 echo "$as_me: error: cannot compute sizeof (size_t), 77
21334 See \`config.log' for more details." >&2;}
21335 { (exit 1); exit 1; }; } ;;
21338 if test "$cross_compiling" = yes; then
21339 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21340 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21341 { (exit 1); exit 1; }; }
21343 cat >conftest.
$ac_ext <<_ACEOF
21346 cat confdefs.h
>>conftest.
$ac_ext
21347 cat >>conftest.
$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 $ac_includes_default
21350 long longval () { return (long) (sizeof (size_t)); }
21351 unsigned long ulongval () { return (long) (sizeof (size_t)); }
21353 #include <stdlib.h>
21358 FILE *f = fopen ("conftest.val", "w");
21361 if (((long) (sizeof (size_t))) < 0)
21363 long i = longval ();
21364 if (i != ((long) (sizeof (size_t))))
21366 fprintf (f, "%ld\n", i);
21370 unsigned long i = ulongval ();
21371 if (i != ((long) (sizeof (size_t))))
21373 fprintf (f, "%lu\n", i);
21375 exit (ferror (f) || fclose (f) != 0);
21381 rm -f conftest
$ac_exeext
21382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21383 (eval $ac_link) 2>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; }; then
21392 ac_cv_sizeof_size_t
=`cat conftest.val`
21394 echo "$as_me: program exited with status $ac_status" >&5
21395 echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.
$ac_ext >&5
21398 ( exit $ac_status )
21399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
21400 See \`config.log' for more details." >&5
21401 echo "$as_me: error: cannot compute sizeof (size_t), 77
21402 See \`config.log' for more details." >&2;}
21403 { (exit 1); exit 1; }; }
21405 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21410 ac_cv_sizeof_size_t
=0
21413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21414 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
21415 cat >>confdefs.h
<<_ACEOF
21416 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21423 echo "$as_me:$LINENO: checking for long long" >&5
21424 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21425 if test "${ac_cv_type_long_long+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21428 cat >conftest.
$ac_ext <<_ACEOF
21431 cat confdefs.h
>>conftest.
$ac_ext
21432 cat >>conftest.
$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21434 $ac_includes_default
21438 if ((long long *) 0)
21440 if (sizeof (long long))
21446 rm -f conftest.
$ac_objext
21447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21448 (eval $ac_compile) 2>conftest.er1
21450 grep -v '^ *+' conftest.er1
>conftest.err
21452 cat conftest.err
>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); } &&
21455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try
='test -s conftest.$ac_objext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 ac_cv_type_long_long
=yes
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.
$ac_ext >&5
21472 ac_cv_type_long_long
=no
21474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21476 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21477 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21479 echo "$as_me:$LINENO: checking size of long long" >&5
21480 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21481 if test "${ac_cv_sizeof_long_long+set}" = set; then
21482 echo $ECHO_N "(cached) $ECHO_C" >&6
21484 if test "$ac_cv_type_long_long" = yes; then
21485 # The cast to unsigned long works around a bug in the HP C Compiler
21486 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21487 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21488 # This bug is HP SR number 8606223364.
21489 if test "$cross_compiling" = yes; then
21490 # Depending upon the size, compute the lo and hi bounds.
21491 cat >conftest.
$ac_ext <<_ACEOF
21494 cat confdefs.h
>>conftest.
$ac_ext
21495 cat >>conftest.
$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 $ac_includes_default
21501 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21508 rm -f conftest.
$ac_objext
21509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21510 (eval $ac_compile) 2>conftest.er1
21512 grep -v '^ *+' conftest.er1
>conftest.err
21514 cat conftest.err
>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } &&
21517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; } &&
21523 { ac_try
='test -s conftest.$ac_objext'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; }; then
21531 cat >conftest.
$ac_ext <<_ACEOF
21534 cat confdefs.h
>>conftest.
$ac_ext
21535 cat >>conftest.
$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 $ac_includes_default
21541 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21548 rm -f conftest.
$ac_objext
21549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21550 (eval $ac_compile) 2>conftest.er1
21552 grep -v '^ *+' conftest.er1
>conftest.err
21554 cat conftest.err
>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); } &&
21557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; } &&
21563 { ac_try
='test -s conftest.$ac_objext'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; }; then
21569 ac_hi
=$ac_mid; break
21571 echo "$as_me: failed program was:" >&5
21572 sed 's/^/| /' conftest.
$ac_ext >&5
21574 ac_lo
=`expr $ac_mid + 1`
21575 if test $ac_lo -le $ac_mid; then
21579 ac_mid
=`expr 2 '*' $ac_mid + 1`
21581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.
$ac_ext >&5
21587 cat >conftest.
$ac_ext <<_ACEOF
21590 cat confdefs.h
>>conftest.
$ac_ext
21591 cat >>conftest.
$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 $ac_includes_default
21597 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21604 rm -f conftest.
$ac_objext
21605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21606 (eval $ac_compile) 2>conftest.er1
21608 grep -v '^ *+' conftest.er1
>conftest.err
21610 cat conftest.err
>&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); } &&
21613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; } &&
21619 { ac_try
='test -s conftest.$ac_objext'
21620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621 (eval $ac_try) 2>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21627 cat >conftest.
$ac_ext <<_ACEOF
21630 cat confdefs.h
>>conftest.
$ac_ext
21631 cat >>conftest.
$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21637 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21644 rm -f conftest.
$ac_objext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21646 (eval $ac_compile) 2>conftest.er1
21648 grep -v '^ *+' conftest.er1
>conftest.err
21650 cat conftest.err
>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; } &&
21659 { ac_try
='test -s conftest.$ac_objext'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; }; then
21665 ac_lo
=$ac_mid; break
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.
$ac_ext >&5
21670 ac_hi
=`expr '(' $ac_mid ')' - 1`
21671 if test $ac_mid -le $ac_hi; then
21675 ac_mid
=`expr 2 '*' $ac_mid`
21677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.
$ac_ext >&5
21685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21688 # Binary search between lo and hi bounds.
21689 while test "x$ac_lo" != "x$ac_hi"; do
21690 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21691 cat >conftest.
$ac_ext <<_ACEOF
21694 cat confdefs.h
>>conftest.
$ac_ext
21695 cat >>conftest.
$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21697 $ac_includes_default
21701 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21708 rm -f conftest.
$ac_objext
21709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21710 (eval $ac_compile) 2>conftest.er1
21712 grep -v '^ *+' conftest.er1
>conftest.err
21714 cat conftest.err
>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); } &&
21717 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; } &&
21723 { ac_try
='test -s conftest.$ac_objext'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; }; then
21731 echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.
$ac_ext >&5
21734 ac_lo
=`expr '(' $ac_mid ')' + 1`
21736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21739 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21740 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21741 See \`config.log' for more details." >&5
21742 echo "$as_me: error: cannot compute sizeof (long long), 77
21743 See \`config.log' for more details." >&2;}
21744 { (exit 1); exit 1; }; } ;;
21747 if test "$cross_compiling" = yes; then
21748 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21749 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21750 { (exit 1); exit 1; }; }
21752 cat >conftest.
$ac_ext <<_ACEOF
21755 cat confdefs.h
>>conftest.
$ac_ext
21756 cat >>conftest.
$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758 $ac_includes_default
21759 long longval () { return (long) (sizeof (long long)); }
21760 unsigned long ulongval () { return (long) (sizeof (long long)); }
21762 #include <stdlib.h>
21767 FILE *f = fopen ("conftest.val", "w");
21770 if (((long) (sizeof (long long))) < 0)
21772 long i = longval ();
21773 if (i != ((long) (sizeof (long long))))
21775 fprintf (f, "%ld\n", i);
21779 unsigned long i = ulongval ();
21780 if (i != ((long) (sizeof (long long))))
21782 fprintf (f, "%lu\n", i);
21784 exit (ferror (f) || fclose (f) != 0);
21790 rm -f conftest
$ac_exeext
21791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21792 (eval $ac_link) 2>&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; }; then
21801 ac_cv_sizeof_long_long
=`cat conftest.val`
21803 echo "$as_me: program exited with status $ac_status" >&5
21804 echo "$as_me: failed program was:" >&5
21805 sed 's/^/| /' conftest.
$ac_ext >&5
21807 ( exit $ac_status )
21808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21809 See \`config.log' for more details." >&5
21810 echo "$as_me: error: cannot compute sizeof (long long), 77
21811 See \`config.log' for more details." >&2;}
21812 { (exit 1); exit 1; }; }
21814 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21819 ac_cv_sizeof_long_long
=0
21822 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21823 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21824 cat >>confdefs.h
<<_ACEOF
21825 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21831 echo "$as_me:$LINENO: checking for long long" >&5
21832 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21833 if test "${ac_cv_type_long_long+set}" = set; then
21834 echo $ECHO_N "(cached) $ECHO_C" >&6
21836 cat >conftest.
$ac_ext <<_ACEOF
21839 cat confdefs.h
>>conftest.
$ac_ext
21840 cat >>conftest.
$ac_ext <<_ACEOF
21841 /* end confdefs.h. */
21842 $ac_includes_default
21846 if ((long long *) 0)
21848 if (sizeof (long long))
21854 rm -f conftest.
$ac_objext
21855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21856 (eval $ac_compile) 2>conftest.er1
21858 grep -v '^ *+' conftest.er1
>conftest.err
21860 cat conftest.err
>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } &&
21863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21865 (eval $ac_try) 2>&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); }; } &&
21869 { ac_try
='test -s conftest.$ac_objext'
21870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21871 (eval $ac_try) 2>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_type_long_long
=yes
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.
$ac_ext >&5
21880 ac_cv_type_long_long
=no
21882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21884 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21885 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21887 echo "$as_me:$LINENO: checking size of long long" >&5
21888 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21889 if test "${ac_cv_sizeof_long_long+set}" = set; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 if test "$ac_cv_type_long_long" = yes; then
21893 # The cast to unsigned long works around a bug in the HP C Compiler
21894 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21895 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21896 # This bug is HP SR number 8606223364.
21897 if test "$cross_compiling" = yes; then
21898 # Depending upon the size, compute the lo and hi bounds.
21899 cat >conftest.
$ac_ext <<_ACEOF
21902 cat confdefs.h
>>conftest.
$ac_ext
21903 cat >>conftest.
$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21905 $ac_includes_default
21909 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21916 rm -f conftest.
$ac_objext
21917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21918 (eval $ac_compile) 2>conftest.er1
21920 grep -v '^ *+' conftest.er1
>conftest.err
21922 cat conftest.err
>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } &&
21925 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; } &&
21931 { ac_try
='test -s conftest.$ac_objext'
21932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21933 (eval $ac_try) 2>&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); }; }; then
21939 cat >conftest.
$ac_ext <<_ACEOF
21942 cat confdefs.h
>>conftest.
$ac_ext
21943 cat >>conftest.
$ac_ext <<_ACEOF
21944 /* end confdefs.h. */
21945 $ac_includes_default
21949 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21956 rm -f conftest.
$ac_objext
21957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21958 (eval $ac_compile) 2>conftest.er1
21960 grep -v '^ *+' conftest.er1
>conftest.err
21962 cat conftest.err
>&5
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); } &&
21965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; } &&
21971 { ac_try
='test -s conftest.$ac_objext'
21972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973 (eval $ac_try) 2>&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); }; }; then
21977 ac_hi
=$ac_mid; break
21979 echo "$as_me: failed program was:" >&5
21980 sed 's/^/| /' conftest.
$ac_ext >&5
21982 ac_lo
=`expr $ac_mid + 1`
21983 if test $ac_lo -le $ac_mid; then
21987 ac_mid
=`expr 2 '*' $ac_mid + 1`
21989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21992 echo "$as_me: failed program was:" >&5
21993 sed 's/^/| /' conftest.
$ac_ext >&5
21995 cat >conftest.
$ac_ext <<_ACEOF
21998 cat confdefs.h
>>conftest.
$ac_ext
21999 cat >>conftest.
$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 $ac_includes_default
22005 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22012 rm -f conftest.
$ac_objext
22013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22014 (eval $ac_compile) 2>conftest.er1
22016 grep -v '^ *+' conftest.er1
>conftest.err
22018 cat conftest.err
>&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); } &&
22021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try
='test -s conftest.$ac_objext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22035 cat >conftest.
$ac_ext <<_ACEOF
22038 cat confdefs.h
>>conftest.
$ac_ext
22039 cat >>conftest.
$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22041 $ac_includes_default
22045 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22052 rm -f conftest.
$ac_objext
22053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22054 (eval $ac_compile) 2>conftest.er1
22056 grep -v '^ *+' conftest.er1
>conftest.err
22058 cat conftest.err
>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); } &&
22061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 (eval $ac_try) 2>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); }; } &&
22067 { ac_try
='test -s conftest.$ac_objext'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22073 ac_lo
=$ac_mid; break
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.
$ac_ext >&5
22078 ac_hi
=`expr '(' $ac_mid ')' - 1`
22079 if test $ac_mid -le $ac_hi; then
22083 ac_mid
=`expr 2 '*' $ac_mid`
22085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.
$ac_ext >&5
22093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22096 # Binary search between lo and hi bounds.
22097 while test "x$ac_lo" != "x$ac_hi"; do
22098 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22099 cat >conftest.
$ac_ext <<_ACEOF
22102 cat confdefs.h
>>conftest.
$ac_ext
22103 cat >>conftest.
$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 $ac_includes_default
22109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22116 rm -f conftest.
$ac_objext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22118 (eval $ac_compile) 2>conftest.er1
22120 grep -v '^ *+' conftest.er1
>conftest.err
22122 cat conftest.err
>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; } &&
22131 { ac_try
='test -s conftest.$ac_objext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.
$ac_ext >&5
22142 ac_lo
=`expr '(' $ac_mid ')' + 1`
22144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22147 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
22148 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22149 See \`config.log' for more details." >&5
22150 echo "$as_me: error: cannot compute sizeof (long long), 77
22151 See \`config.log' for more details." >&2;}
22152 { (exit 1); exit 1; }; } ;;
22155 if test "$cross_compiling" = yes; then
22156 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22157 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22158 { (exit 1); exit 1; }; }
22160 cat >conftest.
$ac_ext <<_ACEOF
22163 cat confdefs.h
>>conftest.
$ac_ext
22164 cat >>conftest.
$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22166 $ac_includes_default
22167 long longval () { return (long) (sizeof (long long)); }
22168 unsigned long ulongval () { return (long) (sizeof (long long)); }
22170 #include <stdlib.h>
22175 FILE *f = fopen ("conftest.val", "w");
22178 if (((long) (sizeof (long long))) < 0)
22180 long i = longval ();
22181 if (i != ((long) (sizeof (long long))))
22183 fprintf (f, "%ld\n", i);
22187 unsigned long i = ulongval ();
22188 if (i != ((long) (sizeof (long long))))
22190 fprintf (f, "%lu\n", i);
22192 exit (ferror (f) || fclose (f) != 0);
22198 rm -f conftest
$ac_exeext
22199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22200 (eval $ac_link) 2>&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205 (eval $ac_try) 2>&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); }; }; then
22209 ac_cv_sizeof_long_long
=`cat conftest.val`
22211 echo "$as_me: program exited with status $ac_status" >&5
22212 echo "$as_me: failed program was:" >&5
22213 sed 's/^/| /' conftest.
$ac_ext >&5
22215 ( exit $ac_status )
22216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22217 See \`config.log' for more details." >&5
22218 echo "$as_me: error: cannot compute sizeof (long long), 77
22219 See \`config.log' for more details." >&2;}
22220 { (exit 1); exit 1; }; }
22222 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22227 ac_cv_sizeof_long_long
=0
22230 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22231 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22232 cat >>confdefs.h
<<_ACEOF
22233 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22237 if test "$ac_cv_sizeof_long_long" != "0"; then
22238 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
22242 echo "$as_me:$LINENO: checking for long long" >&5
22243 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22244 if test "${ac_cv_type_long_long+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6
22247 cat >conftest.
$ac_ext <<_ACEOF
22250 cat confdefs.h
>>conftest.
$ac_ext
22251 cat >>conftest.
$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 $ac_includes_default
22257 if ((long long *) 0)
22259 if (sizeof (long long))
22265 rm -f conftest.
$ac_objext
22266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22267 (eval $ac_compile) 2>conftest.er1
22269 grep -v '^ *+' conftest.er1
>conftest.err
22271 cat conftest.err
>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } &&
22274 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22276 (eval $ac_try) 2>&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); }; } &&
22280 { ac_try
='test -s conftest.$ac_objext'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; }; then
22286 ac_cv_type_long_long
=yes
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.
$ac_ext >&5
22291 ac_cv_type_long_long
=no
22293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22295 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22296 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22298 echo "$as_me:$LINENO: checking size of long long" >&5
22299 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22300 if test "${ac_cv_sizeof_long_long+set}" = set; then
22301 echo $ECHO_N "(cached) $ECHO_C" >&6
22303 if test "$ac_cv_type_long_long" = yes; then
22304 # The cast to unsigned long works around a bug in the HP C Compiler
22305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22307 # This bug is HP SR number 8606223364.
22308 if test "$cross_compiling" = yes; then
22309 # Depending upon the size, compute the lo and hi bounds.
22310 cat >conftest.
$ac_ext <<_ACEOF
22313 cat confdefs.h
>>conftest.
$ac_ext
22314 cat >>conftest.
$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 $ac_includes_default
22320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22327 rm -f conftest.
$ac_objext
22328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22329 (eval $ac_compile) 2>conftest.er1
22331 grep -v '^ *+' conftest.er1
>conftest.err
22333 cat conftest.err
>&5
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); } &&
22336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; } &&
22342 { ac_try
='test -s conftest.$ac_objext'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22350 cat >conftest.
$ac_ext <<_ACEOF
22353 cat confdefs.h
>>conftest.
$ac_ext
22354 cat >>conftest.
$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 $ac_includes_default
22360 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22367 rm -f conftest.
$ac_objext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22369 (eval $ac_compile) 2>conftest.er1
22371 grep -v '^ *+' conftest.er1
>conftest.err
22373 cat conftest.err
>&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } &&
22376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378 (eval $ac_try) 2>&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); }; } &&
22382 { ac_try
='test -s conftest.$ac_objext'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 ac_hi
=$ac_mid; break
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.
$ac_ext >&5
22393 ac_lo
=`expr $ac_mid + 1`
22394 if test $ac_lo -le $ac_mid; then
22398 ac_mid
=`expr 2 '*' $ac_mid + 1`
22400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22403 echo "$as_me: failed program was:" >&5
22404 sed 's/^/| /' conftest.
$ac_ext >&5
22406 cat >conftest.
$ac_ext <<_ACEOF
22409 cat confdefs.h
>>conftest.
$ac_ext
22410 cat >>conftest.
$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412 $ac_includes_default
22416 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22423 rm -f conftest.
$ac_objext
22424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22425 (eval $ac_compile) 2>conftest.er1
22427 grep -v '^ *+' conftest.er1
>conftest.err
22429 cat conftest.err
>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } &&
22432 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22434 (eval $ac_try) 2>&5
22436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437 (exit $ac_status); }; } &&
22438 { ac_try
='test -s conftest.$ac_objext'
22439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22440 (eval $ac_try) 2>&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); }; }; then
22446 cat >conftest.
$ac_ext <<_ACEOF
22449 cat confdefs.h
>>conftest.
$ac_ext
22450 cat >>conftest.
$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22452 $ac_includes_default
22456 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22463 rm -f conftest.
$ac_objext
22464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22465 (eval $ac_compile) 2>conftest.er1
22467 grep -v '^ *+' conftest.er1
>conftest.err
22469 cat conftest.err
>&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } &&
22472 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474 (eval $ac_try) 2>&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try
='test -s conftest.$ac_objext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_lo
=$ac_mid; break
22486 echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.
$ac_ext >&5
22489 ac_hi
=`expr '(' $ac_mid ')' - 1`
22490 if test $ac_mid -le $ac_hi; then
22494 ac_mid
=`expr 2 '*' $ac_mid`
22496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.
$ac_ext >&5
22504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22507 # Binary search between lo and hi bounds.
22508 while test "x$ac_lo" != "x$ac_hi"; do
22509 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22510 cat >conftest.
$ac_ext <<_ACEOF
22513 cat confdefs.h
>>conftest.
$ac_ext
22514 cat >>conftest.
$ac_ext <<_ACEOF
22515 /* end confdefs.h. */
22516 $ac_includes_default
22520 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22527 rm -f conftest.
$ac_objext
22528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22529 (eval $ac_compile) 2>conftest.er1
22531 grep -v '^ *+' conftest.er1
>conftest.err
22533 cat conftest.err
>&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } &&
22536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538 (eval $ac_try) 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; } &&
22542 { ac_try
='test -s conftest.$ac_objext'
22543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22544 (eval $ac_try) 2>&5
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); }; }; then
22550 echo "$as_me: failed program was:" >&5
22551 sed 's/^/| /' conftest.
$ac_ext >&5
22553 ac_lo
=`expr '(' $ac_mid ')' + 1`
22555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22558 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
22559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22560 See \`config.log' for more details." >&5
22561 echo "$as_me: error: cannot compute sizeof (long long), 77
22562 See \`config.log' for more details." >&2;}
22563 { (exit 1); exit 1; }; } ;;
22566 if test "$cross_compiling" = yes; then
22567 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22568 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22569 { (exit 1); exit 1; }; }
22571 cat >conftest.
$ac_ext <<_ACEOF
22574 cat confdefs.h
>>conftest.
$ac_ext
22575 cat >>conftest.
$ac_ext <<_ACEOF
22576 /* end confdefs.h. */
22577 $ac_includes_default
22578 long longval () { return (long) (sizeof (long long)); }
22579 unsigned long ulongval () { return (long) (sizeof (long long)); }
22581 #include <stdlib.h>
22586 FILE *f = fopen ("conftest.val", "w");
22589 if (((long) (sizeof (long long))) < 0)
22591 long i = longval ();
22592 if (i != ((long) (sizeof (long long))))
22594 fprintf (f, "%ld\n", i);
22598 unsigned long i = ulongval ();
22599 if (i != ((long) (sizeof (long long))))
22601 fprintf (f, "%lu\n", i);
22603 exit (ferror (f) || fclose (f) != 0);
22609 rm -f conftest
$ac_exeext
22610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22611 (eval $ac_link) 2>&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 (eval $ac_try) 2>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); }; }; then
22620 ac_cv_sizeof_long_long
=`cat conftest.val`
22622 echo "$as_me: program exited with status $ac_status" >&5
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.
$ac_ext >&5
22626 ( exit $ac_status )
22627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22628 See \`config.log' for more details." >&5
22629 echo "$as_me: error: cannot compute sizeof (long long), 77
22630 See \`config.log' for more details." >&2;}
22631 { (exit 1); exit 1; }; }
22633 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22638 ac_cv_sizeof_long_long
=0
22641 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22642 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22643 cat >>confdefs.h
<<_ACEOF
22644 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22650 echo "$as_me:$LINENO: checking for wchar_t" >&5
22651 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
22652 if test "${ac_cv_type_wchar_t+set}" = set; then
22653 echo $ECHO_N "(cached) $ECHO_C" >&6
22655 cat >conftest.
$ac_ext <<_ACEOF
22658 cat confdefs.h
>>conftest.
$ac_ext
22659 cat >>conftest.
$ac_ext <<_ACEOF
22660 /* end confdefs.h. */
22662 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22663 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22664 # error "fake wchar_t"
22666 #ifdef HAVE_WCHAR_H
22668 # include <stddef.h>
22670 # include <wchar.h>
22672 #ifdef HAVE_STDLIB_H
22673 # include <stdlib.h>
22684 if (sizeof (wchar_t))
22690 rm -f conftest.
$ac_objext
22691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22692 (eval $ac_compile) 2>conftest.er1
22694 grep -v '^ *+' conftest.er1
>conftest.err
22696 cat conftest.err
>&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); } &&
22699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22701 (eval $ac_try) 2>&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); }; } &&
22705 { ac_try
='test -s conftest.$ac_objext'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; }; then
22711 ac_cv_type_wchar_t
=yes
22713 echo "$as_me: failed program was:" >&5
22714 sed 's/^/| /' conftest.
$ac_ext >&5
22716 ac_cv_type_wchar_t
=no
22718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22720 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22721 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
22723 echo "$as_me:$LINENO: checking size of wchar_t" >&5
22724 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
22725 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22728 if test "$ac_cv_type_wchar_t" = yes; then
22729 # The cast to unsigned long works around a bug in the HP C Compiler
22730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22732 # This bug is HP SR number 8606223364.
22733 if test "$cross_compiling" = yes; then
22734 # Depending upon the size, compute the lo and hi bounds.
22735 cat >conftest.
$ac_ext <<_ACEOF
22738 cat confdefs.h
>>conftest.
$ac_ext
22739 cat >>conftest.
$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22742 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22743 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22744 # error "fake wchar_t"
22746 #ifdef HAVE_WCHAR_H
22748 # include <stddef.h>
22750 # include <wchar.h>
22752 #ifdef HAVE_STDLIB_H
22753 # include <stdlib.h>
22762 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
22769 rm -f conftest.
$ac_objext
22770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22771 (eval $ac_compile) 2>conftest.er1
22773 grep -v '^ *+' conftest.er1
>conftest.err
22775 cat conftest.err
>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); } &&
22778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; } &&
22784 { ac_try
='test -s conftest.$ac_objext'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; }; then
22792 cat >conftest.
$ac_ext <<_ACEOF
22795 cat confdefs.h
>>conftest.
$ac_ext
22796 cat >>conftest.
$ac_ext <<_ACEOF
22797 /* end confdefs.h. */
22799 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22800 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22801 # error "fake wchar_t"
22803 #ifdef HAVE_WCHAR_H
22805 # include <stddef.h>
22807 # include <wchar.h>
22809 #ifdef HAVE_STDLIB_H
22810 # include <stdlib.h>
22819 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22826 rm -f conftest.
$ac_objext
22827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22828 (eval $ac_compile) 2>conftest.er1
22830 grep -v '^ *+' conftest.er1
>conftest.err
22832 cat conftest.err
>&5
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); } &&
22835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22837 (eval $ac_try) 2>&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); }; } &&
22841 { ac_try
='test -s conftest.$ac_objext'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; }; then
22847 ac_hi
=$ac_mid; break
22849 echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.
$ac_ext >&5
22852 ac_lo
=`expr $ac_mid + 1`
22853 if test $ac_lo -le $ac_mid; then
22857 ac_mid
=`expr 2 '*' $ac_mid + 1`
22859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.
$ac_ext >&5
22865 cat >conftest.
$ac_ext <<_ACEOF
22868 cat confdefs.h
>>conftest.
$ac_ext
22869 cat >>conftest.
$ac_ext <<_ACEOF
22870 /* end confdefs.h. */
22872 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22873 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22874 # error "fake wchar_t"
22876 #ifdef HAVE_WCHAR_H
22878 # include <stddef.h>
22880 # include <wchar.h>
22882 #ifdef HAVE_STDLIB_H
22883 # include <stdlib.h>
22892 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22899 rm -f conftest.
$ac_objext
22900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22901 (eval $ac_compile) 2>conftest.er1
22903 grep -v '^ *+' conftest.er1
>conftest.err
22905 cat conftest.err
>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } &&
22908 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; } &&
22914 { ac_try
='test -s conftest.$ac_objext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22922 cat >conftest.
$ac_ext <<_ACEOF
22925 cat confdefs.h
>>conftest.
$ac_ext
22926 cat >>conftest.
$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22929 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22930 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22931 # error "fake wchar_t"
22933 #ifdef HAVE_WCHAR_H
22935 # include <stddef.h>
22937 # include <wchar.h>
22939 #ifdef HAVE_STDLIB_H
22940 # include <stdlib.h>
22949 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22956 rm -f conftest.
$ac_objext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22958 (eval $ac_compile) 2>conftest.er1
22960 grep -v '^ *+' conftest.er1
>conftest.err
22962 cat conftest.err
>&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } &&
22965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try
='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 ac_lo
=$ac_mid; break
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.
$ac_ext >&5
22982 ac_hi
=`expr '(' $ac_mid ')' - 1`
22983 if test $ac_mid -le $ac_hi; then
22987 ac_mid
=`expr 2 '*' $ac_mid`
22989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.
$ac_ext >&5
22997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23000 # Binary search between lo and hi bounds.
23001 while test "x$ac_lo" != "x$ac_hi"; do
23002 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23003 cat >conftest.
$ac_ext <<_ACEOF
23006 cat confdefs.h
>>conftest.
$ac_ext
23007 cat >>conftest.
$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23010 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23011 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23012 # error "fake wchar_t"
23014 #ifdef HAVE_WCHAR_H
23016 # include <stddef.h>
23018 # include <wchar.h>
23020 #ifdef HAVE_STDLIB_H
23021 # include <stdlib.h>
23030 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23037 rm -f conftest.
$ac_objext
23038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23039 (eval $ac_compile) 2>conftest.er1
23041 grep -v '^ *+' conftest.er1
>conftest.err
23043 cat conftest.err
>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } &&
23046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; } &&
23052 { ac_try
='test -s conftest.$ac_objext'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; }; then
23060 echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.
$ac_ext >&5
23063 ac_lo
=`expr '(' $ac_mid ')' + 1`
23065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23068 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
23069 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23070 See \`config.log' for more details." >&5
23071 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23072 See \`config.log' for more details." >&2;}
23073 { (exit 1); exit 1; }; } ;;
23076 if test "$cross_compiling" = yes; then
23077 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23078 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23079 { (exit 1); exit 1; }; }
23081 cat >conftest.
$ac_ext <<_ACEOF
23084 cat confdefs.h
>>conftest.
$ac_ext
23085 cat >>conftest.
$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23088 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23089 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23090 # error "fake wchar_t"
23092 #ifdef HAVE_WCHAR_H
23094 # include <stddef.h>
23096 # include <wchar.h>
23098 #ifdef HAVE_STDLIB_H
23099 # include <stdlib.h>
23105 long longval () { return (long) (sizeof (wchar_t)); }
23106 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
23108 #include <stdlib.h>
23113 FILE *f = fopen ("conftest.val", "w");
23116 if (((long) (sizeof (wchar_t))) < 0)
23118 long i = longval ();
23119 if (i != ((long) (sizeof (wchar_t))))
23121 fprintf (f, "%ld\n", i);
23125 unsigned long i = ulongval ();
23126 if (i != ((long) (sizeof (wchar_t))))
23128 fprintf (f, "%lu\n", i);
23130 exit (ferror (f) || fclose (f) != 0);
23136 rm -f conftest
$ac_exeext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23138 (eval $ac_link) 2>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23143 (eval $ac_try) 2>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); }; }; then
23147 ac_cv_sizeof_wchar_t
=`cat conftest.val`
23149 echo "$as_me: program exited with status $ac_status" >&5
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.
$ac_ext >&5
23153 ( exit $ac_status )
23154 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23155 See \`config.log' for more details." >&5
23156 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23157 See \`config.log' for more details." >&2;}
23158 { (exit 1); exit 1; }; }
23160 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23165 ac_cv_sizeof_wchar_t
=0
23168 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23169 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
23170 cat >>confdefs.h
<<_ACEOF
23171 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23175 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23181 echo "$as_me:$LINENO: checking for va_copy" >&5
23182 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
23183 if test "${wx_cv_func_va_copy+set}" = set; then
23184 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 cat >conftest.
$ac_ext <<_ACEOF
23189 #include <stdarg.h>
23190 void foo(char *f, ...)
23204 rm -f conftest.
$ac_objext conftest
$ac_exeext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23206 (eval $ac_link) 2>conftest.er1
23208 grep -v '^ *+' conftest.er1
>conftest.err
23210 cat conftest.err
>&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } &&
23213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; } &&
23219 { ac_try
='test -s conftest$ac_exeext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225 wx_cv_func_va_copy
=yes
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.
$ac_ext >&5
23230 wx_cv_func_va_copy
=no
23233 rm -f conftest.err conftest.
$ac_objext \
23234 conftest
$ac_exeext conftest.
$ac_ext
23238 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23239 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
23241 if test $wx_cv_func_va_copy = "yes"; then
23242 cat >>confdefs.h
<<\_ACEOF
23243 #define HAVE_VA_COPY 1
23247 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23248 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
23249 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23253 if test "$cross_compiling" = yes; then
23254 wx_cv_type_va_list_lvalue
=yes
23257 cat >conftest.
$ac_ext <<_ACEOF
23259 #include <stdarg.h>
23260 int foo(char *f, ...)
23265 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23273 return foo("hi", 17);
23276 rm -f conftest
$ac_exeext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23278 (eval $ac_link) 2>&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23283 (eval $ac_try) 2>&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); }; }; then
23287 wx_cv_type_va_list_lvalue
=yes
23289 echo "$as_me: program exited with status $ac_status" >&5
23290 echo "$as_me: failed program was:" >&5
23291 sed 's/^/| /' conftest.
$ac_ext >&5
23293 ( exit $ac_status )
23294 wx_cv_type_va_list_lvalue
=no
23296 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23301 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23302 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
23304 if test $wx_cv_type_va_list_lvalue != "yes"; then
23305 cat >>confdefs.h
<<\_ACEOF
23306 #define VA_LIST_IS_ARRAY 1
23312 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23313 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
23314 if test "${wx_cv_have_variadic_macros+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23318 cat >conftest.
$ac_ext <<_ACEOF
23321 cat confdefs.h
>>conftest.
$ac_ext
23322 cat >>conftest.
$ac_ext <<_ACEOF
23323 /* end confdefs.h. */
23326 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23332 test("%s %d %p", "test", 1, 0);
23339 rm -f conftest.
$ac_objext
23340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23341 (eval $ac_compile) 2>conftest.er1
23343 grep -v '^ *+' conftest.er1
>conftest.err
23345 cat conftest.err
>&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } &&
23348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23350 (eval $ac_try) 2>&5
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); }; } &&
23354 { ac_try
='test -s conftest.$ac_objext'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; }; then
23360 wx_cv_have_variadic_macros
=yes
23362 echo "$as_me: failed program was:" >&5
23363 sed 's/^/| /' conftest.
$ac_ext >&5
23365 wx_cv_have_variadic_macros
=no
23368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23372 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23373 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
23375 if test $wx_cv_have_variadic_macros = "yes"; then
23376 cat >>confdefs.h
<<\_ACEOF
23377 #define HAVE_VARIADIC_MACROS 1
23382 # Check whether --enable-largefile or --disable-largefile was given.
23383 if test "${enable_largefile+set}" = set; then
23384 enableval
="$enable_largefile"
23387 if test "$enable_largefile" != no
; then
23390 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23391 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
23392 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 cat >conftest.
$ac_ext <<_ACEOF
23399 cat confdefs.h
>>conftest.
$ac_ext
23400 cat >>conftest.
$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402 #define _FILE_OFFSET_BITS 64
23403 #include <sys/types.h>
23408 unsigned int field: sizeof(off_t) == 8;
23415 rm -f conftest.
$ac_objext
23416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23417 (eval $ac_compile) 2>conftest.er1
23419 grep -v '^ *+' conftest.er1
>conftest.err
23421 cat conftest.err
>&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } &&
23424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; } &&
23430 { ac_try
='test -s conftest.$ac_objext'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; }; then
23436 ac_cv_sys_file_offset_bits
=64
23438 echo "$as_me: failed program was:" >&5
23439 sed 's/^/| /' conftest.
$ac_ext >&5
23441 ac_cv_sys_file_offset_bits
=no
23443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23447 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23448 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
23450 if test "$ac_cv_sys_file_offset_bits" != no
; then
23452 cat >>confdefs.h
<<_ACEOF
23453 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23458 if test "x$wx_largefile" != "xyes"; then
23460 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23461 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
23462 if test "${ac_cv_sys_large_files+set}" = set; then
23463 echo $ECHO_N "(cached) $ECHO_C" >&6
23466 cat >conftest.
$ac_ext <<_ACEOF
23469 cat confdefs.h
>>conftest.
$ac_ext
23470 cat >>conftest.
$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 #define _LARGE_FILES 1
23473 #include <sys/types.h>
23478 unsigned int field: sizeof(off_t) == 8;
23485 rm -f conftest.
$ac_objext
23486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23487 (eval $ac_compile) 2>conftest.er1
23489 grep -v '^ *+' conftest.er1
>conftest.err
23491 cat conftest.err
>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); } &&
23494 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23500 { ac_try
='test -s conftest.$ac_objext'
23501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23502 (eval $ac_try) 2>&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; }; then
23506 ac_cv_sys_large_files
=1
23508 echo "$as_me: failed program was:" >&5
23509 sed 's/^/| /' conftest.
$ac_ext >&5
23511 ac_cv_sys_large_files
=no
23513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23517 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23518 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
23520 if test "$ac_cv_sys_large_files" != no
; then
23522 cat >>confdefs.h
<<_ACEOF
23523 #define _LARGE_FILES $ac_cv_sys_large_files
23530 echo "$as_me:$LINENO: checking if large file support is available" >&5
23531 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
23532 if test "x$wx_largefile" = "xyes"; then
23533 cat >>confdefs.h
<<\_ACEOF
23534 #define HAVE_LARGEFILE_SUPPORT 1
23538 echo "$as_me:$LINENO: result: $wx_largefile" >&5
23539 echo "${ECHO_T}$wx_largefile" >&6
23543 if test "x$wx_largefile" = "xyes"; then
23544 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23545 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23547 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23548 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23549 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
23550 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23551 echo $ECHO_N "(cached) $ECHO_C" >&6
23554 cat >conftest.
$ac_ext <<_ACEOF
23557 cat confdefs.h
>>conftest.
$ac_ext
23558 cat >>conftest.
$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23565 #ifndef __STDC_EXT__
23573 rm -f conftest.
$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>conftest.er1
23577 grep -v '^ *+' conftest.er1
>conftest.err
23579 cat conftest.err
>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try
='test -s conftest.$ac_objext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 wx_cv_STDC_EXT_required
=no
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.
$ac_ext >&5
23599 wx_cv_STDC_EXT_required
=yes
23602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23606 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23607 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
23608 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23609 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23613 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23615 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23616 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
23617 if test "${ac_cv_sys_largefile_source+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23621 ac_cv_sys_largefile_source
=no
23622 cat >conftest.
$ac_ext <<_ACEOF
23625 cat confdefs.h
>>conftest.
$ac_ext
23626 cat >>conftest.
$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23637 rm -f conftest.
$ac_objext
23638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23639 (eval $ac_compile) 2>conftest.er1
23641 grep -v '^ *+' conftest.er1
>conftest.err
23643 cat conftest.err
>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } &&
23646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23648 (eval $ac_try) 2>&5
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); }; } &&
23652 { ac_try
='test -s conftest.$ac_objext'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; }; then
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.
$ac_ext >&5
23664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23665 cat >conftest.
$ac_ext <<_ACEOF
23668 cat confdefs.h
>>conftest.
$ac_ext
23669 cat >>conftest.
$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671 #define _LARGEFILE_SOURCE 1
23681 rm -f conftest.
$ac_objext
23682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23683 (eval $ac_compile) 2>conftest.er1
23685 grep -v '^ *+' conftest.er1
>conftest.err
23687 cat conftest.err
>&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } &&
23690 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23692 (eval $ac_try) 2>&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); }; } &&
23696 { ac_try
='test -s conftest.$ac_objext'
23697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23698 (eval $ac_try) 2>&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); }; }; then
23702 ac_cv_sys_largefile_source
=1; break
23704 echo "$as_me: failed program was:" >&5
23705 sed 's/^/| /' conftest.
$ac_ext >&5
23708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23712 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23713 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
23714 if test "$ac_cv_sys_largefile_source" != no
; then
23716 cat >>confdefs.h
<<_ACEOF
23717 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23723 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23724 # in glibc 2.1.3, but that breaks too many other things.
23725 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23726 echo "$as_me:$LINENO: checking for fseeko" >&5
23727 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
23728 if test "${ac_cv_func_fseeko+set}" = set; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 cat >conftest.
$ac_ext <<_ACEOF
23734 cat confdefs.h
>>conftest.
$ac_ext
23735 cat >>conftest.
$ac_ext <<_ACEOF
23736 /* end confdefs.h. */
23741 return fseeko && fseeko (stdin, 0, 0);
23746 rm -f conftest.
$ac_objext conftest
$ac_exeext
23747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23748 (eval $ac_link) 2>conftest.er1
23750 grep -v '^ *+' conftest.er1
>conftest.err
23752 cat conftest.err
>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } &&
23755 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; } &&
23761 { ac_try
='test -s conftest$ac_exeext'
23762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23763 (eval $ac_try) 2>&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); }; }; then
23767 ac_cv_func_fseeko
=yes
23769 echo "$as_me: failed program was:" >&5
23770 sed 's/^/| /' conftest.
$ac_ext >&5
23772 ac_cv_func_fseeko
=no
23774 rm -f conftest.err conftest.
$ac_objext \
23775 conftest
$ac_exeext conftest.
$ac_ext
23777 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
23778 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
23779 if test $ac_cv_func_fseeko = yes; then
23781 cat >>confdefs.h
<<\_ACEOF
23782 #define HAVE_FSEEKO 1
23787 if test "$ac_cv_sys_largefile_source" != no
; then
23788 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23792 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23793 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23794 if test "${ac_cv_c_bigendian+set}" = set; then
23795 echo $ECHO_N "(cached) $ECHO_C" >&6
23797 ac_cv_c_bigendian
=unknown
23798 # See if sys/param.h defines the BYTE_ORDER macro.
23799 cat >conftest.
$ac_ext <<_ACEOF
23802 cat confdefs.h
>>conftest.
$ac_ext
23803 cat >>conftest.
$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 #include <sys/types.h>
23806 #include <sys/param.h>
23811 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23812 bogus endian macros
23818 rm -f conftest.
$ac_objext
23819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23820 (eval $ac_compile) 2>conftest.er1
23822 grep -v '^ *+' conftest.er1
>conftest.err
23824 cat conftest.err
>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } &&
23827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23829 (eval $ac_try) 2>&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); }; } &&
23833 { ac_try
='test -s conftest.$ac_objext'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; }; then
23839 # It does; now see whether it defined to BIG_ENDIAN or not.
23840 cat >conftest.
$ac_ext <<_ACEOF
23843 cat confdefs.h
>>conftest.
$ac_ext
23844 cat >>conftest.
$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846 #include <sys/types.h>
23847 #include <sys/param.h>
23852 #if BYTE_ORDER != BIG_ENDIAN
23859 rm -f conftest.
$ac_objext
23860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23861 (eval $ac_compile) 2>conftest.er1
23863 grep -v '^ *+' conftest.er1
>conftest.err
23865 cat conftest.err
>&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } &&
23868 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23870 (eval $ac_try) 2>&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); }; } &&
23874 { ac_try
='test -s conftest.$ac_objext'
23875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23876 (eval $ac_try) 2>&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); }; }; then
23880 ac_cv_c_bigendian
=yes
23882 echo "$as_me: failed program was:" >&5
23883 sed 's/^/| /' conftest.
$ac_ext >&5
23885 ac_cv_c_bigendian
=no
23887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.
$ac_ext >&5
23893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23894 if test $ac_cv_c_bigendian = unknown
; then
23895 if test "$cross_compiling" = yes; then
23896 ac_cv_c_bigendian
=unknown
23898 cat >conftest.
$ac_ext <<_ACEOF
23901 cat confdefs.h
>>conftest.
$ac_ext
23902 cat >>conftest.
$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23905 /* Are we little or big endian? From Harbison&Steele. */
23909 char c[sizeof (long)];
23912 exit (u.c[sizeof (long) - 1] == 1);
23915 rm -f conftest
$ac_exeext
23916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23917 (eval $ac_link) 2>&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; }; then
23926 ac_cv_c_bigendian
=no
23928 echo "$as_me: program exited with status $ac_status" >&5
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.
$ac_ext >&5
23932 ( exit $ac_status )
23933 ac_cv_c_bigendian
=yes
23935 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23939 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23940 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23941 if test $ac_cv_c_bigendian = unknown
; then
23942 { 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
23943 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;}
23945 if test $ac_cv_c_bigendian = yes; then
23946 cat >>confdefs.h
<<\_ACEOF
23947 #define WORDS_BIGENDIAN 1
23957 ac_cpp
='$CXXCPP $CPPFLAGS'
23958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23964 for ac_header
in iostream
23966 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23968 echo "$as_me:$LINENO: checking for $ac_header" >&5
23969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23971 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23976 # Is the header compilable?
23977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23979 cat >conftest.
$ac_ext <<_ACEOF
23982 cat confdefs.h
>>conftest.
$ac_ext
23983 cat >>conftest.
$ac_ext <<_ACEOF
23984 /* end confdefs.h. */
23985 $ac_includes_default
23986 #include <$ac_header>
23988 rm -f conftest.
$ac_objext
23989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23990 (eval $ac_compile) 2>conftest.er1
23992 grep -v '^ *+' conftest.er1
>conftest.err
23994 cat conftest.err
>&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } &&
23997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23999 (eval $ac_try) 2>&5
24001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002 (exit $ac_status); }; } &&
24003 { ac_try
='test -s conftest.$ac_objext'
24004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24005 (eval $ac_try) 2>&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); }; }; then
24009 ac_header_compiler
=yes
24011 echo "$as_me: failed program was:" >&5
24012 sed 's/^/| /' conftest.
$ac_ext >&5
24014 ac_header_compiler
=no
24016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24018 echo "${ECHO_T}$ac_header_compiler" >&6
24020 # Is the header present?
24021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24023 cat >conftest.
$ac_ext <<_ACEOF
24026 cat confdefs.h
>>conftest.
$ac_ext
24027 cat >>conftest.
$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24029 #include <$ac_header>
24031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24034 grep -v '^ *+' conftest.er1
>conftest.err
24036 cat conftest.err
>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } >/dev
/null
; then
24039 if test -s conftest.err
; then
24040 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24041 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24048 if test -z "$ac_cpp_err"; then
24049 ac_header_preproc
=yes
24051 echo "$as_me: failed program was:" >&5
24052 sed 's/^/| /' conftest.
$ac_ext >&5
24054 ac_header_preproc
=no
24056 rm -f conftest.err conftest.
$ac_ext
24057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24058 echo "${ECHO_T}$ac_header_preproc" >&6
24060 # So? What about this header?
24061 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24067 ac_header_preproc
=yes
24070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24084 ## ----------------------------------------- ##
24085 ## Report this to wx-dev@lists.wxwidgets.org ##
24086 ## ----------------------------------------- ##
24089 sed "s/^/$as_me: WARNING: /" >&2
24092 echo "$as_me:$LINENO: checking for $ac_header" >&5
24093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24095 echo $ECHO_N "(cached) $ECHO_C" >&6
24097 eval "$as_ac_Header=\$ac_header_preproc"
24099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24104 cat >>confdefs.h
<<_ACEOF
24105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24113 if test "$ac_cv_header_iostream" = "yes" ; then
24116 cat >>confdefs.h
<<\_ACEOF
24117 #define wxUSE_IOSTREAMH 1
24123 ac_cpp
='$CXXCPP $CPPFLAGS'
24124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24131 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24132 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
24133 if test "${wx_cv_cpp_bool+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 ac_cpp
='$CXXCPP $CPPFLAGS'
24141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24146 cat >conftest.
$ac_ext <<_ACEOF
24149 cat confdefs.h
>>conftest.
$ac_ext
24150 cat >>conftest.
$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24166 rm -f conftest.
$ac_objext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24168 (eval $ac_compile) 2>conftest.er1
24170 grep -v '^ *+' conftest.er1
>conftest.err
24172 cat conftest.err
>&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24177 (eval $ac_try) 2>&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; } &&
24181 { ac_try
='test -s conftest.$ac_objext'
24182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183 (eval $ac_try) 2>&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); }; }; then
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.
$ac_ext >&5
24199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24202 ac_cpp
='$CXXCPP $CPPFLAGS'
24203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24209 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24210 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
24212 if test "$wx_cv_cpp_bool" = "yes"; then
24213 cat >>confdefs.h
<<\_ACEOF
24214 #define HAVE_BOOL 1
24221 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24222 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
24223 if test "${wx_cv_explicit+set}" = set; then
24224 echo $ECHO_N "(cached) $ECHO_C" >&6
24230 ac_cpp
='$CXXCPP $CPPFLAGS'
24231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24236 cat >conftest.
$ac_ext <<_ACEOF
24239 cat confdefs.h
>>conftest.
$ac_ext
24240 cat >>conftest.
$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24243 class Foo { public: explicit Foo(int) {} };
24255 rm -f conftest.
$ac_objext
24256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24257 (eval $ac_compile) 2>conftest.er1
24259 grep -v '^ *+' conftest.er1
>conftest.err
24261 cat conftest.err
>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } &&
24264 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266 (eval $ac_try) 2>&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; } &&
24270 { ac_try
='test -s conftest.$ac_objext'
24271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24272 (eval $ac_try) 2>&5
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); }; }; then
24277 cat >conftest.
$ac_ext <<_ACEOF
24280 cat confdefs.h
>>conftest.
$ac_ext
24281 cat >>conftest.
$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24284 class Foo { public: explicit Foo(int) {} };
24285 static void TakeFoo(const Foo& foo) { }
24298 rm -f conftest.
$ac_objext
24299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24300 (eval $ac_compile) 2>conftest.er1
24302 grep -v '^ *+' conftest.er1
>conftest.err
24304 cat conftest.err
>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } &&
24307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; } &&
24313 { ac_try
='test -s conftest.$ac_objext'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; }; then
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.
$ac_ext >&5
24327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.
$ac_ext >&5
24336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24339 ac_cpp
='$CXXCPP $CPPFLAGS'
24340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24346 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24347 echo "${ECHO_T}$wx_cv_explicit" >&6
24349 if test "$wx_cv_explicit" = "yes"; then
24350 cat >>confdefs.h
<<\_ACEOF
24351 #define HAVE_EXPLICIT 1
24357 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24358 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
24359 if test "${ac_cv_cxx_const_cast+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24365 ac_cpp
='$CXXCPP $CPPFLAGS'
24366 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24367 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24368 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24370 cat >conftest.
$ac_ext <<_ACEOF
24373 cat confdefs.h
>>conftest.
$ac_ext
24374 cat >>conftest.
$ac_ext <<_ACEOF
24375 /* end confdefs.h. */
24380 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24385 rm -f conftest.
$ac_objext
24386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24387 (eval $ac_compile) 2>conftest.er1
24389 grep -v '^ *+' conftest.er1
>conftest.err
24391 cat conftest.err
>&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } &&
24394 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396 (eval $ac_try) 2>&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); }; } &&
24400 { ac_try
='test -s conftest.$ac_objext'
24401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402 (eval $ac_try) 2>&5
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); }; }; then
24406 ac_cv_cxx_const_cast
=yes
24408 echo "$as_me: failed program was:" >&5
24409 sed 's/^/| /' conftest.
$ac_ext >&5
24411 ac_cv_cxx_const_cast
=no
24413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24415 ac_cpp
='$CXXCPP $CPPFLAGS'
24416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24422 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24423 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
24424 if test "$ac_cv_cxx_const_cast" = yes; then
24426 cat >>confdefs.h
<<\_ACEOF
24427 #define HAVE_CONST_CAST
24432 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24433 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
24434 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24435 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 ac_cpp
='$CXXCPP $CPPFLAGS'
24441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24445 cat >conftest.
$ac_ext <<_ACEOF
24448 cat confdefs.h
>>conftest.
$ac_ext
24449 cat >>conftest.
$ac_ext <<_ACEOF
24450 /* end confdefs.h. */
24451 #include <typeinfo>
24452 class Base { public : Base () {} virtual void f () = 0;};
24453 class Derived : public Base { public : Derived () {} virtual void f () {} };
24454 class Unrelated { public : Unrelated () {} };
24455 int g (Unrelated&) { return 0; }
24460 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24465 rm -f conftest.
$ac_objext
24466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24467 (eval $ac_compile) 2>conftest.er1
24469 grep -v '^ *+' conftest.er1
>conftest.err
24471 cat conftest.err
>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); } &&
24474 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24476 (eval $ac_try) 2>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); }; } &&
24480 { ac_try
='test -s conftest.$ac_objext'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; }; then
24486 ac_cv_cxx_reinterpret_cast
=yes
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.
$ac_ext >&5
24491 ac_cv_cxx_reinterpret_cast
=no
24493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24495 ac_cpp
='$CXXCPP $CPPFLAGS'
24496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24502 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24503 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
24504 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24506 cat >>confdefs.h
<<\_ACEOF
24507 #define HAVE_REINTERPRET_CAST
24512 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24513 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
24514 if test "${ac_cv_cxx_static_cast+set}" = set; then
24515 echo $ECHO_N "(cached) $ECHO_C" >&6
24520 ac_cpp
='$CXXCPP $CPPFLAGS'
24521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24525 cat >conftest.
$ac_ext <<_ACEOF
24528 cat confdefs.h
>>conftest.
$ac_ext
24529 cat >>conftest.
$ac_ext <<_ACEOF
24530 /* end confdefs.h. */
24531 #include <typeinfo>
24532 class Base { public : Base () {} virtual void f () = 0; };
24533 class Derived : public Base { public : Derived () {} virtual void f () {} };
24534 int g (Derived&) { return 0; }
24539 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24544 rm -f conftest.
$ac_objext
24545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24546 (eval $ac_compile) 2>conftest.er1
24548 grep -v '^ *+' conftest.er1
>conftest.err
24550 cat conftest.err
>&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); } &&
24553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24555 (eval $ac_try) 2>&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); }; } &&
24559 { ac_try
='test -s conftest.$ac_objext'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; }; then
24565 ac_cv_cxx_static_cast
=yes
24567 echo "$as_me: failed program was:" >&5
24568 sed 's/^/| /' conftest.
$ac_ext >&5
24570 ac_cv_cxx_static_cast
=no
24572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24574 ac_cpp
='$CXXCPP $CPPFLAGS'
24575 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24576 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24577 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24581 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24582 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
24583 if test "$ac_cv_cxx_static_cast" = yes; then
24585 cat >>confdefs.h
<<\_ACEOF
24586 #define HAVE_STATIC_CAST
24592 if test "x$SUNCXX" = xyes
; then
24593 CXXFLAGS
="-features=tmplife $CXXFLAGS"
24596 if test "x$SUNCC" = xyes
; then
24597 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24600 if test "x$SGICC" = "xyes"; then
24601 CFLAGS
="-woff 3970 $CFLAGS"
24603 if test "x$SGICXX" = "xyes"; then
24604 CXXFLAGS
="-woff 3970 $CXXFLAGS"
24607 if test "x$HPCC" = "xyes"; then
24608 CFLAGS
="+W 2011,2450 $CFLAGS"
24610 if test "x$HPCXX" = "xyes"; then
24611 CXXFLAGS
="+W 2340 $CXXFLAGS"
24614 if test "x$COMPAQCXX" = "xyes"; then
24615 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24618 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24619 if test "$wxUSE_UNICODE" = "yes"; then
24620 std_string
="std::wstring"
24621 char_type
="wchar_t"
24623 std_string
="std::string"
24627 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24628 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
24629 cat >conftest.
$ac_ext <<_ACEOF
24632 cat confdefs.h
>>conftest.
$ac_ext
24633 cat >>conftest.
$ac_ext <<_ACEOF
24634 /* end confdefs.h. */
24644 rm -f conftest.
$ac_objext
24645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24646 (eval $ac_compile) 2>conftest.er1
24648 grep -v '^ *+' conftest.er1
>conftest.err
24650 cat conftest.err
>&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); } &&
24653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; } &&
24659 { ac_try
='test -s conftest.$ac_objext'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; }; then
24665 echo "$as_me:$LINENO: result: yes" >&5
24666 echo "${ECHO_T}yes" >&6
24667 cat >>confdefs.h
<<\_ACEOF
24668 #define HAVE_STD_WSTRING 1
24672 echo "$as_me: failed program was:" >&5
24673 sed 's/^/| /' conftest.
$ac_ext >&5
24675 echo "$as_me:$LINENO: result: no" >&5
24676 echo "${ECHO_T}no" >&6
24677 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24678 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
24679 cat >conftest.
$ac_ext <<_ACEOF
24682 cat confdefs.h
>>conftest.
$ac_ext
24683 cat >>conftest.
$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24686 #ifdef HAVE_WCHAR_H
24688 # include <stddef.h>
24690 # include <wchar.h>
24692 #ifdef HAVE_STDLIB_H
24693 # include <stdlib.h>
24701 std::basic_string<$char_type> foo;
24702 const $char_type* dummy = foo.c_str();
24707 rm -f conftest.
$ac_objext
24708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24709 (eval $ac_compile) 2>conftest.er1
24711 grep -v '^ *+' conftest.er1
>conftest.err
24713 cat conftest.err
>&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } &&
24716 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24718 (eval $ac_try) 2>&5
24720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24721 (exit $ac_status); }; } &&
24722 { ac_try
='test -s conftest.$ac_objext'
24723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24724 (eval $ac_try) 2>&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); }; }; then
24728 echo "$as_me:$LINENO: result: yes" >&5
24729 echo "${ECHO_T}yes" >&6
24731 echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.
$ac_ext >&5
24734 echo "$as_me:$LINENO: result: no" >&5
24735 echo "${ECHO_T}no" >&6
24736 if test "$wxUSE_STL" = "yes"; then
24737 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24738 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24739 { (exit 1); exit 1; }; }
24740 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
24741 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24742 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24743 { (exit 1); exit 1; }; }
24745 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24746 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24747 wxUSE_STD_STRING
=no
24752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24758 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24759 echo "$as_me:$LINENO: checking for std::istream" >&5
24760 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24761 if test "${ac_cv_type_std__istream+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 cat >conftest.
$ac_ext <<_ACEOF
24767 cat confdefs.h
>>conftest.
$ac_ext
24768 cat >>conftest.
$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 #include <iostream>
24775 if ((std::istream *) 0)
24777 if (sizeof (std::istream))
24783 rm -f conftest.
$ac_objext
24784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24785 (eval $ac_compile) 2>conftest.er1
24787 grep -v '^ *+' conftest.er1
>conftest.err
24789 cat conftest.err
>&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); } &&
24792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; } &&
24798 { ac_try
='test -s conftest.$ac_objext'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_cv_type_std__istream
=yes
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.
$ac_ext >&5
24809 ac_cv_type_std__istream
=no
24811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24813 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24814 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24815 if test $ac_cv_type_std__istream = yes; then
24817 cat >>confdefs.h
<<_ACEOF
24818 #define HAVE_STD__ISTREAM 1
24823 wxUSE_STD_IOSTREAM
=no
24825 echo "$as_me:$LINENO: checking for std::ostream" >&5
24826 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24827 if test "${ac_cv_type_std__ostream+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 cat >conftest.
$ac_ext <<_ACEOF
24833 cat confdefs.h
>>conftest.
$ac_ext
24834 cat >>conftest.
$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 #include <iostream>
24841 if ((std::ostream *) 0)
24843 if (sizeof (std::ostream))
24849 rm -f conftest.
$ac_objext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24851 (eval $ac_compile) 2>conftest.er1
24853 grep -v '^ *+' conftest.er1
>conftest.err
24855 cat conftest.err
>&5
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); } &&
24858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24860 (eval $ac_try) 2>&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); }; } &&
24864 { ac_try
='test -s conftest.$ac_objext'
24865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866 (eval $ac_try) 2>&5
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); }; }; then
24870 ac_cv_type_std__ostream
=yes
24872 echo "$as_me: failed program was:" >&5
24873 sed 's/^/| /' conftest.
$ac_ext >&5
24875 ac_cv_type_std__ostream
=no
24877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24879 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24880 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24881 if test $ac_cv_type_std__ostream = yes; then
24883 cat >>confdefs.h
<<_ACEOF
24884 #define HAVE_STD__OSTREAM 1
24889 wxUSE_STD_IOSTREAM
=no
24893 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24894 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24895 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24896 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24897 { (exit 1); exit 1; }; }
24899 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24900 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24905 if test "$wxUSE_STL" = "yes"; then
24906 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24907 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24908 cat >conftest.
$ac_ext <<_ACEOF
24911 cat confdefs.h
>>conftest.
$ac_ext
24912 cat >>conftest.
$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24915 #include <functional>
24916 #include <algorithm>
24922 std::vector<int> moo;
24923 std::list<int> foo;
24924 std::vector<int>::iterator it =
24925 std::find_if(moo.begin(), moo.end(),
24926 std::bind2nd(std::less<int>(), 3));
24931 rm -f conftest.
$ac_objext
24932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24933 (eval $ac_compile) 2>conftest.er1
24935 grep -v '^ *+' conftest.er1
>conftest.err
24937 cat conftest.err
>&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } &&
24940 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; } &&
24946 { ac_try
='test -s conftest.$ac_objext'
24947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24948 (eval $ac_try) 2>&5
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; }; then
24952 echo "$as_me:$LINENO: result: yes" >&5
24953 echo "${ECHO_T}yes" >&6
24955 echo "$as_me: failed program was:" >&5
24956 sed 's/^/| /' conftest.
$ac_ext >&5
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24960 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24961 echo "$as_me: error: Basic STL functionality missing" >&2;}
24962 { (exit 1); exit 1; }; }
24964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24966 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24967 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24968 cat >conftest.
$ac_ext <<_ACEOF
24971 cat confdefs.h
>>conftest.
$ac_ext
24972 cat >>conftest.
$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24978 std::string foo, bar;
24980 foo.compare(1, 1, bar);
24981 foo.compare(1, 1, bar, 1, 1);
24983 foo.compare(1, 1, "");
24984 foo.compare(1, 1, "", 2);
24989 rm -f conftest.
$ac_objext
24990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24991 (eval $ac_compile) 2>conftest.er1
24993 grep -v '^ *+' conftest.er1
>conftest.err
24995 cat conftest.err
>&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); } &&
24998 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; } &&
25004 { ac_try
='test -s conftest.$ac_objext'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; }; then
25010 echo "$as_me:$LINENO: result: yes" >&5
25011 echo "${ECHO_T}yes" >&6
25012 cat >>confdefs.h
<<\_ACEOF
25013 #define HAVE_STD_STRING_COMPARE 1
25017 echo "$as_me: failed program was:" >&5
25018 sed 's/^/| /' conftest.
$ac_ext >&5
25020 echo "$as_me:$LINENO: result: no" >&5
25021 echo "${ECHO_T}no" >&6
25023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25025 if test "${ac_cv_header_hash_map+set}" = set; then
25026 echo "$as_me:$LINENO: checking for hash_map" >&5
25027 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
25028 if test "${ac_cv_header_hash_map+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25031 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25032 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
25034 # Is the header compilable?
25035 echo "$as_me:$LINENO: checking hash_map usability" >&5
25036 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
25037 cat >conftest.
$ac_ext <<_ACEOF
25040 cat confdefs.h
>>conftest.
$ac_ext
25041 cat >>conftest.
$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25043 $ac_includes_default
25044 #include <hash_map>
25046 rm -f conftest.
$ac_objext
25047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25048 (eval $ac_compile) 2>conftest.er1
25050 grep -v '^ *+' conftest.er1
>conftest.err
25052 cat conftest.err
>&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); } &&
25055 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25057 (eval $ac_try) 2>&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); }; } &&
25061 { ac_try
='test -s conftest.$ac_objext'
25062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25063 (eval $ac_try) 2>&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); }; }; then
25067 ac_header_compiler
=yes
25069 echo "$as_me: failed program was:" >&5
25070 sed 's/^/| /' conftest.
$ac_ext >&5
25072 ac_header_compiler
=no
25074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25076 echo "${ECHO_T}$ac_header_compiler" >&6
25078 # Is the header present?
25079 echo "$as_me:$LINENO: checking hash_map presence" >&5
25080 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
25081 cat >conftest.
$ac_ext <<_ACEOF
25084 cat confdefs.h
>>conftest.
$ac_ext
25085 cat >>conftest.
$ac_ext <<_ACEOF
25086 /* end confdefs.h. */
25087 #include <hash_map>
25089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25092 grep -v '^ *+' conftest.er1
>conftest.err
25094 cat conftest.err
>&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); } >/dev
/null
; then
25097 if test -s conftest.err
; then
25098 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25099 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25106 if test -z "$ac_cpp_err"; then
25107 ac_header_preproc
=yes
25109 echo "$as_me: failed program was:" >&5
25110 sed 's/^/| /' conftest.
$ac_ext >&5
25112 ac_header_preproc
=no
25114 rm -f conftest.err conftest.
$ac_ext
25115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25116 echo "${ECHO_T}$ac_header_preproc" >&6
25118 # So? What about this header?
25119 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25121 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
25122 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
25123 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
25124 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
25125 ac_header_preproc
=yes
25128 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
25129 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
25130 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
25131 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
25132 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
25133 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
25134 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
25135 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
25136 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
25137 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
25138 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
25139 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
25142 ## ----------------------------------------- ##
25143 ## Report this to wx-dev@lists.wxwidgets.org ##
25144 ## ----------------------------------------- ##
25147 sed "s/^/$as_me: WARNING: /" >&2
25150 echo "$as_me:$LINENO: checking for hash_map" >&5
25151 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
25152 if test "${ac_cv_header_hash_map+set}" = set; then
25153 echo $ECHO_N "(cached) $ECHO_C" >&6
25155 ac_cv_header_hash_map
=$ac_header_preproc
25157 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25158 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
25161 if test $ac_cv_header_hash_map = yes; then
25162 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
25163 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
25164 cat >conftest.
$ac_ext <<_ACEOF
25167 cat confdefs.h
>>conftest.
$ac_ext
25168 cat >>conftest.
$ac_ext <<_ACEOF
25169 /* end confdefs.h. */
25170 #include <hash_map>
25171 #include <hash_set>
25175 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25176 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25181 rm -f conftest.
$ac_objext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25183 (eval $ac_compile) 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); } &&
25190 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; } &&
25196 { ac_try
='test -s conftest.$ac_objext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 echo "$as_me:$LINENO: result: yes" >&5
25203 echo "${ECHO_T}yes" >&6
25204 cat >>confdefs.h
<<\_ACEOF
25205 #define HAVE_HASH_MAP 1
25208 cat >>confdefs.h
<<\_ACEOF
25209 #define HAVE_STD_HASH_MAP 1
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.
$ac_ext >&5
25216 echo "$as_me:$LINENO: result: no" >&5
25217 echo "${ECHO_T}no" >&6
25219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25225 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25226 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25227 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
25228 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25229 echo $ECHO_N "(cached) $ECHO_C" >&6
25231 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25232 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
25234 # Is the header compilable?
25235 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
25236 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
25237 cat >conftest.
$ac_ext <<_ACEOF
25240 cat confdefs.h
>>conftest.
$ac_ext
25241 cat >>conftest.
$ac_ext <<_ACEOF
25242 /* end confdefs.h. */
25243 $ac_includes_default
25244 #include <ext/hash_map>
25246 rm -f conftest.
$ac_objext
25247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25248 (eval $ac_compile) 2>conftest.er1
25250 grep -v '^ *+' conftest.er1
>conftest.err
25252 cat conftest.err
>&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } &&
25255 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25257 (eval $ac_try) 2>&5
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); }; } &&
25261 { ac_try
='test -s conftest.$ac_objext'
25262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25263 (eval $ac_try) 2>&5
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); }; }; then
25267 ac_header_compiler
=yes
25269 echo "$as_me: failed program was:" >&5
25270 sed 's/^/| /' conftest.
$ac_ext >&5
25272 ac_header_compiler
=no
25274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25276 echo "${ECHO_T}$ac_header_compiler" >&6
25278 # Is the header present?
25279 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
25280 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
25281 cat >conftest.
$ac_ext <<_ACEOF
25284 cat confdefs.h
>>conftest.
$ac_ext
25285 cat >>conftest.
$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 #include <ext/hash_map>
25289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25292 grep -v '^ *+' conftest.er1
>conftest.err
25294 cat conftest.err
>&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } >/dev
/null
; then
25297 if test -s conftest.err
; then
25298 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25299 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25306 if test -z "$ac_cpp_err"; then
25307 ac_header_preproc
=yes
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.
$ac_ext >&5
25312 ac_header_preproc
=no
25314 rm -f conftest.err conftest.
$ac_ext
25315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25316 echo "${ECHO_T}$ac_header_preproc" >&6
25318 # So? What about this header?
25319 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25321 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
25322 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
25323 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
25324 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
25325 ac_header_preproc
=yes
25328 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
25329 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
25330 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
25331 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
25332 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
25333 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
25334 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
25335 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
25336 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
25337 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
25338 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
25339 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
25342 ## ----------------------------------------- ##
25343 ## Report this to wx-dev@lists.wxwidgets.org ##
25344 ## ----------------------------------------- ##
25347 sed "s/^/$as_me: WARNING: /" >&2
25350 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25351 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
25352 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25353 echo $ECHO_N "(cached) $ECHO_C" >&6
25355 ac_cv_header_ext_hash_map
=$ac_header_preproc
25357 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25358 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
25361 if test $ac_cv_header_ext_hash_map = yes; then
25362 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
25363 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
25364 cat >conftest.
$ac_ext <<_ACEOF
25367 cat confdefs.h
>>conftest.
$ac_ext
25368 cat >>conftest.
$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 #include <ext/hash_map>
25371 #include <ext/hash_set>
25375 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25376 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25381 rm -f conftest.
$ac_objext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25383 (eval $ac_compile) 2>conftest.er1
25385 grep -v '^ *+' conftest.er1
>conftest.err
25387 cat conftest.err
>&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25392 (eval $ac_try) 2>&5
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); }; } &&
25396 { ac_try
='test -s conftest.$ac_objext'
25397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398 (eval $ac_try) 2>&5
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; }; then
25402 echo "$as_me:$LINENO: result: yes" >&5
25403 echo "${ECHO_T}yes" >&6
25404 cat >>confdefs.h
<<\_ACEOF
25405 #define HAVE_EXT_HASH_MAP 1
25408 cat >>confdefs.h
<<\_ACEOF
25409 #define HAVE_GNU_CXX_HASH_MAP 1
25413 echo "$as_me: failed program was:" >&5
25414 sed 's/^/| /' conftest.
$ac_ext >&5
25416 echo "$as_me:$LINENO: result: no" >&5
25417 echo "${ECHO_T}no" >&6
25419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25428 /usr/local/include \
25430 /usr/Motif-2.1/include \
25431 /usr/Motif-1.2/include \
25432 /usr/include/Motif1.2 \
25435 /usr/openwin/include \
25439 /usr/X11R6/include \
25440 /usr/X11R6.4/include \
25441 /usr/X11R5/include \
25442 /usr/X11R4/include \
25444 /usr/include/X11R6 \
25445 /usr/include/X11R5 \
25446 /usr/include/X11R4 \
25448 /usr/local/X11R6/include \
25449 /usr/local/X11R5/include \
25450 /usr/local/X11R4/include \
25452 /usr/local/include/X11R6 \
25453 /usr/local/include/X11R5 \
25454 /usr/local/include/X11R4 \
25458 /usr/local/X11/include \
25459 /usr/local/include/X11 \
25461 /usr/XFree86/include/X11 \
25464 /usr/openwin/share/include"
25466 echo "$as_me:$LINENO: checking for libraries directory" >&5
25467 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
25471 if test "${wx_cv_std_libpath+set}" = set; then
25472 echo $ECHO_N "(cached) $ECHO_C" >&6
25475 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25476 for e
in a so sl dylib dll.a
; do
25478 if test -f $libc; then
25481 cat >conftest.
$ac_ext <<_ACEOF
25482 int main() { return 0; }
25484 rm -f conftest.
$ac_objext conftest
$ac_exeext
25485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25486 (eval $ac_link) 2>conftest.er1
25488 grep -v '^ *+' conftest.er1
>conftest.err
25490 cat conftest.err
>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); } &&
25493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; } &&
25499 { ac_try
='test -s conftest$ac_exeext'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; }; then
25505 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
25507 echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.
$ac_ext >&5
25511 rm -f conftest.err conftest.
$ac_objext \
25512 conftest
$ac_exeext conftest.
$ac_ext
25514 if test "x$wx_cv_std_libpath" != "x"; then
25520 if test "x$wx_cv_std_libpath" = "x"; then
25521 wx_cv_std_libpath
="lib"
25530 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25531 wx_cv_std_libpath
="lib/64"
25533 wx_cv_std_libpath
="lib"
25538 if test "$ac_cv_sizeof_void_p" = 8 -a \
25539 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25540 wx_cv_std_libpath
="lib64"
25542 wx_cv_std_libpath
="lib"
25547 wx_cv_std_libpath
="lib";
25551 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25552 echo "${ECHO_T}$wx_cv_std_libpath" >&6
25554 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25556 if test "$build" != "$host" -a "$GCC" = yes; then
25557 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
25558 cross_root
=`dirname $cross_root`
25559 cross_root
=`dirname $cross_root`
25561 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25562 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25563 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
25565 if test -z "$PKG_CONFIG_PATH"; then
25566 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25567 export PKG_CONFIG_PATH
25570 if test -z "$x_includes" -o "$x_includes" = NONE
; then
25573 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25575 if test -f "$ac_dir/X11/Intrinsic.h"; then
25576 ac_find_includes
=$ac_dir
25581 x_includes
=$ac_find_includes
25583 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
25586 for ac_dir
in $SEARCH_LIB;
25588 for ac_extension
in a so sl dylib dll.a
; do
25589 if test -f "$ac_dir/libXt.$ac_extension"; then
25590 ac_find_libraries
=$ac_dir
25596 x_libraries
=$ac_find_libraries
25602 cat >confcache
<<\_ACEOF
25603 # This file is a shell script that caches the results of configure
25604 # tests run on this system so they can be shared between configure
25605 # scripts and configure runs, see configure's option --config-cache.
25606 # It is not useful on other systems. If it contains results you don't
25607 # want to keep, you may remove or edit it.
25609 # config.status only pays attention to the cache file if you give it
25610 # the --recheck option to rerun configure.
25612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25614 # following values.
25618 # The following way of writing the cache mishandles newlines in values,
25619 # but we know of no workaround that is simple, portable, and efficient.
25620 # So, don't put newlines in cache variables' values.
25621 # Ultrix sh set writes to stderr and can't be redirected directly,
25622 # and sets the high bit in the cache file unless we assign to the vars.
25625 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25627 # `set' does not quote correctly, so add quotes (double-quote
25628 # substitution turns \\\\ into \\, and sed turns \\ into \).
25631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25634 # `set' quotes correctly as required by POSIX, so do not add quotes.
25636 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25645 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25647 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
25648 if test -w $cache_file; then
25649 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25650 cat confcache
>$cache_file
25652 echo "not updating unwritable cache $cache_file"
25657 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25658 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25659 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
25660 if test "${wx_cv_lib_glibc21+set}" = set; then
25661 echo $ECHO_N "(cached) $ECHO_C" >&6
25664 cat >conftest.
$ac_ext <<_ACEOF
25667 cat confdefs.h
>>conftest.
$ac_ext
25668 cat >>conftest.
$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25670 #include <features.h>
25675 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25683 rm -f conftest.
$ac_objext
25684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25685 (eval $ac_compile) 2>conftest.er1
25687 grep -v '^ *+' conftest.er1
>conftest.err
25689 cat conftest.err
>&5
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); } &&
25692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25694 (eval $ac_try) 2>&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); }; } &&
25698 { ac_try
='test -s conftest.$ac_objext'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; }; then
25705 wx_cv_lib_glibc21
=yes
25708 echo "$as_me: failed program was:" >&5
25709 sed 's/^/| /' conftest.
$ac_ext >&5
25712 wx_cv_lib_glibc21
=no
25716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25719 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25720 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
25721 if test "$wx_cv_lib_glibc21" = "yes"; then
25722 cat >>confdefs.h
<<\_ACEOF
25723 #define wxHAVE_GLIBC2 1
25729 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25730 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25731 cat >>confdefs.h
<<\_ACEOF
25732 #define _GNU_SOURCE 1
25743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25744 echo "$as_me:$LINENO: checking for $ac_func" >&5
25745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25746 if eval "test \"\${$as_ac_var+set}\" = set"; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 cat >conftest.
$ac_ext <<_ACEOF
25752 cat confdefs.h
>>conftest.
$ac_ext
25753 cat >>conftest.
$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25757 #define $ac_func innocuous_$ac_func
25759 /* System header to define __stub macros and hopefully few prototypes,
25760 which can conflict with char $ac_func (); below.
25761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25762 <limits.h> exists even on freestanding compilers. */
25765 # include <limits.h>
25767 # include <assert.h>
25772 /* Override any gcc2 internal prototype to avoid an error. */
25777 /* We use char because int might match the return type of a gcc2
25778 builtin and then its argument prototype would still apply. */
25780 /* The GNU C library defines this for functions which it implements
25781 to always fail with ENOSYS. Some functions are actually named
25782 something starting with __ and the normal name is an alias. */
25783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25786 char (*f) () = $ac_func;
25795 return f != $ac_func;
25800 rm -f conftest.
$ac_objext conftest
$ac_exeext
25801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25802 (eval $ac_link) 2>conftest.er1
25804 grep -v '^ *+' conftest.er1
>conftest.err
25806 cat conftest.err
>&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); } &&
25809 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25811 (eval $ac_try) 2>&5
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); }; } &&
25815 { ac_try
='test -s conftest$ac_exeext'
25816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25817 (eval $ac_try) 2>&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); }; }; then
25821 eval "$as_ac_var=yes"
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.
$ac_ext >&5
25826 eval "$as_ac_var=no"
25828 rm -f conftest.err conftest.
$ac_objext \
25829 conftest
$ac_exeext conftest.
$ac_ext
25831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25833 if test `eval echo '${'$as_ac_var'}'` = yes; then
25834 cat >>confdefs.h
<<_ACEOF
25835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25842 for ac_func
in floor
25844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25845 echo "$as_me:$LINENO: checking for $ac_func" >&5
25846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25847 if eval "test \"\${$as_ac_var+set}\" = set"; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25850 cat >conftest.
$ac_ext <<_ACEOF
25853 cat confdefs.h
>>conftest.
$ac_ext
25854 cat >>conftest.
$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25858 #define $ac_func innocuous_$ac_func
25860 /* System header to define __stub macros and hopefully few prototypes,
25861 which can conflict with char $ac_func (); below.
25862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25863 <limits.h> exists even on freestanding compilers. */
25866 # include <limits.h>
25868 # include <assert.h>
25873 /* Override any gcc2 internal prototype to avoid an error. */
25878 /* We use char because int might match the return type of a gcc2
25879 builtin and then its argument prototype would still apply. */
25881 /* The GNU C library defines this for functions which it implements
25882 to always fail with ENOSYS. Some functions are actually named
25883 something starting with __ and the normal name is an alias. */
25884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25887 char (*f) () = $ac_func;
25896 return f != $ac_func;
25901 rm -f conftest.
$ac_objext conftest
$ac_exeext
25902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25903 (eval $ac_link) 2>conftest.er1
25905 grep -v '^ *+' conftest.er1
>conftest.err
25907 cat conftest.err
>&5
25908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909 (exit $ac_status); } &&
25910 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25912 (eval $ac_try) 2>&5
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); }; } &&
25916 { ac_try
='test -s conftest$ac_exeext'
25917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25918 (eval $ac_try) 2>&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); }; }; then
25922 eval "$as_ac_var=yes"
25924 echo "$as_me: failed program was:" >&5
25925 sed 's/^/| /' conftest.
$ac_ext >&5
25927 eval "$as_ac_var=no"
25929 rm -f conftest.err conftest.
$ac_objext \
25930 conftest
$ac_exeext conftest.
$ac_ext
25932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25934 if test `eval echo '${'$as_ac_var'}'` = yes; then
25935 cat >>confdefs.h
<<_ACEOF
25936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25942 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25943 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25944 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25945 echo "$as_me:$LINENO: result: yes" >&5
25946 echo "${ECHO_T}yes" >&6
25948 echo "$as_me:$LINENO: result: no" >&5
25949 echo "${ECHO_T}no" >&6
25951 # use different functions to avoid configure caching
25957 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25958 echo "$as_me:$LINENO: checking for $ac_func" >&5
25959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25960 if eval "test \"\${$as_ac_var+set}\" = set"; then
25961 echo $ECHO_N "(cached) $ECHO_C" >&6
25963 cat >conftest.
$ac_ext <<_ACEOF
25966 cat confdefs.h
>>conftest.
$ac_ext
25967 cat >>conftest.
$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25971 #define $ac_func innocuous_$ac_func
25973 /* System header to define __stub macros and hopefully few prototypes,
25974 which can conflict with char $ac_func (); below.
25975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25976 <limits.h> exists even on freestanding compilers. */
25979 # include <limits.h>
25981 # include <assert.h>
25986 /* Override any gcc2 internal prototype to avoid an error. */
25991 /* We use char because int might match the return type of a gcc2
25992 builtin and then its argument prototype would still apply. */
25994 /* The GNU C library defines this for functions which it implements
25995 to always fail with ENOSYS. Some functions are actually named
25996 something starting with __ and the normal name is an alias. */
25997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26000 char (*f) () = $ac_func;
26009 return f != $ac_func;
26014 rm -f conftest.
$ac_objext conftest
$ac_exeext
26015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26016 (eval $ac_link) 2>conftest.er1
26018 grep -v '^ *+' conftest.er1
>conftest.err
26020 cat conftest.err
>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } &&
26023 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; } &&
26029 { ac_try
='test -s conftest$ac_exeext'
26030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031 (eval $ac_try) 2>&5
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); }; }; then
26035 eval "$as_ac_var=yes"
26037 echo "$as_me: failed program was:" >&5
26038 sed 's/^/| /' conftest.
$ac_ext >&5
26040 eval "$as_ac_var=no"
26042 rm -f conftest.err conftest.
$ac_objext \
26043 conftest
$ac_exeext conftest.
$ac_ext
26045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26047 if test `eval echo '${'$as_ac_var'}'` = yes; then
26048 cat >>confdefs.h
<<_ACEOF
26049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26056 for ac_func
in ceil
26058 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26059 echo "$as_me:$LINENO: checking for $ac_func" >&5
26060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26061 if eval "test \"\${$as_ac_var+set}\" = set"; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 cat >conftest.
$ac_ext <<_ACEOF
26067 cat confdefs.h
>>conftest.
$ac_ext
26068 cat >>conftest.
$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26072 #define $ac_func innocuous_$ac_func
26074 /* System header to define __stub macros and hopefully few prototypes,
26075 which can conflict with char $ac_func (); below.
26076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26077 <limits.h> exists even on freestanding compilers. */
26080 # include <limits.h>
26082 # include <assert.h>
26087 /* Override any gcc2 internal prototype to avoid an error. */
26092 /* We use char because int might match the return type of a gcc2
26093 builtin and then its argument prototype would still apply. */
26095 /* The GNU C library defines this for functions which it implements
26096 to always fail with ENOSYS. Some functions are actually named
26097 something starting with __ and the normal name is an alias. */
26098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26101 char (*f) () = $ac_func;
26110 return f != $ac_func;
26115 rm -f conftest.
$ac_objext conftest
$ac_exeext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26117 (eval $ac_link) 2>conftest.er1
26119 grep -v '^ *+' conftest.er1
>conftest.err
26121 cat conftest.err
>&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } &&
26124 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26126 (eval $ac_try) 2>&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); }; } &&
26130 { ac_try
='test -s conftest$ac_exeext'
26131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132 (eval $ac_try) 2>&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; }; then
26136 eval "$as_ac_var=yes"
26138 echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.
$ac_ext >&5
26141 eval "$as_ac_var=no"
26143 rm -f conftest.err conftest.
$ac_objext \
26144 conftest
$ac_exeext conftest.
$ac_ext
26146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26148 if test `eval echo '${'$as_ac_var'}'` = yes; then
26149 cat >>confdefs.h
<<_ACEOF
26150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26156 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26157 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
26158 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26159 echo "$as_me:$LINENO: result: yes" >&5
26160 echo "${ECHO_T}yes" >&6
26162 echo "$as_me:$LINENO: result: no" >&5
26163 echo "${ECHO_T}no" >&6
26164 # not sure we should warn the user, crash, etc.
26168 if test "wxUSE_UNICODE" = "yes"; then
26170 for ac_func
in wcstoull
26172 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26173 echo "$as_me:$LINENO: checking for $ac_func" >&5
26174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26175 if eval "test \"\${$as_ac_var+set}\" = set"; then
26176 echo $ECHO_N "(cached) $ECHO_C" >&6
26178 cat >conftest.
$ac_ext <<_ACEOF
26181 cat confdefs.h
>>conftest.
$ac_ext
26182 cat >>conftest.
$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26186 #define $ac_func innocuous_$ac_func
26188 /* System header to define __stub macros and hopefully few prototypes,
26189 which can conflict with char $ac_func (); below.
26190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26191 <limits.h> exists even on freestanding compilers. */
26194 # include <limits.h>
26196 # include <assert.h>
26201 /* Override any gcc2 internal prototype to avoid an error. */
26206 /* We use char because int might match the return type of a gcc2
26207 builtin and then its argument prototype would still apply. */
26209 /* The GNU C library defines this for functions which it implements
26210 to always fail with ENOSYS. Some functions are actually named
26211 something starting with __ and the normal name is an alias. */
26212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26215 char (*f) () = $ac_func;
26224 return f != $ac_func;
26229 rm -f conftest.
$ac_objext conftest
$ac_exeext
26230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26231 (eval $ac_link) 2>conftest.er1
26233 grep -v '^ *+' conftest.er1
>conftest.err
26235 cat conftest.err
>&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); } &&
26238 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240 (eval $ac_try) 2>&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); }; } &&
26244 { ac_try
='test -s conftest$ac_exeext'
26245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26246 (eval $ac_try) 2>&5
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); }; }; then
26250 eval "$as_ac_var=yes"
26252 echo "$as_me: failed program was:" >&5
26253 sed 's/^/| /' conftest.
$ac_ext >&5
26255 eval "$as_ac_var=no"
26257 rm -f conftest.err conftest.
$ac_objext \
26258 conftest
$ac_exeext conftest.
$ac_ext
26260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26262 if test `eval echo '${'$as_ac_var'}'` = yes; then
26263 cat >>confdefs.h
<<_ACEOF
26264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26272 for ac_func
in strtoull
26274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26275 echo "$as_me:$LINENO: checking for $ac_func" >&5
26276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26277 if eval "test \"\${$as_ac_var+set}\" = set"; then
26278 echo $ECHO_N "(cached) $ECHO_C" >&6
26280 cat >conftest.
$ac_ext <<_ACEOF
26283 cat confdefs.h
>>conftest.
$ac_ext
26284 cat >>conftest.
$ac_ext <<_ACEOF
26285 /* end confdefs.h. */
26286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26288 #define $ac_func innocuous_$ac_func
26290 /* System header to define __stub macros and hopefully few prototypes,
26291 which can conflict with char $ac_func (); below.
26292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26293 <limits.h> exists even on freestanding compilers. */
26296 # include <limits.h>
26298 # include <assert.h>
26303 /* Override any gcc2 internal prototype to avoid an error. */
26308 /* We use char because int might match the return type of a gcc2
26309 builtin and then its argument prototype would still apply. */
26311 /* The GNU C library defines this for functions which it implements
26312 to always fail with ENOSYS. Some functions are actually named
26313 something starting with __ and the normal name is an alias. */
26314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26317 char (*f) () = $ac_func;
26326 return f != $ac_func;
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 eval "$as_ac_var=yes"
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.
$ac_ext >&5
26357 eval "$as_ac_var=no"
26359 rm -f conftest.err conftest.
$ac_objext \
26360 conftest
$ac_exeext conftest.
$ac_ext
26362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26364 if test `eval echo '${'$as_ac_var'}'` = yes; then
26365 cat >>confdefs.h
<<_ACEOF
26366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26376 if test "$wxUSE_REGEX" != "no"; then
26377 cat >>confdefs.h
<<\_ACEOF
26378 #define wxUSE_REGEX 1
26382 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26383 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26384 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26385 wxUSE_REGEX
=builtin
26388 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26389 if test "${ac_cv_header_regex_h+set}" = set; then
26390 echo "$as_me:$LINENO: checking for regex.h" >&5
26391 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
26392 if test "${ac_cv_header_regex_h+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26395 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26396 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
26398 # Is the header compilable?
26399 echo "$as_me:$LINENO: checking regex.h usability" >&5
26400 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
26401 cat >conftest.
$ac_ext <<_ACEOF
26404 cat confdefs.h
>>conftest.
$ac_ext
26405 cat >>conftest.
$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407 $ac_includes_default
26410 rm -f conftest.
$ac_objext
26411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26412 (eval $ac_compile) 2>conftest.er1
26414 grep -v '^ *+' conftest.er1
>conftest.err
26416 cat conftest.err
>&5
26417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26418 (exit $ac_status); } &&
26419 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; } &&
26425 { ac_try
='test -s conftest.$ac_objext'
26426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26427 (eval $ac_try) 2>&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); }; }; then
26431 ac_header_compiler
=yes
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.
$ac_ext >&5
26436 ac_header_compiler
=no
26438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26440 echo "${ECHO_T}$ac_header_compiler" >&6
26442 # Is the header present?
26443 echo "$as_me:$LINENO: checking regex.h presence" >&5
26444 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
26445 cat >conftest.
$ac_ext <<_ACEOF
26448 cat confdefs.h
>>conftest.
$ac_ext
26449 cat >>conftest.
$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26456 grep -v '^ *+' conftest.er1
>conftest.err
26458 cat conftest.err
>&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); } >/dev
/null
; then
26461 if test -s conftest.err
; then
26462 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26463 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26470 if test -z "$ac_cpp_err"; then
26471 ac_header_preproc
=yes
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.
$ac_ext >&5
26476 ac_header_preproc
=no
26478 rm -f conftest.err conftest.
$ac_ext
26479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26480 echo "${ECHO_T}$ac_header_preproc" >&6
26482 # So? What about this header?
26483 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26485 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
26486 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
26488 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
26489 ac_header_preproc
=yes
26492 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
26493 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
26494 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
26495 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
26496 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
26497 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
26498 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
26499 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
26500 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
26501 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
26502 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
26503 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
26506 ## ----------------------------------------- ##
26507 ## Report this to wx-dev@lists.wxwidgets.org ##
26508 ## ----------------------------------------- ##
26511 sed "s/^/$as_me: WARNING: /" >&2
26514 echo "$as_me:$LINENO: checking for regex.h" >&5
26515 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
26516 if test "${ac_cv_header_regex_h+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6
26519 ac_cv_header_regex_h
=$ac_header_preproc
26521 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26522 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
26525 if test $ac_cv_header_regex_h = yes; then
26528 for ac_func
in regcomp re_search
26530 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26531 echo "$as_me:$LINENO: checking for $ac_func" >&5
26532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26533 if eval "test \"\${$as_ac_var+set}\" = set"; then
26534 echo $ECHO_N "(cached) $ECHO_C" >&6
26536 cat >conftest.
$ac_ext <<_ACEOF
26539 cat confdefs.h
>>conftest.
$ac_ext
26540 cat >>conftest.
$ac_ext <<_ACEOF
26541 /* end confdefs.h. */
26542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26544 #define $ac_func innocuous_$ac_func
26546 /* System header to define __stub macros and hopefully few prototypes,
26547 which can conflict with char $ac_func (); below.
26548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26549 <limits.h> exists even on freestanding compilers. */
26552 # include <limits.h>
26554 # include <assert.h>
26559 /* Override any gcc2 internal prototype to avoid an error. */
26564 /* We use char because int might match the return type of a gcc2
26565 builtin and then its argument prototype would still apply. */
26567 /* The GNU C library defines this for functions which it implements
26568 to always fail with ENOSYS. Some functions are actually named
26569 something starting with __ and the normal name is an alias. */
26570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26573 char (*f) () = $ac_func;
26582 return f != $ac_func;
26587 rm -f conftest.
$ac_objext conftest
$ac_exeext
26588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26589 (eval $ac_link) 2>conftest.er1
26591 grep -v '^ *+' conftest.er1
>conftest.err
26593 cat conftest.err
>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; } &&
26602 { ac_try
='test -s conftest$ac_exeext'
26603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26604 (eval $ac_try) 2>&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); }; }; then
26608 eval "$as_ac_var=yes"
26610 echo "$as_me: failed program was:" >&5
26611 sed 's/^/| /' conftest.
$ac_ext >&5
26613 eval "$as_ac_var=no"
26615 rm -f conftest.err conftest.
$ac_objext \
26616 conftest
$ac_exeext conftest.
$ac_ext
26618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26620 if test `eval echo '${'$as_ac_var'}'` = yes; then
26621 cat >>confdefs.h
<<_ACEOF
26622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26632 if test "x$ac_cv_func_regcomp" != "xyes"; then
26633 if test "$wxUSE_REGEX" = "sys" ; then
26634 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26635 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26636 { (exit 1); exit 1; }; }
26638 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26639 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26640 wxUSE_REGEX
=builtin
26644 cat >>confdefs.h
<<\_ACEOF
26645 #define WX_NO_REGEX_ADVANCED 1
26654 if test "$wxUSE_ZLIB" != "no" ; then
26655 cat >>confdefs.h
<<\_ACEOF
26656 #define wxUSE_ZLIB 1
26660 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26661 if test "$USE_DARWIN" = 1; then
26662 system_zlib_h_ok
="yes"
26664 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26665 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
26666 if test "${ac_cv_header_zlib_h+set}" = set; then
26667 echo $ECHO_N "(cached) $ECHO_C" >&6
26669 if test "$cross_compiling" = yes; then
26670 unset ac_cv_header_zlib_h
26673 cat >conftest.
$ac_ext <<_ACEOF
26676 cat confdefs.h
>>conftest.
$ac_ext
26677 cat >>conftest.
$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26685 FILE *f=fopen("conftestval", "w");
26688 ZLIB_VERSION[0] == '1' &&
26689 (ZLIB_VERSION[2] > '1' ||
26690 (ZLIB_VERSION[2] == '1' &&
26691 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26696 rm -f conftest
$ac_exeext
26697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26698 (eval $ac_link) 2>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26703 (eval $ac_try) 2>&5
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); }; }; then
26707 ac_cv_header_zlib_h
=`cat conftestval`
26709 echo "$as_me: program exited with status $ac_status" >&5
26710 echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.
$ac_ext >&5
26713 ( exit $ac_status )
26714 ac_cv_header_zlib_h
=no
26716 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26720 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26721 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26722 if test "${ac_cv_header_zlib_h+set}" = set; then
26723 echo "$as_me:$LINENO: checking for zlib.h" >&5
26724 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26725 if test "${ac_cv_header_zlib_h+set}" = set; then
26726 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26729 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26731 # Is the header compilable?
26732 echo "$as_me:$LINENO: checking zlib.h usability" >&5
26733 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
26734 cat >conftest.
$ac_ext <<_ACEOF
26737 cat confdefs.h
>>conftest.
$ac_ext
26738 cat >>conftest.
$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26740 $ac_includes_default
26743 rm -f conftest.
$ac_objext
26744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26745 (eval $ac_compile) 2>conftest.er1
26747 grep -v '^ *+' conftest.er1
>conftest.err
26749 cat conftest.err
>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } &&
26752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; } &&
26758 { ac_try
='test -s conftest.$ac_objext'
26759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26760 (eval $ac_try) 2>&5
26762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26763 (exit $ac_status); }; }; then
26764 ac_header_compiler
=yes
26766 echo "$as_me: failed program was:" >&5
26767 sed 's/^/| /' conftest.
$ac_ext >&5
26769 ac_header_compiler
=no
26771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26772 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26773 echo "${ECHO_T}$ac_header_compiler" >&6
26775 # Is the header present?
26776 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26777 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26778 cat >conftest.
$ac_ext <<_ACEOF
26781 cat confdefs.h
>>conftest.
$ac_ext
26782 cat >>conftest.
$ac_ext <<_ACEOF
26783 /* end confdefs.h. */
26786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26787 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26789 grep -v '^ *+' conftest.er1
>conftest.err
26791 cat conftest.err
>&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } >/dev
/null
; then
26794 if test -s conftest.err
; then
26795 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26796 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26803 if test -z "$ac_cpp_err"; then
26804 ac_header_preproc
=yes
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.
$ac_ext >&5
26809 ac_header_preproc
=no
26811 rm -f conftest.err conftest.
$ac_ext
26812 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26813 echo "${ECHO_T}$ac_header_preproc" >&6
26815 # So? What about this header?
26816 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26818 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26819 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26820 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26821 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26822 ac_header_preproc
=yes
26825 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26826 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26827 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26828 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26829 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26830 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26831 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26832 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26833 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26834 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26835 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26836 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26839 ## ----------------------------------------- ##
26840 ## Report this to wx-dev@lists.wxwidgets.org ##
26841 ## ----------------------------------------- ##
26844 sed "s/^/$as_me: WARNING: /" >&2
26847 echo "$as_me:$LINENO: checking for zlib.h" >&5
26848 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26849 if test "${ac_cv_header_zlib_h+set}" = set; then
26850 echo $ECHO_N "(cached) $ECHO_C" >&6
26852 ac_cv_header_zlib_h
=$ac_header_preproc
26854 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26855 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26861 system_zlib_h_ok
=$ac_cv_header_zlib_h
26864 if test "$system_zlib_h_ok" = "yes"; then
26865 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26866 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26867 if test "${ac_cv_lib_z_deflate+set}" = set; then
26868 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 ac_check_lib_save_LIBS
=$LIBS
26872 cat >conftest.
$ac_ext <<_ACEOF
26875 cat confdefs.h
>>conftest.
$ac_ext
26876 cat >>conftest.
$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26879 /* Override any gcc2 internal prototype to avoid an error. */
26883 /* We use char because int might match the return type of a gcc2
26884 builtin and then its argument prototype would still apply. */
26894 rm -f conftest.
$ac_objext conftest
$ac_exeext
26895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26896 (eval $ac_link) 2>conftest.er1
26898 grep -v '^ *+' conftest.er1
>conftest.err
26900 cat conftest.err
>&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; } &&
26909 { ac_try
='test -s conftest$ac_exeext'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; }; then
26915 ac_cv_lib_z_deflate
=yes
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.
$ac_ext >&5
26920 ac_cv_lib_z_deflate
=no
26922 rm -f conftest.err conftest.
$ac_objext \
26923 conftest
$ac_exeext conftest.
$ac_ext
26924 LIBS
=$ac_check_lib_save_LIBS
26926 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26927 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26928 if test $ac_cv_lib_z_deflate = yes; then
26934 if test "x$ZLIB_LINK" = "x" ; then
26935 if test "$wxUSE_ZLIB" = "sys" ; then
26936 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26937 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26938 { (exit 1); exit 1; }; }
26940 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26941 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26952 if test "$wxUSE_LIBPNG" != "no" ; then
26953 cat >>confdefs.h
<<\_ACEOF
26954 #define wxUSE_LIBPNG 1
26958 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26959 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26960 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26964 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26965 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26966 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26967 wxUSE_LIBPNG
=builtin
26970 if test "$wxUSE_MGL" != 1 ; then
26971 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26972 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26973 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26974 if test "${ac_cv_header_png_h+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26977 if test "$cross_compiling" = yes; then
26978 unset ac_cv_header_png_h
26981 cat >conftest.
$ac_ext <<_ACEOF
26984 cat confdefs.h
>>conftest.
$ac_ext
26985 cat >>conftest.
$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26993 FILE *f=fopen("conftestval", "w");
26996 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27001 rm -f conftest
$ac_exeext
27002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27003 (eval $ac_link) 2>&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008 (eval $ac_try) 2>&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); }; }; then
27012 ac_cv_header_png_h
=`cat conftestval`
27014 echo "$as_me: program exited with status $ac_status" >&5
27015 echo "$as_me: failed program was:" >&5
27016 sed 's/^/| /' conftest.
$ac_ext >&5
27018 ( exit $ac_status )
27019 ac_cv_header_png_h
=no
27021 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27025 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27026 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27027 if test "${ac_cv_header_png_h+set}" = set; then
27028 echo "$as_me:$LINENO: checking for png.h" >&5
27029 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
27030 if test "${ac_cv_header_png_h+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27033 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27034 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27036 # Is the header compilable?
27037 echo "$as_me:$LINENO: checking png.h usability" >&5
27038 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
27039 cat >conftest.
$ac_ext <<_ACEOF
27042 cat confdefs.h
>>conftest.
$ac_ext
27043 cat >>conftest.
$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27045 $ac_includes_default
27048 rm -f conftest.
$ac_objext
27049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27050 (eval $ac_compile) 2>conftest.er1
27052 grep -v '^ *+' conftest.er1
>conftest.err
27054 cat conftest.err
>&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } &&
27057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; } &&
27063 { ac_try
='test -s conftest.$ac_objext'
27064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27065 (eval $ac_try) 2>&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); }; }; then
27069 ac_header_compiler
=yes
27071 echo "$as_me: failed program was:" >&5
27072 sed 's/^/| /' conftest.
$ac_ext >&5
27074 ac_header_compiler
=no
27076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27078 echo "${ECHO_T}$ac_header_compiler" >&6
27080 # Is the header present?
27081 echo "$as_me:$LINENO: checking png.h presence" >&5
27082 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
27083 cat >conftest.
$ac_ext <<_ACEOF
27086 cat confdefs.h
>>conftest.
$ac_ext
27087 cat >>conftest.
$ac_ext <<_ACEOF
27088 /* end confdefs.h. */
27091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27094 grep -v '^ *+' conftest.er1
>conftest.err
27096 cat conftest.err
>&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); } >/dev
/null
; then
27099 if test -s conftest.err
; then
27100 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27101 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27108 if test -z "$ac_cpp_err"; then
27109 ac_header_preproc
=yes
27111 echo "$as_me: failed program was:" >&5
27112 sed 's/^/| /' conftest.
$ac_ext >&5
27114 ac_header_preproc
=no
27116 rm -f conftest.err conftest.
$ac_ext
27117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27118 echo "${ECHO_T}$ac_header_preproc" >&6
27120 # So? What about this header?
27121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27123 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
27124 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27125 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
27126 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
27127 ac_header_preproc
=yes
27130 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
27131 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
27132 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
27133 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
27134 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
27135 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
27136 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
27137 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
27138 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
27139 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
27140 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
27141 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
27144 ## ----------------------------------------- ##
27145 ## Report this to wx-dev@lists.wxwidgets.org ##
27146 ## ----------------------------------------- ##
27149 sed "s/^/$as_me: WARNING: /" >&2
27152 echo "$as_me:$LINENO: checking for png.h" >&5
27153 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
27154 if test "${ac_cv_header_png_h+set}" = set; then
27155 echo $ECHO_N "(cached) $ECHO_C" >&6
27157 ac_cv_header_png_h
=$ac_header_preproc
27159 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27160 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27166 if test "$ac_cv_header_png_h" = "yes"; then
27167 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27168 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
27169 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 ac_check_lib_save_LIBS
=$LIBS
27173 LIBS
="-lpng -lz -lm $LIBS"
27174 cat >conftest.
$ac_ext <<_ACEOF
27177 cat confdefs.h
>>conftest.
$ac_ext
27178 cat >>conftest.
$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27181 /* Override any gcc2 internal prototype to avoid an error. */
27185 /* We use char because int might match the return type of a gcc2
27186 builtin and then its argument prototype would still apply. */
27187 char png_check_sig ();
27196 rm -f conftest.
$ac_objext conftest
$ac_exeext
27197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27198 (eval $ac_link) 2>conftest.er1
27200 grep -v '^ *+' conftest.er1
>conftest.err
27202 cat conftest.err
>&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } &&
27205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; } &&
27211 { ac_try
='test -s conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 ac_cv_lib_png_png_check_sig
=yes
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.
$ac_ext >&5
27222 ac_cv_lib_png_png_check_sig
=no
27224 rm -f conftest.err conftest.
$ac_objext \
27225 conftest
$ac_exeext conftest.
$ac_ext
27226 LIBS
=$ac_check_lib_save_LIBS
27228 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27229 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
27230 if test $ac_cv_lib_png_png_check_sig = yes; then
27231 PNG_LINK
=" -lpng -lz"
27236 if test "x$PNG_LINK" = "x" ; then
27237 if test "$wxUSE_LIBPNG" = "sys" ; then
27238 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27239 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27240 { (exit 1); exit 1; }; }
27242 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27243 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27244 wxUSE_LIBPNG
=builtin
27252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
27257 if test "$wxUSE_LIBJPEG" != "no" ; then
27258 cat >>confdefs.h
<<\_ACEOF
27259 #define wxUSE_LIBJPEG 1
27263 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27264 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27265 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27269 if test "$wxUSE_MGL" != 1 ; then
27270 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27271 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27272 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
27273 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27276 cat >conftest.
$ac_ext <<_ACEOF
27279 cat confdefs.h
>>conftest.
$ac_ext
27280 cat >>conftest.
$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27283 #undef HAVE_STDLIB_H
27285 #include <jpeglib.h>
27296 rm -f conftest.
$ac_objext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27298 (eval $ac_compile) 2>conftest.er1
27300 grep -v '^ *+' conftest.er1
>conftest.err
27302 cat conftest.err
>&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } &&
27305 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27307 (eval $ac_try) 2>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; } &&
27311 { ac_try
='test -s conftest.$ac_objext'
27312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313 (eval $ac_try) 2>&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); }; }; then
27317 ac_cv_header_jpeglib_h
=yes
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.
$ac_ext >&5
27322 ac_cv_header_jpeglib_h
=no
27325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27329 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27330 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
27332 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27333 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27334 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
27335 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27338 ac_check_lib_save_LIBS
=$LIBS
27339 LIBS
="-ljpeg $LIBS"
27340 cat >conftest.
$ac_ext <<_ACEOF
27343 cat confdefs.h
>>conftest.
$ac_ext
27344 cat >>conftest.
$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27347 /* Override any gcc2 internal prototype to avoid an error. */
27351 /* We use char because int might match the return type of a gcc2
27352 builtin and then its argument prototype would still apply. */
27353 char jpeg_read_header ();
27357 jpeg_read_header ();
27362 rm -f conftest.
$ac_objext conftest
$ac_exeext
27363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27364 (eval $ac_link) 2>conftest.er1
27366 grep -v '^ *+' conftest.er1
>conftest.err
27368 cat conftest.err
>&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } &&
27371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27373 (eval $ac_try) 2>&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); }; } &&
27377 { ac_try
='test -s conftest$ac_exeext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 ac_cv_lib_jpeg_jpeg_read_header
=yes
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.
$ac_ext >&5
27388 ac_cv_lib_jpeg_jpeg_read_header
=no
27390 rm -f conftest.err conftest.
$ac_objext \
27391 conftest
$ac_exeext conftest.
$ac_ext
27392 LIBS
=$ac_check_lib_save_LIBS
27394 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27395 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
27396 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27397 JPEG_LINK
=" -ljpeg"
27402 if test "x$JPEG_LINK" = "x" ; then
27403 if test "$wxUSE_LIBJPEG" = "sys" ; then
27404 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27405 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27406 { (exit 1); exit 1; }; }
27408 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27409 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27410 wxUSE_LIBJPEG
=builtin
27421 TIFF_PREREQ_LINKS
=-lm
27422 if test "$wxUSE_LIBTIFF" != "no" ; then
27423 cat >>confdefs.h
<<\_ACEOF
27424 #define wxUSE_LIBTIFF 1
27428 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27429 if test "$wxUSE_LIBJPEG" = "sys"; then
27430 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
27432 if test "$wxUSE_ZLIB" = "sys"; then
27433 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27435 if test "${ac_cv_header_tiffio_h+set}" = set; then
27436 echo "$as_me:$LINENO: checking for tiffio.h" >&5
27437 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
27438 if test "${ac_cv_header_tiffio_h+set}" = set; then
27439 echo $ECHO_N "(cached) $ECHO_C" >&6
27441 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27442 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
27444 # Is the header compilable?
27445 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
27446 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
27447 cat >conftest.
$ac_ext <<_ACEOF
27450 cat confdefs.h
>>conftest.
$ac_ext
27451 cat >>conftest.
$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27453 $ac_includes_default
27454 #include <tiffio.h>
27456 rm -f conftest.
$ac_objext
27457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27458 (eval $ac_compile) 2>conftest.er1
27460 grep -v '^ *+' conftest.er1
>conftest.err
27462 cat conftest.err
>&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } &&
27465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try
='test -s conftest.$ac_objext'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; }; then
27477 ac_header_compiler
=yes
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.
$ac_ext >&5
27482 ac_header_compiler
=no
27484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27486 echo "${ECHO_T}$ac_header_compiler" >&6
27488 # Is the header present?
27489 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
27490 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
27491 cat >conftest.
$ac_ext <<_ACEOF
27494 cat confdefs.h
>>conftest.
$ac_ext
27495 cat >>conftest.
$ac_ext <<_ACEOF
27496 /* end confdefs.h. */
27497 #include <tiffio.h>
27499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27500 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27502 grep -v '^ *+' conftest.er1
>conftest.err
27504 cat conftest.err
>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); } >/dev
/null
; then
27507 if test -s conftest.err
; then
27508 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27509 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27516 if test -z "$ac_cpp_err"; then
27517 ac_header_preproc
=yes
27519 echo "$as_me: failed program was:" >&5
27520 sed 's/^/| /' conftest.
$ac_ext >&5
27522 ac_header_preproc
=no
27524 rm -f conftest.err conftest.
$ac_ext
27525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27526 echo "${ECHO_T}$ac_header_preproc" >&6
27528 # So? What about this header?
27529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27531 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
27532 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27533 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
27534 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
27535 ac_header_preproc
=yes
27538 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
27539 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
27540 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
27541 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
27542 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
27543 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
27544 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
27545 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
27546 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
27547 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
27548 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
27549 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
27552 ## ----------------------------------------- ##
27553 ## Report this to wx-dev@lists.wxwidgets.org ##
27554 ## ----------------------------------------- ##
27557 sed "s/^/$as_me: WARNING: /" >&2
27560 echo "$as_me:$LINENO: checking for tiffio.h" >&5
27561 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
27562 if test "${ac_cv_header_tiffio_h+set}" = set; then
27563 echo $ECHO_N "(cached) $ECHO_C" >&6
27565 ac_cv_header_tiffio_h
=$ac_header_preproc
27567 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27568 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
27571 if test $ac_cv_header_tiffio_h = yes; then
27573 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27574 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
27575 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 ac_check_lib_save_LIBS
=$LIBS
27579 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27580 cat >conftest.
$ac_ext <<_ACEOF
27583 cat confdefs.h
>>conftest.
$ac_ext
27584 cat >>conftest.
$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27587 /* Override any gcc2 internal prototype to avoid an error. */
27591 /* We use char because int might match the return type of a gcc2
27592 builtin and then its argument prototype would still apply. */
27602 rm -f conftest.
$ac_objext conftest
$ac_exeext
27603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27604 (eval $ac_link) 2>conftest.er1
27606 grep -v '^ *+' conftest.er1
>conftest.err
27608 cat conftest.err
>&5
27609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27610 (exit $ac_status); } &&
27611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27613 (eval $ac_try) 2>&5
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); }; } &&
27617 { ac_try
='test -s conftest$ac_exeext'
27618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27619 (eval $ac_try) 2>&5
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); }; }; then
27623 ac_cv_lib_tiff_TIFFError
=yes
27625 echo "$as_me: failed program was:" >&5
27626 sed 's/^/| /' conftest.
$ac_ext >&5
27628 ac_cv_lib_tiff_TIFFError
=no
27630 rm -f conftest.err conftest.
$ac_objext \
27631 conftest
$ac_exeext conftest.
$ac_ext
27632 LIBS
=$ac_check_lib_save_LIBS
27634 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27635 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
27636 if test $ac_cv_lib_tiff_TIFFError = yes; then
27637 TIFF_LINK
=" -ltiff"
27646 if test "x$TIFF_LINK" = "x" ; then
27647 if test "$wxUSE_LIBTIFF" = "sys" ; then
27648 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27649 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27650 { (exit 1); exit 1; }; }
27652 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27653 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27654 wxUSE_LIBTIFF
=builtin
27663 if test "$wxUSE_WCHAR_T" != "yes"; then
27664 if test "$wxUSE_EXPAT" != "no"; then
27665 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27666 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27669 if test "$wxUSE_XML" != "no"; then
27670 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27671 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27676 if test "$wxUSE_EXPAT" != "no"; then
27678 cat >>confdefs.h
<<\_ACEOF
27679 #define wxUSE_EXPAT 1
27682 cat >>confdefs.h
<<\_ACEOF
27683 #define wxUSE_XML 1
27687 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27688 if test "${ac_cv_header_expat_h+set}" = set; then
27689 echo "$as_me:$LINENO: checking for expat.h" >&5
27690 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27691 if test "${ac_cv_header_expat_h+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27695 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27697 # Is the header compilable?
27698 echo "$as_me:$LINENO: checking expat.h usability" >&5
27699 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
27700 cat >conftest.
$ac_ext <<_ACEOF
27703 cat confdefs.h
>>conftest.
$ac_ext
27704 cat >>conftest.
$ac_ext <<_ACEOF
27705 /* end confdefs.h. */
27706 $ac_includes_default
27709 rm -f conftest.
$ac_objext
27710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27711 (eval $ac_compile) 2>conftest.er1
27713 grep -v '^ *+' conftest.er1
>conftest.err
27715 cat conftest.err
>&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } &&
27718 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27720 (eval $ac_try) 2>&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); }; } &&
27724 { ac_try
='test -s conftest.$ac_objext'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; }; then
27730 ac_header_compiler
=yes
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.
$ac_ext >&5
27735 ac_header_compiler
=no
27737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27739 echo "${ECHO_T}$ac_header_compiler" >&6
27741 # Is the header present?
27742 echo "$as_me:$LINENO: checking expat.h presence" >&5
27743 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
27744 cat >conftest.
$ac_ext <<_ACEOF
27747 cat confdefs.h
>>conftest.
$ac_ext
27748 cat >>conftest.
$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27755 grep -v '^ *+' conftest.er1
>conftest.err
27757 cat conftest.err
>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); } >/dev
/null
; then
27760 if test -s conftest.err
; then
27761 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27762 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27769 if test -z "$ac_cpp_err"; then
27770 ac_header_preproc
=yes
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.
$ac_ext >&5
27775 ac_header_preproc
=no
27777 rm -f conftest.err conftest.
$ac_ext
27778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27779 echo "${ECHO_T}$ac_header_preproc" >&6
27781 # So? What about this header?
27782 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27784 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27785 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27786 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27787 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27788 ac_header_preproc
=yes
27791 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27792 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27793 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27794 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27795 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27796 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27797 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27798 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27799 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27800 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27801 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27802 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27805 ## ----------------------------------------- ##
27806 ## Report this to wx-dev@lists.wxwidgets.org ##
27807 ## ----------------------------------------- ##
27810 sed "s/^/$as_me: WARNING: /" >&2
27813 echo "$as_me:$LINENO: checking for expat.h" >&5
27814 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27815 if test "${ac_cv_header_expat_h+set}" = set; then
27816 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 ac_cv_header_expat_h
=$ac_header_preproc
27820 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27821 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27824 if test $ac_cv_header_expat_h = yes; then
27829 if test "x$found_expat_h" = "x1"; then
27830 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27831 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27832 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27833 echo $ECHO_N "(cached) $ECHO_C" >&6
27836 cat >conftest.
$ac_ext <<_ACEOF
27839 cat confdefs.h
>>conftest.
$ac_ext
27840 cat >>conftest.
$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27851 rm -f conftest.
$ac_objext
27852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27853 (eval $ac_compile) 2>conftest.er1
27855 grep -v '^ *+' conftest.er1
>conftest.err
27857 cat conftest.err
>&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } &&
27860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try
='test -s conftest.$ac_objext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 wx_cv_expat_is_not_broken
=yes
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.
$ac_ext >&5
27877 wx_cv_expat_is_not_broken
=no
27880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27884 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27885 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27886 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27887 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27888 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27889 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27890 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 ac_check_lib_save_LIBS
=$LIBS
27893 LIBS
="-lexpat $LIBS"
27894 cat >conftest.
$ac_ext <<_ACEOF
27897 cat confdefs.h
>>conftest.
$ac_ext
27898 cat >>conftest.
$ac_ext <<_ACEOF
27899 /* end confdefs.h. */
27901 /* Override any gcc2 internal prototype to avoid an error. */
27905 /* We use char because int might match the return type of a gcc2
27906 builtin and then its argument prototype would still apply. */
27907 char XML_ParserCreate ();
27911 XML_ParserCreate ();
27916 rm -f conftest.
$ac_objext conftest
$ac_exeext
27917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27918 (eval $ac_link) 2>conftest.er1
27920 grep -v '^ *+' conftest.er1
>conftest.err
27922 cat conftest.err
>&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); } &&
27925 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; } &&
27931 { ac_try
='test -s conftest$ac_exeext'
27932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27933 (eval $ac_try) 2>&5
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); }; }; then
27937 ac_cv_lib_expat_XML_ParserCreate
=yes
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.
$ac_ext >&5
27942 ac_cv_lib_expat_XML_ParserCreate
=no
27944 rm -f conftest.err conftest.
$ac_objext \
27945 conftest
$ac_exeext conftest.
$ac_ext
27946 LIBS
=$ac_check_lib_save_LIBS
27948 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27949 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27950 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27951 EXPAT_LINK
=" -lexpat"
27956 if test "x$EXPAT_LINK" = "x" ; then
27957 if test "$wxUSE_EXPAT" = "sys" ; then
27958 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27959 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27960 { (exit 1); exit 1; }; }
27962 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27963 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27964 wxUSE_EXPAT
=builtin
27970 if test "$wxUSE_EXPAT" = "builtin" ; then
27973 subdirs
="$subdirs src/expat"
27980 if test "$wxUSE_LIBMSPACK" != "no"; then
27981 if test "${ac_cv_header_mspack_h+set}" = set; then
27982 echo "$as_me:$LINENO: checking for mspack.h" >&5
27983 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27984 if test "${ac_cv_header_mspack_h+set}" = set; then
27985 echo $ECHO_N "(cached) $ECHO_C" >&6
27987 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27988 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27990 # Is the header compilable?
27991 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27992 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27993 cat >conftest.
$ac_ext <<_ACEOF
27996 cat confdefs.h
>>conftest.
$ac_ext
27997 cat >>conftest.
$ac_ext <<_ACEOF
27998 /* end confdefs.h. */
27999 $ac_includes_default
28000 #include <mspack.h>
28002 rm -f conftest.
$ac_objext
28003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28004 (eval $ac_compile) 2>conftest.er1
28006 grep -v '^ *+' conftest.er1
>conftest.err
28008 cat conftest.err
>&5
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); } &&
28011 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28013 (eval $ac_try) 2>&5
28015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28016 (exit $ac_status); }; } &&
28017 { ac_try
='test -s conftest.$ac_objext'
28018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28019 (eval $ac_try) 2>&5
28021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28022 (exit $ac_status); }; }; then
28023 ac_header_compiler
=yes
28025 echo "$as_me: failed program was:" >&5
28026 sed 's/^/| /' conftest.
$ac_ext >&5
28028 ac_header_compiler
=no
28030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28032 echo "${ECHO_T}$ac_header_compiler" >&6
28034 # Is the header present?
28035 echo "$as_me:$LINENO: checking mspack.h presence" >&5
28036 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
28037 cat >conftest.
$ac_ext <<_ACEOF
28040 cat confdefs.h
>>conftest.
$ac_ext
28041 cat >>conftest.
$ac_ext <<_ACEOF
28042 /* end confdefs.h. */
28043 #include <mspack.h>
28045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28048 grep -v '^ *+' conftest.er1
>conftest.err
28050 cat conftest.err
>&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } >/dev
/null
; then
28053 if test -s conftest.err
; then
28054 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28055 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28062 if test -z "$ac_cpp_err"; then
28063 ac_header_preproc
=yes
28065 echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.
$ac_ext >&5
28068 ac_header_preproc
=no
28070 rm -f conftest.err conftest.
$ac_ext
28071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28072 echo "${ECHO_T}$ac_header_preproc" >&6
28074 # So? What about this header?
28075 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28077 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
28078 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28079 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
28080 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
28081 ac_header_preproc
=yes
28084 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
28085 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
28086 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
28087 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
28088 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
28089 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
28090 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
28091 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
28092 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
28093 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
28094 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
28095 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
28098 ## ----------------------------------------- ##
28099 ## Report this to wx-dev@lists.wxwidgets.org ##
28100 ## ----------------------------------------- ##
28103 sed "s/^/$as_me: WARNING: /" >&2
28106 echo "$as_me:$LINENO: checking for mspack.h" >&5
28107 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
28108 if test "${ac_cv_header_mspack_h+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 ac_cv_header_mspack_h
=$ac_header_preproc
28113 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28114 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
28117 if test $ac_cv_header_mspack_h = yes; then
28122 if test "x$found_mspack_h" = "x1"; then
28123 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28124 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
28125 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28126 echo $ECHO_N "(cached) $ECHO_C" >&6
28128 ac_check_lib_save_LIBS
=$LIBS
28129 LIBS
="-lmspack $LIBS"
28130 cat >conftest.
$ac_ext <<_ACEOF
28133 cat confdefs.h
>>conftest.
$ac_ext
28134 cat >>conftest.
$ac_ext <<_ACEOF
28135 /* end confdefs.h. */
28137 /* Override any gcc2 internal prototype to avoid an error. */
28141 /* We use char because int might match the return type of a gcc2
28142 builtin and then its argument prototype would still apply. */
28143 char mspack_create_chm_decompressor ();
28147 mspack_create_chm_decompressor ();
28152 rm -f conftest.
$ac_objext conftest
$ac_exeext
28153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28154 (eval $ac_link) 2>conftest.er1
28156 grep -v '^ *+' conftest.er1
>conftest.err
28158 cat conftest.err
>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; } &&
28167 { ac_try
='test -s conftest$ac_exeext'
28168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169 (eval $ac_try) 2>&5
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); }; }; then
28173 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.
$ac_ext >&5
28178 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
28180 rm -f conftest.err conftest.
$ac_objext \
28181 conftest
$ac_exeext conftest.
$ac_ext
28182 LIBS
=$ac_check_lib_save_LIBS
28184 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28185 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
28186 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28187 MSPACK_LINK
=" -lmspack"
28191 if test "x$MSPACK_LINK" = "x" ; then
28196 if test "$wxUSE_LIBMSPACK" != "no"; then
28197 cat >>confdefs.h
<<\_ACEOF
28198 #define wxUSE_LIBMSPACK 1
28212 if test "$USE_WIN32" = 1 ; then
28214 for ac_header
in w32api.h
28216 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28218 echo "$as_me:$LINENO: checking for $ac_header" >&5
28219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28226 # Is the header compilable?
28227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28229 cat >conftest.
$ac_ext <<_ACEOF
28232 cat confdefs.h
>>conftest.
$ac_ext
28233 cat >>conftest.
$ac_ext <<_ACEOF
28234 /* end confdefs.h. */
28235 $ac_includes_default
28236 #include <$ac_header>
28238 rm -f conftest.
$ac_objext
28239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28240 (eval $ac_compile) 2>conftest.er1
28242 grep -v '^ *+' conftest.er1
>conftest.err
28244 cat conftest.err
>&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); } &&
28247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; } &&
28253 { ac_try
='test -s conftest.$ac_objext'
28254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28255 (eval $ac_try) 2>&5
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); }; }; then
28259 ac_header_compiler
=yes
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.
$ac_ext >&5
28264 ac_header_compiler
=no
28266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28268 echo "${ECHO_T}$ac_header_compiler" >&6
28270 # Is the header present?
28271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28273 cat >conftest.
$ac_ext <<_ACEOF
28276 cat confdefs.h
>>conftest.
$ac_ext
28277 cat >>conftest.
$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28279 #include <$ac_header>
28281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28284 grep -v '^ *+' conftest.er1
>conftest.err
28286 cat conftest.err
>&5
28287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28288 (exit $ac_status); } >/dev
/null
; then
28289 if test -s conftest.err
; then
28290 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28291 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28298 if test -z "$ac_cpp_err"; then
28299 ac_header_preproc
=yes
28301 echo "$as_me: failed program was:" >&5
28302 sed 's/^/| /' conftest.
$ac_ext >&5
28304 ac_header_preproc
=no
28306 rm -f conftest.err conftest.
$ac_ext
28307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28308 echo "${ECHO_T}$ac_header_preproc" >&6
28310 # So? What about this header?
28311 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28317 ac_header_preproc
=yes
28320 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28322 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28323 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28324 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28326 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28327 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28330 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28334 ## ----------------------------------------- ##
28335 ## Report this to wx-dev@lists.wxwidgets.org ##
28336 ## ----------------------------------------- ##
28339 sed "s/^/$as_me: WARNING: /" >&2
28342 echo "$as_me:$LINENO: checking for $ac_header" >&5
28343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28345 echo $ECHO_N "(cached) $ECHO_C" >&6
28347 eval "$as_ac_Header=\$ac_header_preproc"
28349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28354 cat >>confdefs.h
<<_ACEOF
28355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28362 if test "${ac_cv_header_windows_h+set}" = set; then
28363 echo "$as_me:$LINENO: checking for windows.h" >&5
28364 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
28365 if test "${ac_cv_header_windows_h+set}" = set; then
28366 echo $ECHO_N "(cached) $ECHO_C" >&6
28368 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28369 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
28371 # Is the header compilable?
28372 echo "$as_me:$LINENO: checking windows.h usability" >&5
28373 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
28374 cat >conftest.
$ac_ext <<_ACEOF
28377 cat confdefs.h
>>conftest.
$ac_ext
28378 cat >>conftest.
$ac_ext <<_ACEOF
28379 /* end confdefs.h. */
28380 $ac_includes_default
28381 #include <windows.h>
28383 rm -f conftest.
$ac_objext
28384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28385 (eval $ac_compile) 2>conftest.er1
28387 grep -v '^ *+' conftest.er1
>conftest.err
28389 cat conftest.err
>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } &&
28392 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
28398 { ac_try
='test -s conftest.$ac_objext'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; }; then
28404 ac_header_compiler
=yes
28406 echo "$as_me: failed program was:" >&5
28407 sed 's/^/| /' conftest.
$ac_ext >&5
28409 ac_header_compiler
=no
28411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28413 echo "${ECHO_T}$ac_header_compiler" >&6
28415 # Is the header present?
28416 echo "$as_me:$LINENO: checking windows.h presence" >&5
28417 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
28418 cat >conftest.
$ac_ext <<_ACEOF
28421 cat confdefs.h
>>conftest.
$ac_ext
28422 cat >>conftest.
$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28424 #include <windows.h>
28426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28429 grep -v '^ *+' conftest.er1
>conftest.err
28431 cat conftest.err
>&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } >/dev
/null
; then
28434 if test -s conftest.err
; then
28435 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28436 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28443 if test -z "$ac_cpp_err"; then
28444 ac_header_preproc
=yes
28446 echo "$as_me: failed program was:" >&5
28447 sed 's/^/| /' conftest.
$ac_ext >&5
28449 ac_header_preproc
=no
28451 rm -f conftest.err conftest.
$ac_ext
28452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28453 echo "${ECHO_T}$ac_header_preproc" >&6
28455 # So? What about this header?
28456 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28458 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
28459 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28460 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
28461 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
28462 ac_header_preproc
=yes
28465 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
28466 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
28467 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
28468 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
28469 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
28470 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
28471 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
28472 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
28473 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
28474 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
28475 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
28476 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
28479 ## ----------------------------------------- ##
28480 ## Report this to wx-dev@lists.wxwidgets.org ##
28481 ## ----------------------------------------- ##
28484 sed "s/^/$as_me: WARNING: /" >&2
28487 echo "$as_me:$LINENO: checking for windows.h" >&5
28488 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
28489 if test "${ac_cv_header_windows_h+set}" = set; then
28490 echo $ECHO_N "(cached) $ECHO_C" >&6
28492 ac_cv_header_windows_h
=$ac_header_preproc
28494 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28495 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
28498 if test $ac_cv_header_windows_h = yes; then
28502 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28503 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28504 { (exit 1); exit 1; }; }
28510 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28512 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28513 LIBS
="$LIBS -loleacc"
28518 LIBS
="$LIBS -lkernel32 -luser32"
28521 if test "$wxUSE_ODBC" = "sys" ; then
28524 if test "$wxUSE_ODBC" = "yes" ; then
28525 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
28526 cat >>confdefs.h
<<\_ACEOF
28527 #define wxUSE_ODBC 1
28532 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28533 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
28535 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28537 WIN32INSTALL
=win32install
28539 echo "$as_me:$LINENO: checking for boolean" >&5
28540 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
28541 if test "${ac_cv_type_boolean+set}" = set; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28544 cat >conftest.
$ac_ext <<_ACEOF
28547 cat confdefs.h
>>conftest.
$ac_ext
28548 cat >>conftest.
$ac_ext <<_ACEOF
28549 /* end confdefs.h. */
28550 #include <windows.h>
28557 if (sizeof (boolean))
28563 rm -f conftest.
$ac_objext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28565 (eval $ac_compile) 2>conftest.er1
28567 grep -v '^ *+' conftest.er1
>conftest.err
28569 cat conftest.err
>&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } &&
28572 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574 (eval $ac_try) 2>&5
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); }; } &&
28578 { ac_try
='test -s conftest.$ac_objext'
28579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28580 (eval $ac_try) 2>&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); }; }; then
28584 ac_cv_type_boolean
=yes
28586 echo "$as_me: failed program was:" >&5
28587 sed 's/^/| /' conftest.
$ac_ext >&5
28589 ac_cv_type_boolean
=no
28591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28593 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28594 echo "${ECHO_T}$ac_cv_type_boolean" >&6
28595 if test $ac_cv_type_boolean = yes; then
28597 cat >>confdefs.h
<<_ACEOF
28598 #define HAVE_BOOLEAN 1
28606 for ac_header
in pbt.h
28608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28610 echo "$as_me:$LINENO: checking for $ac_header" >&5
28611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28613 echo $ECHO_N "(cached) $ECHO_C" >&6
28615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28618 # Is the header compilable?
28619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28621 cat >conftest.
$ac_ext <<_ACEOF
28624 cat confdefs.h
>>conftest.
$ac_ext
28625 cat >>conftest.
$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627 $ac_includes_default
28628 #include <$ac_header>
28630 rm -f conftest.
$ac_objext
28631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28632 (eval $ac_compile) 2>conftest.er1
28634 grep -v '^ *+' conftest.er1
>conftest.err
28636 cat conftest.err
>&5
28637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 (exit $ac_status); } &&
28639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28641 (eval $ac_try) 2>&5
28643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28644 (exit $ac_status); }; } &&
28645 { ac_try
='test -s conftest.$ac_objext'
28646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28647 (eval $ac_try) 2>&5
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); }; }; then
28651 ac_header_compiler
=yes
28653 echo "$as_me: failed program was:" >&5
28654 sed 's/^/| /' conftest.
$ac_ext >&5
28656 ac_header_compiler
=no
28658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28660 echo "${ECHO_T}$ac_header_compiler" >&6
28662 # Is the header present?
28663 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28664 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28665 cat >conftest.
$ac_ext <<_ACEOF
28668 cat confdefs.h
>>conftest.
$ac_ext
28669 cat >>conftest.
$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28671 #include <$ac_header>
28673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28676 grep -v '^ *+' conftest.er1
>conftest.err
28678 cat conftest.err
>&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); } >/dev
/null
; then
28681 if test -s conftest.err
; then
28682 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28683 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28690 if test -z "$ac_cpp_err"; then
28691 ac_header_preproc
=yes
28693 echo "$as_me: failed program was:" >&5
28694 sed 's/^/| /' conftest.
$ac_ext >&5
28696 ac_header_preproc
=no
28698 rm -f conftest.err conftest.
$ac_ext
28699 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28700 echo "${ECHO_T}$ac_header_preproc" >&6
28702 # So? What about this header?
28703 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28709 ac_header_preproc
=yes
28712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28726 ## ----------------------------------------- ##
28727 ## Report this to wx-dev@lists.wxwidgets.org ##
28728 ## ----------------------------------------- ##
28731 sed "s/^/$as_me: WARNING: /" >&2
28734 echo "$as_me:$LINENO: checking for $ac_header" >&5
28735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28739 eval "$as_ac_Header=\$ac_header_preproc"
28741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28746 cat >>confdefs.h
<<_ACEOF
28747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28751 cat >>confdefs.h
<<\_ACEOF
28752 #define NEED_PBT_H 1
28761 if test "$wxUSE_GUI" = "yes"; then
28771 if test "$wxUSE_COCOA" = 1 ; then
28772 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28773 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28774 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28775 wxUSE_PRINTING_ARCHITECTURE
=no
28777 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28778 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28779 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28780 wxUSE_DRAG_AND_DROP
=no
28782 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28783 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28784 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28789 if test "$wxUSE_MSW" = 1 ; then
28795 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28799 if test "$wxUSE_GTK" = 1; then
28801 ac_cpp
='$CPP $CPPFLAGS'
28802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28807 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28808 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28810 gtk_version_cached
=1
28811 if test "${wx_cv_lib_gtk+set}" = set; then
28812 echo $ECHO_N "(cached) $ECHO_C" >&6
28815 gtk_version_cached
=0
28816 echo "$as_me:$LINENO: result: " >&5
28817 echo "${ECHO_T}" >&6
28820 if test "$wxUSE_THREADS" = "yes"; then
28821 GTK_MODULES
=gthread
28825 if test "x$wxGTK_VERSION" != "x1"
28829 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28834 # Check whether --enable-gtktest or --disable-gtktest was given.
28835 if test "${enable_gtktest+set}" = set; then
28836 enableval
="$enable_gtktest"
28842 pkg_config_args
=gtk
+-2.0
28843 for module
in .
$GTK_MODULES
28847 pkg_config_args
="$pkg_config_args gthread-2.0"
28854 # Extract the first word of "pkg-config", so it can be a program name with args.
28855 set dummy pkg
-config; ac_word
=$2
28856 echo "$as_me:$LINENO: checking for $ac_word" >&5
28857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28858 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28859 echo $ECHO_N "(cached) $ECHO_C" >&6
28861 case $PKG_CONFIG in
28863 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28867 for as_dir
in $PATH
28870 test -z "$as_dir" && as_dir
=.
28871 for ac_exec_ext
in '' $ac_executable_extensions; do
28872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28873 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28880 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28884 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28886 if test -n "$PKG_CONFIG"; then
28887 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28888 echo "${ECHO_T}$PKG_CONFIG" >&6
28890 echo "$as_me:$LINENO: result: no" >&5
28891 echo "${ECHO_T}no" >&6
28895 if test x
$PKG_CONFIG != xno
; then
28896 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
28899 echo "*** pkg-config too old; version 0.7 or better required."
28907 min_gtk_version
=2.0.0
28908 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28909 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28911 if test x
$PKG_CONFIG != xno
; then
28912 ## don't try to run the test against uninstalled libtool libs
28913 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28914 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28918 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28925 if test x
"$no_gtk" = x
; then
28926 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28927 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28928 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28930 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28932 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28934 if test "x$enable_gtktest" = "xyes" ; then
28935 ac_save_CFLAGS
="$CFLAGS"
28936 ac_save_LIBS
="$LIBS"
28937 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28938 LIBS
="$GTK_LIBS $LIBS"
28940 if test "$cross_compiling" = yes; then
28941 echo $ac_n "cross compiling; assumed OK... $ac_c"
28943 cat >conftest.
$ac_ext <<_ACEOF
28946 cat confdefs.h
>>conftest.
$ac_ext
28947 cat >>conftest.
$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28950 #include <gtk/gtk.h>
28952 #include <stdlib.h>
28957 int major, minor, micro;
28960 system ("touch conf.gtktest");
28962 /* HP/UX 9 (%@#!) writes to sscanf strings */
28963 tmp_version = g_strdup("$min_gtk_version");
28964 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28965 printf("%s, bad version string\n", "$min_gtk_version");
28969 if ((gtk_major_version != $gtk_config_major_version) ||
28970 (gtk_minor_version != $gtk_config_minor_version) ||
28971 (gtk_micro_version != $gtk_config_micro_version))
28973 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28974 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28975 gtk_major_version, gtk_minor_version, gtk_micro_version);
28976 printf ("*** was found! If pkg-config was correct, then it is best\n");
28977 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28978 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28979 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28980 printf("*** required on your system.\n");
28981 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28982 printf("*** to point to the correct configuration files\n");
28984 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28985 (gtk_minor_version != GTK_MINOR_VERSION) ||
28986 (gtk_micro_version != GTK_MICRO_VERSION))
28988 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28989 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28990 printf("*** library (version %d.%d.%d)\n",
28991 gtk_major_version, gtk_minor_version, gtk_micro_version);
28995 if ((gtk_major_version > major) ||
28996 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28997 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29003 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29004 gtk_major_version, gtk_minor_version, gtk_micro_version);
29005 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29006 major, minor, micro);
29007 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29009 printf("*** If you have already installed a sufficiently new version, this error\n");
29010 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29011 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29012 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29013 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29014 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29015 printf("*** so that the correct libraries are found at run-time))\n");
29022 rm -f conftest
$ac_exeext
29023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29024 (eval $ac_link) 2>&5
29026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29027 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; }; then
29035 echo "$as_me: program exited with status $ac_status" >&5
29036 echo "$as_me: failed program was:" >&5
29037 sed 's/^/| /' conftest.
$ac_ext >&5
29039 ( exit $ac_status )
29042 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29044 CFLAGS
="$ac_save_CFLAGS"
29045 LIBS
="$ac_save_LIBS"
29048 if test "x$no_gtk" = x
; then
29049 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29050 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
29053 echo "$as_me:$LINENO: result: no" >&5
29054 echo "${ECHO_T}no" >&6
29055 if test "$PKG_CONFIG" = "no" ; then
29056 echo "*** A new enough version of pkg-config was not found."
29057 echo "*** See http://pkgconfig.sourceforge.net"
29059 if test -f conf.gtktest
; then
29062 echo "*** Could not run GTK+ test program, checking why..."
29063 ac_save_CFLAGS
="$CFLAGS"
29064 ac_save_LIBS
="$LIBS"
29065 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29066 LIBS
="$LIBS $GTK_LIBS"
29067 cat >conftest.
$ac_ext <<_ACEOF
29070 cat confdefs.h
>>conftest.
$ac_ext
29071 cat >>conftest.
$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29074 #include <gtk/gtk.h>
29080 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29085 rm -f conftest.
$ac_objext conftest
$ac_exeext
29086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29087 (eval $ac_link) 2>conftest.er1
29089 grep -v '^ *+' conftest.er1
>conftest.err
29091 cat conftest.err
>&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); } &&
29094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; } &&
29100 { ac_try
='test -s conftest$ac_exeext'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; }; then
29106 echo "*** The test program compiled, but did not run. This usually means"
29107 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29108 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29109 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29110 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29111 echo "*** is required on your system"
29113 echo "*** If you have an old version installed, it is best to remove it, although"
29114 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29116 echo "$as_me: failed program was:" >&5
29117 sed 's/^/| /' conftest.
$ac_ext >&5
29119 echo "*** The test program failed to compile or link. See the file config.log for the"
29120 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29122 rm -f conftest.err conftest.
$ac_objext \
29123 conftest
$ac_exeext conftest.
$ac_ext
29124 CFLAGS
="$ac_save_CFLAGS"
29125 LIBS
="$ac_save_LIBS"
29139 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29140 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
29141 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
29143 if test "$wxUSE_SHARED" != "yes"; then
29144 GTK_LIBS
="$GTK_LIBS -lX11"
29149 if test -z "$wx_cv_lib_gtk"; then
29150 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29152 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29153 if test "${with_gtk_prefix+set}" = set; then
29154 withval
="$with_gtk_prefix"
29155 gtk_config_prefix
="$withval"
29157 gtk_config_prefix
=""
29160 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29161 if test "${with_gtk_exec_prefix+set}" = set; then
29162 withval
="$with_gtk_exec_prefix"
29163 gtk_config_exec_prefix
="$withval"
29165 gtk_config_exec_prefix
=""
29167 # Check whether --enable-gtktest or --disable-gtktest was given.
29168 if test "${enable_gtktest+set}" = set; then
29169 enableval
="$enable_gtktest"
29175 for module
in .
$GTK_MODULES
29179 gtk_config_args
="$gtk_config_args gthread"
29184 if test x
$gtk_config_exec_prefix != x
; then
29185 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29186 if test x
${GTK_CONFIG+set} != xset
; then
29187 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
29190 if test x
$gtk_config_prefix != x
; then
29191 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
29192 if test x
${GTK_CONFIG+set} != xset
; then
29193 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
29197 # Extract the first word of "gtk-config", so it can be a program name with args.
29198 set dummy gtk
-config; ac_word
=$2
29199 echo "$as_me:$LINENO: checking for $ac_word" >&5
29200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29201 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29202 echo $ECHO_N "(cached) $ECHO_C" >&6
29204 case $GTK_CONFIG in
29206 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
29209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29210 for as_dir
in $PATH
29213 test -z "$as_dir" && as_dir
=.
29214 for ac_exec_ext
in '' $ac_executable_extensions; do
29215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29216 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29223 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
29227 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
29229 if test -n "$GTK_CONFIG"; then
29230 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29231 echo "${ECHO_T}$GTK_CONFIG" >&6
29233 echo "$as_me:$LINENO: result: no" >&5
29234 echo "${ECHO_T}no" >&6
29237 min_gtk_version
=1.2.7
29238 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29239 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29241 if test "$GTK_CONFIG" = "no" ; then
29244 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
29245 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
29246 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
29247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29248 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
29249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29250 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
29251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29252 if test "x$enable_gtktest" = "xyes" ; then
29253 ac_save_CFLAGS
="$CFLAGS"
29254 ac_save_LIBS
="$LIBS"
29255 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29256 LIBS
="$GTK_LIBS $LIBS"
29258 if test "$cross_compiling" = yes; then
29259 echo $ac_n "cross compiling; assumed OK... $ac_c"
29261 cat >conftest.
$ac_ext <<_ACEOF
29264 cat confdefs.h
>>conftest.
$ac_ext
29265 cat >>conftest.
$ac_ext <<_ACEOF
29266 /* end confdefs.h. */
29268 #include <gtk/gtk.h>
29270 #include <stdlib.h>
29275 int major, minor, micro;
29278 system ("touch conf.gtktest");
29280 /* HP/UX 9 (%@#!) writes to sscanf strings */
29281 tmp_version = g_strdup("$min_gtk_version");
29282 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29283 printf("%s, bad version string\n", "$min_gtk_version");
29287 if ((gtk_major_version != $gtk_config_major_version) ||
29288 (gtk_minor_version != $gtk_config_minor_version) ||
29289 (gtk_micro_version != $gtk_config_micro_version))
29291 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29292 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29293 gtk_major_version, gtk_minor_version, gtk_micro_version);
29294 printf ("*** was found! If gtk-config was correct, then it is best\n");
29295 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29296 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29297 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29298 printf("*** required on your system.\n");
29299 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29300 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29301 printf("*** before re-running configure\n");
29303 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29304 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29305 (gtk_minor_version != GTK_MINOR_VERSION) ||
29306 (gtk_micro_version != GTK_MICRO_VERSION))
29308 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29309 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29310 printf("*** library (version %d.%d.%d)\n",
29311 gtk_major_version, gtk_minor_version, gtk_micro_version);
29313 #endif /* defined (GTK_MAJOR_VERSION) ... */
29316 if ((gtk_major_version > major) ||
29317 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29318 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29324 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29325 gtk_major_version, gtk_minor_version, gtk_micro_version);
29326 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29327 major, minor, micro);
29328 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29330 printf("*** If you have already installed a sufficiently new version, this error\n");
29331 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29332 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29333 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29334 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29335 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29336 printf("*** so that the correct libraries are found at run-time))\n");
29343 rm -f conftest
$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; }; then
29356 echo "$as_me: program exited with status $ac_status" >&5
29357 echo "$as_me: failed program was:" >&5
29358 sed 's/^/| /' conftest.
$ac_ext >&5
29360 ( exit $ac_status )
29363 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29365 CFLAGS
="$ac_save_CFLAGS"
29366 LIBS
="$ac_save_LIBS"
29369 if test "x$no_gtk" = x
; then
29370 echo "$as_me:$LINENO: result: yes" >&5
29371 echo "${ECHO_T}yes" >&6
29372 wx_cv_lib_gtk
=1.2.7
29374 echo "$as_me:$LINENO: result: no" >&5
29375 echo "${ECHO_T}no" >&6
29376 if test "$GTK_CONFIG" = "no" ; then
29377 echo "*** The gtk-config script installed by GTK could not be found"
29378 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29379 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29380 echo "*** full path to gtk-config."
29382 if test -f conf.gtktest
; then
29385 echo "*** Could not run GTK test program, checking why..."
29386 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29387 LIBS
="$LIBS $GTK_LIBS"
29388 cat >conftest.
$ac_ext <<_ACEOF
29391 cat confdefs.h
>>conftest.
$ac_ext
29392 cat >>conftest.
$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29395 #include <gtk/gtk.h>
29401 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29406 rm -f conftest.
$ac_objext conftest
$ac_exeext
29407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29408 (eval $ac_link) 2>conftest.er1
29410 grep -v '^ *+' conftest.er1
>conftest.err
29412 cat conftest.err
>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } &&
29415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; } &&
29421 { ac_try
='test -s conftest$ac_exeext'
29422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29423 (eval $ac_try) 2>&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); }; }; then
29427 echo "*** The test program compiled, but did not run. This usually means"
29428 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29429 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29430 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29431 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29432 echo "*** is required on your system"
29434 echo "*** If you have an old version installed, it is best to remove it, although"
29435 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29437 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29438 echo "*** came with the system with the command"
29440 echo "*** rpm --erase --nodeps gtk gtk-devel"
29442 echo "$as_me: failed program was:" >&5
29443 sed 's/^/| /' conftest.
$ac_ext >&5
29445 echo "*** The test program failed to compile or link. See the file config.log for the"
29446 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29447 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29448 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29450 rm -f conftest.err conftest.
$ac_objext \
29451 conftest
$ac_exeext conftest.
$ac_ext
29452 CFLAGS
="$ac_save_CFLAGS"
29453 LIBS
="$ac_save_LIBS"
29465 if test -z "$wx_cv_lib_gtk"; then
29467 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29468 if test "${with_gtk_prefix+set}" = set; then
29469 withval
="$with_gtk_prefix"
29470 gtk_config_prefix
="$withval"
29472 gtk_config_prefix
=""
29475 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29476 if test "${with_gtk_exec_prefix+set}" = set; then
29477 withval
="$with_gtk_exec_prefix"
29478 gtk_config_exec_prefix
="$withval"
29480 gtk_config_exec_prefix
=""
29482 # Check whether --enable-gtktest or --disable-gtktest was given.
29483 if test "${enable_gtktest+set}" = set; then
29484 enableval
="$enable_gtktest"
29490 for module
in .
$GTK_MODULES
29494 gtk_config_args
="$gtk_config_args gthread"
29499 if test x
$gtk_config_exec_prefix != x
; then
29500 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29501 if test x
${GTK_CONFIG+set} != xset
; then
29502 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
29505 if test x
$gtk_config_prefix != x
; then
29506 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
29507 if test x
${GTK_CONFIG+set} != xset
; then
29508 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
29512 # Extract the first word of "gtk-config", so it can be a program name with args.
29513 set dummy gtk
-config; ac_word
=$2
29514 echo "$as_me:$LINENO: checking for $ac_word" >&5
29515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29516 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29517 echo $ECHO_N "(cached) $ECHO_C" >&6
29519 case $GTK_CONFIG in
29521 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
29524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29525 for as_dir
in $PATH
29528 test -z "$as_dir" && as_dir
=.
29529 for ac_exec_ext
in '' $ac_executable_extensions; do
29530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29531 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29538 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
29542 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
29544 if test -n "$GTK_CONFIG"; then
29545 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29546 echo "${ECHO_T}$GTK_CONFIG" >&6
29548 echo "$as_me:$LINENO: result: no" >&5
29549 echo "${ECHO_T}no" >&6
29552 min_gtk_version
=1.2.3
29553 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29554 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29556 if test "$GTK_CONFIG" = "no" ; then
29559 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
29560 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
29561 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
29562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29563 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
29564 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29565 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
29566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29567 if test "x$enable_gtktest" = "xyes" ; then
29568 ac_save_CFLAGS
="$CFLAGS"
29569 ac_save_LIBS
="$LIBS"
29570 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29571 LIBS
="$GTK_LIBS $LIBS"
29573 if test "$cross_compiling" = yes; then
29574 echo $ac_n "cross compiling; assumed OK... $ac_c"
29576 cat >conftest.
$ac_ext <<_ACEOF
29579 cat confdefs.h
>>conftest.
$ac_ext
29580 cat >>conftest.
$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29583 #include <gtk/gtk.h>
29585 #include <stdlib.h>
29590 int major, minor, micro;
29593 system ("touch conf.gtktest");
29595 /* HP/UX 9 (%@#!) writes to sscanf strings */
29596 tmp_version = g_strdup("$min_gtk_version");
29597 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29598 printf("%s, bad version string\n", "$min_gtk_version");
29602 if ((gtk_major_version != $gtk_config_major_version) ||
29603 (gtk_minor_version != $gtk_config_minor_version) ||
29604 (gtk_micro_version != $gtk_config_micro_version))
29606 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29607 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29608 gtk_major_version, gtk_minor_version, gtk_micro_version);
29609 printf ("*** was found! If gtk-config was correct, then it is best\n");
29610 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29611 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29612 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29613 printf("*** required on your system.\n");
29614 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29615 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29616 printf("*** before re-running configure\n");
29618 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29619 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29620 (gtk_minor_version != GTK_MINOR_VERSION) ||
29621 (gtk_micro_version != GTK_MICRO_VERSION))
29623 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29624 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29625 printf("*** library (version %d.%d.%d)\n",
29626 gtk_major_version, gtk_minor_version, gtk_micro_version);
29628 #endif /* defined (GTK_MAJOR_VERSION) ... */
29631 if ((gtk_major_version > major) ||
29632 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29633 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29639 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29640 gtk_major_version, gtk_minor_version, gtk_micro_version);
29641 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29642 major, minor, micro);
29643 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29645 printf("*** If you have already installed a sufficiently new version, this error\n");
29646 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29647 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29648 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29649 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29650 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29651 printf("*** so that the correct libraries are found at run-time))\n");
29658 rm -f conftest
$ac_exeext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29660 (eval $ac_link) 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); } && { ac_try
='./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: program exited with status $ac_status" >&5
29672 echo "$as_me: failed program was:" >&5
29673 sed 's/^/| /' conftest.
$ac_ext >&5
29675 ( exit $ac_status )
29678 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29680 CFLAGS
="$ac_save_CFLAGS"
29681 LIBS
="$ac_save_LIBS"
29684 if test "x$no_gtk" = x
; then
29685 echo "$as_me:$LINENO: result: yes" >&5
29686 echo "${ECHO_T}yes" >&6
29687 wx_cv_lib_gtk
=1.2.3
29689 echo "$as_me:$LINENO: result: no" >&5
29690 echo "${ECHO_T}no" >&6
29691 if test "$GTK_CONFIG" = "no" ; then
29692 echo "*** The gtk-config script installed by GTK could not be found"
29693 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29694 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29695 echo "*** full path to gtk-config."
29697 if test -f conf.gtktest
; then
29700 echo "*** Could not run GTK test program, checking why..."
29701 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29702 LIBS
="$LIBS $GTK_LIBS"
29703 cat >conftest.
$ac_ext <<_ACEOF
29706 cat confdefs.h
>>conftest.
$ac_ext
29707 cat >>conftest.
$ac_ext <<_ACEOF
29708 /* end confdefs.h. */
29710 #include <gtk/gtk.h>
29716 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29721 rm -f conftest.
$ac_objext conftest
$ac_exeext
29722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29723 (eval $ac_link) 2>conftest.er1
29725 grep -v '^ *+' conftest.er1
>conftest.err
29727 cat conftest.err
>&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); } &&
29730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; } &&
29736 { ac_try
='test -s conftest$ac_exeext'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; }; then
29742 echo "*** The test program compiled, but did not run. This usually means"
29743 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29744 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29745 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29746 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29747 echo "*** is required on your system"
29749 echo "*** If you have an old version installed, it is best to remove it, although"
29750 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29752 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29753 echo "*** came with the system with the command"
29755 echo "*** rpm --erase --nodeps gtk gtk-devel"
29757 echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.
$ac_ext >&5
29760 echo "*** The test program failed to compile or link. See the file config.log for the"
29761 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29762 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29763 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29765 rm -f conftest.err conftest.
$ac_objext \
29766 conftest
$ac_exeext conftest.
$ac_ext
29767 CFLAGS
="$ac_save_CFLAGS"
29768 LIBS
="$ac_save_LIBS"
29783 if test -z "$wx_cv_lib_gtk"; then
29786 wx_cv_cflags_gtk
=$GTK_CFLAGS
29787 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29794 if test "$gtk_version_cached" = 1; then
29795 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29796 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29799 case "$wx_cv_lib_gtk" in
29808 *) { { echo "$as_me:$LINENO: error:
29809 The development files for GTK+ were not found. For GTK+ 2, please
29810 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29811 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29812 and that the version is 1.2.3 or above. Also check that the
29813 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29814 --libs' are in the LD_LIBRARY_PATH or equivalent.
29816 echo "$as_me: error:
29817 The development files for GTK+ were not found. For GTK+ 2, please
29818 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29819 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29820 and that the version is 1.2.3 or above. Also check that the
29821 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29822 --libs' are in the LD_LIBRARY_PATH or equivalent.
29824 { (exit 1); exit 1; }; }
29828 if test "$WXGTK20" = 1; then
29829 save_CFLAGS
="$CFLAGS"
29831 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
29832 LIBS
="$LIBS $wx_cv_libs_gtk"
29834 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29835 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29836 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29837 echo $ECHO_N "(cached) $ECHO_C" >&6
29839 cat >conftest.
$ac_ext <<_ACEOF
29842 cat confdefs.h
>>conftest.
$ac_ext
29843 cat >>conftest.
$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29845 #include <gtk/gtk.h>
29850 #ifndef gtk_icon_size_lookup
29851 char *p = (char *) gtk_icon_size_lookup;
29858 rm -f conftest.
$ac_objext
29859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29860 (eval $ac_compile) 2>conftest.er1
29862 grep -v '^ *+' conftest.er1
>conftest.err
29864 cat conftest.err
>&5
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); } &&
29867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29869 (eval $ac_try) 2>&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); }; } &&
29873 { ac_try
='test -s conftest.$ac_objext'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; }; then
29879 ac_cv_have_decl_gtk_icon_size_lookup
=yes
29881 echo "$as_me: failed program was:" >&5
29882 sed 's/^/| /' conftest.
$ac_ext >&5
29884 ac_cv_have_decl_gtk_icon_size_lookup
=no
29886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29888 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29889 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29890 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29892 cat >>confdefs.h
<<_ACEOF
29893 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29898 cat >>confdefs.h
<<_ACEOF
29899 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29902 cat >>confdefs.h
<<\_ACEOF
29903 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29910 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29911 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29912 cat >conftest.
$ac_ext <<_ACEOF
29915 cat confdefs.h
>>conftest.
$ac_ext
29916 cat >>conftest.
$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29919 #include <gtk/gtk.h>
29925 #if !GTK_CHECK_VERSION(2,6,0)
29933 rm -f conftest.
$ac_objext
29934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29935 (eval $ac_compile) 2>conftest.er1
29937 grep -v '^ *+' conftest.er1
>conftest.err
29939 cat conftest.err
>&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; } &&
29948 { ac_try
='test -s conftest.$ac_objext'
29949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29950 (eval $ac_try) 2>&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; }; then
29955 cat >>confdefs.h
<<\_ACEOF
29956 #define __WXGTK26__ 1
29959 cat >>confdefs.h
<<\_ACEOF
29960 #define __WXGTK24__ 1
29963 echo "$as_me:$LINENO: result: yes" >&5
29964 echo "${ECHO_T}yes" >&6
29968 echo "$as_me: failed program was:" >&5
29969 sed 's/^/| /' conftest.
$ac_ext >&5
29972 echo "$as_me:$LINENO: result: no" >&5
29973 echo "${ECHO_T}no" >&6
29977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29979 if test "$ac_wxgtk26" = 0; then
29980 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29981 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29982 cat >conftest.
$ac_ext <<_ACEOF
29985 cat confdefs.h
>>conftest.
$ac_ext
29986 cat >>conftest.
$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
29989 #include <gtk/gtk.h>
29995 #if !GTK_CHECK_VERSION(2,4,0)
30003 rm -f conftest.
$ac_objext
30004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30005 (eval $ac_compile) 2>conftest.er1
30007 grep -v '^ *+' conftest.er1
>conftest.err
30009 cat conftest.err
>&5
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); } &&
30012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30014 (eval $ac_try) 2>&5
30016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30017 (exit $ac_status); }; } &&
30018 { ac_try
='test -s conftest.$ac_objext'
30019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30020 (eval $ac_try) 2>&5
30022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30023 (exit $ac_status); }; }; then
30025 cat >>confdefs.h
<<\_ACEOF
30026 #define __WXGTK24__ 1
30029 echo "$as_me:$LINENO: result: yes" >&5
30030 echo "${ECHO_T}yes" >&6
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.
$ac_ext >&5
30037 echo "$as_me:$LINENO: result: no" >&5
30038 echo "${ECHO_T}no" >&6
30041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30044 CFLAGS
="$save_CFLAGS"
30047 if test "$wxUSE_UNICODE" = "yes"; then
30048 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30049 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30053 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30054 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
30055 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30056 echo $ECHO_N "(cached) $ECHO_C" >&6
30058 ac_check_lib_save_LIBS
=$LIBS
30060 cat >conftest.
$ac_ext <<_ACEOF
30063 cat confdefs.h
>>conftest.
$ac_ext
30064 cat >>conftest.
$ac_ext <<_ACEOF
30065 /* end confdefs.h. */
30067 /* Override any gcc2 internal prototype to avoid an error. */
30071 /* We use char because int might match the return type of a gcc2
30072 builtin and then its argument prototype would still apply. */
30073 char gdk_im_open ();
30082 rm -f conftest.
$ac_objext conftest
$ac_exeext
30083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30084 (eval $ac_link) 2>conftest.er1
30086 grep -v '^ *+' conftest.er1
>conftest.err
30088 cat conftest.err
>&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); } &&
30091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30093 (eval $ac_try) 2>&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); }; } &&
30097 { ac_try
='test -s conftest$ac_exeext'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; }; then
30103 ac_cv_lib_gdk_gdk_im_open
=yes
30105 echo "$as_me: failed program was:" >&5
30106 sed 's/^/| /' conftest.
$ac_ext >&5
30108 ac_cv_lib_gdk_gdk_im_open
=no
30110 rm -f conftest.err conftest.
$ac_objext \
30111 conftest
$ac_exeext conftest.
$ac_ext
30112 LIBS
=$ac_check_lib_save_LIBS
30114 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30115 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
30116 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30117 cat >>confdefs.h
<<\_ACEOF
30126 ac_cpp
='$CXXCPP $CPPFLAGS'
30127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30132 if test "$USE_DARWIN" != 1; then
30134 for ac_func
in poll
30136 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30137 echo "$as_me:$LINENO: checking for $ac_func" >&5
30138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30139 if eval "test \"\${$as_ac_var+set}\" = set"; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30142 cat >conftest.
$ac_ext <<_ACEOF
30145 cat confdefs.h
>>conftest.
$ac_ext
30146 cat >>conftest.
$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30150 #define $ac_func innocuous_$ac_func
30152 /* System header to define __stub macros and hopefully few prototypes,
30153 which can conflict with char $ac_func (); below.
30154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30155 <limits.h> exists even on freestanding compilers. */
30158 # include <limits.h>
30160 # include <assert.h>
30165 /* Override any gcc2 internal prototype to avoid an error. */
30170 /* We use char because int might match the return type of a gcc2
30171 builtin and then its argument prototype would still apply. */
30173 /* The GNU C library defines this for functions which it implements
30174 to always fail with ENOSYS. Some functions are actually named
30175 something starting with __ and the normal name is an alias. */
30176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30179 char (*f) () = $ac_func;
30188 return f != $ac_func;
30193 rm -f conftest.
$ac_objext conftest
$ac_exeext
30194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30195 (eval $ac_link) 2>conftest.er1
30197 grep -v '^ *+' conftest.er1
>conftest.err
30199 cat conftest.err
>&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); } &&
30202 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; } &&
30208 { ac_try
='test -s conftest$ac_exeext'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; }; then
30214 eval "$as_ac_var=yes"
30216 echo "$as_me: failed program was:" >&5
30217 sed 's/^/| /' conftest.
$ac_ext >&5
30219 eval "$as_ac_var=no"
30221 rm -f conftest.err conftest.
$ac_objext \
30222 conftest
$ac_exeext conftest.
$ac_ext
30224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30226 if test `eval echo '${'$as_ac_var'}'` = yes; then
30227 cat >>confdefs.h
<<_ACEOF
30228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30236 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
30237 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30239 AFMINSTALL
=afminstall
30243 if test "$wxUSE_GPE" = "yes"; then
30244 echo "$as_me:$LINENO: checking for gpewidget library" >&5
30245 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
30248 for ac_dir
in $SEARCH_LIB;
30250 for ac_extension
in a so sl dylib dll.a
; do
30251 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30252 ac_find_libraries
=$ac_dir
30258 if test "$ac_find_libraries" != "" ; then
30260 if test "$ac_find_libraries" = "default location"; then
30263 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30265 if test $result = 0; then
30268 ac_path_to_link
=" -L$ac_find_libraries"
30272 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30274 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30275 echo "${ECHO_T}found in $ac_find_libraries" >&6
30277 echo "$as_me:$LINENO: result: not found" >&5
30278 echo "${ECHO_T}not found" >&6
30284 if test "$wxUSE_MGL" = 1; then
30285 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30286 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
30287 if test "x$MGL_ROOT" = x
; then
30288 echo "$as_me:$LINENO: result: not found" >&5
30289 echo "${ECHO_T}not found" >&6
30290 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30291 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30292 { (exit 1); exit 1; }; }
30294 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30295 echo "${ECHO_T}$MGL_ROOT" >&6
30298 echo "$as_me:$LINENO: checking for libmgl location" >&5
30299 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
30302 if test "x$wxUSE_SHARED" = xyes
; then
30303 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30305 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30309 mgl_os_candidates
="dos32/dj2"
30312 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30313 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30314 { (exit 1); exit 1; }; }
30320 for mgl_os_i
in $mgl_os_candidates ; do
30321 if test "x$mgl_os" = x
; then
30322 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30323 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
30324 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
30329 if test "x$mgl_lib_type" = x
; then
30330 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
30331 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
30332 mgl_lib_type
=release
30339 if test "x$mgl_os" = x
; then
30340 echo "$as_me:$LINENO: result: not found" >&5
30341 echo "${ECHO_T}not found" >&6
30342 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30343 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30344 { (exit 1); exit 1; }; }
30346 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30347 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
30349 wxUSE_UNIVERSAL
="yes"
30351 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
30352 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30354 AFMINSTALL
=afminstall
30359 if test "$wxUSE_DFB" = 1; then
30362 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30363 if test -n "$ac_tool_prefix"; then
30364 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30365 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30366 echo "$as_me:$LINENO: checking for $ac_word" >&5
30367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30368 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 case $PKG_CONFIG in
30373 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30377 for as_dir
in $PATH
30380 test -z "$as_dir" && as_dir
=.
30381 for ac_exec_ext
in '' $ac_executable_extensions; do
30382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30383 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30393 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30395 if test -n "$PKG_CONFIG"; then
30396 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30397 echo "${ECHO_T}$PKG_CONFIG" >&6
30399 echo "$as_me:$LINENO: result: no" >&5
30400 echo "${ECHO_T}no" >&6
30404 if test -z "$ac_cv_path_PKG_CONFIG"; then
30405 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30406 # Extract the first word of "pkg-config", so it can be a program name with args.
30407 set dummy pkg
-config; ac_word
=$2
30408 echo "$as_me:$LINENO: checking for $ac_word" >&5
30409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30410 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30411 echo $ECHO_N "(cached) $ECHO_C" >&6
30413 case $ac_pt_PKG_CONFIG in
30415 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30419 for as_dir
in $PATH
30422 test -z "$as_dir" && as_dir
=.
30423 for ac_exec_ext
in '' $ac_executable_extensions; do
30424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30425 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30435 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30437 if test -n "$ac_pt_PKG_CONFIG"; then
30438 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30439 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30441 echo "$as_me:$LINENO: result: no" >&5
30442 echo "${ECHO_T}no" >&6
30445 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30447 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30451 if test -n "$PKG_CONFIG"; then
30452 _pkg_min_version
=0.9.0
30453 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30454 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30455 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30456 echo "$as_me:$LINENO: result: yes" >&5
30457 echo "${ECHO_T}yes" >&6
30459 echo "$as_me:$LINENO: result: no" >&5
30460 echo "${ECHO_T}no" >&6
30468 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30469 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
30471 if test -n "$PKG_CONFIG"; then
30472 if test -n "$DIRECTFB_CFLAGS"; then
30473 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
30475 if test -n "$PKG_CONFIG" && \
30476 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
30477 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); }; then
30481 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
30489 if test -n "$PKG_CONFIG"; then
30490 if test -n "$DIRECTFB_LIBS"; then
30491 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
30493 if test -n "$PKG_CONFIG" && \
30494 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
30495 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
30497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30498 (exit $ac_status); }; then
30499 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
30510 if test $pkg_failed = yes; then
30512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30513 _pkg_short_errors_supported
=yes
30515 _pkg_short_errors_supported
=no
30517 if test $_pkg_short_errors_supported = yes; then
30518 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
30520 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
30522 # Put the nasty error message in config.log where it belongs
30523 echo "$DIRECTFB_PKG_ERRORS" >&5
30526 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30527 echo "$as_me: error: DirectFB not found." >&2;}
30528 { (exit 1); exit 1; }; }
30531 elif test $pkg_failed = untried
; then
30533 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30534 echo "$as_me: error: DirectFB not found." >&2;}
30535 { (exit 1); exit 1; }; }
30539 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
30540 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
30541 echo "$as_me:$LINENO: result: yes" >&5
30542 echo "${ECHO_T}yes" >&6
30544 wxUSE_UNIVERSAL
="yes"
30545 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
30546 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
30553 if test "$wxUSE_MICROWIN" = 1; then
30554 echo "$as_me:$LINENO: checking for MicroWindows" >&5
30555 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
30556 if test "x$MICROWINDOWS" = x
; then
30557 echo "$as_me:$LINENO: result: not found" >&5
30558 echo "${ECHO_T}not found" >&6
30559 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30560 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30561 { (exit 1); exit 1; }; }
30563 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30564 echo "${ECHO_T}$MICROWINDOWS" >&6
30567 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
30568 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30569 echo "${ECHO_T}MicroWindows' libraries found." >&6
30571 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30572 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30573 { (exit 1); exit 1; }; }
30576 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
30577 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30579 wxUSE_UNIVERSAL
="yes"
30581 AFMINSTALL
=afminstall
30583 GUIDIST
=MICROWIN_DIST
30585 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30588 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30590 if test "x$ac_path_x_has_been_run" != xyes
; then
30591 echo "$as_me:$LINENO: checking for X" >&5
30592 echo $ECHO_N "checking for X... $ECHO_C" >&6
30594 ac_path_x_has_been_run
=yes
30596 # Check whether --with-x or --without-x was given.
30597 if test "${with_x+set}" = set; then
30601 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30602 if test "x$with_x" = xno
; then
30603 # The user explicitly disabled X.
30606 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
30607 # Both variables are already set.
30610 if test "${ac_cv_have_x+set}" = set; then
30611 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 # One or both of the vars are not set, and there is no cached value.
30614 ac_x_includes
=no ac_x_libraries
=no
30615 rm -fr conftest.dir
30616 if mkdir conftest.dir
; then
30618 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
30619 cat >Imakefile
<<'_ACEOF'
30621 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
30623 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
30624 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30625 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
30626 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30627 for ac_extension
in a so sl
; do
30628 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
30629 test -f $ac_im_libdir/libX11.
$ac_extension; then
30630 ac_im_usrlibdir
=$ac_im_libdir; break
30633 # Screen out bogus values from the imake configuration. They are
30634 # bogus both because they are the default anyway, and because
30635 # using them would break gcc on systems where it needs fixed includes.
30636 case $ac_im_incroot in
30638 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
30640 case $ac_im_usrlibdir in
30641 /usr
/lib
| /lib
) ;;
30642 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
30646 rm -fr conftest.dir
30649 # Standard set of common directories for X headers.
30650 # Check X11 before X11Rn because it is often a symlink to the current release.
30662 /usr/local/X11/include
30663 /usr/local/X11R6/include
30664 /usr/local/X11R5/include
30665 /usr/local/X11R4/include
30667 /usr/local/include/X11
30668 /usr/local/include/X11R6
30669 /usr/local/include/X11R5
30670 /usr/local/include/X11R4
30674 /usr/XFree86/include/X11
30678 /usr/unsupported/include
30679 /usr/athena/include
30680 /usr/local/x11r5/include
30681 /usr/lpp/Xamples/include
30683 /usr/openwin/include
30684 /usr/openwin/share/include'
30686 if test "$ac_x_includes" = no
; then
30687 # Guess where to find include files, by looking for a specified header file.
30688 # First, try using that file with no special directory specified.
30689 cat >conftest.
$ac_ext <<_ACEOF
30692 cat confdefs.h
>>conftest.
$ac_ext
30693 cat >>conftest.
$ac_ext <<_ACEOF
30694 /* end confdefs.h. */
30695 #include <X11/Intrinsic.h>
30697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30700 grep -v '^ *+' conftest.er1
>conftest.err
30702 cat conftest.err
>&5
30703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30704 (exit $ac_status); } >/dev
/null
; then
30705 if test -s conftest.err
; then
30706 ac_cpp_err
=$ac_cxx_preproc_warn_flag
30707 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
30714 if test -z "$ac_cpp_err"; then
30715 # We can compile using X headers with no special include directory.
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.
$ac_ext >&5
30721 for ac_dir
in $ac_x_header_dirs; do
30722 if test -r "$ac_dir/X11/Intrinsic.h"; then
30723 ac_x_includes
=$ac_dir
30728 rm -f conftest.err conftest.
$ac_ext
30729 fi # $ac_x_includes = no
30731 if test "$ac_x_libraries" = no
; then
30732 # Check for the libraries.
30733 # See if we find them without any special options.
30734 # Don't add to $LIBS permanently.
30737 cat >conftest.
$ac_ext <<_ACEOF
30740 cat confdefs.h
>>conftest.
$ac_ext
30741 cat >>conftest.
$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743 #include <X11/Intrinsic.h>
30752 rm -f conftest.
$ac_objext conftest
$ac_exeext
30753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30754 (eval $ac_link) 2>conftest.er1
30756 grep -v '^ *+' conftest.er1
>conftest.err
30758 cat conftest.err
>&5
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } &&
30761 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30763 (eval $ac_try) 2>&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); }; } &&
30767 { ac_try
='test -s conftest$ac_exeext'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; }; then
30774 # We can link X programs with no special library path.
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.
$ac_ext >&5
30781 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30783 # Don't even attempt the hair of trying to link an X program!
30784 for ac_extension
in a so sl
; do
30785 if test -r $ac_dir/libXt.
$ac_extension; then
30786 ac_x_libraries
=$ac_dir
30792 rm -f conftest.err conftest.
$ac_objext \
30793 conftest
$ac_exeext conftest.
$ac_ext
30794 fi # $ac_x_libraries = no
30796 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
30797 # Didn't find X anywhere. Cache the known absence of X.
30798 ac_cv_have_x
="have_x=no"
30800 # Record where we found X for the cache.
30801 ac_cv_have_x
="have_x=yes \
30802 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30807 eval "$ac_cv_have_x"
30810 if test "$have_x" != yes; then
30811 echo "$as_me:$LINENO: result: $have_x" >&5
30812 echo "${ECHO_T}$have_x" >&6
30815 # If each of the values was on the command line, it overrides each guess.
30816 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
30817 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
30818 # Update the cache value to reflect the command line values.
30819 ac_cv_have_x
="have_x=yes \
30820 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30821 # It might be that x_includes is empty (headers are found in the
30822 # standard search path. Then output the corresponding message
30823 ac_out_x_includes
=$x_includes
30824 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
30825 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30826 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30830 if test "$no_x" = yes; then
30831 # Not all programs may use this symbol, but it does not hurt to define it.
30833 cat >>confdefs.h
<<\_ACEOF
30834 #define X_DISPLAY_MISSING 1
30837 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
30839 if test -n "$x_includes"; then
30840 X_CFLAGS
="$X_CFLAGS -I$x_includes"
30843 # It would also be nice to do this for all -L options, not just this one.
30844 if test -n "$x_libraries"; then
30845 X_LIBS
="$X_LIBS -L$x_libraries"
30846 # For Solaris; some versions of Sun CC require a space after -R and
30847 # others require no space. Words are not sufficient . . . .
30848 case `(uname -sr) 2>/dev/null` in
30850 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30851 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30852 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
30853 cat >conftest.
$ac_ext <<_ACEOF
30856 cat confdefs.h
>>conftest.
$ac_ext
30857 cat >>conftest.
$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30868 rm -f conftest.
$ac_objext conftest
$ac_exeext
30869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30870 (eval $ac_link) 2>conftest.er1
30872 grep -v '^ *+' conftest.er1
>conftest.err
30874 cat conftest.err
>&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } &&
30877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; } &&
30883 { ac_try
='test -s conftest$ac_exeext'
30884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30885 (eval $ac_try) 2>&5
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); }; }; then
30891 echo "$as_me: failed program was:" >&5
30892 sed 's/^/| /' conftest.
$ac_ext >&5
30896 rm -f conftest.err conftest.
$ac_objext \
30897 conftest
$ac_exeext conftest.
$ac_ext
30898 if test $ac_R_nospace = yes; then
30899 echo "$as_me:$LINENO: result: no" >&5
30900 echo "${ECHO_T}no" >&6
30901 X_LIBS
="$X_LIBS -R$x_libraries"
30903 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30904 cat >conftest.
$ac_ext <<_ACEOF
30907 cat confdefs.h
>>conftest.
$ac_ext
30908 cat >>conftest.
$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30919 rm -f conftest.
$ac_objext conftest
$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921 (eval $ac_link) 2>conftest.er1
30923 grep -v '^ *+' conftest.er1
>conftest.err
30925 cat conftest.err
>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; } &&
30934 { ac_try
='test -s conftest$ac_exeext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.
$ac_ext >&5
30947 rm -f conftest.err conftest.
$ac_objext \
30948 conftest
$ac_exeext conftest.
$ac_ext
30949 if test $ac_R_space = yes; then
30950 echo "$as_me:$LINENO: result: yes" >&5
30951 echo "${ECHO_T}yes" >&6
30952 X_LIBS
="$X_LIBS -R $x_libraries"
30954 echo "$as_me:$LINENO: result: neither works" >&5
30955 echo "${ECHO_T}neither works" >&6
30958 LIBS
=$ac_xsave_LIBS
30962 # Check for system-dependent libraries X programs must link with.
30963 # Do this before checking for the system-independent R6 libraries
30964 # (-lICE), since we may need -lsocket or whatever for X linking.
30966 if test "$ISC" = yes; then
30967 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30969 # Martyn Johnson says this is needed for Ultrix, if the X
30970 # libraries were built with DECnet support. And Karl Berry says
30971 # the Alpha needs dnet_stub (dnet does not exist).
30972 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30973 cat >conftest.
$ac_ext <<_ACEOF
30976 cat confdefs.h
>>conftest.
$ac_ext
30977 cat >>conftest.
$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30980 /* Override any gcc2 internal prototype to avoid an error. */
30984 /* We use char because int might match the return type of a gcc2
30985 builtin and then its argument prototype would still apply. */
30986 char XOpenDisplay ();
30995 rm -f conftest.
$ac_objext conftest
$ac_exeext
30996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30997 (eval $ac_link) 2>conftest.er1
30999 grep -v '^ *+' conftest.er1
>conftest.err
31001 cat conftest.err
>&5
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); } &&
31004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31006 (eval $ac_try) 2>&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); }; } &&
31010 { ac_try
='test -s conftest$ac_exeext'
31011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012 (eval $ac_try) 2>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); }; }; then
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.
$ac_ext >&5
31021 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31022 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
31023 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31024 echo $ECHO_N "(cached) $ECHO_C" >&6
31026 ac_check_lib_save_LIBS
=$LIBS
31027 LIBS
="-ldnet $LIBS"
31028 cat >conftest.
$ac_ext <<_ACEOF
31031 cat confdefs.h
>>conftest.
$ac_ext
31032 cat >>conftest.
$ac_ext <<_ACEOF
31033 /* end confdefs.h. */
31035 /* Override any gcc2 internal prototype to avoid an error. */
31039 /* We use char because int might match the return type of a gcc2
31040 builtin and then its argument prototype would still apply. */
31050 rm -f conftest.
$ac_objext conftest
$ac_exeext
31051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31052 (eval $ac_link) 2>conftest.er1
31054 grep -v '^ *+' conftest.er1
>conftest.err
31056 cat conftest.err
>&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); } &&
31059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31061 (eval $ac_try) 2>&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); }; } &&
31065 { ac_try
='test -s conftest$ac_exeext'
31066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067 (eval $ac_try) 2>&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); }; }; then
31071 ac_cv_lib_dnet_dnet_ntoa
=yes
31073 echo "$as_me: failed program was:" >&5
31074 sed 's/^/| /' conftest.
$ac_ext >&5
31076 ac_cv_lib_dnet_dnet_ntoa
=no
31078 rm -f conftest.err conftest.
$ac_objext \
31079 conftest
$ac_exeext conftest.
$ac_ext
31080 LIBS
=$ac_check_lib_save_LIBS
31082 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31083 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
31084 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31085 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
31088 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
31089 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31090 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
31091 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 ac_check_lib_save_LIBS
=$LIBS
31095 LIBS
="-ldnet_stub $LIBS"
31096 cat >conftest.
$ac_ext <<_ACEOF
31099 cat confdefs.h
>>conftest.
$ac_ext
31100 cat >>conftest.
$ac_ext <<_ACEOF
31101 /* end confdefs.h. */
31103 /* Override any gcc2 internal prototype to avoid an error. */
31107 /* We use char because int might match the return type of a gcc2
31108 builtin and then its argument prototype would still apply. */
31118 rm -f conftest.
$ac_objext conftest
$ac_exeext
31119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31120 (eval $ac_link) 2>conftest.er1
31122 grep -v '^ *+' conftest.er1
>conftest.err
31124 cat conftest.err
>&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); } &&
31127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31129 (eval $ac_try) 2>&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; } &&
31133 { ac_try
='test -s conftest$ac_exeext'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; }; then
31139 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.
$ac_ext >&5
31144 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31146 rm -f conftest.err conftest.
$ac_objext \
31147 conftest
$ac_exeext conftest.
$ac_ext
31148 LIBS
=$ac_check_lib_save_LIBS
31150 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31151 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
31152 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31153 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31158 rm -f conftest.err conftest.
$ac_objext \
31159 conftest
$ac_exeext conftest.
$ac_ext
31160 LIBS
="$ac_xsave_LIBS"
31162 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31163 # to get the SysV transport functions.
31164 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31166 # The nsl library prevents programs from opening the X display
31167 # on Irix 5.2, according to T.E. Dickey.
31168 # The functions gethostbyname, getservbyname, and inet_addr are
31169 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31170 echo "$as_me:$LINENO: checking for gethostbyname" >&5
31171 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
31172 if test "${ac_cv_func_gethostbyname+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31175 cat >conftest.
$ac_ext <<_ACEOF
31178 cat confdefs.h
>>conftest.
$ac_ext
31179 cat >>conftest.
$ac_ext <<_ACEOF
31180 /* end confdefs.h. */
31181 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31183 #define gethostbyname innocuous_gethostbyname
31185 /* System header to define __stub macros and hopefully few prototypes,
31186 which can conflict with char gethostbyname (); below.
31187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31188 <limits.h> exists even on freestanding compilers. */
31191 # include <limits.h>
31193 # include <assert.h>
31196 #undef gethostbyname
31198 /* Override any gcc2 internal prototype to avoid an error. */
31203 /* We use char because int might match the return type of a gcc2
31204 builtin and then its argument prototype would still apply. */
31205 char gethostbyname ();
31206 /* The GNU C library defines this for functions which it implements
31207 to always fail with ENOSYS. Some functions are actually named
31208 something starting with __ and the normal name is an alias. */
31209 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
31212 char (*f) () = gethostbyname;
31221 return f != gethostbyname;
31226 rm -f conftest.
$ac_objext conftest
$ac_exeext
31227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31228 (eval $ac_link) 2>conftest.er1
31230 grep -v '^ *+' conftest.er1
>conftest.err
31232 cat conftest.err
>&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); } &&
31235 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31237 (eval $ac_try) 2>&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); }; } &&
31241 { ac_try
='test -s conftest$ac_exeext'
31242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243 (eval $ac_try) 2>&5
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; }; then
31247 ac_cv_func_gethostbyname
=yes
31249 echo "$as_me: failed program was:" >&5
31250 sed 's/^/| /' conftest.
$ac_ext >&5
31252 ac_cv_func_gethostbyname
=no
31254 rm -f conftest.err conftest.
$ac_objext \
31255 conftest
$ac_exeext conftest.
$ac_ext
31257 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31258 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
31260 if test $ac_cv_func_gethostbyname = no
; then
31261 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31262 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
31263 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31264 echo $ECHO_N "(cached) $ECHO_C" >&6
31266 ac_check_lib_save_LIBS
=$LIBS
31268 cat >conftest.
$ac_ext <<_ACEOF
31271 cat confdefs.h
>>conftest.
$ac_ext
31272 cat >>conftest.
$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31275 /* Override any gcc2 internal prototype to avoid an error. */
31279 /* We use char because int might match the return type of a gcc2
31280 builtin and then its argument prototype would still apply. */
31281 char gethostbyname ();
31290 rm -f conftest.
$ac_objext conftest
$ac_exeext
31291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31292 (eval $ac_link) 2>conftest.er1
31294 grep -v '^ *+' conftest.er1
>conftest.err
31296 cat conftest.err
>&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); } &&
31299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; } &&
31305 { ac_try
='test -s conftest$ac_exeext'
31306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31307 (eval $ac_try) 2>&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); }; }; then
31311 ac_cv_lib_nsl_gethostbyname
=yes
31313 echo "$as_me: failed program was:" >&5
31314 sed 's/^/| /' conftest.
$ac_ext >&5
31316 ac_cv_lib_nsl_gethostbyname
=no
31318 rm -f conftest.err conftest.
$ac_objext \
31319 conftest
$ac_exeext conftest.
$ac_ext
31320 LIBS
=$ac_check_lib_save_LIBS
31322 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31323 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
31324 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31325 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31328 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31329 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31330 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
31331 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31332 echo $ECHO_N "(cached) $ECHO_C" >&6
31334 ac_check_lib_save_LIBS
=$LIBS
31336 cat >conftest.
$ac_ext <<_ACEOF
31339 cat confdefs.h
>>conftest.
$ac_ext
31340 cat >>conftest.
$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31343 /* Override any gcc2 internal prototype to avoid an error. */
31347 /* We use char because int might match the return type of a gcc2
31348 builtin and then its argument prototype would still apply. */
31349 char gethostbyname ();
31358 rm -f conftest.
$ac_objext conftest
$ac_exeext
31359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31360 (eval $ac_link) 2>conftest.er1
31362 grep -v '^ *+' conftest.er1
>conftest.err
31364 cat conftest.err
>&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } &&
31367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369 (eval $ac_try) 2>&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); }; } &&
31373 { ac_try
='test -s conftest$ac_exeext'
31374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31375 (eval $ac_try) 2>&5
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); }; }; then
31379 ac_cv_lib_bsd_gethostbyname
=yes
31381 echo "$as_me: failed program was:" >&5
31382 sed 's/^/| /' conftest.
$ac_ext >&5
31384 ac_cv_lib_bsd_gethostbyname
=no
31386 rm -f conftest.err conftest.
$ac_objext \
31387 conftest
$ac_exeext conftest.
$ac_ext
31388 LIBS
=$ac_check_lib_save_LIBS
31390 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31391 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
31392 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31393 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
31399 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31400 # socket/setsockopt and other routines are undefined under SCO ODT
31401 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31402 # on later versions), says Simon Leinen: it contains gethostby*
31403 # variants that don't use the name server (or something). -lsocket
31404 # must be given before -lnsl if both are needed. We assume that
31405 # if connect needs -lnsl, so does gethostbyname.
31406 echo "$as_me:$LINENO: checking for connect" >&5
31407 echo $ECHO_N "checking for connect... $ECHO_C" >&6
31408 if test "${ac_cv_func_connect+set}" = set; then
31409 echo $ECHO_N "(cached) $ECHO_C" >&6
31411 cat >conftest.
$ac_ext <<_ACEOF
31414 cat confdefs.h
>>conftest.
$ac_ext
31415 cat >>conftest.
$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31417 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31419 #define connect innocuous_connect
31421 /* System header to define __stub macros and hopefully few prototypes,
31422 which can conflict with char connect (); below.
31423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31424 <limits.h> exists even on freestanding compilers. */
31427 # include <limits.h>
31429 # include <assert.h>
31434 /* Override any gcc2 internal prototype to avoid an error. */
31439 /* We use char because int might match the return type of a gcc2
31440 builtin and then its argument prototype would still apply. */
31442 /* The GNU C library defines this for functions which it implements
31443 to always fail with ENOSYS. Some functions are actually named
31444 something starting with __ and the normal name is an alias. */
31445 #if defined (__stub_connect) || defined (__stub___connect)
31448 char (*f) () = connect;
31457 return f != connect;
31462 rm -f conftest.
$ac_objext conftest
$ac_exeext
31463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31464 (eval $ac_link) 2>conftest.er1
31466 grep -v '^ *+' conftest.er1
>conftest.err
31468 cat conftest.err
>&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); } &&
31471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31473 (eval $ac_try) 2>&5
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); }; } &&
31477 { ac_try
='test -s conftest$ac_exeext'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; }; then
31483 ac_cv_func_connect
=yes
31485 echo "$as_me: failed program was:" >&5
31486 sed 's/^/| /' conftest.
$ac_ext >&5
31488 ac_cv_func_connect
=no
31490 rm -f conftest.err conftest.
$ac_objext \
31491 conftest
$ac_exeext conftest.
$ac_ext
31493 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31494 echo "${ECHO_T}$ac_cv_func_connect" >&6
31496 if test $ac_cv_func_connect = no
; then
31497 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31498 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
31499 if test "${ac_cv_lib_socket_connect+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31502 ac_check_lib_save_LIBS
=$LIBS
31503 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31504 cat >conftest.
$ac_ext <<_ACEOF
31507 cat confdefs.h
>>conftest.
$ac_ext
31508 cat >>conftest.
$ac_ext <<_ACEOF
31509 /* end confdefs.h. */
31511 /* Override any gcc2 internal prototype to avoid an error. */
31515 /* We use char because int might match the return type of a gcc2
31516 builtin and then its argument prototype would still apply. */
31526 rm -f conftest.
$ac_objext conftest
$ac_exeext
31527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31528 (eval $ac_link) 2>conftest.er1
31530 grep -v '^ *+' conftest.er1
>conftest.err
31532 cat conftest.err
>&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); } &&
31535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; } &&
31541 { ac_try
='test -s conftest$ac_exeext'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; }; then
31547 ac_cv_lib_socket_connect
=yes
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.
$ac_ext >&5
31552 ac_cv_lib_socket_connect
=no
31554 rm -f conftest.err conftest.
$ac_objext \
31555 conftest
$ac_exeext conftest.
$ac_ext
31556 LIBS
=$ac_check_lib_save_LIBS
31558 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31559 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
31560 if test $ac_cv_lib_socket_connect = yes; then
31561 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
31566 # Guillermo Gomez says -lposix is necessary on A/UX.
31567 echo "$as_me:$LINENO: checking for remove" >&5
31568 echo $ECHO_N "checking for remove... $ECHO_C" >&6
31569 if test "${ac_cv_func_remove+set}" = set; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31572 cat >conftest.
$ac_ext <<_ACEOF
31575 cat confdefs.h
>>conftest.
$ac_ext
31576 cat >>conftest.
$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31580 #define remove innocuous_remove
31582 /* System header to define __stub macros and hopefully few prototypes,
31583 which can conflict with char remove (); below.
31584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31585 <limits.h> exists even on freestanding compilers. */
31588 # include <limits.h>
31590 # include <assert.h>
31595 /* Override any gcc2 internal prototype to avoid an error. */
31600 /* We use char because int might match the return type of a gcc2
31601 builtin and then its argument prototype would still apply. */
31603 /* The GNU C library defines this for functions which it implements
31604 to always fail with ENOSYS. Some functions are actually named
31605 something starting with __ and the normal name is an alias. */
31606 #if defined (__stub_remove) || defined (__stub___remove)
31609 char (*f) () = remove;
31618 return f != remove;
31623 rm -f conftest.
$ac_objext conftest
$ac_exeext
31624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31625 (eval $ac_link) 2>conftest.er1
31627 grep -v '^ *+' conftest.er1
>conftest.err
31629 cat conftest.err
>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } &&
31632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; } &&
31638 { ac_try
='test -s conftest$ac_exeext'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; }; then
31644 ac_cv_func_remove
=yes
31646 echo "$as_me: failed program was:" >&5
31647 sed 's/^/| /' conftest.
$ac_ext >&5
31649 ac_cv_func_remove
=no
31651 rm -f conftest.err conftest.
$ac_objext \
31652 conftest
$ac_exeext conftest.
$ac_ext
31654 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31655 echo "${ECHO_T}$ac_cv_func_remove" >&6
31657 if test $ac_cv_func_remove = no
; then
31658 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31659 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
31660 if test "${ac_cv_lib_posix_remove+set}" = set; then
31661 echo $ECHO_N "(cached) $ECHO_C" >&6
31663 ac_check_lib_save_LIBS
=$LIBS
31664 LIBS
="-lposix $LIBS"
31665 cat >conftest.
$ac_ext <<_ACEOF
31668 cat confdefs.h
>>conftest.
$ac_ext
31669 cat >>conftest.
$ac_ext <<_ACEOF
31670 /* end confdefs.h. */
31672 /* Override any gcc2 internal prototype to avoid an error. */
31676 /* We use char because int might match the return type of a gcc2
31677 builtin and then its argument prototype would still apply. */
31687 rm -f conftest.
$ac_objext conftest
$ac_exeext
31688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31689 (eval $ac_link) 2>conftest.er1
31691 grep -v '^ *+' conftest.er1
>conftest.err
31693 cat conftest.err
>&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); } &&
31696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31698 (eval $ac_try) 2>&5
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); }; } &&
31702 { ac_try
='test -s conftest$ac_exeext'
31703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31704 (eval $ac_try) 2>&5
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); }; }; then
31708 ac_cv_lib_posix_remove
=yes
31710 echo "$as_me: failed program was:" >&5
31711 sed 's/^/| /' conftest.
$ac_ext >&5
31713 ac_cv_lib_posix_remove
=no
31715 rm -f conftest.err conftest.
$ac_objext \
31716 conftest
$ac_exeext conftest.
$ac_ext
31717 LIBS
=$ac_check_lib_save_LIBS
31719 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31720 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
31721 if test $ac_cv_lib_posix_remove = yes; then
31722 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
31727 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31728 echo "$as_me:$LINENO: checking for shmat" >&5
31729 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31730 if test "${ac_cv_func_shmat+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31733 cat >conftest.
$ac_ext <<_ACEOF
31736 cat confdefs.h
>>conftest.
$ac_ext
31737 cat >>conftest.
$ac_ext <<_ACEOF
31738 /* end confdefs.h. */
31739 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31741 #define shmat innocuous_shmat
31743 /* System header to define __stub macros and hopefully few prototypes,
31744 which can conflict with char shmat (); below.
31745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31746 <limits.h> exists even on freestanding compilers. */
31749 # include <limits.h>
31751 # include <assert.h>
31756 /* Override any gcc2 internal prototype to avoid an error. */
31761 /* We use char because int might match the return type of a gcc2
31762 builtin and then its argument prototype would still apply. */
31764 /* The GNU C library defines this for functions which it implements
31765 to always fail with ENOSYS. Some functions are actually named
31766 something starting with __ and the normal name is an alias. */
31767 #if defined (__stub_shmat) || defined (__stub___shmat)
31770 char (*f) () = shmat;
31784 rm -f conftest.
$ac_objext conftest
$ac_exeext
31785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31786 (eval $ac_link) 2>conftest.er1
31788 grep -v '^ *+' conftest.er1
>conftest.err
31790 cat conftest.err
>&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); } &&
31793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31795 (eval $ac_try) 2>&5
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); }; } &&
31799 { ac_try
='test -s conftest$ac_exeext'
31800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31801 (eval $ac_try) 2>&5
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); }; }; then
31805 ac_cv_func_shmat
=yes
31807 echo "$as_me: failed program was:" >&5
31808 sed 's/^/| /' conftest.
$ac_ext >&5
31810 ac_cv_func_shmat
=no
31812 rm -f conftest.err conftest.
$ac_objext \
31813 conftest
$ac_exeext conftest.
$ac_ext
31815 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31816 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31818 if test $ac_cv_func_shmat = no
; then
31819 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31820 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31821 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31822 echo $ECHO_N "(cached) $ECHO_C" >&6
31824 ac_check_lib_save_LIBS
=$LIBS
31826 cat >conftest.
$ac_ext <<_ACEOF
31829 cat confdefs.h
>>conftest.
$ac_ext
31830 cat >>conftest.
$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31833 /* Override any gcc2 internal prototype to avoid an error. */
31837 /* We use char because int might match the return type of a gcc2
31838 builtin and then its argument prototype would still apply. */
31848 rm -f conftest.
$ac_objext conftest
$ac_exeext
31849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31850 (eval $ac_link) 2>conftest.er1
31852 grep -v '^ *+' conftest.er1
>conftest.err
31854 cat conftest.err
>&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); } &&
31857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31859 (eval $ac_try) 2>&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); }; } &&
31863 { ac_try
='test -s conftest$ac_exeext'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; }; then
31869 ac_cv_lib_ipc_shmat
=yes
31871 echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.
$ac_ext >&5
31874 ac_cv_lib_ipc_shmat
=no
31876 rm -f conftest.err conftest.
$ac_objext \
31877 conftest
$ac_exeext conftest.
$ac_ext
31878 LIBS
=$ac_check_lib_save_LIBS
31880 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31881 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31882 if test $ac_cv_lib_ipc_shmat = yes; then
31883 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31889 # Check for libraries that X11R6 Xt/Xaw programs need.
31890 ac_save_LDFLAGS
=$LDFLAGS
31891 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31892 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31893 # check for ICE first), but we must link in the order -lSM -lICE or
31894 # we get undefined symbols. So assume we have SM if we have ICE.
31895 # These have to be linked with before -lX11, unlike the other
31896 # libraries we check for below, so use a different variable.
31897 # John Interrante, Karl Berry
31898 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31899 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31900 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31901 echo $ECHO_N "(cached) $ECHO_C" >&6
31903 ac_check_lib_save_LIBS
=$LIBS
31904 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31905 cat >conftest.
$ac_ext <<_ACEOF
31908 cat confdefs.h
>>conftest.
$ac_ext
31909 cat >>conftest.
$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31912 /* Override any gcc2 internal prototype to avoid an error. */
31916 /* We use char because int might match the return type of a gcc2
31917 builtin and then its argument prototype would still apply. */
31918 char IceConnectionNumber ();
31922 IceConnectionNumber ();
31927 rm -f conftest.
$ac_objext conftest
$ac_exeext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>conftest.er1
31931 grep -v '^ *+' conftest.er1
>conftest.err
31933 cat conftest.err
>&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } &&
31936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; } &&
31942 { ac_try
='test -s conftest$ac_exeext'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }; then
31948 ac_cv_lib_ICE_IceConnectionNumber
=yes
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.
$ac_ext >&5
31953 ac_cv_lib_ICE_IceConnectionNumber
=no
31955 rm -f conftest.err conftest.
$ac_objext \
31956 conftest
$ac_exeext conftest.
$ac_ext
31957 LIBS
=$ac_check_lib_save_LIBS
31959 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31960 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31961 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31962 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31965 LDFLAGS
=$ac_save_LDFLAGS
31970 if test "$no_x" = "yes"; then
31971 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31972 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31973 { (exit 1); exit 1; }; }
31976 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31977 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31978 AFMINSTALL
=afminstall
31979 COMPILED_X_PROGRAM
=0
31983 if test "$wxUSE_X11" = 1; then
31984 if test "$wxUSE_NANOX" = "yes"; then
31985 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31986 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31987 if test "x$MICROWIN" = x
; then
31988 echo "$as_me:$LINENO: result: not found" >&5
31989 echo "${ECHO_T}not found" >&6
31990 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31991 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31992 { (exit 1); exit 1; }; }
31994 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31995 echo "${ECHO_T}$MICROWIN" >&6
31996 cat >>confdefs.h
<<\_ACEOF
31997 #define wxUSE_NANOX 1
32003 if test "$wxUSE_UNICODE" = "yes"; then
32006 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32007 if test -n "$ac_tool_prefix"; then
32008 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32009 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32010 echo "$as_me:$LINENO: checking for $ac_word" >&5
32011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32012 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 case $PKG_CONFIG in
32017 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32021 for as_dir
in $PATH
32024 test -z "$as_dir" && as_dir
=.
32025 for ac_exec_ext
in '' $ac_executable_extensions; do
32026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32027 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32037 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32039 if test -n "$PKG_CONFIG"; then
32040 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32041 echo "${ECHO_T}$PKG_CONFIG" >&6
32043 echo "$as_me:$LINENO: result: no" >&5
32044 echo "${ECHO_T}no" >&6
32048 if test -z "$ac_cv_path_PKG_CONFIG"; then
32049 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32050 # Extract the first word of "pkg-config", so it can be a program name with args.
32051 set dummy pkg
-config; ac_word
=$2
32052 echo "$as_me:$LINENO: checking for $ac_word" >&5
32053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32054 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32055 echo $ECHO_N "(cached) $ECHO_C" >&6
32057 case $ac_pt_PKG_CONFIG in
32059 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32063 for as_dir
in $PATH
32066 test -z "$as_dir" && as_dir
=.
32067 for ac_exec_ext
in '' $ac_executable_extensions; do
32068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32069 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32079 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32081 if test -n "$ac_pt_PKG_CONFIG"; then
32082 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32083 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
32085 echo "$as_me:$LINENO: result: no" >&5
32086 echo "${ECHO_T}no" >&6
32089 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32091 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32095 if test -n "$PKG_CONFIG"; then
32096 _pkg_min_version
=0.9.0
32097 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32098 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
32099 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32100 echo "$as_me:$LINENO: result: yes" >&5
32101 echo "${ECHO_T}yes" >&6
32103 echo "$as_me:$LINENO: result: no" >&5
32104 echo "${ECHO_T}no" >&6
32112 echo "$as_me:$LINENO: checking for PANGOX" >&5
32113 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
32115 if test -n "$PKG_CONFIG"; then
32116 if test -n "$PANGOX_CFLAGS"; then
32117 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32119 if test -n "$PKG_CONFIG" && \
32120 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32121 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); }; then
32125 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32133 if test -n "$PKG_CONFIG"; then
32134 if test -n "$PANGOX_LIBS"; then
32135 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32137 if test -n "$PKG_CONFIG" && \
32138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32139 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); }; then
32143 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32154 if test $pkg_failed = yes; then
32156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32157 _pkg_short_errors_supported
=yes
32159 _pkg_short_errors_supported
=no
32161 if test $_pkg_short_errors_supported = yes; then
32162 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32164 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32166 # Put the nasty error message in config.log where it belongs
32167 echo "$PANGOX_PKG_ERRORS" >&5
32170 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32171 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32172 { (exit 1); exit 1; }; }
32175 elif test $pkg_failed = untried
; then
32177 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32178 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32179 { (exit 1); exit 1; }; }
32183 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32184 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32185 echo "$as_me:$LINENO: result: yes" >&5
32186 echo "${ECHO_T}yes" >&6
32188 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32189 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32194 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32195 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
32197 if test -n "$PKG_CONFIG"; then
32198 if test -n "$PANGOFT2_CFLAGS"; then
32199 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32201 if test -n "$PKG_CONFIG" && \
32202 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32203 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); }; then
32207 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32215 if test -n "$PKG_CONFIG"; then
32216 if test -n "$PANGOFT2_LIBS"; then
32217 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32219 if test -n "$PKG_CONFIG" && \
32220 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32221 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; then
32225 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32236 if test $pkg_failed = yes; then
32238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32239 _pkg_short_errors_supported
=yes
32241 _pkg_short_errors_supported
=no
32243 if test $_pkg_short_errors_supported = yes; then
32244 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32246 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32248 # Put the nasty error message in config.log where it belongs
32249 echo "$PANGOFT2_PKG_ERRORS" >&5
32252 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32253 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32254 wxUSE_PRINTING_ARCHITECTURE
="no"
32257 elif test $pkg_failed = untried
; then
32259 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32260 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32261 wxUSE_PRINTING_ARCHITECTURE
="no"
32265 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32266 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32267 echo "$as_me:$LINENO: result: yes" >&5
32268 echo "${ECHO_T}yes" >&6
32270 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32271 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32276 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32277 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
32279 if test -n "$PKG_CONFIG"; then
32280 if test -n "$PANGOXFT_CFLAGS"; then
32281 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32283 if test -n "$PKG_CONFIG" && \
32284 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32285 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; then
32289 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32297 if test -n "$PKG_CONFIG"; then
32298 if test -n "$PANGOXFT_LIBS"; then
32299 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32301 if test -n "$PKG_CONFIG" && \
32302 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32303 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; then
32307 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32318 if test $pkg_failed = yes; then
32320 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32321 _pkg_short_errors_supported
=yes
32323 _pkg_short_errors_supported
=no
32325 if test $_pkg_short_errors_supported = yes; then
32326 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32328 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32330 # Put the nasty error message in config.log where it belongs
32331 echo "$PANGOXFT_PKG_ERRORS" >&5
32334 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32335 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32338 elif test $pkg_failed = untried
; then
32340 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32341 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32345 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32346 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32347 echo "$as_me:$LINENO: result: yes" >&5
32348 echo "${ECHO_T}yes" >&6
32350 cat >>confdefs.h
<<\_ACEOF
32351 #define HAVE_PANGO_XFT 1
32354 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32355 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32358 save_CXXFLAGS
="$CXXFLAGS"
32360 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32361 LIBS
="$LIBS $PANGOX_LIBS"
32363 for ac_func
in pango_font_family_is_monospace
32365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32366 echo "$as_me:$LINENO: checking for $ac_func" >&5
32367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32368 if eval "test \"\${$as_ac_var+set}\" = set"; then
32369 echo $ECHO_N "(cached) $ECHO_C" >&6
32371 cat >conftest.
$ac_ext <<_ACEOF
32374 cat confdefs.h
>>conftest.
$ac_ext
32375 cat >>conftest.
$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32379 #define $ac_func innocuous_$ac_func
32381 /* System header to define __stub macros and hopefully few prototypes,
32382 which can conflict with char $ac_func (); below.
32383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32384 <limits.h> exists even on freestanding compilers. */
32387 # include <limits.h>
32389 # include <assert.h>
32394 /* Override any gcc2 internal prototype to avoid an error. */
32399 /* We use char because int might match the return type of a gcc2
32400 builtin and then its argument prototype would still apply. */
32402 /* The GNU C library defines this for functions which it implements
32403 to always fail with ENOSYS. Some functions are actually named
32404 something starting with __ and the normal name is an alias. */
32405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32408 char (*f) () = $ac_func;
32417 return f != $ac_func;
32422 rm -f conftest.
$ac_objext conftest
$ac_exeext
32423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32424 (eval $ac_link) 2>conftest.er1
32426 grep -v '^ *+' conftest.er1
>conftest.err
32428 cat conftest.err
>&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } &&
32431 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 (eval $ac_try) 2>&5
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; } &&
32437 { ac_try
='test -s conftest$ac_exeext'
32438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439 (eval $ac_try) 2>&5
32441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 (exit $ac_status); }; }; then
32443 eval "$as_ac_var=yes"
32445 echo "$as_me: failed program was:" >&5
32446 sed 's/^/| /' conftest.
$ac_ext >&5
32448 eval "$as_ac_var=no"
32450 rm -f conftest.err conftest.
$ac_objext \
32451 conftest
$ac_exeext conftest.
$ac_ext
32453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32455 if test `eval echo '${'$as_ac_var'}'` = yes; then
32456 cat >>confdefs.h
<<_ACEOF
32457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32463 CXXFLAGS
="$save_CXXFLAGS"
32467 wxUSE_UNIVERSAL
="yes"
32469 if test "$wxUSE_NANOX" = "yes"; then
32470 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32471 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"
32472 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32474 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
32481 if test "$wxUSE_MOTIF" = 1; then
32482 if test "$wxUSE_UNICODE" = "yes"; then
32483 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32484 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32485 { (exit 1); exit 1; }; }
32488 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32489 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
32492 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32494 if test -f "$ac_dir/Xm/Xm.h"; then
32495 ac_find_includes
=$ac_dir
32500 if test "$ac_find_includes" != "" ; then
32501 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32502 echo "${ECHO_T}found in $ac_find_includes" >&6
32504 if test "x$ac_find_includes" = "x/usr/include"; then
32505 ac_path_to_include
=""
32507 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
32509 if test $result = 0; then
32510 ac_path_to_include
=""
32512 ac_path_to_include
=" -I$ac_find_includes"
32516 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
32518 save_CXXFLAGS
=$CXXFLAGS
32519 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32521 cat >conftest.
$ac_ext <<_ACEOF
32524 cat confdefs.h
>>conftest.
$ac_ext
32525 cat >>conftest.
$ac_ext <<_ACEOF
32526 /* end confdefs.h. */
32535 version = xmUseVersion;
32541 rm -f conftest.
$ac_objext
32542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32543 (eval $ac_compile) 2>conftest.er1
32545 grep -v '^ *+' conftest.er1
>conftest.err
32547 cat conftest.err
>&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); } &&
32550 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32552 (eval $ac_try) 2>&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); }; } &&
32556 { ac_try
='test -s conftest.$ac_objext'
32557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32558 (eval $ac_try) 2>&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; }; then
32563 echo "$as_me:$LINENO: result: found in default search path" >&5
32564 echo "${ECHO_T}found in default search path" >&6
32565 COMPILED_X_PROGRAM
=1
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.
$ac_ext >&5
32572 echo "$as_me:$LINENO: result: no" >&5
32573 echo "${ECHO_T}no" >&6
32574 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32575 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32576 { (exit 1); exit 1; }; }
32580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32582 CXXFLAGS
=$save_CXXFLAGS
32586 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32587 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
32590 for ac_dir
in $SEARCH_LIB;
32592 for ac_extension
in a so sl dylib dll.a
; do
32593 if test -f "$ac_dir/libXm.$ac_extension"; then
32594 ac_find_libraries
=$ac_dir
32601 if test "x$ac_find_libraries" != "x" ; then
32602 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32603 echo "${ECHO_T}found in $ac_find_libraries" >&6
32606 if test "$ac_find_libraries" = "default location"; then
32609 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32611 if test $result = 0; then
32614 ac_path_to_link
=" -L$ac_find_libraries"
32618 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32620 save_CXXFLAGS
=$CXXFLAGS
32621 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32623 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32625 cat >conftest.
$ac_ext <<_ACEOF
32628 cat confdefs.h
>>conftest.
$ac_ext
32629 cat >>conftest.
$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32639 version = xmUseVersion;
32645 rm -f conftest.
$ac_objext conftest
$ac_exeext
32646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32647 (eval $ac_link) 2>conftest.er1
32649 grep -v '^ *+' conftest.er1
>conftest.err
32651 cat conftest.err
>&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); } &&
32654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32656 (eval $ac_try) 2>&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); }; } &&
32660 { ac_try
='test -s conftest$ac_exeext'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; }; then
32667 echo "$as_me:$LINENO: result: found in default search path" >&5
32668 echo "${ECHO_T}found in default search path" >&6
32669 COMPILED_X_PROGRAM
=1
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.
$ac_ext >&5
32676 echo "$as_me:$LINENO: result: no" >&5
32677 echo "${ECHO_T}no" >&6
32678 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32679 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32680 { (exit 1); exit 1; }; }
32684 rm -f conftest.err conftest.
$ac_objext \
32685 conftest
$ac_exeext conftest.
$ac_ext
32687 CXXFLAGS
=$save_CXXFLAGS
32691 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32692 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
32696 for libp
in "" " -lXp"; do
32697 if test "$libs_found" = "0"; then
32698 for libsm_ice
in "" " -lSM -lICE"; do
32699 if test "$libs_found" = "0"; then
32701 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32702 save_CXXFLAGS
=$CXXFLAGS
32703 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32705 cat >conftest.
$ac_ext <<_ACEOF
32708 cat confdefs.h
>>conftest.
$ac_ext
32709 cat >>conftest.
$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32713 #include <Xm/List.h>
32719 XmString string = NULL;
32722 XmListAddItem(w, string, position);
32728 rm -f conftest.
$ac_objext conftest
$ac_exeext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32730 (eval $ac_link) 2>conftest.er1
32732 grep -v '^ *+' conftest.er1
>conftest.err
32734 cat conftest.err
>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try
='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32751 libsm_ice_link
="$libsm_ice"
32752 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32753 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.
$ac_ext >&5
32763 rm -f conftest.err conftest.
$ac_objext \
32764 conftest
$ac_exeext conftest.
$ac_ext
32767 CXXFLAGS
=$save_CXXFLAGS
32773 if test "$libs_found" = "0"; then
32774 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32775 echo "${ECHO_T}can't find the right libraries" >&6
32776 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32777 echo "$as_me: error: can't link a simple motif program" >&2;}
32778 { (exit 1); exit 1; }; }
32781 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32782 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
32783 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32784 echo $ECHO_N "(cached) $ECHO_C" >&6
32786 ac_check_lib_save_LIBS
=$LIBS
32788 cat >conftest.
$ac_ext <<_ACEOF
32791 cat confdefs.h
>>conftest.
$ac_ext
32792 cat >>conftest.
$ac_ext <<_ACEOF
32793 /* end confdefs.h. */
32795 /* Override any gcc2 internal prototype to avoid an error. */
32799 /* We use char because int might match the return type of a gcc2
32800 builtin and then its argument prototype would still apply. */
32801 char SgCreateList ();
32810 rm -f conftest.
$ac_objext conftest
$ac_exeext
32811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32812 (eval $ac_link) 2>conftest.er1
32814 grep -v '^ *+' conftest.er1
>conftest.err
32816 cat conftest.err
>&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } &&
32819 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32821 (eval $ac_try) 2>&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); }; } &&
32825 { ac_try
='test -s conftest$ac_exeext'
32826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32827 (eval $ac_try) 2>&5
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); }; }; then
32831 ac_cv_lib_Sgm_SgCreateList
=yes
32833 echo "$as_me: failed program was:" >&5
32834 sed 's/^/| /' conftest.
$ac_ext >&5
32836 ac_cv_lib_Sgm_SgCreateList
=no
32838 rm -f conftest.err conftest.
$ac_objext \
32839 conftest
$ac_exeext conftest.
$ac_ext
32840 LIBS
=$ac_check_lib_save_LIBS
32842 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32843 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32844 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32845 libsgm_link
=" -lSgm"
32849 save_CXXFLAGS
=$CXXFLAGS
32850 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32852 echo "$as_me:$LINENO: checking for Motif 2" >&5
32853 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32854 if test "${wx_cv_lib_motif2+set}" = set; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32857 cat >conftest.
$ac_ext <<_ACEOF
32860 cat confdefs.h
>>conftest.
$ac_ext
32861 cat >>conftest.
$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32870 #if XmVersion < 2000
32878 rm -f conftest.
$ac_objext
32879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32880 (eval $ac_compile) 2>conftest.er1
32882 grep -v '^ *+' conftest.er1
>conftest.err
32884 cat conftest.err
>&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } &&
32887 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889 (eval $ac_try) 2>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; } &&
32893 { ac_try
='test -s conftest.$ac_objext'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; }; then
32899 wx_cv_lib_motif2
="yes"
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.
$ac_ext >&5
32904 wx_cv_lib_motif2
="no"
32906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32908 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32909 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32910 if test "$wx_cv_lib_motif2" = "yes"; then
32911 cat >>confdefs.h
<<\_ACEOF
32912 #define __WXMOTIF20__ 1
32916 cat >>confdefs.h
<<\_ACEOF
32917 #define __WXMOTIF20__ 0
32922 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32923 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32924 if test "${wx_cv_lib_lesstif+set}" = set; then
32925 echo $ECHO_N "(cached) $ECHO_C" >&6
32927 cat >conftest.
$ac_ext <<_ACEOF
32930 cat confdefs.h
>>conftest.
$ac_ext
32931 cat >>conftest.
$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32940 #if !defined(LesstifVersion) || LesstifVersion <= 0
32948 rm -f conftest.
$ac_objext
32949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32950 (eval $ac_compile) 2>conftest.er1
32952 grep -v '^ *+' conftest.er1
>conftest.err
32954 cat conftest.err
>&5
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); } &&
32957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32959 (eval $ac_try) 2>&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; } &&
32963 { ac_try
='test -s conftest.$ac_objext'
32964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32965 (eval $ac_try) 2>&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); }; }; then
32969 wx_cv_lib_lesstif
="yes"
32971 echo "$as_me: failed program was:" >&5
32972 sed 's/^/| /' conftest.
$ac_ext >&5
32974 wx_cv_lib_lesstif
="no"
32976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32979 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32980 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32981 if test "$wx_cv_lib_lesstif" = "yes"; then
32982 cat >>confdefs.h
<<\_ACEOF
32983 #define __WXLESSTIF__ 1
32987 cat >>confdefs.h
<<\_ACEOF
32988 #define __WXLESSTIF__ 0
32993 CXXFLAGS
=$save_CXXFLAGS
32995 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33000 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33001 if test "$wxUSE_LIBXPM" = "sys"; then
33002 echo "$as_me:$LINENO: checking for Xpm library" >&5
33003 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
33006 for ac_dir
in $SEARCH_LIB;
33008 for ac_extension
in a so sl dylib dll.a
; do
33009 if test -f "$ac_dir/libXpm.$ac_extension"; then
33010 ac_find_libraries
=$ac_dir
33016 if test "$ac_find_libraries" != "" ; then
33018 if test "$ac_find_libraries" = "default location"; then
33021 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33023 if test $result = 0; then
33026 ac_path_to_link
=" -L$ac_find_libraries"
33030 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33031 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33032 echo "${ECHO_T}found in $ac_find_libraries" >&6
33034 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33035 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
33036 if test "${wx_cv_x11_xpm_h+set}" = set; then
33037 echo $ECHO_N "(cached) $ECHO_C" >&6
33040 save_CXXFLAGS
=$CXXFLAGS
33041 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
33043 cat >conftest.
$ac_ext <<_ACEOF
33046 cat confdefs.h
>>conftest.
$ac_ext
33047 cat >>conftest.
$ac_ext <<_ACEOF
33048 /* end confdefs.h. */
33050 #include <X11/xpm.h>
33057 version = XpmLibraryVersion();
33063 rm -f conftest.
$ac_objext
33064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33065 (eval $ac_compile) 2>conftest.er1
33067 grep -v '^ *+' conftest.er1
>conftest.err
33069 cat conftest.err
>&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); } &&
33072 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33074 (eval $ac_try) 2>&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); }; } &&
33078 { ac_try
='test -s conftest.$ac_objext'
33079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33080 (eval $ac_try) 2>&5
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); }; }; then
33084 wx_cv_x11_xpm_h
=yes
33086 echo "$as_me: failed program was:" >&5
33087 sed 's/^/| /' conftest.
$ac_ext >&5
33092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33094 CXXFLAGS
=$save_CXXFLAGS
33098 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33099 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
33101 if test $wx_cv_x11_xpm_h = "yes"; then
33102 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33103 cat >>confdefs.h
<<\_ACEOF
33104 #define wxHAVE_LIB_XPM 1
33108 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33109 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33115 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33116 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
33117 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33120 ac_check_lib_save_LIBS
=$LIBS
33121 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33122 cat >conftest.
$ac_ext <<_ACEOF
33125 cat confdefs.h
>>conftest.
$ac_ext
33126 cat >>conftest.
$ac_ext <<_ACEOF
33127 /* end confdefs.h. */
33129 /* Override any gcc2 internal prototype to avoid an error. */
33133 /* We use char because int might match the return type of a gcc2
33134 builtin and then its argument prototype would still apply. */
33135 char XShapeQueryExtension ();
33139 XShapeQueryExtension ();
33144 rm -f conftest.
$ac_objext conftest
$ac_exeext
33145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33146 (eval $ac_link) 2>conftest.er1
33148 grep -v '^ *+' conftest.er1
>conftest.err
33150 cat conftest.err
>&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); } &&
33153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33155 (eval $ac_try) 2>&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); }; } &&
33159 { ac_try
='test -s conftest$ac_exeext'
33160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33161 (eval $ac_try) 2>&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); }; }; then
33165 ac_cv_lib_Xext_XShapeQueryExtension
=yes
33167 echo "$as_me: failed program was:" >&5
33168 sed 's/^/| /' conftest.
$ac_ext >&5
33170 ac_cv_lib_Xext_XShapeQueryExtension
=no
33172 rm -f conftest.err conftest.
$ac_objext \
33173 conftest
$ac_exeext conftest.
$ac_ext
33174 LIBS
=$ac_check_lib_save_LIBS
33176 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33177 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
33178 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33180 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
33186 if test "$wxHAVE_XEXT_LIB" = 1; then
33187 save_CXXFLAGS
="$CXXFLAGS"
33188 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
33190 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33191 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
33192 cat >conftest.
$ac_ext <<_ACEOF
33195 cat confdefs.h
>>conftest.
$ac_ext
33196 cat >>conftest.
$ac_ext <<_ACEOF
33197 /* end confdefs.h. */
33199 #include <X11/Xlib.h>
33200 #include <X11/extensions/shape.h>
33206 int dummy1, dummy2;
33207 XShapeQueryExtension((Display*)NULL,
33208 (int*)NULL, (int*)NULL);
33214 rm -f conftest.
$ac_objext
33215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33216 (eval $ac_compile) 2>conftest.er1
33218 grep -v '^ *+' conftest.er1
>conftest.err
33220 cat conftest.err
>&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } &&
33223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225 (eval $ac_try) 2>&5
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); }; } &&
33229 { ac_try
='test -s conftest.$ac_objext'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; }; then
33236 cat >>confdefs.h
<<\_ACEOF
33237 #define HAVE_XSHAPE 1
33240 echo "$as_me:$LINENO: result: found" >&5
33241 echo "${ECHO_T}found" >&6
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.
$ac_ext >&5
33248 echo "$as_me:$LINENO: result: not found" >&5
33249 echo "${ECHO_T}not found" >&6
33252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33253 CXXFLAGS
="$save_CXXFLAGS"
33258 if test "$wxUSE_MAC" = 1; then
33259 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33260 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
33261 if test "$GCC" = yes; then
33262 echo "$as_me:$LINENO: result: gcc" >&5
33263 echo "${ECHO_T}gcc" >&6
33264 CPPFLAGS_PASCAL
="-fpascal-strings"
33265 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33266 echo "$as_me:$LINENO: result: xlc" >&5
33267 echo "${ECHO_T}xlc" >&6
33268 CPPFLAGS_PASCAL
="-qmacpstr"
33270 echo "$as_me:$LINENO: result: none" >&5
33271 echo "${ECHO_T}none" >&6
33274 if test "x$wxUSE_UNIX" = "xyes"; then
33275 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33277 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33282 WXBASEPORT
="_carbon"
33285 if test "$wxUSE_COCOA" = 1; then
33290 if test "$wxUSE_PM" = 1; then
33293 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33294 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
33295 if test "${wx_cv_spbcdata+set}" = set; then
33296 echo $ECHO_N "(cached) $ECHO_C" >&6
33299 cat >conftest.
$ac_ext <<_ACEOF
33302 cat confdefs.h
>>conftest.
$ac_ext
33303 cat >>conftest.
$ac_ext <<_ACEOF
33304 /* end confdefs.h. */
33319 rm -f conftest.
$ac_objext
33320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33321 (eval $ac_compile) 2>conftest.er1
33323 grep -v '^ *+' conftest.er1
>conftest.err
33325 cat conftest.err
>&5
33326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33327 (exit $ac_status); } &&
33328 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33330 (eval $ac_try) 2>&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); }; } &&
33334 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
33342 echo "$as_me: failed program was:" >&5
33343 sed 's/^/| /' conftest.
$ac_ext >&5
33348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33352 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33353 echo "${ECHO_T}$wx_cv_spbcdata" >&6
33355 if test $wx_cv_spbcdata = "yes"; then
33356 cat >>confdefs.h
<<\_ACEOF
33357 #define HAVE_SPBCDATA 1
33363 if test "$TOOLKIT" = "PM" ; then
33366 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33369 if test "$wxUSE_UNIVERSAL" = "yes"; then
33370 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33374 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33375 DISTDIR
="wx\$(TOOLKIT)"
33381 if test "$USE_WIN32" = 1 ; then
33385 GUIDIST
="BASE_DIST"
33390 if test "$wxUSE_GUI" = "yes"; then
33391 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33393 for ac_header
in X
11/Xlib.h
33395 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33397 echo "$as_me:$LINENO: checking for $ac_header" >&5
33398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33400 echo $ECHO_N "(cached) $ECHO_C" >&6
33402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33405 # Is the header compilable?
33406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33408 cat >conftest.
$ac_ext <<_ACEOF
33411 cat confdefs.h
>>conftest.
$ac_ext
33412 cat >>conftest.
$ac_ext <<_ACEOF
33413 /* end confdefs.h. */
33414 $ac_includes_default
33415 #include <$ac_header>
33417 rm -f conftest.
$ac_objext
33418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33419 (eval $ac_compile) 2>conftest.er1
33421 grep -v '^ *+' conftest.er1
>conftest.err
33423 cat conftest.err
>&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); } &&
33426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33428 (eval $ac_try) 2>&5
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); }; } &&
33432 { ac_try
='test -s conftest.$ac_objext'
33433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33434 (eval $ac_try) 2>&5
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); }; }; then
33438 ac_header_compiler
=yes
33440 echo "$as_me: failed program was:" >&5
33441 sed 's/^/| /' conftest.
$ac_ext >&5
33443 ac_header_compiler
=no
33445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33447 echo "${ECHO_T}$ac_header_compiler" >&6
33449 # Is the header present?
33450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33452 cat >conftest.
$ac_ext <<_ACEOF
33455 cat confdefs.h
>>conftest.
$ac_ext
33456 cat >>conftest.
$ac_ext <<_ACEOF
33457 /* end confdefs.h. */
33458 #include <$ac_header>
33460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33463 grep -v '^ *+' conftest.er1
>conftest.err
33465 cat conftest.err
>&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } >/dev
/null
; then
33468 if test -s conftest.err
; then
33469 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33470 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33477 if test -z "$ac_cpp_err"; then
33478 ac_header_preproc
=yes
33480 echo "$as_me: failed program was:" >&5
33481 sed 's/^/| /' conftest.
$ac_ext >&5
33483 ac_header_preproc
=no
33485 rm -f conftest.err conftest.
$ac_ext
33486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33487 echo "${ECHO_T}$ac_header_preproc" >&6
33489 # So? What about this header?
33490 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33496 ac_header_preproc
=yes
33499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33513 ## ----------------------------------------- ##
33514 ## Report this to wx-dev@lists.wxwidgets.org ##
33515 ## ----------------------------------------- ##
33518 sed "s/^/$as_me: WARNING: /" >&2
33521 echo "$as_me:$LINENO: checking for $ac_header" >&5
33522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33524 echo $ECHO_N "(cached) $ECHO_C" >&6
33526 eval "$as_ac_Header=\$ac_header_preproc"
33528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33533 cat >>confdefs.h
<<_ACEOF
33534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33542 for ac_header
in X
11/XKBlib.h
33544 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33545 echo "$as_me:$LINENO: checking for $ac_header" >&5
33546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33550 cat >conftest.
$ac_ext <<_ACEOF
33553 cat confdefs.h
>>conftest.
$ac_ext
33554 cat >>conftest.
$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33557 #if HAVE_X11_XLIB_H
33558 #include <X11/Xlib.h>
33562 #include <$ac_header>
33564 rm -f conftest.
$ac_objext
33565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33566 (eval $ac_compile) 2>conftest.er1
33568 grep -v '^ *+' conftest.er1
>conftest.err
33570 cat conftest.err
>&5
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); } &&
33573 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; } &&
33579 { ac_try
='test -s conftest.$ac_objext'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; }; then
33585 eval "$as_ac_Header=yes"
33587 echo "$as_me: failed program was:" >&5
33588 sed 's/^/| /' conftest.
$ac_ext >&5
33590 eval "$as_ac_Header=no"
33592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33597 cat >>confdefs.h
<<_ACEOF
33598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33613 if test "$TOOLKIT" != "MSW" ; then
33615 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33617 if test "${ac_cv_header_sql_h+set}" = set; then
33618 echo "$as_me:$LINENO: checking for sql.h" >&5
33619 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33620 if test "${ac_cv_header_sql_h+set}" = set; then
33621 echo $ECHO_N "(cached) $ECHO_C" >&6
33623 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33624 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33626 # Is the header compilable?
33627 echo "$as_me:$LINENO: checking sql.h usability" >&5
33628 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
33629 cat >conftest.
$ac_ext <<_ACEOF
33632 cat confdefs.h
>>conftest.
$ac_ext
33633 cat >>conftest.
$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33635 $ac_includes_default
33638 rm -f conftest.
$ac_objext
33639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33640 (eval $ac_compile) 2>conftest.er1
33642 grep -v '^ *+' conftest.er1
>conftest.err
33644 cat conftest.err
>&5
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); } &&
33647 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33649 (eval $ac_try) 2>&5
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); }; } &&
33653 { ac_try
='test -s conftest.$ac_objext'
33654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655 (eval $ac_try) 2>&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); }; }; then
33659 ac_header_compiler
=yes
33661 echo "$as_me: failed program was:" >&5
33662 sed 's/^/| /' conftest.
$ac_ext >&5
33664 ac_header_compiler
=no
33666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33668 echo "${ECHO_T}$ac_header_compiler" >&6
33670 # Is the header present?
33671 echo "$as_me:$LINENO: checking sql.h presence" >&5
33672 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
33673 cat >conftest.
$ac_ext <<_ACEOF
33676 cat confdefs.h
>>conftest.
$ac_ext
33677 cat >>conftest.
$ac_ext <<_ACEOF
33678 /* end confdefs.h. */
33681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33684 grep -v '^ *+' conftest.er1
>conftest.err
33686 cat conftest.err
>&5
33687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33688 (exit $ac_status); } >/dev
/null
; then
33689 if test -s conftest.err
; then
33690 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33691 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33698 if test -z "$ac_cpp_err"; then
33699 ac_header_preproc
=yes
33701 echo "$as_me: failed program was:" >&5
33702 sed 's/^/| /' conftest.
$ac_ext >&5
33704 ac_header_preproc
=no
33706 rm -f conftest.err conftest.
$ac_ext
33707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33708 echo "${ECHO_T}$ac_header_preproc" >&6
33710 # So? What about this header?
33711 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33713 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
33714 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33715 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
33716 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
33717 ac_header_preproc
=yes
33720 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33721 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33722 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33723 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33724 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33725 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33726 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33727 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33728 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33729 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33730 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33731 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33734 ## ----------------------------------------- ##
33735 ## Report this to wx-dev@lists.wxwidgets.org ##
33736 ## ----------------------------------------- ##
33739 sed "s/^/$as_me: WARNING: /" >&2
33742 echo "$as_me:$LINENO: checking for sql.h" >&5
33743 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33744 if test "${ac_cv_header_sql_h+set}" = set; then
33745 echo $ECHO_N "(cached) $ECHO_C" >&6
33747 ac_cv_header_sql_h
=$ac_header_preproc
33749 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33750 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33753 if test $ac_cv_header_sql_h = yes; then
33758 if test "x$found_sql_h" = "x1" ; then
33759 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33760 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33761 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33762 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 ac_check_lib_save_LIBS
=$LIBS
33765 LIBS
="-liodbc $LIBS"
33766 cat >conftest.
$ac_ext <<_ACEOF
33769 cat confdefs.h
>>conftest.
$ac_ext
33770 cat >>conftest.
$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33773 /* Override any gcc2 internal prototype to avoid an error. */
33777 /* We use char because int might match the return type of a gcc2
33778 builtin and then its argument prototype would still apply. */
33779 char SQLAllocEnv ();
33788 rm -f conftest.
$ac_objext conftest
$ac_exeext
33789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33790 (eval $ac_link) 2>conftest.er1
33792 grep -v '^ *+' conftest.er1
>conftest.err
33794 cat conftest.err
>&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } &&
33797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; } &&
33803 { ac_try
='test -s conftest$ac_exeext'
33804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33805 (eval $ac_try) 2>&5
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); }; }; then
33809 ac_cv_lib_iodbc_SQLAllocEnv
=yes
33811 echo "$as_me: failed program was:" >&5
33812 sed 's/^/| /' conftest.
$ac_ext >&5
33814 ac_cv_lib_iodbc_SQLAllocEnv
=no
33816 rm -f conftest.err conftest.
$ac_objext \
33817 conftest
$ac_exeext conftest.
$ac_ext
33818 LIBS
=$ac_check_lib_save_LIBS
33820 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33821 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33822 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33823 ODBC_LINK
=" -liodbc"
33826 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33827 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33828 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 ac_check_lib_save_LIBS
=$LIBS
33832 LIBS
="-lunixodbc $LIBS"
33833 cat >conftest.
$ac_ext <<_ACEOF
33836 cat confdefs.h
>>conftest.
$ac_ext
33837 cat >>conftest.
$ac_ext <<_ACEOF
33838 /* end confdefs.h. */
33840 /* Override any gcc2 internal prototype to avoid an error. */
33844 /* We use char because int might match the return type of a gcc2
33845 builtin and then its argument prototype would still apply. */
33846 char SQLAllocEnv ();
33855 rm -f conftest.
$ac_objext conftest
$ac_exeext
33856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33857 (eval $ac_link) 2>conftest.er1
33859 grep -v '^ *+' conftest.er1
>conftest.err
33861 cat conftest.err
>&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); } &&
33864 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; } &&
33870 { ac_try
='test -s conftest$ac_exeext'
33871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33872 (eval $ac_try) 2>&5
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; }; then
33876 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
33878 echo "$as_me: failed program was:" >&5
33879 sed 's/^/| /' conftest.
$ac_ext >&5
33881 ac_cv_lib_unixodbc_SQLAllocEnv
=no
33883 rm -f conftest.err conftest.
$ac_objext \
33884 conftest
$ac_exeext conftest.
$ac_ext
33885 LIBS
=$ac_check_lib_save_LIBS
33887 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33888 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33889 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33890 ODBC_LINK
=" -lunixodbc"
33893 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33894 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33895 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33898 ac_check_lib_save_LIBS
=$LIBS
33899 LIBS
="-lodbc $LIBS"
33900 cat >conftest.
$ac_ext <<_ACEOF
33903 cat confdefs.h
>>conftest.
$ac_ext
33904 cat >>conftest.
$ac_ext <<_ACEOF
33905 /* end confdefs.h. */
33907 /* Override any gcc2 internal prototype to avoid an error. */
33911 /* We use char because int might match the return type of a gcc2
33912 builtin and then its argument prototype would still apply. */
33913 char SQLAllocEnv ();
33922 rm -f conftest.
$ac_objext conftest
$ac_exeext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33924 (eval $ac_link) 2>conftest.er1
33926 grep -v '^ *+' conftest.er1
>conftest.err
33928 cat conftest.err
>&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33933 (eval $ac_try) 2>&5
33935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33936 (exit $ac_status); }; } &&
33937 { ac_try
='test -s conftest$ac_exeext'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; }; then
33943 ac_cv_lib_odbc_SQLAllocEnv
=yes
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.
$ac_ext >&5
33948 ac_cv_lib_odbc_SQLAllocEnv
=no
33950 rm -f conftest.err conftest.
$ac_objext \
33951 conftest
$ac_exeext conftest.
$ac_ext
33952 LIBS
=$ac_check_lib_save_LIBS
33954 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33955 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33956 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33957 ODBC_LINK
=" -lodbc"
33967 if test "x$ODBC_LINK" = "x" ; then
33968 if test "$wxUSE_ODBC" = "sys" ; then
33969 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33970 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33971 { (exit 1); exit 1; }; }
33973 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33974 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33982 if test "$wxUSE_ODBC" = "builtin" ; then
33983 cat >>confdefs.h
<<\_ACEOF
33984 #define wxUSE_BUILTIN_IODBC 1
33990 if test "$wxUSE_ODBC" != "no" ; then
33991 cat >>confdefs.h
<<\_ACEOF
33992 #define wxUSE_ODBC 1
33995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33997 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
34001 if test "$wxUSE_DISPLAY" = "yes"; then
34002 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34003 echo "$as_me:$LINENO: checking for Xinerama" >&5
34004 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
34007 for ac_dir
in $SEARCH_LIB;
34009 for ac_extension
in a so sl dylib dll.a
; do
34010 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34011 ac_find_libraries
=$ac_dir
34017 if test "$ac_find_libraries" != "" ; then
34019 if test "$ac_find_libraries" = "default location"; then
34022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34024 if test $result = 0; then
34027 ac_path_to_link
=" -L$ac_find_libraries"
34031 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34032 LDFLAGS
="$LDFLAGS $ac_path_to_link"
34034 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
34035 echo "$as_me:$LINENO: result: yes" >&5
34036 echo "${ECHO_T}yes" >&6
34038 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34039 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
34042 for ac_dir
in $SEARCH_LIB;
34044 for ac_extension
in a so sl dylib dll.a
; do
34045 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34046 ac_find_libraries
=$ac_dir
34052 if test "$ac_find_libraries" != "" ; then
34053 echo "$as_me:$LINENO: result: yes" >&5
34054 echo "${ECHO_T}yes" >&6
34056 for ac_header
in X
11/extensions
/xf86vmode.h
34058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34059 echo "$as_me:$LINENO: checking for $ac_header" >&5
34060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34064 cat >conftest.
$ac_ext <<_ACEOF
34067 cat confdefs.h
>>conftest.
$ac_ext
34068 cat >>conftest.
$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34071 #if HAVE_X11_XLIB_H
34072 #include <X11/Xlib.h>
34076 #include <$ac_header>
34078 rm -f conftest.
$ac_objext
34079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34080 (eval $ac_compile) 2>conftest.er1
34082 grep -v '^ *+' conftest.er1
>conftest.err
34084 cat conftest.err
>&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); } &&
34087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34089 (eval $ac_try) 2>&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); }; } &&
34093 { ac_try
='test -s conftest.$ac_objext'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; }; then
34099 eval "$as_ac_Header=yes"
34101 echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.
$ac_ext >&5
34104 eval "$as_ac_Header=no"
34106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34111 cat >>confdefs.h
<<_ACEOF
34112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34115 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
34122 echo "$as_me:$LINENO: result: no" >&5
34123 echo "${ECHO_T}no" >&6
34127 echo "$as_me:$LINENO: result: no" >&5
34128 echo "${ECHO_T}no" >&6
34129 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34130 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34133 elif test "$wxUSE_MSW" = 1; then
34135 for ac_header
in ddraw.h
34137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34138 echo "$as_me:$LINENO: checking for $ac_header" >&5
34139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34141 echo $ECHO_N "(cached) $ECHO_C" >&6
34143 cat >conftest.
$ac_ext <<_ACEOF
34146 cat confdefs.h
>>conftest.
$ac_ext
34147 cat >>conftest.
$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34149 #include <windows.h>
34151 #include <$ac_header>
34153 rm -f conftest.
$ac_objext
34154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34155 (eval $ac_compile) 2>conftest.er1
34157 grep -v '^ *+' conftest.er1
>conftest.err
34159 cat conftest.err
>&5
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); } &&
34162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; } &&
34168 { ac_try
='test -s conftest.$ac_objext'
34169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34170 (eval $ac_try) 2>&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); }; }; then
34174 eval "$as_ac_Header=yes"
34176 echo "$as_me: failed program was:" >&5
34177 sed 's/^/| /' conftest.
$ac_ext >&5
34179 eval "$as_ac_Header=no"
34181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34186 cat >>confdefs.h
<<_ACEOF
34187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34197 if test "$wxUSE_DETECT_SM" = "yes"; then
34198 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34199 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34200 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
34203 for ac_dir
in $SEARCH_LIB;
34205 for ac_extension
in a so sl dylib dll.a
; do
34206 if test -f "$ac_dir/libSM.$ac_extension"; then
34207 ac_find_libraries
=$ac_dir
34213 if test "$ac_find_libraries" != "" ; then
34215 if test "$ac_find_libraries" = "default location"; then
34218 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34220 if test $result = 0; then
34223 ac_path_to_link
=" -L$ac_find_libraries"
34227 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34228 LDFLAGS
="$LDFLAGS $ac_path_to_link"
34230 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
34231 echo "$as_me:$LINENO: result: yes" >&5
34232 echo "${ECHO_T}yes" >&6
34234 echo "$as_me:$LINENO: result: no" >&5
34235 echo "${ECHO_T}no" >&6
34236 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34237 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34238 wxUSE_DETECT_SM
="no"
34241 wxUSE_DETECT_SM
="no"
34248 if test "$wxUSE_OPENGL" = "yes"; then
34249 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34250 OPENGL_LIBS
="-framework OpenGL -framework AGL"
34251 elif test "$wxUSE_MSW" = 1; then
34252 OPENGL_LIBS
="-lopengl32 -lglu32"
34257 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
34259 if test -f "$ac_dir/GL/gl.h"; then
34260 ac_find_includes
=$ac_dir
34265 if test "$ac_find_includes" != "" ; then
34266 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34267 echo "${ECHO_T}found in $ac_find_includes" >&6
34269 if test "x$ac_find_includes" = "x/usr/include"; then
34270 ac_path_to_include
=""
34272 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
34274 if test $result = 0; then
34275 ac_path_to_include
=""
34277 ac_path_to_include
=" -I$ac_find_includes"
34281 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
34284 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34285 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34286 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
34287 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34288 echo $ECHO_N "(cached) $ECHO_C" >&6
34290 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34291 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
34293 # Is the header compilable?
34294 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
34295 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
34296 cat >conftest.
$ac_ext <<_ACEOF
34299 cat confdefs.h
>>conftest.
$ac_ext
34300 cat >>conftest.
$ac_ext <<_ACEOF
34301 /* end confdefs.h. */
34302 $ac_includes_default
34305 rm -f conftest.
$ac_objext
34306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34307 (eval $ac_compile) 2>conftest.er1
34309 grep -v '^ *+' conftest.er1
>conftest.err
34311 cat conftest.err
>&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); } &&
34314 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34316 (eval $ac_try) 2>&5
34318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34319 (exit $ac_status); }; } &&
34320 { ac_try
='test -s conftest.$ac_objext'
34321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34322 (eval $ac_try) 2>&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); }; }; then
34326 ac_header_compiler
=yes
34328 echo "$as_me: failed program was:" >&5
34329 sed 's/^/| /' conftest.
$ac_ext >&5
34331 ac_header_compiler
=no
34333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34335 echo "${ECHO_T}$ac_header_compiler" >&6
34337 # Is the header present?
34338 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
34339 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
34340 cat >conftest.
$ac_ext <<_ACEOF
34343 cat confdefs.h
>>conftest.
$ac_ext
34344 cat >>conftest.
$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34351 grep -v '^ *+' conftest.er1
>conftest.err
34353 cat conftest.err
>&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } >/dev
/null
; then
34356 if test -s conftest.err
; then
34357 ac_cpp_err
=$ac_cxx_preproc_warn_flag
34358 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
34365 if test -z "$ac_cpp_err"; then
34366 ac_header_preproc
=yes
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.
$ac_ext >&5
34371 ac_header_preproc
=no
34373 rm -f conftest.err conftest.
$ac_ext
34374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34375 echo "${ECHO_T}$ac_header_preproc" >&6
34377 # So? What about this header?
34378 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
34380 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
34381 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34382 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
34383 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
34384 ac_header_preproc
=yes
34387 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
34388 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
34389 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
34390 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
34391 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
34392 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
34393 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
34394 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
34395 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
34396 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
34397 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
34398 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
34401 ## ----------------------------------------- ##
34402 ## Report this to wx-dev@lists.wxwidgets.org ##
34403 ## ----------------------------------------- ##
34406 sed "s/^/$as_me: WARNING: /" >&2
34409 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34410 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
34411 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34412 echo $ECHO_N "(cached) $ECHO_C" >&6
34414 ac_cv_header_GL_gl_h
=$ac_header_preproc
34416 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34417 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
34420 if test $ac_cv_header_GL_gl_h = yes; then
34424 echo "$as_me:$LINENO: checking for -lGL" >&5
34425 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
34428 for ac_dir
in $SEARCH_LIB;
34430 for ac_extension
in a so sl dylib dll.a
; do
34431 if test -f "$ac_dir/libGL.$ac_extension"; then
34432 ac_find_libraries
=$ac_dir
34438 if test "$ac_find_libraries" != "" ; then
34439 echo "$as_me:$LINENO: result: yes" >&5
34440 echo "${ECHO_T}yes" >&6
34443 if test "$ac_find_libraries" = "default location"; then
34446 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34448 if test $result = 0; then
34451 ac_path_to_link
=" -L$ac_find_libraries"
34455 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34456 LDFLAGS_GL
="$ac_path_to_link"
34459 echo "$as_me:$LINENO: checking for -lGLU" >&5
34460 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
34463 for ac_dir
in $SEARCH_LIB;
34465 for ac_extension
in a so sl dylib dll.a
; do
34466 if test -f "$ac_dir/libGLU.$ac_extension"; then
34467 ac_find_libraries
=$ac_dir
34473 if test "$ac_find_libraries" != "" ; then
34475 if test "$ac_find_libraries" = "default location"; then
34478 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34480 if test $result = 0; then
34483 ac_path_to_link
=" -L$ac_find_libraries"
34487 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34488 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34489 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
34493 OPENGL_LIBS
="-lGL -lGLU"
34494 echo "$as_me:$LINENO: result: yes" >&5
34495 echo "${ECHO_T}yes" >&6
34497 echo "$as_me:$LINENO: result: no" >&5
34498 echo "${ECHO_T}no" >&6
34501 echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6
34505 if test "$found_gl" != 1; then
34506 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34507 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
34510 for ac_dir
in $SEARCH_LIB;
34512 for ac_extension
in a so sl dylib dll.a
; do
34513 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34514 ac_find_libraries
=$ac_dir
34520 if test "$ac_find_libraries" != "" ; then
34522 if test "$ac_find_libraries" = "default location"; then
34525 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34527 if test $result = 0; then
34530 ac_path_to_link
=" -L$ac_find_libraries"
34534 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
34535 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
34536 echo "$as_me:$LINENO: result: yes" >&5
34537 echo "${ECHO_T}yes" >&6
34539 echo "$as_me:$LINENO: result: no" >&5
34540 echo "${ECHO_T}no" >&6
34548 if test "x$OPENGL_LIBS" = "x"; then
34549 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34550 echo "$as_me: error: OpenGL libraries not available" >&2;}
34551 { (exit 1); exit 1; }; }
34555 if test "$wxUSE_OPENGL" = "yes"; then
34557 cat >>confdefs.h
<<\_ACEOF
34558 #define wxUSE_OPENGL 1
34561 cat >>confdefs.h
<<\_ACEOF
34562 #define wxUSE_GLCANVAS 1
34565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34570 if test -n "$TOOLKIT" ; then
34571 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34576 if test "$wxUSE_SHARED" = "yes"; then
34580 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34581 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34586 if test "$wxUSE_SHARED" = "yes"; then
34589 found_versioning
=no
34592 if test $found_versioning = no
; then
34593 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34594 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34595 if test "${wx_cv_version_script+set}" = set; then
34596 echo $ECHO_N "(cached) $ECHO_C" >&6
34599 echo "VER_1 { *; };" >conftest.sym
34600 echo "int main() { return 0; }" >conftest.cpp
34603 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34604 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; } ; then
34610 if test -s conftest.stderr
; then
34611 wx_cv_version_script
=no
34613 wx_cv_version_script
=yes
34616 wx_cv_version_script
=no
34619 if test $wx_cv_version_script = yes
34621 echo "struct B { virtual ~B() { } }; \
34622 struct D : public B { }; \
34623 void F() { D d; }" > conftest.cpp
34626 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34627 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629 (eval $ac_try) 2>&5
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); }; } &&
34634 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34635 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; }
34643 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34644 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34646 (eval $ac_try) 2>&5
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); }; }
34651 wx_cv_version_script
=yes
34653 wx_cv_version_script
=no
34658 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34659 rm -f conftest1.output conftest2.output conftest3.output
34662 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34663 echo "${ECHO_T}$wx_cv_version_script" >&6
34664 if test $wx_cv_version_script = yes ; then
34665 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
34671 *-*-linux* | *-*-gnu* )
34672 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
34673 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34677 if test "$GCC" = yes ; then
34678 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34680 saveLdflags
="$LDFLAGS"
34681 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34682 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34683 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34684 cat >conftest.
$ac_ext <<_ACEOF
34687 cat confdefs.h
>>conftest.
$ac_ext
34688 cat >>conftest.
$ac_ext <<_ACEOF
34689 /* end confdefs.h. */
34699 rm -f conftest.
$ac_objext conftest
$ac_exeext
34700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34701 (eval $ac_link) 2>conftest.er1
34703 grep -v '^ *+' conftest.er1
>conftest.err
34705 cat conftest.err
>&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); } &&
34708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try
='test -s conftest$ac_exeext'
34715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34716 (eval $ac_try) 2>&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); }; }; then
34721 echo "$as_me:$LINENO: result: yes" >&5
34722 echo "${ECHO_T}yes" >&6
34723 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
34724 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34727 echo "$as_me: failed program was:" >&5
34728 sed 's/^/| /' conftest.
$ac_ext >&5
34731 echo "$as_me:$LINENO: result: no" >&5
34732 echo "${ECHO_T}no" >&6
34733 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34734 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34735 LDFLAGS
="$saveLdflags -Wl,-R,/"
34736 cat >conftest.
$ac_ext <<_ACEOF
34739 cat confdefs.h
>>conftest.
$ac_ext
34740 cat >>conftest.
$ac_ext <<_ACEOF
34741 /* end confdefs.h. */
34751 rm -f conftest.
$ac_objext conftest
$ac_exeext
34752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34753 (eval $ac_link) 2>conftest.er1
34755 grep -v '^ *+' conftest.er1
>conftest.err
34757 cat conftest.err
>&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); } &&
34760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34762 (eval $ac_try) 2>&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); }; } &&
34766 { ac_try
='test -s conftest$ac_exeext'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; }; then
34773 echo "$as_me:$LINENO: result: yes" >&5
34774 echo "${ECHO_T}yes" >&6
34775 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
34776 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.
$ac_ext >&5
34783 echo "$as_me:$LINENO: result: no" >&5
34784 echo "${ECHO_T}no" >&6
34787 rm -f conftest.err conftest.
$ac_objext \
34788 conftest
$ac_exeext conftest.
$ac_ext
34791 rm -f conftest.err conftest.
$ac_objext \
34792 conftest
$ac_exeext conftest.
$ac_ext
34793 LDFLAGS
="$saveLdflags"
34795 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
34796 WXCONFIG_RPATH
="-R\$libdir"
34801 install_name_tool
=`which install_name_tool`
34802 if test "$install_name_tool" -a -x "$install_name_tool"; then
34803 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34804 cat <<EOF >change-install-names
34806 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34807 inst_cmd="install_name_tool "
34808 for i in \${libnames} ; do
34809 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34813 chmod +x change
-install-names
34817 *-*-cygwin* | *-*-mingw32* )
34818 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34822 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
34823 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34828 if test $wxUSE_RPATH = "no"; then
34829 SAMPLES_RPATH_FLAG
=''
34830 SAMPLES_RPATH_POSTLINK
=''
34838 config_linkage_component
="-static"
34845 lib_unicode_suffix
=
34847 if test "$wxUSE_UNICODE" = "yes"; then
34848 lib_unicode_suffix
=u
34849 WX_CHARTYPE
="unicode"
34854 WX_DEBUGTYPE
="release"
34856 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34858 WX_DEBUGTYPE
="debug"
34862 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34863 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34866 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34870 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34872 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34874 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34876 if test "$cross_compiling" = "yes"; then
34877 HOST_SUFFIX
="-$host_alias"
34878 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34879 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34882 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34883 if test "${TOOLKIT_DIR}" = "os2"; then
34884 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34886 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34891 if test "$wxUSE_COCOA" = 1; then
34895 ac_cpp
='$CPP $CPPFLAGS'
34896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34902 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34903 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34904 cat >conftest.
$ac_ext <<_ACEOF
34907 cat confdefs.h
>>conftest.
$ac_ext
34908 cat >>conftest.
$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34910 #include <AppKit/NSEvent.h>
34911 #include <CoreFoundation/CoreFoundation.h>
34921 rm -f conftest.
$ac_objext
34922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34923 (eval $ac_compile) 2>conftest.er1
34925 grep -v '^ *+' conftest.er1
>conftest.err
34927 cat conftest.err
>&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); } &&
34930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34932 (eval $ac_try) 2>&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); }; } &&
34936 { ac_try
='test -s conftest.$ac_objext'
34937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34938 (eval $ac_try) 2>&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); }; }; then
34942 echo "$as_me:$LINENO: result: no" >&5
34943 echo "${ECHO_T}no" >&6
34945 echo "$as_me: failed program was:" >&5
34946 sed 's/^/| /' conftest.
$ac_ext >&5
34948 echo "$as_me:$LINENO: result: yes" >&5
34949 echo "${ECHO_T}yes" >&6
34950 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34951 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34952 cat >conftest.
$ac_ext <<_ACEOF
34955 cat confdefs.h
>>conftest.
$ac_ext
34956 cat >>conftest.
$ac_ext <<_ACEOF
34957 /* end confdefs.h. */
34958 #define __Point__ 1
34959 #include <AppKit/NSEvent.h>
34960 #include <CoreFoundation/CoreFoundation.h>
34970 rm -f conftest.
$ac_objext
34971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34972 (eval $ac_compile) 2>conftest.er1
34974 grep -v '^ *+' conftest.er1
>conftest.err
34976 cat conftest.err
>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); } &&
34979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; } &&
34985 { ac_try
='test -s conftest.$ac_objext'
34986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34987 (eval $ac_try) 2>&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); }; }; then
34991 echo "$as_me:$LINENO: result: yes" >&5
34992 echo "${ECHO_T}yes" >&6
34993 cat >>confdefs.h
<<\_ACEOF
34994 #define __Point__ 1
34999 echo "$as_me: failed program was:" >&5
35000 sed 's/^/| /' conftest.
$ac_ext >&5
35002 { { echo "$as_me:$LINENO: error: no
35003 See \`config.log' for more details." >&5
35004 echo "$as_me: error: no
35005 See \`config.log' for more details." >&2;}
35006 { (exit 1); exit 1; }; }
35009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35014 ac_cpp
='$CXXCPP $CPPFLAGS'
35015 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35016 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35017 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35021 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35022 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35023 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35025 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
35027 # Extract the first word of "Rez", so it can be a program name with args.
35028 set dummy Rez
; ac_word
=$2
35029 echo "$as_me:$LINENO: checking for $ac_word" >&5
35030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35031 if test "${ac_cv_prog_REZ+set}" = set; then
35032 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 if test -n "$REZ"; then
35035 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
35037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35038 for as_dir
in $PATH
35041 test -z "$as_dir" && as_dir
=.
35042 for ac_exec_ext
in '' $ac_executable_extensions; do
35043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35044 ac_cv_prog_REZ
="Rez"
35045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35051 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
35054 REZ
=$ac_cv_prog_REZ
35055 if test -n "$REZ"; then
35056 echo "$as_me:$LINENO: result: $REZ" >&5
35057 echo "${ECHO_T}$REZ" >&6
35059 echo "$as_me:$LINENO: result: no" >&5
35060 echo "${ECHO_T}no" >&6
35063 # Extract the first word of "DeRez", so it can be a program name with args.
35064 set dummy DeRez
; ac_word
=$2
35065 echo "$as_me:$LINENO: checking for $ac_word" >&5
35066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35067 if test "${ac_cv_prog_DEREZ+set}" = set; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 if test -n "$DEREZ"; then
35071 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
35073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35074 for as_dir
in $PATH
35077 test -z "$as_dir" && as_dir
=.
35078 for ac_exec_ext
in '' $ac_executable_extensions; do
35079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35080 ac_cv_prog_DEREZ
="DeRez"
35081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35087 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
35090 DEREZ
=$ac_cv_prog_DEREZ
35091 if test -n "$DEREZ"; then
35092 echo "$as_me:$LINENO: result: $DEREZ" >&5
35093 echo "${ECHO_T}$DEREZ" >&6
35095 echo "$as_me:$LINENO: result: no" >&5
35096 echo "${ECHO_T}no" >&6
35099 # Extract the first word of "SetFile", so it can be a program name with args.
35100 set dummy SetFile
; ac_word
=$2
35101 echo "$as_me:$LINENO: checking for $ac_word" >&5
35102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35103 if test "${ac_cv_prog_SETFILE+set}" = set; then
35104 echo $ECHO_N "(cached) $ECHO_C" >&6
35106 if test -n "$SETFILE"; then
35107 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35110 for as_dir
in $PATH
35113 test -z "$as_dir" && as_dir
=.
35114 for ac_exec_ext
in '' $ac_executable_extensions; do
35115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35116 ac_cv_prog_SETFILE
="SetFile"
35117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35123 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35126 SETFILE
=$ac_cv_prog_SETFILE
35127 if test -n "$SETFILE"; then
35128 echo "$as_me:$LINENO: result: $SETFILE" >&5
35129 echo "${ECHO_T}$SETFILE" >&6
35131 echo "$as_me:$LINENO: result: no" >&5
35132 echo "${ECHO_T}no" >&6
35136 MACSETFILE
="\$(SETFILE)"
35138 if test "$wxUSE_MAC" = 1; then
35139 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35141 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
35143 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35144 RESCOMP
="echo -n \| $REZ"
35145 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35151 if test "$wxUSE_PM" = 1; then
35153 WXCONFIG_RESFLAGS
="-ep"
35155 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
35157 POSTLINK_COMMAND
="@true"
35164 echo "$as_me:$LINENO: checking for mode_t" >&5
35165 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
35166 if test "${ac_cv_type_mode_t+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35169 cat >conftest.
$ac_ext <<_ACEOF
35172 cat confdefs.h
>>conftest.
$ac_ext
35173 cat >>conftest.
$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175 $ac_includes_default
35181 if (sizeof (mode_t))
35187 rm -f conftest.
$ac_objext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35189 (eval $ac_compile) 2>conftest.er1
35191 grep -v '^ *+' conftest.er1
>conftest.err
35193 cat conftest.err
>&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try
='test -s conftest.$ac_objext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 ac_cv_type_mode_t
=yes
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.
$ac_ext >&5
35213 ac_cv_type_mode_t
=no
35215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35217 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35218 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
35219 if test $ac_cv_type_mode_t = yes; then
35223 cat >>confdefs.h
<<_ACEOF
35229 echo "$as_me:$LINENO: checking for off_t" >&5
35230 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
35231 if test "${ac_cv_type_off_t+set}" = set; then
35232 echo $ECHO_N "(cached) $ECHO_C" >&6
35234 cat >conftest.
$ac_ext <<_ACEOF
35237 cat confdefs.h
>>conftest.
$ac_ext
35238 cat >>conftest.
$ac_ext <<_ACEOF
35239 /* end confdefs.h. */
35240 $ac_includes_default
35246 if (sizeof (off_t))
35252 rm -f conftest.
$ac_objext
35253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35254 (eval $ac_compile) 2>conftest.er1
35256 grep -v '^ *+' conftest.er1
>conftest.err
35258 cat conftest.err
>&5
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); } &&
35261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35263 (eval $ac_try) 2>&5
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); }; } &&
35267 { ac_try
='test -s conftest.$ac_objext'
35268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35269 (eval $ac_try) 2>&5
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); }; }; then
35273 ac_cv_type_off_t
=yes
35275 echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.
$ac_ext >&5
35278 ac_cv_type_off_t
=no
35280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35282 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35283 echo "${ECHO_T}$ac_cv_type_off_t" >&6
35284 if test $ac_cv_type_off_t = yes; then
35288 cat >>confdefs.h
<<_ACEOF
35294 echo "$as_me:$LINENO: checking for pid_t" >&5
35295 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
35296 if test "${ac_cv_type_pid_t+set}" = set; then
35297 echo $ECHO_N "(cached) $ECHO_C" >&6
35299 cat >conftest.
$ac_ext <<_ACEOF
35302 cat confdefs.h
>>conftest.
$ac_ext
35303 cat >>conftest.
$ac_ext <<_ACEOF
35304 /* end confdefs.h. */
35305 $ac_includes_default
35311 if (sizeof (pid_t))
35317 rm -f conftest.
$ac_objext
35318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35319 (eval $ac_compile) 2>conftest.er1
35321 grep -v '^ *+' conftest.er1
>conftest.err
35323 cat conftest.err
>&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); } &&
35326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; } &&
35332 { ac_try
='test -s conftest.$ac_objext'
35333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35334 (eval $ac_try) 2>&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); }; }; then
35338 ac_cv_type_pid_t
=yes
35340 echo "$as_me: failed program was:" >&5
35341 sed 's/^/| /' conftest.
$ac_ext >&5
35343 ac_cv_type_pid_t
=no
35345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35347 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35348 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
35349 if test $ac_cv_type_pid_t = yes; then
35353 cat >>confdefs.h
<<_ACEOF
35359 echo "$as_me:$LINENO: checking for size_t" >&5
35360 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
35361 if test "${ac_cv_type_size_t+set}" = set; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 cat >conftest.
$ac_ext <<_ACEOF
35367 cat confdefs.h
>>conftest.
$ac_ext
35368 cat >>conftest.
$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35370 $ac_includes_default
35376 if (sizeof (size_t))
35382 rm -f conftest.
$ac_objext
35383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35384 (eval $ac_compile) 2>conftest.er1
35386 grep -v '^ *+' conftest.er1
>conftest.err
35388 cat conftest.err
>&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); } &&
35391 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; } &&
35397 { ac_try
='test -s conftest.$ac_objext'
35398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399 (eval $ac_try) 2>&5
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); }; }; then
35403 ac_cv_type_size_t
=yes
35405 echo "$as_me: failed program was:" >&5
35406 sed 's/^/| /' conftest.
$ac_ext >&5
35408 ac_cv_type_size_t
=no
35410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35412 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35413 echo "${ECHO_T}$ac_cv_type_size_t" >&6
35414 if test $ac_cv_type_size_t = yes; then
35418 cat >>confdefs.h
<<_ACEOF
35419 #define size_t unsigned
35424 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35425 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
35426 if test "${ac_cv_type_uid_t+set}" = set; then
35427 echo $ECHO_N "(cached) $ECHO_C" >&6
35429 cat >conftest.
$ac_ext <<_ACEOF
35432 cat confdefs.h
>>conftest.
$ac_ext
35433 cat >>conftest.
$ac_ext <<_ACEOF
35434 /* end confdefs.h. */
35435 #include <sys/types.h>
35438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35439 $EGREP "uid_t" >/dev
/null
2>&1; then
35440 ac_cv_type_uid_t
=yes
35442 ac_cv_type_uid_t
=no
35447 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35448 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
35449 if test $ac_cv_type_uid_t = no
; then
35451 cat >>confdefs.h
<<\_ACEOF
35456 cat >>confdefs.h
<<\_ACEOF
35463 echo "$as_me:$LINENO: checking for ssize_t" >&5
35464 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
35465 if test "${ac_cv_type_ssize_t+set}" = set; then
35466 echo $ECHO_N "(cached) $ECHO_C" >&6
35468 cat >conftest.
$ac_ext <<_ACEOF
35471 cat confdefs.h
>>conftest.
$ac_ext
35472 cat >>conftest.
$ac_ext <<_ACEOF
35473 /* end confdefs.h. */
35474 $ac_includes_default
35480 if (sizeof (ssize_t))
35486 rm -f conftest.
$ac_objext
35487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35488 (eval $ac_compile) 2>conftest.er1
35490 grep -v '^ *+' conftest.er1
>conftest.err
35492 cat conftest.err
>&5
35493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35494 (exit $ac_status); } &&
35495 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35497 (eval $ac_try) 2>&5
35499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35500 (exit $ac_status); }; } &&
35501 { ac_try
='test -s conftest.$ac_objext'
35502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35503 (eval $ac_try) 2>&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); }; }; then
35507 ac_cv_type_ssize_t
=yes
35509 echo "$as_me: failed program was:" >&5
35510 sed 's/^/| /' conftest.
$ac_ext >&5
35512 ac_cv_type_ssize_t
=no
35514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35516 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35517 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
35518 if test $ac_cv_type_ssize_t = yes; then
35520 cat >>confdefs.h
<<_ACEOF
35521 #define HAVE_SSIZE_T 1
35528 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35529 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
35530 if test "${wx_cv_size_t_is_uint+set}" = set; then
35531 echo $ECHO_N "(cached) $ECHO_C" >&6
35534 cat >conftest.
$ac_ext <<_ACEOF
35537 cat confdefs.h
>>conftest.
$ac_ext
35538 cat >>conftest.
$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 #include <stddef.h>
35547 struct Foo { void foo(size_t); void foo(unsigned int); };
35555 rm -f conftest.
$ac_objext
35556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35557 (eval $ac_compile) 2>conftest.er1
35559 grep -v '^ *+' conftest.er1
>conftest.err
35561 cat conftest.err
>&5
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); } &&
35564 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566 (eval $ac_try) 2>&5
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); }; } &&
35570 { ac_try
='test -s conftest.$ac_objext'
35571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35572 (eval $ac_try) 2>&5
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; }; then
35576 wx_cv_size_t_is_uint
=no
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.
$ac_ext >&5
35581 wx_cv_size_t_is_uint
=yes
35584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35588 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35589 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35591 if test "$wx_cv_size_t_is_uint" = "yes"; then
35592 cat >>confdefs.h
<<\_ACEOF
35593 #define wxSIZE_T_IS_UINT 1
35597 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35598 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35599 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35600 echo $ECHO_N "(cached) $ECHO_C" >&6
35602 cat >conftest.
$ac_ext <<_ACEOF
35605 cat confdefs.h
>>conftest.
$ac_ext
35606 cat >>conftest.
$ac_ext <<_ACEOF
35607 /* end confdefs.h. */
35608 #include <stddef.h>
35615 struct Foo { void foo(size_t); void foo(unsigned long); };
35623 rm -f conftest.
$ac_objext
35624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35625 (eval $ac_compile) 2>conftest.er1
35627 grep -v '^ *+' conftest.er1
>conftest.err
35629 cat conftest.err
>&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); } &&
35632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35634 (eval $ac_try) 2>&5
35636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637 (exit $ac_status); }; } &&
35638 { ac_try
='test -s conftest.$ac_objext'
35639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35640 (eval $ac_try) 2>&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); }; }; then
35644 wx_cv_size_t_is_ulong
=no
35646 echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.
$ac_ext >&5
35649 wx_cv_size_t_is_ulong
=yes
35652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35655 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35656 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35658 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35659 cat >>confdefs.h
<<\_ACEOF
35660 #define wxSIZE_T_IS_ULONG 1
35667 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35668 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
35669 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35670 echo $ECHO_N "(cached) $ECHO_C" >&6
35673 cat >conftest.
$ac_ext <<_ACEOF
35676 cat confdefs.h
>>conftest.
$ac_ext
35677 cat >>conftest.
$ac_ext <<_ACEOF
35678 /* end confdefs.h. */
35692 rm -f conftest.
$ac_objext
35693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35694 (eval $ac_compile) 2>conftest.er1
35696 grep -v '^ *+' conftest.er1
>conftest.err
35698 cat conftest.err
>&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } &&
35701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; } &&
35707 { ac_try
='test -s conftest.$ac_objext'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; }; then
35714 wx_cv_struct_pw_gecos
=yes
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.
$ac_ext >&5
35721 wx_cv_struct_pw_gecos
=no
35725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35729 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35730 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35732 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35733 cat >>confdefs.h
<<\_ACEOF
35734 #define HAVE_PW_GECOS 1
35740 if test "$wxUSE_WCHAR_T" = "yes"; then
35741 cat >>confdefs.h
<<\_ACEOF
35742 #define wxUSE_WCHAR_T 1
35749 for ac_func
in wcslen
35751 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35752 echo "$as_me:$LINENO: checking for $ac_func" >&5
35753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35754 if eval "test \"\${$as_ac_var+set}\" = set"; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35757 cat >conftest.
$ac_ext <<_ACEOF
35760 cat confdefs.h
>>conftest.
$ac_ext
35761 cat >>conftest.
$ac_ext <<_ACEOF
35762 /* end confdefs.h. */
35763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35765 #define $ac_func innocuous_$ac_func
35767 /* System header to define __stub macros and hopefully few prototypes,
35768 which can conflict with char $ac_func (); below.
35769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35770 <limits.h> exists even on freestanding compilers. */
35773 # include <limits.h>
35775 # include <assert.h>
35780 /* Override any gcc2 internal prototype to avoid an error. */
35785 /* We use char because int might match the return type of a gcc2
35786 builtin and then its argument prototype would still apply. */
35788 /* The GNU C library defines this for functions which it implements
35789 to always fail with ENOSYS. Some functions are actually named
35790 something starting with __ and the normal name is an alias. */
35791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35794 char (*f) () = $ac_func;
35803 return f != $ac_func;
35808 rm -f conftest.
$ac_objext conftest
$ac_exeext
35809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35810 (eval $ac_link) 2>conftest.er1
35812 grep -v '^ *+' conftest.er1
>conftest.err
35814 cat conftest.err
>&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); } &&
35817 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35819 (eval $ac_try) 2>&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); }; } &&
35823 { ac_try
='test -s conftest$ac_exeext'
35824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35825 (eval $ac_try) 2>&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); }; }; then
35829 eval "$as_ac_var=yes"
35831 echo "$as_me: failed program was:" >&5
35832 sed 's/^/| /' conftest.
$ac_ext >&5
35834 eval "$as_ac_var=no"
35836 rm -f conftest.err conftest.
$ac_objext \
35837 conftest
$ac_exeext conftest.
$ac_ext
35839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35841 if test `eval echo '${'$as_ac_var'}'` = yes; then
35842 cat >>confdefs.h
<<_ACEOF
35843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35850 if test "$WCSLEN_FOUND" = 0; then
35851 if test "$TOOLKIT" = "MSW"; then
35852 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35853 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35854 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35855 echo $ECHO_N "(cached) $ECHO_C" >&6
35857 ac_check_lib_save_LIBS
=$LIBS
35858 LIBS
="-lmsvcrt $LIBS"
35859 cat >conftest.
$ac_ext <<_ACEOF
35862 cat confdefs.h
>>conftest.
$ac_ext
35863 cat >>conftest.
$ac_ext <<_ACEOF
35864 /* end confdefs.h. */
35866 /* Override any gcc2 internal prototype to avoid an error. */
35870 /* We use char because int might match the return type of a gcc2
35871 builtin and then its argument prototype would still apply. */
35881 rm -f conftest.
$ac_objext conftest
$ac_exeext
35882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35883 (eval $ac_link) 2>conftest.er1
35885 grep -v '^ *+' conftest.er1
>conftest.err
35887 cat conftest.err
>&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); } &&
35890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; } &&
35896 { ac_try
='test -s conftest$ac_exeext'
35897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35898 (eval $ac_try) 2>&5
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); }; }; then
35902 ac_cv_lib_msvcrt_wcslen
=yes
35904 echo "$as_me: failed program was:" >&5
35905 sed 's/^/| /' conftest.
$ac_ext >&5
35907 ac_cv_lib_msvcrt_wcslen
=no
35909 rm -f conftest.err conftest.
$ac_objext \
35910 conftest
$ac_exeext conftest.
$ac_ext
35911 LIBS
=$ac_check_lib_save_LIBS
35913 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35914 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35915 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35920 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35921 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35922 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35923 echo $ECHO_N "(cached) $ECHO_C" >&6
35925 ac_check_lib_save_LIBS
=$LIBS
35927 cat >conftest.
$ac_ext <<_ACEOF
35930 cat confdefs.h
>>conftest.
$ac_ext
35931 cat >>conftest.
$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35934 /* Override any gcc2 internal prototype to avoid an error. */
35938 /* We use char because int might match the return type of a gcc2
35939 builtin and then its argument prototype would still apply. */
35949 rm -f conftest.
$ac_objext conftest
$ac_exeext
35950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35951 (eval $ac_link) 2>conftest.er1
35953 grep -v '^ *+' conftest.er1
>conftest.err
35955 cat conftest.err
>&5
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); } &&
35958 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35960 (eval $ac_try) 2>&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); }; } &&
35964 { ac_try
='test -s conftest$ac_exeext'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; }; then
35970 ac_cv_lib_w_wcslen
=yes
35972 echo "$as_me: failed program was:" >&5
35973 sed 's/^/| /' conftest.
$ac_ext >&5
35975 ac_cv_lib_w_wcslen
=no
35977 rm -f conftest.err conftest.
$ac_objext \
35978 conftest
$ac_exeext conftest.
$ac_ext
35979 LIBS
=$ac_check_lib_save_LIBS
35981 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35982 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35983 if test $ac_cv_lib_w_wcslen = yes; then
35993 if test "$WCSLEN_FOUND" = 1; then
35994 cat >>confdefs.h
<<\_ACEOF
35995 #define HAVE_WCSLEN 1
36000 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36001 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36004 echo "$as_me:$LINENO: checking for mbstate_t" >&5
36005 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
36006 if test "${ac_cv_type_mbstate_t+set}" = set; then
36007 echo $ECHO_N "(cached) $ECHO_C" >&6
36009 cat >conftest.
$ac_ext <<_ACEOF
36012 cat confdefs.h
>>conftest.
$ac_ext
36013 cat >>conftest.
$ac_ext <<_ACEOF
36014 /* end confdefs.h. */
36020 if ((mbstate_t *) 0)
36022 if (sizeof (mbstate_t))
36028 rm -f conftest.
$ac_objext
36029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36030 (eval $ac_compile) 2>conftest.er1
36032 grep -v '^ *+' conftest.er1
>conftest.err
36034 cat conftest.err
>&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } &&
36037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; } &&
36043 { ac_try
='test -s conftest.$ac_objext'
36044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36045 (eval $ac_try) 2>&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); }; }; then
36049 ac_cv_type_mbstate_t
=yes
36051 echo "$as_me: failed program was:" >&5
36052 sed 's/^/| /' conftest.
$ac_ext >&5
36054 ac_cv_type_mbstate_t
=no
36056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36058 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36059 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
36060 if test $ac_cv_type_mbstate_t = yes; then
36062 cat >>confdefs.h
<<_ACEOF
36063 #define HAVE_MBSTATE_T 1
36067 for ac_func
in wcsrtombs
36069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36070 echo "$as_me:$LINENO: checking for $ac_func" >&5
36071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36072 if eval "test \"\${$as_ac_var+set}\" = set"; then
36073 echo $ECHO_N "(cached) $ECHO_C" >&6
36075 cat >conftest.
$ac_ext <<_ACEOF
36078 cat confdefs.h
>>conftest.
$ac_ext
36079 cat >>conftest.
$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36083 #define $ac_func innocuous_$ac_func
36085 /* System header to define __stub macros and hopefully few prototypes,
36086 which can conflict with char $ac_func (); below.
36087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36088 <limits.h> exists even on freestanding compilers. */
36091 # include <limits.h>
36093 # include <assert.h>
36098 /* Override any gcc2 internal prototype to avoid an error. */
36103 /* We use char because int might match the return type of a gcc2
36104 builtin and then its argument prototype would still apply. */
36106 /* The GNU C library defines this for functions which it implements
36107 to always fail with ENOSYS. Some functions are actually named
36108 something starting with __ and the normal name is an alias. */
36109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36112 char (*f) () = $ac_func;
36121 return f != $ac_func;
36126 rm -f conftest.
$ac_objext conftest
$ac_exeext
36127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36128 (eval $ac_link) 2>conftest.er1
36130 grep -v '^ *+' conftest.er1
>conftest.err
36132 cat conftest.err
>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } &&
36135 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137 (eval $ac_try) 2>&5
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); }; } &&
36141 { ac_try
='test -s conftest$ac_exeext'
36142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36143 (eval $ac_try) 2>&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; }; then
36147 eval "$as_ac_var=yes"
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.
$ac_ext >&5
36152 eval "$as_ac_var=no"
36154 rm -f conftest.err conftest.
$ac_objext \
36155 conftest
$ac_exeext conftest.
$ac_ext
36157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36159 if test `eval echo '${'$as_ac_var'}'` = yes; then
36160 cat >>confdefs.h
<<_ACEOF
36161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36170 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36171 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36176 for ac_func
in snprintf vsnprintf
36178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36179 echo "$as_me:$LINENO: checking for $ac_func" >&5
36180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36181 if eval "test \"\${$as_ac_var+set}\" = set"; then
36182 echo $ECHO_N "(cached) $ECHO_C" >&6
36184 cat >conftest.
$ac_ext <<_ACEOF
36187 cat confdefs.h
>>conftest.
$ac_ext
36188 cat >>conftest.
$ac_ext <<_ACEOF
36189 /* end confdefs.h. */
36190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36192 #define $ac_func innocuous_$ac_func
36194 /* System header to define __stub macros and hopefully few prototypes,
36195 which can conflict with char $ac_func (); below.
36196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36197 <limits.h> exists even on freestanding compilers. */
36200 # include <limits.h>
36202 # include <assert.h>
36207 /* Override any gcc2 internal prototype to avoid an error. */
36212 /* We use char because int might match the return type of a gcc2
36213 builtin and then its argument prototype would still apply. */
36215 /* The GNU C library defines this for functions which it implements
36216 to always fail with ENOSYS. Some functions are actually named
36217 something starting with __ and the normal name is an alias. */
36218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36221 char (*f) () = $ac_func;
36230 return f != $ac_func;
36235 rm -f conftest.
$ac_objext conftest
$ac_exeext
36236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36237 (eval $ac_link) 2>conftest.er1
36239 grep -v '^ *+' conftest.er1
>conftest.err
36241 cat conftest.err
>&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); } &&
36244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; } &&
36250 { ac_try
='test -s conftest$ac_exeext'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; }; then
36256 eval "$as_ac_var=yes"
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.
$ac_ext >&5
36261 eval "$as_ac_var=no"
36263 rm -f conftest.err conftest.
$ac_objext \
36264 conftest
$ac_exeext conftest.
$ac_ext
36266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36268 if test `eval echo '${'$as_ac_var'}'` = yes; then
36269 cat >>confdefs.h
<<_ACEOF
36270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36277 if test "$ac_cv_func_vsnprintf" = "yes"; then
36278 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36279 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
36280 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 cat >conftest.
$ac_ext <<_ACEOF
36287 cat confdefs.h
>>conftest.
$ac_ext
36288 cat >>conftest.
$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36292 #include <stdarg.h>
36294 #if __MSL__ >= 0x6000
36296 using namespace std;
36306 vsnprintf(buf, 10u, "%s", ap);
36312 rm -f conftest.
$ac_objext
36313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36314 (eval $ac_compile) 2>conftest.er1
36316 grep -v '^ *+' conftest.er1
>conftest.err
36318 cat conftest.err
>&5
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); } &&
36321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36323 (eval $ac_try) 2>&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); }; } &&
36327 { ac_try
='test -s conftest.$ac_objext'
36328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36329 (eval $ac_try) 2>&5
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); }; }; then
36333 wx_cv_func_vsnprintf_decl
=yes
36335 echo "$as_me: failed program was:" >&5
36336 sed 's/^/| /' conftest.
$ac_ext >&5
36338 wx_cv_func_vsnprintf_decl
=no
36341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36345 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36346 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
36348 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36349 cat >>confdefs.h
<<\_ACEOF
36350 #define HAVE_VSNPRINTF_DECL 1
36354 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36355 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
36356 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36357 echo $ECHO_N "(cached) $ECHO_C" >&6
36360 cat >conftest.
$ac_ext <<_ACEOF
36363 cat confdefs.h
>>conftest.
$ac_ext
36364 cat >>conftest.
$ac_ext <<_ACEOF
36365 /* end confdefs.h. */
36368 #include <stdarg.h>
36370 #if __MSL__ >= 0x6000
36372 using namespace std;
36382 const char *fmt = "%s";
36383 vsnprintf(buf, 10u, fmt, ap);
36389 rm -f conftest.
$ac_objext
36390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36391 (eval $ac_compile) 2>conftest.er1
36393 grep -v '^ *+' conftest.er1
>conftest.err
36395 cat conftest.err
>&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } &&
36398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36400 (eval $ac_try) 2>&5
36402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403 (exit $ac_status); }; } &&
36404 { ac_try
='test -s conftest.$ac_objext'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; }; then
36410 wx_cv_func_broken_vsnprintf_decl
=no
36412 echo "$as_me: failed program was:" >&5
36413 sed 's/^/| /' conftest.
$ac_ext >&5
36415 wx_cv_func_broken_vsnprintf_decl
=yes
36418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36422 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36423 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
36425 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36426 cat >>confdefs.h
<<\_ACEOF
36427 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36434 if test "$ac_cv_func_snprintf" = "yes"; then
36435 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36436 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
36437 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36438 echo $ECHO_N "(cached) $ECHO_C" >&6
36441 cat >conftest.
$ac_ext <<_ACEOF
36444 cat confdefs.h
>>conftest.
$ac_ext
36445 cat >>conftest.
$ac_ext <<_ACEOF
36446 /* end confdefs.h. */
36449 #include <stdarg.h>
36451 #if __MSL__ >= 0x6000
36453 using namespace std;
36462 snprintf(buf, 10u, "%s", "wx");
36468 rm -f conftest.
$ac_objext
36469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36470 (eval $ac_compile) 2>conftest.er1
36472 grep -v '^ *+' conftest.er1
>conftest.err
36474 cat conftest.err
>&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } &&
36477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36479 (eval $ac_try) 2>&5
36481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482 (exit $ac_status); }; } &&
36483 { ac_try
='test -s conftest.$ac_objext'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; }; then
36489 wx_cv_func_snprintf_decl
=yes
36491 echo "$as_me: failed program was:" >&5
36492 sed 's/^/| /' conftest.
$ac_ext >&5
36494 wx_cv_func_snprintf_decl
=no
36497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36501 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36502 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
36504 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36505 cat >>confdefs.h
<<\_ACEOF
36506 #define HAVE_SNPRINTF_DECL 1
36510 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36511 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
36512 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36513 echo $ECHO_N "(cached) $ECHO_C" >&6
36516 cat >conftest.
$ac_ext <<_ACEOF
36519 cat confdefs.h
>>conftest.
$ac_ext
36520 cat >>conftest.
$ac_ext <<_ACEOF
36521 /* end confdefs.h. */
36524 #include <stdarg.h>
36526 #if __MSL__ >= 0x6000
36528 using namespace std;
36537 const char *fmt = "%s";
36538 snprintf(buf, 10u, fmt, "wx");
36544 rm -f conftest.
$ac_objext
36545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36546 (eval $ac_compile) 2>conftest.er1
36548 grep -v '^ *+' conftest.er1
>conftest.err
36550 cat conftest.err
>&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } &&
36553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36555 (eval $ac_try) 2>&5
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); }; } &&
36559 { ac_try
='test -s conftest.$ac_objext'
36560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36561 (eval $ac_try) 2>&5
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); }; }; then
36565 wx_cv_func_broken_snprintf_decl
=no
36567 echo "$as_me: failed program was:" >&5
36568 sed 's/^/| /' conftest.
$ac_ext >&5
36570 wx_cv_func_broken_snprintf_decl
=yes
36573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36577 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36578 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
36580 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36581 cat >>confdefs.h
<<\_ACEOF
36582 #define HAVE_BROKEN_SNPRINTF_DECL 1
36588 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36590 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36591 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
36592 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36593 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 if test "$cross_compiling" = yes; then
36598 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36599 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36600 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36601 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36602 wx_cv_func_snprintf_pos_params
=no
36606 cat >conftest.
$ac_ext <<_ACEOF
36609 cat confdefs.h
>>conftest.
$ac_ext
36610 cat >>conftest.
$ac_ext <<_ACEOF
36611 /* end confdefs.h. */
36618 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
36619 if (strcmp ("2 3 1", buffer) == 0)
36625 rm -f conftest
$ac_exeext
36626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36627 (eval $ac_link) 2>&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36632 (eval $ac_try) 2>&5
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; }; then
36636 wx_cv_func_snprintf_pos_params
=no
36638 echo "$as_me: program exited with status $ac_status" >&5
36639 echo "$as_me: failed program was:" >&5
36640 sed 's/^/| /' conftest.
$ac_ext >&5
36642 ( exit $ac_status )
36643 wx_cv_func_snprintf_pos_params
=yes
36645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36650 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36651 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
36653 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36654 cat >>confdefs.h
<<\_ACEOF
36655 #define HAVE_UNIX98_PRINTF 1
36662 if test "$wxUSE_UNICODE" = yes; then
36665 for ac_func
in swprintf
36667 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36668 echo "$as_me:$LINENO: checking for $ac_func" >&5
36669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36670 if eval "test \"\${$as_ac_var+set}\" = set"; then
36671 echo $ECHO_N "(cached) $ECHO_C" >&6
36673 cat >conftest.
$ac_ext <<_ACEOF
36676 cat confdefs.h
>>conftest.
$ac_ext
36677 cat >>conftest.
$ac_ext <<_ACEOF
36678 /* end confdefs.h. */
36679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36681 #define $ac_func innocuous_$ac_func
36683 /* System header to define __stub macros and hopefully few prototypes,
36684 which can conflict with char $ac_func (); below.
36685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36686 <limits.h> exists even on freestanding compilers. */
36689 # include <limits.h>
36691 # include <assert.h>
36696 /* Override any gcc2 internal prototype to avoid an error. */
36701 /* We use char because int might match the return type of a gcc2
36702 builtin and then its argument prototype would still apply. */
36704 /* The GNU C library defines this for functions which it implements
36705 to always fail with ENOSYS. Some functions are actually named
36706 something starting with __ and the normal name is an alias. */
36707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36710 char (*f) () = $ac_func;
36719 return f != $ac_func;
36724 rm -f conftest.
$ac_objext conftest
$ac_exeext
36725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36726 (eval $ac_link) 2>conftest.er1
36728 grep -v '^ *+' conftest.er1
>conftest.err
36730 cat conftest.err
>&5
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); } &&
36733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36735 (eval $ac_try) 2>&5
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); }; } &&
36739 { ac_try
='test -s conftest$ac_exeext'
36740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36741 (eval $ac_try) 2>&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); }; }; then
36745 eval "$as_ac_var=yes"
36747 echo "$as_me: failed program was:" >&5
36748 sed 's/^/| /' conftest.
$ac_ext >&5
36750 eval "$as_ac_var=no"
36752 rm -f conftest.err conftest.
$ac_objext \
36753 conftest
$ac_exeext conftest.
$ac_ext
36755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36757 if test `eval echo '${'$as_ac_var'}'` = yes; then
36758 cat >>confdefs.h
<<_ACEOF
36759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36766 if test "$ac_cv_func_swprintf" = "yes"; then
36767 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36768 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36769 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36770 echo $ECHO_N "(cached) $ECHO_C" >&6
36773 cat >conftest.
$ac_ext <<_ACEOF
36776 cat confdefs.h
>>conftest.
$ac_ext
36777 cat >>conftest.
$ac_ext <<_ACEOF
36778 /* end confdefs.h. */
36781 #include <stdarg.h>
36789 const wchar_t *fmt = L"test";
36790 swprintf(buf, 10u, fmt);
36796 rm -f conftest.
$ac_objext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36798 (eval $ac_compile) 2>conftest.er1
36800 grep -v '^ *+' conftest.er1
>conftest.err
36802 cat conftest.err
>&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36807 (eval $ac_try) 2>&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); }; } &&
36811 { ac_try
='test -s conftest.$ac_objext'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; }; then
36817 wx_cv_func_broken_swprintf_decl
=no
36819 echo "$as_me: failed program was:" >&5
36820 sed 's/^/| /' conftest.
$ac_ext >&5
36822 wx_cv_func_broken_swprintf_decl
=yes
36825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36829 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36830 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36832 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36833 cat >>confdefs.h
<<\_ACEOF
36834 #define HAVE_BROKEN_SWPRINTF_DECL 1
36846 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
36848 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36849 echo "$as_me:$LINENO: checking for $ac_func" >&5
36850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36851 if eval "test \"\${$as_ac_var+set}\" = set"; then
36852 echo $ECHO_N "(cached) $ECHO_C" >&6
36854 cat >conftest.
$ac_ext <<_ACEOF
36857 cat confdefs.h
>>conftest.
$ac_ext
36858 cat >>conftest.
$ac_ext <<_ACEOF
36859 /* end confdefs.h. */
36860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36862 #define $ac_func innocuous_$ac_func
36864 /* System header to define __stub macros and hopefully few prototypes,
36865 which can conflict with char $ac_func (); below.
36866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36867 <limits.h> exists even on freestanding compilers. */
36870 # include <limits.h>
36872 # include <assert.h>
36877 /* Override any gcc2 internal prototype to avoid an error. */
36882 /* We use char because int might match the return type of a gcc2
36883 builtin and then its argument prototype would still apply. */
36885 /* The GNU C library defines this for functions which it implements
36886 to always fail with ENOSYS. Some functions are actually named
36887 something starting with __ and the normal name is an alias. */
36888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36891 char (*f) () = $ac_func;
36900 return f != $ac_func;
36905 rm -f conftest.
$ac_objext conftest
$ac_exeext
36906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36907 (eval $ac_link) 2>conftest.er1
36909 grep -v '^ *+' conftest.er1
>conftest.err
36911 cat conftest.err
>&5
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); } &&
36914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; } &&
36920 { ac_try
='test -s conftest$ac_exeext'
36921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36922 (eval $ac_try) 2>&5
36924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925 (exit $ac_status); }; }; then
36926 eval "$as_ac_var=yes"
36928 echo "$as_me: failed program was:" >&5
36929 sed 's/^/| /' conftest.
$ac_ext >&5
36931 eval "$as_ac_var=no"
36933 rm -f conftest.err conftest.
$ac_objext \
36934 conftest
$ac_exeext conftest.
$ac_ext
36936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36938 if test `eval echo '${'$as_ac_var'}'` = yes; then
36939 cat >>confdefs.h
<<_ACEOF
36940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36947 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36948 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36949 cat >conftest.
$ac_ext <<_ACEOF
36952 cat confdefs.h
>>conftest.
$ac_ext
36953 cat >>conftest.
$ac_ext <<_ACEOF
36954 /* end confdefs.h. */
36964 rm -f conftest.
$ac_objext
36965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36966 (eval $ac_compile) 2>conftest.er1
36968 grep -v '^ *+' conftest.er1
>conftest.err
36970 cat conftest.err
>&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } &&
36973 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36975 (eval $ac_try) 2>&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); }; } &&
36979 { ac_try
='test -s conftest.$ac_objext'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; }; then
36985 echo "$as_me:$LINENO: result: yes" >&5
36986 echo "${ECHO_T}yes" >&6
36987 cat >>confdefs.h
<<\_ACEOF
36988 #define HAVE__VSNWPRINTF 1
36992 echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.
$ac_ext >&5
36995 echo "$as_me:$LINENO: result: no" >&5
36996 echo "${ECHO_T}no" >&6
36998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
37001 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37003 for ac_func
in fnmatch
37005 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37006 echo "$as_me:$LINENO: checking for $ac_func" >&5
37007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37008 if eval "test \"\${$as_ac_var+set}\" = set"; then
37009 echo $ECHO_N "(cached) $ECHO_C" >&6
37011 cat >conftest.
$ac_ext <<_ACEOF
37014 cat confdefs.h
>>conftest.
$ac_ext
37015 cat >>conftest.
$ac_ext <<_ACEOF
37016 /* end confdefs.h. */
37017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37019 #define $ac_func innocuous_$ac_func
37021 /* System header to define __stub macros and hopefully few prototypes,
37022 which can conflict with char $ac_func (); below.
37023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37024 <limits.h> exists even on freestanding compilers. */
37027 # include <limits.h>
37029 # include <assert.h>
37034 /* Override any gcc2 internal prototype to avoid an error. */
37039 /* We use char because int might match the return type of a gcc2
37040 builtin and then its argument prototype would still apply. */
37042 /* The GNU C library defines this for functions which it implements
37043 to always fail with ENOSYS. Some functions are actually named
37044 something starting with __ and the normal name is an alias. */
37045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37048 char (*f) () = $ac_func;
37057 return f != $ac_func;
37062 rm -f conftest.
$ac_objext conftest
$ac_exeext
37063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37064 (eval $ac_link) 2>conftest.er1
37066 grep -v '^ *+' conftest.er1
>conftest.err
37068 cat conftest.err
>&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); } &&
37071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37073 (eval $ac_try) 2>&5
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); }; } &&
37077 { ac_try
='test -s conftest$ac_exeext'
37078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37079 (eval $ac_try) 2>&5
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); }; }; then
37083 eval "$as_ac_var=yes"
37085 echo "$as_me: failed program was:" >&5
37086 sed 's/^/| /' conftest.
$ac_ext >&5
37088 eval "$as_ac_var=no"
37090 rm -f conftest.err conftest.
$ac_objext \
37091 conftest
$ac_exeext conftest.
$ac_ext
37093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37095 if test `eval echo '${'$as_ac_var'}'` = yes; then
37096 cat >>confdefs.h
<<_ACEOF
37097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37105 if test "$wxUSE_FILE" = "yes"; then
37107 for ac_func
in fsync
37109 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37110 echo "$as_me:$LINENO: checking for $ac_func" >&5
37111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37112 if eval "test \"\${$as_ac_var+set}\" = set"; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37115 cat >conftest.
$ac_ext <<_ACEOF
37118 cat confdefs.h
>>conftest.
$ac_ext
37119 cat >>conftest.
$ac_ext <<_ACEOF
37120 /* end confdefs.h. */
37121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37123 #define $ac_func innocuous_$ac_func
37125 /* System header to define __stub macros and hopefully few prototypes,
37126 which can conflict with char $ac_func (); below.
37127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37128 <limits.h> exists even on freestanding compilers. */
37131 # include <limits.h>
37133 # include <assert.h>
37138 /* Override any gcc2 internal prototype to avoid an error. */
37143 /* We use char because int might match the return type of a gcc2
37144 builtin and then its argument prototype would still apply. */
37146 /* The GNU C library defines this for functions which it implements
37147 to always fail with ENOSYS. Some functions are actually named
37148 something starting with __ and the normal name is an alias. */
37149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37152 char (*f) () = $ac_func;
37161 return f != $ac_func;
37166 rm -f conftest.
$ac_objext conftest
$ac_exeext
37167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37168 (eval $ac_link) 2>conftest.er1
37170 grep -v '^ *+' conftest.er1
>conftest.err
37172 cat conftest.err
>&5
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); } &&
37175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177 (eval $ac_try) 2>&5
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); }; } &&
37181 { ac_try
='test -s conftest$ac_exeext'
37182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37183 (eval $ac_try) 2>&5
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); }; }; then
37187 eval "$as_ac_var=yes"
37189 echo "$as_me: failed program was:" >&5
37190 sed 's/^/| /' conftest.
$ac_ext >&5
37192 eval "$as_ac_var=no"
37194 rm -f conftest.err conftest.
$ac_objext \
37195 conftest
$ac_exeext conftest.
$ac_ext
37197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37199 if test `eval echo '${'$as_ac_var'}'` = yes; then
37200 cat >>confdefs.h
<<_ACEOF
37201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37210 for ac_func
in round
37212 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37213 echo "$as_me:$LINENO: checking for $ac_func" >&5
37214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37215 if eval "test \"\${$as_ac_var+set}\" = set"; then
37216 echo $ECHO_N "(cached) $ECHO_C" >&6
37218 cat >conftest.
$ac_ext <<_ACEOF
37221 cat confdefs.h
>>conftest.
$ac_ext
37222 cat >>conftest.
$ac_ext <<_ACEOF
37223 /* end confdefs.h. */
37224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37226 #define $ac_func innocuous_$ac_func
37228 /* System header to define __stub macros and hopefully few prototypes,
37229 which can conflict with char $ac_func (); below.
37230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37231 <limits.h> exists even on freestanding compilers. */
37234 # include <limits.h>
37236 # include <assert.h>
37241 /* Override any gcc2 internal prototype to avoid an error. */
37246 /* We use char because int might match the return type of a gcc2
37247 builtin and then its argument prototype would still apply. */
37249 /* The GNU C library defines this for functions which it implements
37250 to always fail with ENOSYS. Some functions are actually named
37251 something starting with __ and the normal name is an alias. */
37252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37255 char (*f) () = $ac_func;
37264 return f != $ac_func;
37269 rm -f conftest.
$ac_objext conftest
$ac_exeext
37270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37271 (eval $ac_link) 2>conftest.er1
37273 grep -v '^ *+' conftest.er1
>conftest.err
37275 cat conftest.err
>&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); } &&
37278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37280 (eval $ac_try) 2>&5
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); }; } &&
37284 { ac_try
='test -s conftest$ac_exeext'
37285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37286 (eval $ac_try) 2>&5
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); }; }; then
37290 eval "$as_ac_var=yes"
37292 echo "$as_me: failed program was:" >&5
37293 sed 's/^/| /' conftest.
$ac_ext >&5
37295 eval "$as_ac_var=no"
37297 rm -f conftest.err conftest.
$ac_objext \
37298 conftest
$ac_exeext conftest.
$ac_ext
37300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37302 if test `eval echo '${'$as_ac_var'}'` = yes; then
37303 cat >>confdefs.h
<<_ACEOF
37304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37310 if test "$ac_cv_func_round" = yes; then
37311 echo "$as_me:$LINENO: checking whether round is declared" >&5
37312 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
37313 if test "${ac_cv_have_decl_round+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37316 cat >conftest.
$ac_ext <<_ACEOF
37319 cat confdefs.h
>>conftest.
$ac_ext
37320 cat >>conftest.
$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37328 char *p = (char *) round;
37335 rm -f conftest.
$ac_objext
37336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37337 (eval $ac_compile) 2>conftest.er1
37339 grep -v '^ *+' conftest.er1
>conftest.err
37341 cat conftest.err
>&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); } &&
37344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37346 (eval $ac_try) 2>&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); }; } &&
37350 { ac_try
='test -s conftest.$ac_objext'
37351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352 (eval $ac_try) 2>&5
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); }; }; then
37356 ac_cv_have_decl_round
=yes
37358 echo "$as_me: failed program was:" >&5
37359 sed 's/^/| /' conftest.
$ac_ext >&5
37361 ac_cv_have_decl_round
=no
37363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37365 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
37366 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
37367 if test $ac_cv_have_decl_round = yes; then
37369 cat >>confdefs.h
<<_ACEOF
37370 #define HAVE_DECL_ROUND 1
37375 cat >>confdefs.h
<<_ACEOF
37376 #define HAVE_DECL_ROUND 0
37386 if test "$TOOLKIT" != "MSW"; then
37392 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
37393 if test "${with_libiconv_prefix+set}" = set; then
37394 withval
="$with_libiconv_prefix"
37396 for dir
in `echo "$withval" | tr : ' '`; do
37397 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
37398 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
37403 echo "$as_me:$LINENO: checking for iconv" >&5
37404 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
37405 if test "${am_cv_func_iconv+set}" = set; then
37406 echo $ECHO_N "(cached) $ECHO_C" >&6
37409 am_cv_func_iconv
="no, consider installing GNU libiconv"
37411 cat >conftest.
$ac_ext <<_ACEOF
37414 cat confdefs.h
>>conftest.
$ac_ext
37415 cat >>conftest.
$ac_ext <<_ACEOF
37416 /* end confdefs.h. */
37417 #include <stdlib.h>
37422 iconv_t cd = iconv_open("","");
37423 iconv(cd,NULL,NULL,NULL,NULL);
37429 rm -f conftest.
$ac_objext conftest
$ac_exeext
37430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37431 (eval $ac_link) 2>conftest.er1
37433 grep -v '^ *+' conftest.er1
>conftest.err
37435 cat conftest.err
>&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); } &&
37438 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37440 (eval $ac_try) 2>&5
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); }; } &&
37444 { ac_try
='test -s conftest$ac_exeext'
37445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37446 (eval $ac_try) 2>&5
37448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37449 (exit $ac_status); }; }; then
37450 am_cv_func_iconv
=yes
37452 echo "$as_me: failed program was:" >&5
37453 sed 's/^/| /' conftest.
$ac_ext >&5
37456 rm -f conftest.err conftest.
$ac_objext \
37457 conftest
$ac_exeext conftest.
$ac_ext
37458 if test "$am_cv_func_iconv" != yes; then
37459 am_save_LIBS
="$LIBS"
37460 LIBS
="$LIBS -liconv"
37461 cat >conftest.
$ac_ext <<_ACEOF
37464 cat confdefs.h
>>conftest.
$ac_ext
37465 cat >>conftest.
$ac_ext <<_ACEOF
37466 /* end confdefs.h. */
37467 #include <stdlib.h>
37472 iconv_t cd = iconv_open("","");
37473 iconv(cd,NULL,NULL,NULL,NULL);
37479 rm -f conftest.
$ac_objext conftest
$ac_exeext
37480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37481 (eval $ac_link) 2>conftest.er1
37483 grep -v '^ *+' conftest.er1
>conftest.err
37485 cat conftest.err
>&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } &&
37488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37490 (eval $ac_try) 2>&5
37492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37493 (exit $ac_status); }; } &&
37494 { ac_try
='test -s conftest$ac_exeext'
37495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37496 (eval $ac_try) 2>&5
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); }; }; then
37500 am_cv_lib_iconv
=yes
37501 am_cv_func_iconv
=yes
37503 echo "$as_me: failed program was:" >&5
37504 sed 's/^/| /' conftest.
$ac_ext >&5
37507 rm -f conftest.err conftest.
$ac_objext \
37508 conftest
$ac_exeext conftest.
$ac_ext
37509 LIBS
="$am_save_LIBS"
37513 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37514 echo "${ECHO_T}$am_cv_func_iconv" >&6
37515 if test "$am_cv_func_iconv" = yes; then
37517 cat >>confdefs.h
<<\_ACEOF
37518 #define HAVE_ICONV 1
37521 echo "$as_me:$LINENO: checking if iconv needs const" >&5
37522 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
37523 if test "${wx_cv_func_iconv_const+set}" = set; then
37524 echo $ECHO_N "(cached) $ECHO_C" >&6
37526 cat >conftest.
$ac_ext <<_ACEOF
37529 cat confdefs.h
>>conftest.
$ac_ext
37530 cat >>conftest.
$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37533 #include <stdlib.h>
37539 #if defined(__STDC__) || defined(__cplusplus)
37540 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37553 rm -f conftest.
$ac_objext
37554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37555 (eval $ac_compile) 2>conftest.er1
37557 grep -v '^ *+' conftest.er1
>conftest.err
37559 cat conftest.err
>&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } &&
37562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; } &&
37568 { ac_try
='test -s conftest.$ac_objext'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; }; then
37574 wx_cv_func_iconv_const
="no"
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.
$ac_ext >&5
37579 wx_cv_func_iconv_const
="yes"
37582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37585 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37586 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37589 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37590 iconv_const
="const"
37594 cat >>confdefs.h
<<_ACEOF
37595 #define ICONV_CONST $iconv_const
37600 if test "$am_cv_lib_iconv" = yes; then
37605 LIBS
="$LIBICONV $LIBS"
37607 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37609 for ac_func
in sigaction
37611 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37612 echo "$as_me:$LINENO: checking for $ac_func" >&5
37613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37614 if eval "test \"\${$as_ac_var+set}\" = set"; then
37615 echo $ECHO_N "(cached) $ECHO_C" >&6
37617 cat >conftest.
$ac_ext <<_ACEOF
37620 cat confdefs.h
>>conftest.
$ac_ext
37621 cat >>conftest.
$ac_ext <<_ACEOF
37622 /* end confdefs.h. */
37623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37625 #define $ac_func innocuous_$ac_func
37627 /* System header to define __stub macros and hopefully few prototypes,
37628 which can conflict with char $ac_func (); below.
37629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37630 <limits.h> exists even on freestanding compilers. */
37633 # include <limits.h>
37635 # include <assert.h>
37640 /* Override any gcc2 internal prototype to avoid an error. */
37645 /* We use char because int might match the return type of a gcc2
37646 builtin and then its argument prototype would still apply. */
37648 /* The GNU C library defines this for functions which it implements
37649 to always fail with ENOSYS. Some functions are actually named
37650 something starting with __ and the normal name is an alias. */
37651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37654 char (*f) () = $ac_func;
37663 return f != $ac_func;
37668 rm -f conftest.
$ac_objext conftest
$ac_exeext
37669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37670 (eval $ac_link) 2>conftest.er1
37672 grep -v '^ *+' conftest.er1
>conftest.err
37674 cat conftest.err
>&5
37675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37676 (exit $ac_status); } &&
37677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37679 (eval $ac_try) 2>&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); }; } &&
37683 { ac_try
='test -s conftest$ac_exeext'
37684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37685 (eval $ac_try) 2>&5
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); }; }; then
37689 eval "$as_ac_var=yes"
37691 echo "$as_me: failed program was:" >&5
37692 sed 's/^/| /' conftest.
$ac_ext >&5
37694 eval "$as_ac_var=no"
37696 rm -f conftest.err conftest.
$ac_objext \
37697 conftest
$ac_exeext conftest.
$ac_ext
37699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37701 if test `eval echo '${'$as_ac_var'}'` = yes; then
37702 cat >>confdefs.h
<<_ACEOF
37703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37710 if test "$ac_cv_func_sigaction" = "no"; then
37711 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37712 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37713 wxUSE_ON_FATAL_EXCEPTION
=no
37716 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37717 echo "$as_me:$LINENO: checking for sa_handler type" >&5
37718 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
37719 if test "${wx_cv_type_sa_handler+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 cat >conftest.
$ac_ext <<_ACEOF
37726 cat confdefs.h
>>conftest.
$ac_ext
37727 cat >>conftest.
$ac_ext <<_ACEOF
37728 /* end confdefs.h. */
37729 #include <signal.h>
37734 extern void testSigHandler(int);
37736 struct sigaction sa;
37737 sa.sa_handler = testSigHandler;
37743 rm -f conftest.
$ac_objext
37744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37745 (eval $ac_compile) 2>conftest.er1
37747 grep -v '^ *+' conftest.er1
>conftest.err
37749 cat conftest.err
>&5
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); } &&
37752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37754 (eval $ac_try) 2>&5
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); }; } &&
37758 { ac_try
='test -s conftest.$ac_objext'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; }; then
37765 wx_cv_type_sa_handler
=int
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.
$ac_ext >&5
37772 wx_cv_type_sa_handler
=void
37775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37778 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37779 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37781 cat >>confdefs.h
<<_ACEOF
37782 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37788 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37789 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37790 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37791 if test "${wx_cv_func_backtrace+set}" = set; then
37792 echo $ECHO_N "(cached) $ECHO_C" >&6
37795 cat >conftest.
$ac_ext <<_ACEOF
37798 cat confdefs.h
>>conftest.
$ac_ext
37799 cat >>conftest.
$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37801 #include <execinfo.h>
37809 backtrace(trace, 1);
37810 messages = backtrace_symbols(trace, 1);
37816 rm -f conftest.
$ac_objext
37817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37818 (eval $ac_compile) 2>conftest.er1
37820 grep -v '^ *+' conftest.er1
>conftest.err
37822 cat conftest.err
>&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); } &&
37825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37827 (eval $ac_try) 2>&5
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); }; } &&
37831 { ac_try
='test -s conftest.$ac_objext'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; }; then
37837 wx_cv_func_backtrace
=yes
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.
$ac_ext >&5
37842 wx_cv_func_backtrace
=no
37845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37849 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37850 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37853 if test "$wx_cv_func_backtrace" = "no"; then
37854 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37855 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37856 wxUSE_STACKWALKER
=no
37858 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37859 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37860 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37861 echo $ECHO_N "(cached) $ECHO_C" >&6
37864 cat >conftest.
$ac_ext <<_ACEOF
37867 cat confdefs.h
>>conftest.
$ac_ext
37868 cat >>conftest.
$ac_ext <<_ACEOF
37869 /* end confdefs.h. */
37870 #include <cxxabi.h>
37876 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37882 rm -f conftest.
$ac_objext conftest
$ac_exeext
37883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37884 (eval $ac_link) 2>conftest.er1
37886 grep -v '^ *+' conftest.er1
>conftest.err
37888 cat conftest.err
>&5
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); } &&
37891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37893 (eval $ac_try) 2>&5
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); }; } &&
37897 { ac_try
='test -s conftest$ac_exeext'
37898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37899 (eval $ac_try) 2>&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); }; }; then
37903 wx_cv_func_cxa_demangle
=yes
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.
$ac_ext >&5
37908 wx_cv_func_cxa_demangle
=no
37911 rm -f conftest.err conftest.
$ac_objext \
37912 conftest
$ac_exeext conftest.
$ac_ext
37916 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37917 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37919 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37920 cat >>confdefs.h
<<\_ACEOF
37921 #define HAVE_CXA_DEMANGLE 1
37928 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37929 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37930 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37931 wxUSE_STACKWALKER
=no
37937 for ac_func
in mkstemp mktemp
37939 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37942 if eval "test \"\${$as_ac_var+set}\" = set"; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 cat >conftest.
$ac_ext <<_ACEOF
37948 cat confdefs.h
>>conftest.
$ac_ext
37949 cat >>conftest.
$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37961 # include <limits.h>
37963 # include <assert.h>
37968 /* Override any gcc2 internal prototype to avoid an error. */
37973 /* We use char because int might match the return type of a gcc2
37974 builtin and then its argument prototype would still apply. */
37976 /* The GNU C library defines this for functions which it implements
37977 to always fail with ENOSYS. Some functions are actually named
37978 something starting with __ and the normal name is an alias. */
37979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37982 char (*f) () = $ac_func;
37991 return f != $ac_func;
37996 rm -f conftest.
$ac_objext conftest
$ac_exeext
37997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37998 (eval $ac_link) 2>conftest.er1
38000 grep -v '^ *+' conftest.er1
>conftest.err
38002 cat conftest.err
>&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } &&
38005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38007 (eval $ac_try) 2>&5
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); }; } &&
38011 { ac_try
='test -s conftest$ac_exeext'
38012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38013 (eval $ac_try) 2>&5
38015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38016 (exit $ac_status); }; }; then
38017 eval "$as_ac_var=yes"
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.
$ac_ext >&5
38022 eval "$as_ac_var=no"
38024 rm -f conftest.err conftest.
$ac_objext \
38025 conftest
$ac_exeext conftest.
$ac_ext
38027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38029 if test `eval echo '${'$as_ac_var'}'` = yes; then
38030 cat >>confdefs.h
<<_ACEOF
38031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38038 echo "$as_me:$LINENO: checking for statfs" >&5
38039 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
38040 if test "${wx_cv_func_statfs+set}" = set; then
38041 echo $ECHO_N "(cached) $ECHO_C" >&6
38043 cat >conftest.
$ac_ext <<_ACEOF
38046 cat confdefs.h
>>conftest.
$ac_ext
38047 cat >>conftest.
$ac_ext <<_ACEOF
38048 /* end confdefs.h. */
38050 #if defined(__BSD__)
38051 #include <sys/param.h>
38052 #include <sys/mount.h>
38054 #include <sys/vfs.h>
38072 rm -f conftest.
$ac_objext
38073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38074 (eval $ac_compile) 2>conftest.er1
38076 grep -v '^ *+' conftest.er1
>conftest.err
38078 cat conftest.err
>&5
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); } &&
38081 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38083 (eval $ac_try) 2>&5
38085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38086 (exit $ac_status); }; } &&
38087 { ac_try
='test -s conftest.$ac_objext'
38088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38089 (eval $ac_try) 2>&5
38091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38092 (exit $ac_status); }; }; then
38093 wx_cv_func_statfs
=yes
38095 echo "$as_me: failed program was:" >&5
38096 sed 's/^/| /' conftest.
$ac_ext >&5
38098 wx_cv_func_statfs
=no
38101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38104 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38105 echo "${ECHO_T}$wx_cv_func_statfs" >&6
38107 if test "$wx_cv_func_statfs" = "yes"; then
38108 echo "$as_me:$LINENO: checking for statfs declaration" >&5
38109 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
38110 if test "${wx_cv_func_statfs_decl+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 cat >conftest.
$ac_ext <<_ACEOF
38116 cat confdefs.h
>>conftest.
$ac_ext
38117 cat >>conftest.
$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38120 #if defined(__BSD__)
38121 #include <sys/param.h>
38122 #include <sys/mount.h>
38124 #include <sys/vfs.h>
38138 rm -f conftest.
$ac_objext
38139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38140 (eval $ac_compile) 2>conftest.er1
38142 grep -v '^ *+' conftest.er1
>conftest.err
38144 cat conftest.err
>&5
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); } &&
38147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38149 (eval $ac_try) 2>&5
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); }; } &&
38153 { ac_try
='test -s conftest.$ac_objext'
38154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38155 (eval $ac_try) 2>&5
38157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38158 (exit $ac_status); }; }; then
38159 wx_cv_func_statfs_decl
=yes
38161 echo "$as_me: failed program was:" >&5
38162 sed 's/^/| /' conftest.
$ac_ext >&5
38164 wx_cv_func_statfs_decl
=no
38167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38170 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38171 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
38173 if test "$wx_cv_func_statfs_decl" = "yes"; then
38174 cat >>confdefs.h
<<\_ACEOF
38175 #define HAVE_STATFS_DECL 1
38180 wx_cv_type_statvfs_t
="struct statfs"
38181 cat >>confdefs.h
<<\_ACEOF
38182 #define HAVE_STATFS 1
38186 echo "$as_me:$LINENO: checking for statvfs" >&5
38187 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
38188 if test "${wx_cv_func_statvfs+set}" = set; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 cat >conftest.
$ac_ext <<_ACEOF
38194 cat confdefs.h
>>conftest.
$ac_ext
38195 cat >>conftest.
$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38198 #include <stddef.h>
38199 #include <sys/statvfs.h>
38205 statvfs("/", NULL);
38211 rm -f conftest.
$ac_objext
38212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38213 (eval $ac_compile) 2>conftest.er1
38215 grep -v '^ *+' conftest.er1
>conftest.err
38217 cat conftest.err
>&5
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); } &&
38220 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222 (eval $ac_try) 2>&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); }; } &&
38226 { ac_try
='test -s conftest.$ac_objext'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; }; then
38232 wx_cv_func_statvfs
=yes
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.
$ac_ext >&5
38237 wx_cv_func_statvfs
=no
38240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38243 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38244 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
38246 if test "$wx_cv_func_statvfs" = "yes"; then
38247 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38248 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
38249 if test "${wx_cv_type_statvfs_t+set}" = set; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 cat >conftest.
$ac_ext <<_ACEOF
38255 cat confdefs.h
>>conftest.
$ac_ext
38256 cat >>conftest.
$ac_ext <<_ACEOF
38257 /* end confdefs.h. */
38259 #include <sys/statvfs.h>
38276 rm -f conftest.
$ac_objext
38277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38278 (eval $ac_compile) 2>conftest.er1
38280 grep -v '^ *+' conftest.er1
>conftest.err
38282 cat conftest.err
>&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); } &&
38285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38287 (eval $ac_try) 2>&5
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); }; } &&
38291 { ac_try
='test -s conftest.$ac_objext'
38292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293 (eval $ac_try) 2>&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); }; }; then
38297 wx_cv_type_statvfs_t
=statvfs_t
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.
$ac_ext >&5
38303 cat >conftest.
$ac_ext <<_ACEOF
38306 cat confdefs.h
>>conftest.
$ac_ext
38307 cat >>conftest.
$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38310 #include <sys/statvfs.h>
38327 rm -f conftest.
$ac_objext
38328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38329 (eval $ac_compile) 2>conftest.er1
38331 grep -v '^ *+' conftest.er1
>conftest.err
38333 cat conftest.err
>&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } &&
38336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38338 (eval $ac_try) 2>&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); }; } &&
38342 { ac_try
='test -s conftest.$ac_objext'
38343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38344 (eval $ac_try) 2>&5
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); }; }; then
38348 wx_cv_type_statvfs_t
="struct statvfs"
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.
$ac_ext >&5
38353 wx_cv_type_statvfs_t
="unknown"
38356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38363 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38364 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
38366 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38367 cat >>confdefs.h
<<\_ACEOF
38368 #define HAVE_STATVFS 1
38373 wx_cv_type_statvfs_t
="unknown"
38377 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38378 cat >>confdefs.h
<<_ACEOF
38379 #define WX_STATFS_T $wx_cv_type_statvfs_t
38383 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38384 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38387 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38390 for ac_func
in fcntl flock
38392 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38393 echo "$as_me:$LINENO: checking for $ac_func" >&5
38394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38395 if eval "test \"\${$as_ac_var+set}\" = set"; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38398 cat >conftest.
$ac_ext <<_ACEOF
38401 cat confdefs.h
>>conftest.
$ac_ext
38402 cat >>conftest.
$ac_ext <<_ACEOF
38403 /* end confdefs.h. */
38404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38406 #define $ac_func innocuous_$ac_func
38408 /* System header to define __stub macros and hopefully few prototypes,
38409 which can conflict with char $ac_func (); below.
38410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38411 <limits.h> exists even on freestanding compilers. */
38414 # include <limits.h>
38416 # include <assert.h>
38421 /* Override any gcc2 internal prototype to avoid an error. */
38426 /* We use char because int might match the return type of a gcc2
38427 builtin and then its argument prototype would still apply. */
38429 /* The GNU C library defines this for functions which it implements
38430 to always fail with ENOSYS. Some functions are actually named
38431 something starting with __ and the normal name is an alias. */
38432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38435 char (*f) () = $ac_func;
38444 return f != $ac_func;
38449 rm -f conftest.
$ac_objext conftest
$ac_exeext
38450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38451 (eval $ac_link) 2>conftest.er1
38453 grep -v '^ *+' conftest.er1
>conftest.err
38455 cat conftest.err
>&5
38456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38457 (exit $ac_status); } &&
38458 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38460 (eval $ac_try) 2>&5
38462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463 (exit $ac_status); }; } &&
38464 { ac_try
='test -s conftest$ac_exeext'
38465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38466 (eval $ac_try) 2>&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); }; }; then
38470 eval "$as_ac_var=yes"
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.
$ac_ext >&5
38475 eval "$as_ac_var=no"
38477 rm -f conftest.err conftest.
$ac_objext \
38478 conftest
$ac_exeext conftest.
$ac_ext
38480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38482 if test `eval echo '${'$as_ac_var'}'` = yes; then
38483 cat >>confdefs.h
<<_ACEOF
38484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38491 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38492 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38493 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38494 wxUSE_SNGLINST_CHECKER
=no
38499 for ac_func
in timegm
38501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38502 echo "$as_me:$LINENO: checking for $ac_func" >&5
38503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38504 if eval "test \"\${$as_ac_var+set}\" = set"; then
38505 echo $ECHO_N "(cached) $ECHO_C" >&6
38507 cat >conftest.
$ac_ext <<_ACEOF
38510 cat confdefs.h
>>conftest.
$ac_ext
38511 cat >>conftest.
$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38515 #define $ac_func innocuous_$ac_func
38517 /* System header to define __stub macros and hopefully few prototypes,
38518 which can conflict with char $ac_func (); below.
38519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38520 <limits.h> exists even on freestanding compilers. */
38523 # include <limits.h>
38525 # include <assert.h>
38530 /* Override any gcc2 internal prototype to avoid an error. */
38535 /* We use char because int might match the return type of a gcc2
38536 builtin and then its argument prototype would still apply. */
38538 /* The GNU C library defines this for functions which it implements
38539 to always fail with ENOSYS. Some functions are actually named
38540 something starting with __ and the normal name is an alias. */
38541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38544 char (*f) () = $ac_func;
38553 return f != $ac_func;
38558 rm -f conftest.
$ac_objext conftest
$ac_exeext
38559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38560 (eval $ac_link) 2>conftest.er1
38562 grep -v '^ *+' conftest.er1
>conftest.err
38564 cat conftest.err
>&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); } &&
38567 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38569 (eval $ac_try) 2>&5
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); }; } &&
38573 { ac_try
='test -s conftest$ac_exeext'
38574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38575 (eval $ac_try) 2>&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); }; }; then
38579 eval "$as_ac_var=yes"
38581 echo "$as_me: failed program was:" >&5
38582 sed 's/^/| /' conftest.
$ac_ext >&5
38584 eval "$as_ac_var=no"
38586 rm -f conftest.err conftest.
$ac_objext \
38587 conftest
$ac_exeext conftest.
$ac_ext
38589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38591 if test `eval echo '${'$as_ac_var'}'` = yes; then
38592 cat >>confdefs.h
<<_ACEOF
38593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38602 for ac_func
in putenv setenv
38604 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38605 echo "$as_me:$LINENO: checking for $ac_func" >&5
38606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38607 if eval "test \"\${$as_ac_var+set}\" = set"; then
38608 echo $ECHO_N "(cached) $ECHO_C" >&6
38610 cat >conftest.
$ac_ext <<_ACEOF
38613 cat confdefs.h
>>conftest.
$ac_ext
38614 cat >>conftest.
$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38618 #define $ac_func innocuous_$ac_func
38620 /* System header to define __stub macros and hopefully few prototypes,
38621 which can conflict with char $ac_func (); below.
38622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38623 <limits.h> exists even on freestanding compilers. */
38626 # include <limits.h>
38628 # include <assert.h>
38633 /* Override any gcc2 internal prototype to avoid an error. */
38638 /* We use char because int might match the return type of a gcc2
38639 builtin and then its argument prototype would still apply. */
38641 /* The GNU C library defines this for functions which it implements
38642 to always fail with ENOSYS. Some functions are actually named
38643 something starting with __ and the normal name is an alias. */
38644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38647 char (*f) () = $ac_func;
38656 return f != $ac_func;
38661 rm -f conftest.
$ac_objext conftest
$ac_exeext
38662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38663 (eval $ac_link) 2>conftest.er1
38665 grep -v '^ *+' conftest.er1
>conftest.err
38667 cat conftest.err
>&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } &&
38670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38672 (eval $ac_try) 2>&5
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); }; } &&
38676 { ac_try
='test -s conftest$ac_exeext'
38677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38678 (eval $ac_try) 2>&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; }; then
38682 eval "$as_ac_var=yes"
38684 echo "$as_me: failed program was:" >&5
38685 sed 's/^/| /' conftest.
$ac_ext >&5
38687 eval "$as_ac_var=no"
38689 rm -f conftest.err conftest.
$ac_objext \
38690 conftest
$ac_exeext conftest.
$ac_ext
38692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38694 if test `eval echo '${'$as_ac_var'}'` = yes; then
38695 cat >>confdefs.h
<<_ACEOF
38696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38703 HAVE_SOME_SLEEP_FUNC
=0
38704 if test "$USE_BEOS" = 1; then
38705 cat >>confdefs.h
<<\_ACEOF
38706 #define HAVE_SLEEP 1
38709 HAVE_SOME_SLEEP_FUNC
=1
38712 if test "$USE_DARWIN" = 1; then
38713 cat >>confdefs.h
<<\_ACEOF
38714 #define HAVE_USLEEP 1
38717 HAVE_SOME_SLEEP_FUNC
=1
38720 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38723 for ac_func
in nanosleep
38725 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38726 echo "$as_me:$LINENO: checking for $ac_func" >&5
38727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38728 if eval "test \"\${$as_ac_var+set}\" = set"; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 cat >conftest.
$ac_ext <<_ACEOF
38734 cat confdefs.h
>>conftest.
$ac_ext
38735 cat >>conftest.
$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38739 #define $ac_func innocuous_$ac_func
38741 /* System header to define __stub macros and hopefully few prototypes,
38742 which can conflict with char $ac_func (); below.
38743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38744 <limits.h> exists even on freestanding compilers. */
38747 # include <limits.h>
38749 # include <assert.h>
38754 /* Override any gcc2 internal prototype to avoid an error. */
38759 /* We use char because int might match the return type of a gcc2
38760 builtin and then its argument prototype would still apply. */
38762 /* The GNU C library defines this for functions which it implements
38763 to always fail with ENOSYS. Some functions are actually named
38764 something starting with __ and the normal name is an alias. */
38765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38768 char (*f) () = $ac_func;
38777 return f != $ac_func;
38782 rm -f conftest.
$ac_objext conftest
$ac_exeext
38783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38784 (eval $ac_link) 2>conftest.er1
38786 grep -v '^ *+' conftest.er1
>conftest.err
38788 cat conftest.err
>&5
38789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38790 (exit $ac_status); } &&
38791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38793 (eval $ac_try) 2>&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); }; } &&
38797 { ac_try
='test -s conftest$ac_exeext'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; }; then
38803 eval "$as_ac_var=yes"
38805 echo "$as_me: failed program was:" >&5
38806 sed 's/^/| /' conftest.
$ac_ext >&5
38808 eval "$as_ac_var=no"
38810 rm -f conftest.err conftest.
$ac_objext \
38811 conftest
$ac_exeext conftest.
$ac_ext
38813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38815 if test `eval echo '${'$as_ac_var'}'` = yes; then
38816 cat >>confdefs.h
<<_ACEOF
38817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38819 cat >>confdefs.h
<<\_ACEOF
38820 #define HAVE_NANOSLEEP 1
38825 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38826 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38827 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38828 echo $ECHO_N "(cached) $ECHO_C" >&6
38830 ac_check_lib_save_LIBS
=$LIBS
38831 LIBS
="-lposix4 $LIBS"
38832 cat >conftest.
$ac_ext <<_ACEOF
38835 cat confdefs.h
>>conftest.
$ac_ext
38836 cat >>conftest.
$ac_ext <<_ACEOF
38837 /* end confdefs.h. */
38839 /* Override any gcc2 internal prototype to avoid an error. */
38843 /* We use char because int might match the return type of a gcc2
38844 builtin and then its argument prototype would still apply. */
38854 rm -f conftest.
$ac_objext conftest
$ac_exeext
38855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38856 (eval $ac_link) 2>conftest.er1
38858 grep -v '^ *+' conftest.er1
>conftest.err
38860 cat conftest.err
>&5
38861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38862 (exit $ac_status); } &&
38863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38865 (eval $ac_try) 2>&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); }; } &&
38869 { ac_try
='test -s conftest$ac_exeext'
38870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38871 (eval $ac_try) 2>&5
38873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38874 (exit $ac_status); }; }; then
38875 ac_cv_lib_posix4_nanosleep
=yes
38877 echo "$as_me: failed program was:" >&5
38878 sed 's/^/| /' conftest.
$ac_ext >&5
38880 ac_cv_lib_posix4_nanosleep
=no
38882 rm -f conftest.err conftest.
$ac_objext \
38883 conftest
$ac_exeext conftest.
$ac_ext
38884 LIBS
=$ac_check_lib_save_LIBS
38886 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38887 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38888 if test $ac_cv_lib_posix4_nanosleep = yes; then
38890 cat >>confdefs.h
<<\_ACEOF
38891 #define HAVE_NANOSLEEP 1
38894 POSIX4_LINK
=" -lposix4"
38899 for ac_func
in usleep
38901 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38902 echo "$as_me:$LINENO: checking for $ac_func" >&5
38903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38904 if eval "test \"\${$as_ac_var+set}\" = set"; then
38905 echo $ECHO_N "(cached) $ECHO_C" >&6
38907 cat >conftest.
$ac_ext <<_ACEOF
38910 cat confdefs.h
>>conftest.
$ac_ext
38911 cat >>conftest.
$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38915 #define $ac_func innocuous_$ac_func
38917 /* System header to define __stub macros and hopefully few prototypes,
38918 which can conflict with char $ac_func (); below.
38919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38920 <limits.h> exists even on freestanding compilers. */
38923 # include <limits.h>
38925 # include <assert.h>
38930 /* Override any gcc2 internal prototype to avoid an error. */
38935 /* We use char because int might match the return type of a gcc2
38936 builtin and then its argument prototype would still apply. */
38938 /* The GNU C library defines this for functions which it implements
38939 to always fail with ENOSYS. Some functions are actually named
38940 something starting with __ and the normal name is an alias. */
38941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38944 char (*f) () = $ac_func;
38953 return f != $ac_func;
38958 rm -f conftest.
$ac_objext conftest
$ac_exeext
38959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38960 (eval $ac_link) 2>conftest.er1
38962 grep -v '^ *+' conftest.er1
>conftest.err
38964 cat conftest.err
>&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } &&
38967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38969 (eval $ac_try) 2>&5
38971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972 (exit $ac_status); }; } &&
38973 { ac_try
='test -s conftest$ac_exeext'
38974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38975 (eval $ac_try) 2>&5
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); }; }; then
38979 eval "$as_ac_var=yes"
38981 echo "$as_me: failed program was:" >&5
38982 sed 's/^/| /' conftest.
$ac_ext >&5
38984 eval "$as_ac_var=no"
38986 rm -f conftest.err conftest.
$ac_objext \
38987 conftest
$ac_exeext conftest.
$ac_ext
38989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38991 if test `eval echo '${'$as_ac_var'}'` = yes; then
38992 cat >>confdefs.h
<<_ACEOF
38993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38995 cat >>confdefs.h
<<\_ACEOF
38996 #define HAVE_USLEEP 1
39000 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39001 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39019 for ac_func
in uname gethostname
39021 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39022 echo "$as_me:$LINENO: checking for $ac_func" >&5
39023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39024 if eval "test \"\${$as_ac_var+set}\" = set"; then
39025 echo $ECHO_N "(cached) $ECHO_C" >&6
39027 cat >conftest.
$ac_ext <<_ACEOF
39030 cat confdefs.h
>>conftest.
$ac_ext
39031 cat >>conftest.
$ac_ext <<_ACEOF
39032 /* end confdefs.h. */
39033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39035 #define $ac_func innocuous_$ac_func
39037 /* System header to define __stub macros and hopefully few prototypes,
39038 which can conflict with char $ac_func (); below.
39039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39040 <limits.h> exists even on freestanding compilers. */
39043 # include <limits.h>
39045 # include <assert.h>
39050 /* Override any gcc2 internal prototype to avoid an error. */
39055 /* We use char because int might match the return type of a gcc2
39056 builtin and then its argument prototype would still apply. */
39058 /* The GNU C library defines this for functions which it implements
39059 to always fail with ENOSYS. Some functions are actually named
39060 something starting with __ and the normal name is an alias. */
39061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39064 char (*f) () = $ac_func;
39073 return f != $ac_func;
39078 rm -f conftest.
$ac_objext conftest
$ac_exeext
39079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39080 (eval $ac_link) 2>conftest.er1
39082 grep -v '^ *+' conftest.er1
>conftest.err
39084 cat conftest.err
>&5
39085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39086 (exit $ac_status); } &&
39087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39089 (eval $ac_try) 2>&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); }; } &&
39093 { ac_try
='test -s conftest$ac_exeext'
39094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39095 (eval $ac_try) 2>&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); }; }; then
39099 eval "$as_ac_var=yes"
39101 echo "$as_me: failed program was:" >&5
39102 sed 's/^/| /' conftest.
$ac_ext >&5
39104 eval "$as_ac_var=no"
39106 rm -f conftest.err conftest.
$ac_objext \
39107 conftest
$ac_exeext conftest.
$ac_ext
39109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39111 if test `eval echo '${'$as_ac_var'}'` = yes; then
39112 cat >>confdefs.h
<<_ACEOF
39113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39121 for wx_func
in strtok_r
39123 echo "$as_me:$LINENO: checking for $wx_func" >&5
39124 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39125 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39126 echo $ECHO_N "(cached) $ECHO_C" >&6
39129 cat >conftest.
$ac_ext <<_ACEOF
39133 cat confdefs.h
>>conftest.
$ac_ext
39134 cat >>conftest.
$ac_ext <<_ACEOF
39135 /* end confdefs.h. */
39138 $ac_includes_default
39154 rm -f conftest.
$ac_objext conftest
$ac_exeext
39155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39156 (eval $ac_link) 2>conftest.er1
39158 grep -v '^ *+' conftest.er1
>conftest.err
39160 cat conftest.err
>&5
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); } &&
39163 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39165 (eval $ac_try) 2>&5
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); }; } &&
39169 { ac_try
='test -s conftest$ac_exeext'
39170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39171 (eval $ac_try) 2>&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); }; }; then
39175 eval wx_cv_func_
$wx_func=yes
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.
$ac_ext >&5
39180 eval wx_cv_func_
$wx_func=no
39182 rm -f conftest.err conftest.
$ac_objext \
39183 conftest
$ac_exeext conftest.
$ac_ext
39186 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39187 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39189 if eval test \
$wx_cv_func_$wx_func = yes
39191 cat >>confdefs.h
<<_ACEOF
39192 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39205 for ac_func
in inet_addr
39207 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39208 echo "$as_me:$LINENO: checking for $ac_func" >&5
39209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39210 if eval "test \"\${$as_ac_var+set}\" = set"; then
39211 echo $ECHO_N "(cached) $ECHO_C" >&6
39213 cat >conftest.
$ac_ext <<_ACEOF
39216 cat confdefs.h
>>conftest.
$ac_ext
39217 cat >>conftest.
$ac_ext <<_ACEOF
39218 /* end confdefs.h. */
39219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39221 #define $ac_func innocuous_$ac_func
39223 /* System header to define __stub macros and hopefully few prototypes,
39224 which can conflict with char $ac_func (); below.
39225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39226 <limits.h> exists even on freestanding compilers. */
39229 # include <limits.h>
39231 # include <assert.h>
39236 /* Override any gcc2 internal prototype to avoid an error. */
39241 /* We use char because int might match the return type of a gcc2
39242 builtin and then its argument prototype would still apply. */
39244 /* The GNU C library defines this for functions which it implements
39245 to always fail with ENOSYS. Some functions are actually named
39246 something starting with __ and the normal name is an alias. */
39247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39250 char (*f) () = $ac_func;
39259 return f != $ac_func;
39264 rm -f conftest.
$ac_objext conftest
$ac_exeext
39265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39266 (eval $ac_link) 2>conftest.er1
39268 grep -v '^ *+' conftest.er1
>conftest.err
39270 cat conftest.err
>&5
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); } &&
39273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
39279 { ac_try
='test -s conftest$ac_exeext'
39280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39281 (eval $ac_try) 2>&5
39283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284 (exit $ac_status); }; }; then
39285 eval "$as_ac_var=yes"
39287 echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.
$ac_ext >&5
39290 eval "$as_ac_var=no"
39292 rm -f conftest.err conftest.
$ac_objext \
39293 conftest
$ac_exeext conftest.
$ac_ext
39295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39297 if test `eval echo '${'$as_ac_var'}'` = yes; then
39298 cat >>confdefs.h
<<_ACEOF
39299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39301 cat >>confdefs.h
<<\_ACEOF
39302 #define HAVE_INET_ADDR 1
39307 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39308 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
39309 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39310 echo $ECHO_N "(cached) $ECHO_C" >&6
39312 ac_check_lib_save_LIBS
=$LIBS
39314 cat >conftest.
$ac_ext <<_ACEOF
39317 cat confdefs.h
>>conftest.
$ac_ext
39318 cat >>conftest.
$ac_ext <<_ACEOF
39319 /* end confdefs.h. */
39321 /* Override any gcc2 internal prototype to avoid an error. */
39325 /* We use char because int might match the return type of a gcc2
39326 builtin and then its argument prototype would still apply. */
39336 rm -f conftest.
$ac_objext conftest
$ac_exeext
39337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39338 (eval $ac_link) 2>conftest.er1
39340 grep -v '^ *+' conftest.er1
>conftest.err
39342 cat conftest.err
>&5
39343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39344 (exit $ac_status); } &&
39345 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39347 (eval $ac_try) 2>&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); }; } &&
39351 { ac_try
='test -s conftest$ac_exeext'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; }; then
39357 ac_cv_lib_nsl_inet_addr
=yes
39359 echo "$as_me: failed program was:" >&5
39360 sed 's/^/| /' conftest.
$ac_ext >&5
39362 ac_cv_lib_nsl_inet_addr
=no
39364 rm -f conftest.err conftest.
$ac_objext \
39365 conftest
$ac_exeext conftest.
$ac_ext
39366 LIBS
=$ac_check_lib_save_LIBS
39368 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39369 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
39370 if test $ac_cv_lib_nsl_inet_addr = yes; then
39374 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39375 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
39376 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39377 echo $ECHO_N "(cached) $ECHO_C" >&6
39379 ac_check_lib_save_LIBS
=$LIBS
39380 LIBS
="-lresolv $LIBS"
39381 cat >conftest.
$ac_ext <<_ACEOF
39384 cat confdefs.h
>>conftest.
$ac_ext
39385 cat >>conftest.
$ac_ext <<_ACEOF
39386 /* end confdefs.h. */
39388 /* Override any gcc2 internal prototype to avoid an error. */
39392 /* We use char because int might match the return type of a gcc2
39393 builtin and then its argument prototype would still apply. */
39403 rm -f conftest.
$ac_objext conftest
$ac_exeext
39404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39405 (eval $ac_link) 2>conftest.er1
39407 grep -v '^ *+' conftest.er1
>conftest.err
39409 cat conftest.err
>&5
39410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39411 (exit $ac_status); } &&
39412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39414 (eval $ac_try) 2>&5
39416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39417 (exit $ac_status); }; } &&
39418 { ac_try
='test -s conftest$ac_exeext'
39419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39420 (eval $ac_try) 2>&5
39422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39423 (exit $ac_status); }; }; then
39424 ac_cv_lib_resolv_inet_addr
=yes
39426 echo "$as_me: failed program was:" >&5
39427 sed 's/^/| /' conftest.
$ac_ext >&5
39429 ac_cv_lib_resolv_inet_addr
=no
39431 rm -f conftest.err conftest.
$ac_objext \
39432 conftest
$ac_exeext conftest.
$ac_ext
39433 LIBS
=$ac_check_lib_save_LIBS
39435 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39436 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
39437 if test $ac_cv_lib_resolv_inet_addr = yes; then
39441 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39442 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
39443 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39444 echo $ECHO_N "(cached) $ECHO_C" >&6
39446 ac_check_lib_save_LIBS
=$LIBS
39447 LIBS
="-lsocket $LIBS"
39448 cat >conftest.
$ac_ext <<_ACEOF
39451 cat confdefs.h
>>conftest.
$ac_ext
39452 cat >>conftest.
$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39455 /* Override any gcc2 internal prototype to avoid an error. */
39459 /* We use char because int might match the return type of a gcc2
39460 builtin and then its argument prototype would still apply. */
39470 rm -f conftest.
$ac_objext conftest
$ac_exeext
39471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39472 (eval $ac_link) 2>conftest.er1
39474 grep -v '^ *+' conftest.er1
>conftest.err
39476 cat conftest.err
>&5
39477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478 (exit $ac_status); } &&
39479 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39481 (eval $ac_try) 2>&5
39483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39484 (exit $ac_status); }; } &&
39485 { ac_try
='test -s conftest$ac_exeext'
39486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39487 (eval $ac_try) 2>&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); }; }; then
39491 ac_cv_lib_socket_inet_addr
=yes
39493 echo "$as_me: failed program was:" >&5
39494 sed 's/^/| /' conftest.
$ac_ext >&5
39496 ac_cv_lib_socket_inet_addr
=no
39498 rm -f conftest.err conftest.
$ac_objext \
39499 conftest
$ac_exeext conftest.
$ac_ext
39500 LIBS
=$ac_check_lib_save_LIBS
39502 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39503 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
39504 if test $ac_cv_lib_socket_inet_addr = yes; then
39524 for ac_func
in inet_aton
39526 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39527 echo "$as_me:$LINENO: checking for $ac_func" >&5
39528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39529 if eval "test \"\${$as_ac_var+set}\" = set"; then
39530 echo $ECHO_N "(cached) $ECHO_C" >&6
39532 cat >conftest.
$ac_ext <<_ACEOF
39535 cat confdefs.h
>>conftest.
$ac_ext
39536 cat >>conftest.
$ac_ext <<_ACEOF
39537 /* end confdefs.h. */
39538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39540 #define $ac_func innocuous_$ac_func
39542 /* System header to define __stub macros and hopefully few prototypes,
39543 which can conflict with char $ac_func (); below.
39544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39545 <limits.h> exists even on freestanding compilers. */
39548 # include <limits.h>
39550 # include <assert.h>
39555 /* Override any gcc2 internal prototype to avoid an error. */
39560 /* We use char because int might match the return type of a gcc2
39561 builtin and then its argument prototype would still apply. */
39563 /* The GNU C library defines this for functions which it implements
39564 to always fail with ENOSYS. Some functions are actually named
39565 something starting with __ and the normal name is an alias. */
39566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39569 char (*f) () = $ac_func;
39578 return f != $ac_func;
39583 rm -f conftest.
$ac_objext conftest
$ac_exeext
39584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39585 (eval $ac_link) 2>conftest.er1
39587 grep -v '^ *+' conftest.er1
>conftest.err
39589 cat conftest.err
>&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } &&
39592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39594 (eval $ac_try) 2>&5
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); }; } &&
39598 { ac_try
='test -s conftest$ac_exeext'
39599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39600 (eval $ac_try) 2>&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); }; }; then
39604 eval "$as_ac_var=yes"
39606 echo "$as_me: failed program was:" >&5
39607 sed 's/^/| /' conftest.
$ac_ext >&5
39609 eval "$as_ac_var=no"
39611 rm -f conftest.err conftest.
$ac_objext \
39612 conftest
$ac_exeext conftest.
$ac_ext
39614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39616 if test `eval echo '${'$as_ac_var'}'` = yes; then
39617 cat >>confdefs.h
<<_ACEOF
39618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39620 cat >>confdefs.h
<<\_ACEOF
39621 #define HAVE_INET_ATON 1
39626 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39627 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39628 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
39629 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39632 ac_check_lib_save_LIBS
=$LIBS
39633 LIBS
="-l$INET_LINK $LIBS"
39634 cat >conftest.
$ac_ext <<_ACEOF
39637 cat confdefs.h
>>conftest.
$ac_ext
39638 cat >>conftest.
$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39641 /* Override any gcc2 internal prototype to avoid an error. */
39645 /* We use char because int might match the return type of a gcc2
39646 builtin and then its argument prototype would still apply. */
39656 rm -f conftest.
$ac_objext conftest
$ac_exeext
39657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39658 (eval $ac_link) 2>conftest.er1
39660 grep -v '^ *+' conftest.er1
>conftest.err
39662 cat conftest.err
>&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } &&
39665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39667 (eval $ac_try) 2>&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); }; } &&
39671 { ac_try
='test -s conftest$ac_exeext'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; }; then
39677 eval "$as_ac_Lib=yes"
39679 echo "$as_me: failed program was:" >&5
39680 sed 's/^/| /' conftest.
$ac_ext >&5
39682 eval "$as_ac_Lib=no"
39684 rm -f conftest.err conftest.
$ac_objext \
39685 conftest
$ac_exeext conftest.
$ac_ext
39686 LIBS
=$ac_check_lib_save_LIBS
39688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39689 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39690 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39691 cat >>confdefs.h
<<\_ACEOF
39692 #define HAVE_INET_ATON 1
39702 if test "x$INET_LINK" != "x"; then
39703 cat >>confdefs.h
<<\_ACEOF
39704 #define HAVE_INET_ADDR 1
39707 INET_LINK
=" -l$INET_LINK"
39711 for wx_func
in fdopen
39713 echo "$as_me:$LINENO: checking for $wx_func" >&5
39714 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39715 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39716 echo $ECHO_N "(cached) $ECHO_C" >&6
39719 cat >conftest.
$ac_ext <<_ACEOF
39723 cat confdefs.h
>>conftest.
$ac_ext
39724 cat >>conftest.
$ac_ext <<_ACEOF
39725 /* end confdefs.h. */
39728 $ac_includes_default
39744 rm -f conftest.
$ac_objext conftest
$ac_exeext
39745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39746 (eval $ac_link) 2>conftest.er1
39748 grep -v '^ *+' conftest.er1
>conftest.err
39750 cat conftest.err
>&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } &&
39753 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39755 (eval $ac_try) 2>&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); }; } &&
39759 { ac_try
='test -s conftest$ac_exeext'
39760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39761 (eval $ac_try) 2>&5
39763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39764 (exit $ac_status); }; }; then
39765 eval wx_cv_func_
$wx_func=yes
39767 echo "$as_me: failed program was:" >&5
39768 sed 's/^/| /' conftest.
$ac_ext >&5
39770 eval wx_cv_func_
$wx_func=no
39772 rm -f conftest.err conftest.
$ac_objext \
39773 conftest
$ac_exeext conftest.
$ac_ext
39776 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39777 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39779 if eval test \
$wx_cv_func_$wx_func = yes
39781 cat >>confdefs.h
<<_ACEOF
39782 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39799 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39800 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39801 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39802 echo $ECHO_N "(cached) $ECHO_C" >&6
39804 ac_check_lib_save_LIBS
=$LIBS
39806 cat >conftest.
$ac_ext <<_ACEOF
39809 cat confdefs.h
>>conftest.
$ac_ext
39810 cat >>conftest.
$ac_ext <<_ACEOF
39811 /* end confdefs.h. */
39813 /* Override any gcc2 internal prototype to avoid an error. */
39817 /* We use char because int might match the return type of a gcc2
39818 builtin and then its argument prototype would still apply. */
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_lib_esd_esd_close
=yes
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.
$ac_ext >&5
39854 ac_cv_lib_esd_esd_close
=no
39856 rm -f conftest.err conftest.
$ac_objext \
39857 conftest
$ac_exeext conftest.
$ac_ext
39858 LIBS
=$ac_check_lib_save_LIBS
39860 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39861 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39862 if test $ac_cv_lib_esd_esd_close = yes; then
39865 for ac_header
in esd.h
39867 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39869 echo "$as_me:$LINENO: checking for $ac_header" >&5
39870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39872 echo $ECHO_N "(cached) $ECHO_C" >&6
39874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39877 # Is the header compilable?
39878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39880 cat >conftest.
$ac_ext <<_ACEOF
39883 cat confdefs.h
>>conftest.
$ac_ext
39884 cat >>conftest.
$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 $ac_includes_default
39887 #include <$ac_header>
39889 rm -f conftest.
$ac_objext
39890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39891 (eval $ac_compile) 2>conftest.er1
39893 grep -v '^ *+' conftest.er1
>conftest.err
39895 cat conftest.err
>&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } &&
39898 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; } &&
39904 { ac_try
='test -s conftest.$ac_objext'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; }; then
39910 ac_header_compiler
=yes
39912 echo "$as_me: failed program was:" >&5
39913 sed 's/^/| /' conftest.
$ac_ext >&5
39915 ac_header_compiler
=no
39917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39919 echo "${ECHO_T}$ac_header_compiler" >&6
39921 # Is the header present?
39922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39924 cat >conftest.
$ac_ext <<_ACEOF
39927 cat confdefs.h
>>conftest.
$ac_ext
39928 cat >>conftest.
$ac_ext <<_ACEOF
39929 /* end confdefs.h. */
39930 #include <$ac_header>
39932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39933 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39935 grep -v '^ *+' conftest.er1
>conftest.err
39937 cat conftest.err
>&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); } >/dev
/null
; then
39940 if test -s conftest.err
; then
39941 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39942 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39949 if test -z "$ac_cpp_err"; then
39950 ac_header_preproc
=yes
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.
$ac_ext >&5
39955 ac_header_preproc
=no
39957 rm -f conftest.err conftest.
$ac_ext
39958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39959 echo "${ECHO_T}$ac_header_preproc" >&6
39961 # So? What about this header?
39962 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39968 ac_header_preproc
=yes
39971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39985 ## ----------------------------------------- ##
39986 ## Report this to wx-dev@lists.wxwidgets.org ##
39987 ## ----------------------------------------- ##
39990 sed "s/^/$as_me: WARNING: /" >&2
39993 echo "$as_me:$LINENO: checking for $ac_header" >&5
39994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39996 echo $ECHO_N "(cached) $ECHO_C" >&6
39998 eval "$as_ac_Header=\$ac_header_preproc"
40000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40005 cat >>confdefs.h
<<_ACEOF
40006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40009 EXTRALIBS_ESD
="-lesd"
40020 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
40021 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
40022 cat >conftest.
$ac_ext <<_ACEOF
40025 cat confdefs.h
>>conftest.
$ac_ext
40026 cat >>conftest.
$ac_ext <<_ACEOF
40027 /* end confdefs.h. */
40029 #include <linux/cdrom.h>
40032 #include <sys/cdio.h>
40038 struct cdrom_tocentry entry, old_entry;
40043 rm -f conftest.
$ac_objext
40044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40045 (eval $ac_compile) 2>conftest.er1
40047 grep -v '^ *+' conftest.er1
>conftest.err
40049 cat conftest.err
>&5
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); } &&
40052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40054 (eval $ac_try) 2>&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); }; } &&
40058 { ac_try
='test -s conftest.$ac_objext'
40059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40060 (eval $ac_try) 2>&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); }; }; then
40064 echo "$as_me:$LINENO: result: yes" >&5
40065 echo "${ECHO_T}yes" >&6
40066 cat >>confdefs.h
<<\_ACEOF
40067 #define HAVE_KNOWN_CDROM_INTERFACE 1
40071 echo "$as_me: failed program was:" >&5
40072 sed 's/^/| /' conftest.
$ac_ext >&5
40074 echo "$as_me:$LINENO: result: no" >&5
40075 echo "${ECHO_T}no" >&6
40077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40080 cat >confcache
<<\_ACEOF
40081 # This file is a shell script that caches the results of configure
40082 # tests run on this system so they can be shared between configure
40083 # scripts and configure runs, see configure's option --config-cache.
40084 # It is not useful on other systems. If it contains results you don't
40085 # want to keep, you may remove or edit it.
40087 # config.status only pays attention to the cache file if you give it
40088 # the --recheck option to rerun configure.
40090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40092 # following values.
40096 # The following way of writing the cache mishandles newlines in values,
40097 # but we know of no workaround that is simple, portable, and efficient.
40098 # So, don't put newlines in cache variables' values.
40099 # Ultrix sh set writes to stderr and can't be redirected directly,
40100 # and sets the high bit in the cache file unless we assign to the vars.
40103 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40105 # `set' does not quote correctly, so add quotes (double-quote
40106 # substitution turns \\\\ into \\, and sed turns \\ into \).
40109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40112 # `set' quotes correctly as required by POSIX, so do not add quotes.
40114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40121 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40123 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40125 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
40126 if test -w $cache_file; then
40127 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40128 cat confcache
>$cache_file
40130 echo "not updating unwritable cache $cache_file"
40136 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40142 if test "$wxUSE_THREADS" = "yes" ; then
40143 if test "$USE_BEOS" = 1; then
40144 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40145 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40150 if test "$wxUSE_THREADS" = "yes" ; then
40153 THREAD_OPTS
="-pthread"
40155 *-*-solaris2* | *-*-sunos4* )
40156 if test "x$GCC" = "xyes"; then
40157 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40159 THREAD_OPTS
="-mt $THREAD_OPTS"
40163 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40165 *-*-darwin* | *-*-cygwin* )
40169 THREAD_OPTS
="pthreads"
40172 if test "x$GCC" = "xyes"; then
40173 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40181 if test "x$GCC" = "xyes"; then
40187 if test "x$GCC" != "xyes"; then
40188 THREAD_OPTS
="-Ethread"
40193 THREAD_OPTS
="$THREAD_OPTS pthread none"
40196 for flag
in $THREAD_OPTS; do
40199 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40200 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
40204 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40205 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
40206 THREADS_CXXFLAGS
="$flag"
40210 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40211 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
40212 THREADS_LINK
="-l$flag"
40217 save_CXXFLAGS
="$CXXFLAGS"
40218 LIBS
="$THREADS_LINK $LIBS"
40219 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
40221 cat >conftest.
$ac_ext <<_ACEOF
40224 cat confdefs.h
>>conftest.
$ac_ext
40225 cat >>conftest.
$ac_ext <<_ACEOF
40226 /* end confdefs.h. */
40227 #include <pthread.h>
40231 pthread_create(0,0,0,0);
40236 rm -f conftest.
$ac_objext conftest
$ac_exeext
40237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40238 (eval $ac_link) 2>conftest.er1
40240 grep -v '^ *+' conftest.er1
>conftest.err
40242 cat conftest.err
>&5
40243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40244 (exit $ac_status); } &&
40245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40247 (eval $ac_try) 2>&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); }; } &&
40251 { ac_try
='test -s conftest$ac_exeext'
40252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40253 (eval $ac_try) 2>&5
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); }; }; then
40259 echo "$as_me: failed program was:" >&5
40260 sed 's/^/| /' conftest.
$ac_ext >&5
40263 rm -f conftest.err conftest.
$ac_objext \
40264 conftest
$ac_exeext conftest.
$ac_ext
40267 CXXFLAGS
="$save_CXXFLAGS"
40269 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40270 echo "${ECHO_T}$THREADS_OK" >&6
40271 if test "x$THREADS_OK" = "xyes"; then
40276 THREADS_CXXFLAGS
=""
40279 if test "x$THREADS_OK" != "xyes"; then
40281 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40282 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40284 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
40285 LIBS
="$THREADS_LINK $LIBS"
40287 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40288 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
40292 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
40293 flag
="-D_THREAD_SAFE"
40296 flag
="-D_THREAD_SAFE"
40299 flag
="-D_REENTRANT"
40300 if test "x$GCC" != "xyes"; then
40301 flag
="$flag -D_RWSTD_MULTI_THREAD"
40304 *solaris
* | alpha
*-osf*)
40305 flag
="-D_REENTRANT"
40308 echo "$as_me:$LINENO: result: ${flag}" >&5
40309 echo "${ECHO_T}${flag}" >&6
40310 if test "x$flag" != xno
; then
40311 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
40314 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
40318 if test "$wxUSE_THREADS" = "yes" ; then
40320 for ac_func
in thr_setconcurrency
40322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40323 echo "$as_me:$LINENO: checking for $ac_func" >&5
40324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40325 if eval "test \"\${$as_ac_var+set}\" = set"; then
40326 echo $ECHO_N "(cached) $ECHO_C" >&6
40328 cat >conftest.
$ac_ext <<_ACEOF
40331 cat confdefs.h
>>conftest.
$ac_ext
40332 cat >>conftest.
$ac_ext <<_ACEOF
40333 /* end confdefs.h. */
40334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40336 #define $ac_func innocuous_$ac_func
40338 /* System header to define __stub macros and hopefully few prototypes,
40339 which can conflict with char $ac_func (); below.
40340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40341 <limits.h> exists even on freestanding compilers. */
40344 # include <limits.h>
40346 # include <assert.h>
40351 /* Override any gcc2 internal prototype to avoid an error. */
40356 /* We use char because int might match the return type of a gcc2
40357 builtin and then its argument prototype would still apply. */
40359 /* The GNU C library defines this for functions which it implements
40360 to always fail with ENOSYS. Some functions are actually named
40361 something starting with __ and the normal name is an alias. */
40362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40365 char (*f) () = $ac_func;
40374 return f != $ac_func;
40379 rm -f conftest.
$ac_objext conftest
$ac_exeext
40380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40381 (eval $ac_link) 2>conftest.er1
40383 grep -v '^ *+' conftest.er1
>conftest.err
40385 cat conftest.err
>&5
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); } &&
40388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; } &&
40394 { ac_try
='test -s conftest$ac_exeext'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; }; then
40400 eval "$as_ac_var=yes"
40402 echo "$as_me: failed program was:" >&5
40403 sed 's/^/| /' conftest.
$ac_ext >&5
40405 eval "$as_ac_var=no"
40407 rm -f conftest.err conftest.
$ac_objext \
40408 conftest
$ac_exeext conftest.
$ac_ext
40410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40412 if test `eval echo '${'$as_ac_var'}'` = yes; then
40413 cat >>confdefs.h
<<_ACEOF
40414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40421 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40422 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
40423 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40427 cat >conftest.
$ac_ext <<_ACEOF
40430 cat confdefs.h
>>conftest.
$ac_ext
40431 cat >>conftest.
$ac_ext <<_ACEOF
40432 /* end confdefs.h. */
40433 #include <pthread.h>
40434 void ThreadCleanupFunc(void *p);
40441 pthread_cleanup_push(ThreadCleanupFunc, p);
40442 pthread_cleanup_pop(0);
40448 rm -f conftest.
$ac_objext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40450 (eval $ac_compile) 2>conftest.er1
40452 grep -v '^ *+' conftest.er1
>conftest.err
40454 cat conftest.err
>&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } &&
40457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459 (eval $ac_try) 2>&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); }; } &&
40463 { ac_try
='test -s conftest.$ac_objext'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; }; then
40470 wx_cv_func_pthread_cleanup
=yes
40473 echo "$as_me: failed program was:" >&5
40474 sed 's/^/| /' conftest.
$ac_ext >&5
40477 wx_cv_func_pthread_cleanup
=no
40481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40484 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40485 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
40486 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40487 cat >>confdefs.h
<<\_ACEOF
40488 #define wxHAVE_PTHREAD_CLEANUP 1
40494 for ac_header
in sched.h
40496 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40498 echo "$as_me:$LINENO: checking for $ac_header" >&5
40499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40501 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40506 # Is the header compilable?
40507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40509 cat >conftest.
$ac_ext <<_ACEOF
40512 cat confdefs.h
>>conftest.
$ac_ext
40513 cat >>conftest.
$ac_ext <<_ACEOF
40514 /* end confdefs.h. */
40515 $ac_includes_default
40516 #include <$ac_header>
40518 rm -f conftest.
$ac_objext
40519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40520 (eval $ac_compile) 2>conftest.er1
40522 grep -v '^ *+' conftest.er1
>conftest.err
40524 cat conftest.err
>&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } &&
40527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40529 (eval $ac_try) 2>&5
40531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40532 (exit $ac_status); }; } &&
40533 { ac_try
='test -s conftest.$ac_objext'
40534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40535 (eval $ac_try) 2>&5
40537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40538 (exit $ac_status); }; }; then
40539 ac_header_compiler
=yes
40541 echo "$as_me: failed program was:" >&5
40542 sed 's/^/| /' conftest.
$ac_ext >&5
40544 ac_header_compiler
=no
40546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40548 echo "${ECHO_T}$ac_header_compiler" >&6
40550 # Is the header present?
40551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40553 cat >conftest.
$ac_ext <<_ACEOF
40556 cat confdefs.h
>>conftest.
$ac_ext
40557 cat >>conftest.
$ac_ext <<_ACEOF
40558 /* end confdefs.h. */
40559 #include <$ac_header>
40561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
40564 grep -v '^ *+' conftest.er1
>conftest.err
40566 cat conftest.err
>&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); } >/dev
/null
; then
40569 if test -s conftest.err
; then
40570 ac_cpp_err
=$ac_cxx_preproc_warn_flag
40571 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
40578 if test -z "$ac_cpp_err"; then
40579 ac_header_preproc
=yes
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.
$ac_ext >&5
40584 ac_header_preproc
=no
40586 rm -f conftest.err conftest.
$ac_ext
40587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40588 echo "${ECHO_T}$ac_header_preproc" >&6
40590 # So? What about this header?
40591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40597 ac_header_preproc
=yes
40600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40614 ## ----------------------------------------- ##
40615 ## Report this to wx-dev@lists.wxwidgets.org ##
40616 ## ----------------------------------------- ##
40619 sed "s/^/$as_me: WARNING: /" >&2
40622 echo "$as_me:$LINENO: checking for $ac_header" >&5
40623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40625 echo $ECHO_N "(cached) $ECHO_C" >&6
40627 eval "$as_ac_Header=\$ac_header_preproc"
40629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40634 cat >>confdefs.h
<<_ACEOF
40635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40642 if test "$ac_cv_header_sched_h" = "yes"; then
40643 echo "$as_me:$LINENO: checking for sched_yield" >&5
40644 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40645 if test "${ac_cv_func_sched_yield+set}" = set; then
40646 echo $ECHO_N "(cached) $ECHO_C" >&6
40648 cat >conftest.
$ac_ext <<_ACEOF
40651 cat confdefs.h
>>conftest.
$ac_ext
40652 cat >>conftest.
$ac_ext <<_ACEOF
40653 /* end confdefs.h. */
40654 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40656 #define sched_yield innocuous_sched_yield
40658 /* System header to define __stub macros and hopefully few prototypes,
40659 which can conflict with char sched_yield (); below.
40660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40661 <limits.h> exists even on freestanding compilers. */
40664 # include <limits.h>
40666 # include <assert.h>
40671 /* Override any gcc2 internal prototype to avoid an error. */
40676 /* We use char because int might match the return type of a gcc2
40677 builtin and then its argument prototype would still apply. */
40678 char sched_yield ();
40679 /* The GNU C library defines this for functions which it implements
40680 to always fail with ENOSYS. Some functions are actually named
40681 something starting with __ and the normal name is an alias. */
40682 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40685 char (*f) () = sched_yield;
40694 return f != sched_yield;
40699 rm -f conftest.
$ac_objext conftest
$ac_exeext
40700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40701 (eval $ac_link) 2>conftest.er1
40703 grep -v '^ *+' conftest.er1
>conftest.err
40705 cat conftest.err
>&5
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); } &&
40708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; } &&
40714 { ac_try
='test -s conftest$ac_exeext'
40715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40716 (eval $ac_try) 2>&5
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); }; }; then
40720 ac_cv_func_sched_yield
=yes
40722 echo "$as_me: failed program was:" >&5
40723 sed 's/^/| /' conftest.
$ac_ext >&5
40725 ac_cv_func_sched_yield
=no
40727 rm -f conftest.err conftest.
$ac_objext \
40728 conftest
$ac_exeext conftest.
$ac_ext
40730 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40731 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40732 if test $ac_cv_func_sched_yield = yes; then
40733 cat >>confdefs.h
<<\_ACEOF
40734 #define HAVE_SCHED_YIELD 1
40739 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40740 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40741 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40744 ac_check_lib_save_LIBS
=$LIBS
40745 LIBS
="-lposix4 $LIBS"
40746 cat >conftest.
$ac_ext <<_ACEOF
40749 cat confdefs.h
>>conftest.
$ac_ext
40750 cat >>conftest.
$ac_ext <<_ACEOF
40751 /* end confdefs.h. */
40753 /* Override any gcc2 internal prototype to avoid an error. */
40757 /* We use char because int might match the return type of a gcc2
40758 builtin and then its argument prototype would still apply. */
40759 char sched_yield ();
40768 rm -f conftest.
$ac_objext conftest
$ac_exeext
40769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40770 (eval $ac_link) 2>conftest.er1
40772 grep -v '^ *+' conftest.er1
>conftest.err
40774 cat conftest.err
>&5
40775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776 (exit $ac_status); } &&
40777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40779 (eval $ac_try) 2>&5
40781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40782 (exit $ac_status); }; } &&
40783 { ac_try
='test -s conftest$ac_exeext'
40784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40785 (eval $ac_try) 2>&5
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); }; }; then
40789 ac_cv_lib_posix4_sched_yield
=yes
40791 echo "$as_me: failed program was:" >&5
40792 sed 's/^/| /' conftest.
$ac_ext >&5
40794 ac_cv_lib_posix4_sched_yield
=no
40796 rm -f conftest.err conftest.
$ac_objext \
40797 conftest
$ac_exeext conftest.
$ac_ext
40798 LIBS
=$ac_check_lib_save_LIBS
40800 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40801 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40802 if test $ac_cv_lib_posix4_sched_yield = yes; then
40803 cat >>confdefs.h
<<\_ACEOF
40804 #define HAVE_SCHED_YIELD 1
40806 POSIX4_LINK
=" -lposix4"
40808 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40809 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40820 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40821 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40822 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40823 echo $ECHO_N "(cached) $ECHO_C" >&6
40825 cat >conftest.
$ac_ext <<_ACEOF
40828 cat confdefs.h
>>conftest.
$ac_ext
40829 cat >>conftest.
$ac_ext <<_ACEOF
40830 /* end confdefs.h. */
40831 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40833 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40835 /* System header to define __stub macros and hopefully few prototypes,
40836 which can conflict with char pthread_attr_getschedpolicy (); below.
40837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40838 <limits.h> exists even on freestanding compilers. */
40841 # include <limits.h>
40843 # include <assert.h>
40846 #undef pthread_attr_getschedpolicy
40848 /* Override any gcc2 internal prototype to avoid an error. */
40853 /* We use char because int might match the return type of a gcc2
40854 builtin and then its argument prototype would still apply. */
40855 char pthread_attr_getschedpolicy ();
40856 /* The GNU C library defines this for functions which it implements
40857 to always fail with ENOSYS. Some functions are actually named
40858 something starting with __ and the normal name is an alias. */
40859 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40862 char (*f) () = pthread_attr_getschedpolicy;
40871 return f != pthread_attr_getschedpolicy;
40876 rm -f conftest.
$ac_objext conftest
$ac_exeext
40877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40878 (eval $ac_link) 2>conftest.er1
40880 grep -v '^ *+' conftest.er1
>conftest.err
40882 cat conftest.err
>&5
40883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884 (exit $ac_status); } &&
40885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40887 (eval $ac_try) 2>&5
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); }; } &&
40891 { ac_try
='test -s conftest$ac_exeext'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; }; then
40897 ac_cv_func_pthread_attr_getschedpolicy
=yes
40899 echo "$as_me: failed program was:" >&5
40900 sed 's/^/| /' conftest.
$ac_ext >&5
40902 ac_cv_func_pthread_attr_getschedpolicy
=no
40904 rm -f conftest.err conftest.
$ac_objext \
40905 conftest
$ac_exeext conftest.
$ac_ext
40907 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40908 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40909 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40910 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40911 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40912 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40913 echo $ECHO_N "(cached) $ECHO_C" >&6
40915 cat >conftest.
$ac_ext <<_ACEOF
40918 cat confdefs.h
>>conftest.
$ac_ext
40919 cat >>conftest.
$ac_ext <<_ACEOF
40920 /* end confdefs.h. */
40921 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40923 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40925 /* System header to define __stub macros and hopefully few prototypes,
40926 which can conflict with char pthread_attr_setschedparam (); below.
40927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40928 <limits.h> exists even on freestanding compilers. */
40931 # include <limits.h>
40933 # include <assert.h>
40936 #undef pthread_attr_setschedparam
40938 /* Override any gcc2 internal prototype to avoid an error. */
40943 /* We use char because int might match the return type of a gcc2
40944 builtin and then its argument prototype would still apply. */
40945 char pthread_attr_setschedparam ();
40946 /* The GNU C library defines this for functions which it implements
40947 to always fail with ENOSYS. Some functions are actually named
40948 something starting with __ and the normal name is an alias. */
40949 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40952 char (*f) () = pthread_attr_setschedparam;
40961 return f != pthread_attr_setschedparam;
40966 rm -f conftest.
$ac_objext conftest
$ac_exeext
40967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40968 (eval $ac_link) 2>conftest.er1
40970 grep -v '^ *+' conftest.er1
>conftest.err
40972 cat conftest.err
>&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } &&
40975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40977 (eval $ac_try) 2>&5
40979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40980 (exit $ac_status); }; } &&
40981 { ac_try
='test -s conftest$ac_exeext'
40982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40983 (eval $ac_try) 2>&5
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); }; }; then
40987 ac_cv_func_pthread_attr_setschedparam
=yes
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.
$ac_ext >&5
40992 ac_cv_func_pthread_attr_setschedparam
=no
40994 rm -f conftest.err conftest.
$ac_objext \
40995 conftest
$ac_exeext conftest.
$ac_ext
40997 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40998 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40999 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41000 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41001 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
41002 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41003 echo $ECHO_N "(cached) $ECHO_C" >&6
41005 cat >conftest.
$ac_ext <<_ACEOF
41008 cat confdefs.h
>>conftest.
$ac_ext
41009 cat >>conftest.
$ac_ext <<_ACEOF
41010 /* end confdefs.h. */
41011 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41013 #define sched_get_priority_max innocuous_sched_get_priority_max
41015 /* System header to define __stub macros and hopefully few prototypes,
41016 which can conflict with char sched_get_priority_max (); below.
41017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41018 <limits.h> exists even on freestanding compilers. */
41021 # include <limits.h>
41023 # include <assert.h>
41026 #undef sched_get_priority_max
41028 /* Override any gcc2 internal prototype to avoid an error. */
41033 /* We use char because int might match the return type of a gcc2
41034 builtin and then its argument prototype would still apply. */
41035 char sched_get_priority_max ();
41036 /* The GNU C library defines this for functions which it implements
41037 to always fail with ENOSYS. Some functions are actually named
41038 something starting with __ and the normal name is an alias. */
41039 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
41042 char (*f) () = sched_get_priority_max;
41051 return f != sched_get_priority_max;
41056 rm -f conftest.
$ac_objext conftest
$ac_exeext
41057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41058 (eval $ac_link) 2>conftest.er1
41060 grep -v '^ *+' conftest.er1
>conftest.err
41062 cat conftest.err
>&5
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); } &&
41065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41067 (eval $ac_try) 2>&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); }; } &&
41071 { ac_try
='test -s conftest$ac_exeext'
41072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41073 (eval $ac_try) 2>&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); }; }; then
41077 ac_cv_func_sched_get_priority_max
=yes
41079 echo "$as_me: failed program was:" >&5
41080 sed 's/^/| /' conftest.
$ac_ext >&5
41082 ac_cv_func_sched_get_priority_max
=no
41084 rm -f conftest.err conftest.
$ac_objext \
41085 conftest
$ac_exeext conftest.
$ac_ext
41087 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41088 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
41089 if test $ac_cv_func_sched_get_priority_max = yes; then
41092 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41093 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
41094 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41095 echo $ECHO_N "(cached) $ECHO_C" >&6
41097 ac_check_lib_save_LIBS
=$LIBS
41098 LIBS
="-lposix4 $LIBS"
41099 cat >conftest.
$ac_ext <<_ACEOF
41102 cat confdefs.h
>>conftest.
$ac_ext
41103 cat >>conftest.
$ac_ext <<_ACEOF
41104 /* end confdefs.h. */
41106 /* Override any gcc2 internal prototype to avoid an error. */
41110 /* We use char because int might match the return type of a gcc2
41111 builtin and then its argument prototype would still apply. */
41112 char sched_get_priority_max ();
41116 sched_get_priority_max ();
41121 rm -f conftest.
$ac_objext conftest
$ac_exeext
41122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41123 (eval $ac_link) 2>conftest.er1
41125 grep -v '^ *+' conftest.er1
>conftest.err
41127 cat conftest.err
>&5
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); } &&
41130 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41132 (eval $ac_try) 2>&5
41134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41135 (exit $ac_status); }; } &&
41136 { ac_try
='test -s conftest$ac_exeext'
41137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138 (eval $ac_try) 2>&5
41140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141 (exit $ac_status); }; }; then
41142 ac_cv_lib_posix4_sched_get_priority_max
=yes
41144 echo "$as_me: failed program was:" >&5
41145 sed 's/^/| /' conftest.
$ac_ext >&5
41147 ac_cv_lib_posix4_sched_get_priority_max
=no
41149 rm -f conftest.err conftest.
$ac_objext \
41150 conftest
$ac_exeext conftest.
$ac_ext
41151 LIBS
=$ac_check_lib_save_LIBS
41153 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41154 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
41155 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41158 POSIX4_LINK
=" -lposix4"
41172 if test "$HAVE_PRIOR_FUNCS" = 1; then
41173 cat >>confdefs.h
<<\_ACEOF
41174 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41178 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41179 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41182 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41183 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
41184 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41185 echo $ECHO_N "(cached) $ECHO_C" >&6
41187 cat >conftest.
$ac_ext <<_ACEOF
41190 cat confdefs.h
>>conftest.
$ac_ext
41191 cat >>conftest.
$ac_ext <<_ACEOF
41192 /* end confdefs.h. */
41193 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41195 #define pthread_cancel innocuous_pthread_cancel
41197 /* System header to define __stub macros and hopefully few prototypes,
41198 which can conflict with char pthread_cancel (); below.
41199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41200 <limits.h> exists even on freestanding compilers. */
41203 # include <limits.h>
41205 # include <assert.h>
41208 #undef pthread_cancel
41210 /* Override any gcc2 internal prototype to avoid an error. */
41215 /* We use char because int might match the return type of a gcc2
41216 builtin and then its argument prototype would still apply. */
41217 char pthread_cancel ();
41218 /* The GNU C library defines this for functions which it implements
41219 to always fail with ENOSYS. Some functions are actually named
41220 something starting with __ and the normal name is an alias. */
41221 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
41224 char (*f) () = pthread_cancel;
41233 return f != pthread_cancel;
41238 rm -f conftest.
$ac_objext conftest
$ac_exeext
41239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41240 (eval $ac_link) 2>conftest.er1
41242 grep -v '^ *+' conftest.er1
>conftest.err
41244 cat conftest.err
>&5
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); } &&
41247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41249 (eval $ac_try) 2>&5
41251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41252 (exit $ac_status); }; } &&
41253 { ac_try
='test -s conftest$ac_exeext'
41254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41255 (eval $ac_try) 2>&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); }; }; then
41259 ac_cv_func_pthread_cancel
=yes
41261 echo "$as_me: failed program was:" >&5
41262 sed 's/^/| /' conftest.
$ac_ext >&5
41264 ac_cv_func_pthread_cancel
=no
41266 rm -f conftest.err conftest.
$ac_objext \
41267 conftest
$ac_exeext conftest.
$ac_ext
41269 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41270 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
41271 if test $ac_cv_func_pthread_cancel = yes; then
41272 cat >>confdefs.h
<<\_ACEOF
41273 #define HAVE_PTHREAD_CANCEL 1
41277 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41278 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41282 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41283 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
41284 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41285 echo $ECHO_N "(cached) $ECHO_C" >&6
41287 cat >conftest.
$ac_ext <<_ACEOF
41290 cat confdefs.h
>>conftest.
$ac_ext
41291 cat >>conftest.
$ac_ext <<_ACEOF
41292 /* end confdefs.h. */
41293 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41295 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41297 /* System header to define __stub macros and hopefully few prototypes,
41298 which can conflict with char pthread_attr_setstacksize (); below.
41299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41300 <limits.h> exists even on freestanding compilers. */
41303 # include <limits.h>
41305 # include <assert.h>
41308 #undef pthread_attr_setstacksize
41310 /* Override any gcc2 internal prototype to avoid an error. */
41315 /* We use char because int might match the return type of a gcc2
41316 builtin and then its argument prototype would still apply. */
41317 char pthread_attr_setstacksize ();
41318 /* The GNU C library defines this for functions which it implements
41319 to always fail with ENOSYS. Some functions are actually named
41320 something starting with __ and the normal name is an alias. */
41321 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
41324 char (*f) () = pthread_attr_setstacksize;
41333 return f != pthread_attr_setstacksize;
41338 rm -f conftest.
$ac_objext conftest
$ac_exeext
41339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41340 (eval $ac_link) 2>conftest.er1
41342 grep -v '^ *+' conftest.er1
>conftest.err
41344 cat conftest.err
>&5
41345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41346 (exit $ac_status); } &&
41347 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41349 (eval $ac_try) 2>&5
41351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352 (exit $ac_status); }; } &&
41353 { ac_try
='test -s conftest$ac_exeext'
41354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41355 (eval $ac_try) 2>&5
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); }; }; then
41359 ac_cv_func_pthread_attr_setstacksize
=yes
41361 echo "$as_me: failed program was:" >&5
41362 sed 's/^/| /' conftest.
$ac_ext >&5
41364 ac_cv_func_pthread_attr_setstacksize
=no
41366 rm -f conftest.err conftest.
$ac_objext \
41367 conftest
$ac_exeext conftest.
$ac_ext
41369 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41370 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
41371 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41372 cat >>confdefs.h
<<\_ACEOF
41373 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41380 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41381 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
41382 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41383 echo $ECHO_N "(cached) $ECHO_C" >&6
41386 cat >conftest.
$ac_ext <<_ACEOF
41389 cat confdefs.h
>>conftest.
$ac_ext
41390 cat >>conftest.
$ac_ext <<_ACEOF
41391 /* end confdefs.h. */
41392 #include <pthread.h>
41397 pthread_mutexattr_t attr;
41398 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41404 rm -f conftest.
$ac_objext
41405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41406 (eval $ac_compile) 2>conftest.er1
41408 grep -v '^ *+' conftest.er1
>conftest.err
41410 cat conftest.err
>&5
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); } &&
41413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41415 (eval $ac_try) 2>&5
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); }; } &&
41419 { ac_try
='test -s conftest.$ac_objext'
41420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41421 (eval $ac_try) 2>&5
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); }; }; then
41425 wx_cv_type_pthread_mutexattr_t
=yes
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.
$ac_ext >&5
41430 wx_cv_type_pthread_mutexattr_t
=no
41433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41436 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41437 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
41439 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41440 cat >>confdefs.h
<<\_ACEOF
41441 #define HAVE_PTHREAD_MUTEXATTR_T 1
41445 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41446 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
41447 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41448 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 cat >conftest.
$ac_ext <<_ACEOF
41454 cat confdefs.h
>>conftest.
$ac_ext
41455 cat >>conftest.
$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41457 #include <pthread.h>
41462 pthread_mutexattr_t attr;
41463 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41469 rm -f conftest.
$ac_objext
41470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41471 (eval $ac_compile) 2>conftest.er1
41473 grep -v '^ *+' conftest.er1
>conftest.err
41475 cat conftest.err
>&5
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); } &&
41478 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41480 (eval $ac_try) 2>&5
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); }; } &&
41484 { ac_try
='test -s conftest.$ac_objext'
41485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41486 (eval $ac_try) 2>&5
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); }; }; then
41490 wx_cv_func_pthread_mutexattr_settype_decl
=yes
41492 echo "$as_me: failed program was:" >&5
41493 sed 's/^/| /' conftest.
$ac_ext >&5
41495 wx_cv_func_pthread_mutexattr_settype_decl
=no
41498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41501 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41502 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
41503 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41504 cat >>confdefs.h
<<\_ACEOF
41505 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41510 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41511 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
41512 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41513 echo $ECHO_N "(cached) $ECHO_C" >&6
41516 cat >conftest.
$ac_ext <<_ACEOF
41519 cat confdefs.h
>>conftest.
$ac_ext
41520 cat >>conftest.
$ac_ext <<_ACEOF
41521 /* end confdefs.h. */
41522 #include <pthread.h>
41527 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41533 rm -f conftest.
$ac_objext
41534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41535 (eval $ac_compile) 2>conftest.er1
41537 grep -v '^ *+' conftest.er1
>conftest.err
41539 cat conftest.err
>&5
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); } &&
41542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41544 (eval $ac_try) 2>&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); }; } &&
41548 { ac_try
='test -s conftest.$ac_objext'
41549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41550 (eval $ac_try) 2>&5
41552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553 (exit $ac_status); }; }; then
41555 wx_cv_type_pthread_rec_mutex_init
=yes
41558 echo "$as_me: failed program was:" >&5
41559 sed 's/^/| /' conftest.
$ac_ext >&5
41562 wx_cv_type_pthread_rec_mutex_init
=no
41566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41569 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41570 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
41571 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41572 cat >>confdefs.h
<<\_ACEOF
41573 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41577 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41578 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41584 if test "$wxUSE_THREADS" = "yes" ; then
41587 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41588 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41589 if test "${wx_cv_cflags_mthread+set}" = set; then
41590 echo $ECHO_N "(cached) $ECHO_C" >&6
41593 CXXFLAGS_OLD
="$CXXFLAGS"
41594 CXXFLAGS
="-mthreads $CXXFLAGS"
41595 cat >conftest.
$ac_ext <<_ACEOF
41598 cat confdefs.h
>>conftest.
$ac_ext
41599 cat >>conftest.
$ac_ext <<_ACEOF
41600 /* end confdefs.h. */
41610 rm -f conftest.
$ac_objext
41611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41612 (eval $ac_compile) 2>conftest.er1
41614 grep -v '^ *+' conftest.er1
>conftest.err
41616 cat conftest.err
>&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } &&
41619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41621 (eval $ac_try) 2>&5
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); }; } &&
41625 { ac_try
='test -s conftest.$ac_objext'
41626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41627 (eval $ac_try) 2>&5
41629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41630 (exit $ac_status); }; }; then
41631 wx_cv_cflags_mthread
=yes
41633 echo "$as_me: failed program was:" >&5
41634 sed 's/^/| /' conftest.
$ac_ext >&5
41636 wx_cv_cflags_mthread
=no
41639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41643 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41644 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41646 if test "$wx_cv_cflags_mthread" = "yes"; then
41647 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
41648 LDFLAGS
="$LDFLAGS -mthreads"
41650 CXXFLAGS
="$CXXFLAGS_OLD"
41654 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41655 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
41656 LDFLAGS
="$LDFLAGS -Zmt"
41662 echo "$as_me:$LINENO: checking for localtime_r" >&5
41663 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41664 if test "${ac_cv_func_localtime_r+set}" = set; then
41665 echo $ECHO_N "(cached) $ECHO_C" >&6
41667 cat >conftest.
$ac_ext <<_ACEOF
41670 cat confdefs.h
>>conftest.
$ac_ext
41671 cat >>conftest.
$ac_ext <<_ACEOF
41672 /* end confdefs.h. */
41673 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41675 #define localtime_r innocuous_localtime_r
41677 /* System header to define __stub macros and hopefully few prototypes,
41678 which can conflict with char localtime_r (); below.
41679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41680 <limits.h> exists even on freestanding compilers. */
41683 # include <limits.h>
41685 # include <assert.h>
41690 /* Override any gcc2 internal prototype to avoid an error. */
41695 /* We use char because int might match the return type of a gcc2
41696 builtin and then its argument prototype would still apply. */
41697 char localtime_r ();
41698 /* The GNU C library defines this for functions which it implements
41699 to always fail with ENOSYS. Some functions are actually named
41700 something starting with __ and the normal name is an alias. */
41701 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41704 char (*f) () = localtime_r;
41713 return f != localtime_r;
41718 rm -f conftest.
$ac_objext conftest
$ac_exeext
41719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41720 (eval $ac_link) 2>conftest.er1
41722 grep -v '^ *+' conftest.er1
>conftest.err
41724 cat conftest.err
>&5
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); } &&
41727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41729 (eval $ac_try) 2>&5
41731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732 (exit $ac_status); }; } &&
41733 { ac_try
='test -s conftest$ac_exeext'
41734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41735 (eval $ac_try) 2>&5
41737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41738 (exit $ac_status); }; }; then
41739 ac_cv_func_localtime_r
=yes
41741 echo "$as_me: failed program was:" >&5
41742 sed 's/^/| /' conftest.
$ac_ext >&5
41744 ac_cv_func_localtime_r
=no
41746 rm -f conftest.err conftest.
$ac_objext \
41747 conftest
$ac_exeext conftest.
$ac_ext
41749 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41750 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41751 if test $ac_cv_func_localtime_r = yes; then
41752 cat >>confdefs.h
<<\_ACEOF
41753 #define HAVE_LOCALTIME_R 1
41758 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41759 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41760 if test "${ac_cv_func_gmtime_r+set}" = set; then
41761 echo $ECHO_N "(cached) $ECHO_C" >&6
41763 cat >conftest.
$ac_ext <<_ACEOF
41766 cat confdefs.h
>>conftest.
$ac_ext
41767 cat >>conftest.
$ac_ext <<_ACEOF
41768 /* end confdefs.h. */
41769 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41771 #define gmtime_r innocuous_gmtime_r
41773 /* System header to define __stub macros and hopefully few prototypes,
41774 which can conflict with char gmtime_r (); below.
41775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41776 <limits.h> exists even on freestanding compilers. */
41779 # include <limits.h>
41781 # include <assert.h>
41786 /* Override any gcc2 internal prototype to avoid an error. */
41791 /* We use char because int might match the return type of a gcc2
41792 builtin and then its argument prototype would still apply. */
41794 /* The GNU C library defines this for functions which it implements
41795 to always fail with ENOSYS. Some functions are actually named
41796 something starting with __ and the normal name is an alias. */
41797 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41800 char (*f) () = gmtime_r;
41809 return f != gmtime_r;
41814 rm -f conftest.
$ac_objext conftest
$ac_exeext
41815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41816 (eval $ac_link) 2>conftest.er1
41818 grep -v '^ *+' conftest.er1
>conftest.err
41820 cat conftest.err
>&5
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); } &&
41823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41825 (eval $ac_try) 2>&5
41827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828 (exit $ac_status); }; } &&
41829 { ac_try
='test -s conftest$ac_exeext'
41830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41831 (eval $ac_try) 2>&5
41833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41834 (exit $ac_status); }; }; then
41835 ac_cv_func_gmtime_r
=yes
41837 echo "$as_me: failed program was:" >&5
41838 sed 's/^/| /' conftest.
$ac_ext >&5
41840 ac_cv_func_gmtime_r
=no
41842 rm -f conftest.err conftest.
$ac_objext \
41843 conftest
$ac_exeext conftest.
$ac_ext
41845 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41846 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41847 if test $ac_cv_func_gmtime_r = yes; then
41848 cat >>confdefs.h
<<\_ACEOF
41849 #define HAVE_GMTIME_R 1
41854 echo "$as_me:$LINENO: checking for readdir_r" >&5
41855 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41856 if test "${ac_cv_func_readdir_r+set}" = set; then
41857 echo $ECHO_N "(cached) $ECHO_C" >&6
41859 cat >conftest.
$ac_ext <<_ACEOF
41862 cat confdefs.h
>>conftest.
$ac_ext
41863 cat >>conftest.
$ac_ext <<_ACEOF
41864 /* end confdefs.h. */
41865 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41867 #define readdir_r innocuous_readdir_r
41869 /* System header to define __stub macros and hopefully few prototypes,
41870 which can conflict with char readdir_r (); below.
41871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41872 <limits.h> exists even on freestanding compilers. */
41875 # include <limits.h>
41877 # include <assert.h>
41882 /* Override any gcc2 internal prototype to avoid an error. */
41887 /* We use char because int might match the return type of a gcc2
41888 builtin and then its argument prototype would still apply. */
41890 /* The GNU C library defines this for functions which it implements
41891 to always fail with ENOSYS. Some functions are actually named
41892 something starting with __ and the normal name is an alias. */
41893 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41896 char (*f) () = readdir_r;
41905 return f != readdir_r;
41910 rm -f conftest.
$ac_objext conftest
$ac_exeext
41911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41912 (eval $ac_link) 2>conftest.er1
41914 grep -v '^ *+' conftest.er1
>conftest.err
41916 cat conftest.err
>&5
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); } &&
41919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41921 (eval $ac_try) 2>&5
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); }; } &&
41925 { ac_try
='test -s conftest$ac_exeext'
41926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41927 (eval $ac_try) 2>&5
41929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930 (exit $ac_status); }; }; then
41931 ac_cv_func_readdir_r
=yes
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.
$ac_ext >&5
41936 ac_cv_func_readdir_r
=no
41938 rm -f conftest.err conftest.
$ac_objext \
41939 conftest
$ac_exeext conftest.
$ac_ext
41941 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41942 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41943 if test $ac_cv_func_readdir_r = yes; then
41944 cat >>confdefs.h
<<\_ACEOF
41945 #define HAVE_READDIR_R 1
41954 ac_cpp
='$CPP $CPPFLAGS'
41955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41959 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41960 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41962 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41963 echo $ECHO_N "(cached) $ECHO_C" >&6
41967 ################################################################
41969 ac_cv_func_which_gethostbyname_r
=unknown
41972 # ONE ARGUMENT (sanity check)
41975 # This should fail, as there is no variant of gethostbyname_r() that takes
41976 # a single argument. If it actually compiles, then we can assume that
41977 # netdb.h is not declaring the function, and the compiler is thereby
41978 # assuming an implicit prototype. In which case, we're out of luck.
41980 cat >conftest.
$ac_ext <<_ACEOF
41983 cat confdefs.h
>>conftest.
$ac_ext
41984 cat >>conftest.
$ac_ext <<_ACEOF
41985 /* end confdefs.h. */
41991 char *name = "www.gnu.org";
41992 (void)gethostbyname_r(name) /* ; */
41998 rm -f conftest.
$ac_objext
41999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42000 (eval $ac_compile) 2>conftest.er1
42002 grep -v '^ *+' conftest.er1
>conftest.err
42004 cat conftest.err
>&5
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); } &&
42007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42009 (eval $ac_try) 2>&5
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); }; } &&
42013 { ac_try
='test -s conftest.$ac_objext'
42014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42015 (eval $ac_try) 2>&5
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); }; }; then
42019 ac_cv_func_which_gethostbyname_r
=no
42021 echo "$as_me: failed program was:" >&5
42022 sed 's/^/| /' conftest.
$ac_ext >&5
42025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42032 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42034 cat >conftest.
$ac_ext <<_ACEOF
42037 cat confdefs.h
>>conftest.
$ac_ext
42038 cat >>conftest.
$ac_ext <<_ACEOF
42039 /* end confdefs.h. */
42045 char *name = "www.gnu.org";
42046 struct hostent ret, *retp;
42050 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42056 rm -f conftest.
$ac_objext
42057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42058 (eval $ac_compile) 2>conftest.er1
42060 grep -v '^ *+' conftest.er1
>conftest.err
42062 cat conftest.err
>&5
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); } &&
42065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42067 (eval $ac_try) 2>&5
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; } &&
42071 { ac_try
='test -s conftest.$ac_objext'
42072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42073 (eval $ac_try) 2>&5
42075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42076 (exit $ac_status); }; }; then
42077 ac_cv_func_which_gethostbyname_r
=six
42079 echo "$as_me: failed program was:" >&5
42080 sed 's/^/| /' conftest.
$ac_ext >&5
42083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42092 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42094 cat >conftest.
$ac_ext <<_ACEOF
42097 cat confdefs.h
>>conftest.
$ac_ext
42098 cat >>conftest.
$ac_ext <<_ACEOF
42099 /* end confdefs.h. */
42105 char *name = "www.gnu.org";
42106 struct hostent ret;
42110 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42116 rm -f conftest.
$ac_objext
42117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42118 (eval $ac_compile) 2>conftest.er1
42120 grep -v '^ *+' conftest.er1
>conftest.err
42122 cat conftest.err
>&5
42123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42124 (exit $ac_status); } &&
42125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42127 (eval $ac_try) 2>&5
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); }; } &&
42131 { ac_try
='test -s conftest.$ac_objext'
42132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42133 (eval $ac_try) 2>&5
42135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42136 (exit $ac_status); }; }; then
42137 ac_cv_func_which_gethostbyname_r
=five
42139 echo "$as_me: failed program was:" >&5
42140 sed 's/^/| /' conftest.
$ac_ext >&5
42143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42149 # (e.g. AIX, HP-UX, Tru64)
42152 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42154 cat >conftest.
$ac_ext <<_ACEOF
42157 cat confdefs.h
>>conftest.
$ac_ext
42158 cat >>conftest.
$ac_ext <<_ACEOF
42159 /* end confdefs.h. */
42165 char *name = "www.gnu.org";
42166 struct hostent ret;
42167 struct hostent_data data;
42168 (void)gethostbyname_r(name, &ret, &data) /* ; */
42174 rm -f conftest.
$ac_objext
42175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42176 (eval $ac_compile) 2>conftest.er1
42178 grep -v '^ *+' conftest.er1
>conftest.err
42180 cat conftest.err
>&5
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); } &&
42183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42185 (eval $ac_try) 2>&5
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); }; } &&
42189 { ac_try
='test -s conftest.$ac_objext'
42190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42191 (eval $ac_try) 2>&5
42193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194 (exit $ac_status); }; }; then
42195 ac_cv_func_which_gethostbyname_r
=three
42197 echo "$as_me: failed program was:" >&5
42198 sed 's/^/| /' conftest.
$ac_ext >&5
42201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42205 ################################################################
42210 case "$ac_cv_func_which_gethostbyname_r" in
42212 echo "$as_me:$LINENO: result: three" >&5
42213 echo "${ECHO_T}three" >&6
42214 cat >>confdefs.h
<<\_ACEOF
42215 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42221 echo "$as_me:$LINENO: result: five" >&5
42222 echo "${ECHO_T}five" >&6
42223 cat >>confdefs.h
<<\_ACEOF
42224 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42230 echo "$as_me:$LINENO: result: six" >&5
42231 echo "${ECHO_T}six" >&6
42232 cat >>confdefs.h
<<\_ACEOF
42233 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42239 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42240 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
42244 echo "$as_me:$LINENO: result: can't tell" >&5
42245 echo "${ECHO_T}can't tell" >&6
42249 { { echo "$as_me:$LINENO: error: internal error" >&5
42250 echo "$as_me: error: internal error" >&2;}
42251 { (exit 1); exit 1; }; }
42256 ac_cpp
='$CXXCPP $CPPFLAGS'
42257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42263 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42264 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42265 echo "$as_me:$LINENO: checking for gethostbyname" >&5
42266 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
42267 if test "${ac_cv_func_gethostbyname+set}" = set; then
42268 echo $ECHO_N "(cached) $ECHO_C" >&6
42270 cat >conftest.
$ac_ext <<_ACEOF
42273 cat confdefs.h
>>conftest.
$ac_ext
42274 cat >>conftest.
$ac_ext <<_ACEOF
42275 /* end confdefs.h. */
42276 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42278 #define gethostbyname innocuous_gethostbyname
42280 /* System header to define __stub macros and hopefully few prototypes,
42281 which can conflict with char gethostbyname (); below.
42282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42283 <limits.h> exists even on freestanding compilers. */
42286 # include <limits.h>
42288 # include <assert.h>
42291 #undef gethostbyname
42293 /* Override any gcc2 internal prototype to avoid an error. */
42298 /* We use char because int might match the return type of a gcc2
42299 builtin and then its argument prototype would still apply. */
42300 char gethostbyname ();
42301 /* The GNU C library defines this for functions which it implements
42302 to always fail with ENOSYS. Some functions are actually named
42303 something starting with __ and the normal name is an alias. */
42304 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
42307 char (*f) () = gethostbyname;
42316 return f != gethostbyname;
42321 rm -f conftest.
$ac_objext conftest
$ac_exeext
42322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42323 (eval $ac_link) 2>conftest.er1
42325 grep -v '^ *+' conftest.er1
>conftest.err
42327 cat conftest.err
>&5
42328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42329 (exit $ac_status); } &&
42330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42332 (eval $ac_try) 2>&5
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); }; } &&
42336 { ac_try
='test -s conftest$ac_exeext'
42337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42338 (eval $ac_try) 2>&5
42340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42341 (exit $ac_status); }; }; then
42342 ac_cv_func_gethostbyname
=yes
42344 echo "$as_me: failed program was:" >&5
42345 sed 's/^/| /' conftest.
$ac_ext >&5
42347 ac_cv_func_gethostbyname
=no
42349 rm -f conftest.err conftest.
$ac_objext \
42350 conftest
$ac_exeext conftest.
$ac_ext
42352 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42353 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
42354 if test $ac_cv_func_gethostbyname = yes; then
42355 cat >>confdefs.h
<<\_ACEOF
42356 #define HAVE_GETHOSTBYNAME 1
42363 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42364 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
42365 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42366 echo $ECHO_N "(cached) $ECHO_C" >&6
42369 cat >conftest.
$ac_ext <<_ACEOF
42372 cat confdefs.h
>>conftest.
$ac_ext
42373 cat >>conftest.
$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42382 struct servent *se, *res;
42385 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42391 rm -f conftest.
$ac_objext
42392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42393 (eval $ac_compile) 2>conftest.er1
42395 grep -v '^ *+' conftest.er1
>conftest.err
42397 cat conftest.err
>&5
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); } &&
42400 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42402 (eval $ac_try) 2>&5
42404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42405 (exit $ac_status); }; } &&
42406 { ac_try
='test -s conftest.$ac_objext'
42407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42408 (eval $ac_try) 2>&5
42410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42411 (exit $ac_status); }; }; then
42412 ac_cv_func_which_getservbyname_r
=six
42414 echo "$as_me: failed program was:" >&5
42415 sed 's/^/| /' conftest.
$ac_ext >&5
42418 cat >conftest.
$ac_ext <<_ACEOF
42421 cat confdefs.h
>>conftest.
$ac_ext
42422 cat >>conftest.
$ac_ext <<_ACEOF
42423 /* end confdefs.h. */
42431 struct servent *se;
42434 (void) getservbyname_r(name, proto, se, buffer, buflen)
42440 rm -f conftest.
$ac_objext
42441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42442 (eval $ac_compile) 2>conftest.er1
42444 grep -v '^ *+' conftest.er1
>conftest.err
42446 cat conftest.err
>&5
42447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42448 (exit $ac_status); } &&
42449 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42451 (eval $ac_try) 2>&5
42453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454 (exit $ac_status); }; } &&
42455 { ac_try
='test -s conftest.$ac_objext'
42456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42457 (eval $ac_try) 2>&5
42459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460 (exit $ac_status); }; }; then
42461 ac_cv_func_which_getservbyname_r
=five
42463 echo "$as_me: failed program was:" >&5
42464 sed 's/^/| /' conftest.
$ac_ext >&5
42467 cat >conftest.
$ac_ext <<_ACEOF
42470 cat confdefs.h
>>conftest.
$ac_ext
42471 cat >>conftest.
$ac_ext <<_ACEOF
42472 /* end confdefs.h. */
42480 struct servent *se;
42481 struct servent_data data;
42482 (void) getservbyname_r(name, proto, se, &data);
42488 rm -f conftest.
$ac_objext
42489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42490 (eval $ac_compile) 2>conftest.er1
42492 grep -v '^ *+' conftest.er1
>conftest.err
42494 cat conftest.err
>&5
42495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42496 (exit $ac_status); } &&
42497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42499 (eval $ac_try) 2>&5
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); }; } &&
42503 { ac_try
='test -s conftest.$ac_objext'
42504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42505 (eval $ac_try) 2>&5
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); }; }; then
42509 ac_cv_func_which_getservbyname_r
=four
42511 echo "$as_me: failed program was:" >&5
42512 sed 's/^/| /' conftest.
$ac_ext >&5
42514 ac_cv_func_which_getservbyname_r
=no
42517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42529 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42530 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
42532 if test $ac_cv_func_which_getservbyname_r = six
; then
42533 cat >>confdefs.h
<<\_ACEOF
42534 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42537 elif test $ac_cv_func_which_getservbyname_r = five
; then
42538 cat >>confdefs.h
<<\_ACEOF
42539 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42542 elif test $ac_cv_func_which_getservbyname_r = four
; then
42543 cat >>confdefs.h
<<\_ACEOF
42544 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42550 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42551 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42553 for ac_func
in getservbyname
42555 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42556 echo "$as_me:$LINENO: checking for $ac_func" >&5
42557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42558 if eval "test \"\${$as_ac_var+set}\" = set"; then
42559 echo $ECHO_N "(cached) $ECHO_C" >&6
42561 cat >conftest.
$ac_ext <<_ACEOF
42564 cat confdefs.h
>>conftest.
$ac_ext
42565 cat >>conftest.
$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42569 #define $ac_func innocuous_$ac_func
42571 /* System header to define __stub macros and hopefully few prototypes,
42572 which can conflict with char $ac_func (); below.
42573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42574 <limits.h> exists even on freestanding compilers. */
42577 # include <limits.h>
42579 # include <assert.h>
42584 /* Override any gcc2 internal prototype to avoid an error. */
42589 /* We use char because int might match the return type of a gcc2
42590 builtin and then its argument prototype would still apply. */
42592 /* The GNU C library defines this for functions which it implements
42593 to always fail with ENOSYS. Some functions are actually named
42594 something starting with __ and the normal name is an alias. */
42595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42598 char (*f) () = $ac_func;
42607 return f != $ac_func;
42612 rm -f conftest.
$ac_objext conftest
$ac_exeext
42613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42614 (eval $ac_link) 2>conftest.er1
42616 grep -v '^ *+' conftest.er1
>conftest.err
42618 cat conftest.err
>&5
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); } &&
42621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42623 (eval $ac_try) 2>&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); }; } &&
42627 { ac_try
='test -s conftest$ac_exeext'
42628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42629 (eval $ac_try) 2>&5
42631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42632 (exit $ac_status); }; }; then
42633 eval "$as_ac_var=yes"
42635 echo "$as_me: failed program was:" >&5
42636 sed 's/^/| /' conftest.
$ac_ext >&5
42638 eval "$as_ac_var=no"
42640 rm -f conftest.err conftest.
$ac_objext \
42641 conftest
$ac_exeext conftest.
$ac_ext
42643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42645 if test `eval echo '${'$as_ac_var'}'` = yes; then
42646 cat >>confdefs.h
<<_ACEOF
42647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42649 cat >>confdefs.h
<<\_ACEOF
42650 #define HAVE_GETSERVBYNAME 1
42658 if test "$wxUSE_THREADS" = "yes"; then
42659 cat >>confdefs.h
<<\_ACEOF
42660 #define wxUSE_THREADS 1
42664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
42666 if test "$wx_cv_func_strtok_r" = "yes"; then
42667 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42668 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42669 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42670 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42671 echo "$as_me:$LINENO: result: yes" >&5
42672 echo "${ECHO_T}yes" >&6
42674 echo "$as_me:$LINENO: result: no" >&5
42675 echo "${ECHO_T}no" >&6
42680 if test "$WXGTK20" = 1 ; then
42681 cat >>confdefs.h
<<_ACEOF
42682 #define __WXGTK20__ $WXGTK20
42688 if test "$WXGTK12" = 1 ; then
42689 cat >>confdefs.h
<<_ACEOF
42690 #define __WXGTK12__ $WXGTK12
42695 if test "$WXGTK127" = 1 ; then
42696 cat >>confdefs.h
<<_ACEOF
42697 #define __WXGTK127__ $WXGTK127
42702 if test "$WXGPE" = 1 ; then
42703 cat >>confdefs.h
<<_ACEOF
42704 #define __WXGPE__ $WXGPE
42710 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42715 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42716 wxUSE_DEBUG_INFO
=yes
42717 if test "$GCC" = yes; then
42718 DEBUG_CFLAGS
="-ggdb"
42722 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42723 cat >>confdefs.h
<<\_ACEOF
42727 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42729 if test "$wxUSE_GTK" = 1 ; then
42730 if test "x$wxGTK_VERSION" = "x1" ; then
42731 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42736 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42737 cat >>confdefs.h
<<\_ACEOF
42738 #define wxUSE_MEMORY_TRACING 1
42741 cat >>confdefs.h
<<\_ACEOF
42742 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42745 cat >>confdefs.h
<<\_ACEOF
42746 #define wxUSE_DEBUG_NEW_ALWAYS 1
42749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
42752 if test "$wxUSE_DMALLOC" = "yes" ; then
42753 DMALLOC_LIBS
="-ldmallocthcxx"
42757 if test "$wxUSE_PROFILE" = "yes" ; then
42758 PROFILE_FLAGS
=" -pg"
42761 if test "$GCC" = "yes" ; then
42762 if test "$wxUSE_NO_RTTI" = "yes" ; then
42763 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
42765 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42766 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
42768 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42769 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
42774 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
42777 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
42783 if test "$wxUSE_OPTIMISE" = "no" ; then
42784 if test "$GCC" = yes ; then
42785 OPTIMISE_CFLAGS
="-O0"
42788 if test "$GCC" = yes ; then
42790 *-pc-os2_emx | *-pc-os2-emx )
42791 OPTIMISE_CFLAGS
="-O2"
42794 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
42798 OPTIMISE_CFLAGS
="-O"
42803 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42804 cat >>confdefs.h
<<\_ACEOF
42805 #define WXWIN_COMPATIBILITY_2_4 1
42809 WXWIN_COMPATIBILITY_2_6
="yes"
42812 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42813 cat >>confdefs.h
<<\_ACEOF
42814 #define WXWIN_COMPATIBILITY_2_6 1
42820 if test "$wxUSE_GUI" = "yes"; then
42821 cat >>confdefs.h
<<\_ACEOF
42822 #define wxUSE_GUI 1
42829 if test "$wxUSE_UNIX" = "yes"; then
42830 cat >>confdefs.h
<<\_ACEOF
42831 #define wxUSE_UNIX 1
42837 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42841 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42842 if test "$USE_DARWIN" = 1; then
42844 elif test "$USE_DOS" = 1; then
42848 for ac_func
in dlopen
42850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42851 echo "$as_me:$LINENO: checking for $ac_func" >&5
42852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42853 if eval "test \"\${$as_ac_var+set}\" = set"; then
42854 echo $ECHO_N "(cached) $ECHO_C" >&6
42856 cat >conftest.
$ac_ext <<_ACEOF
42859 cat confdefs.h
>>conftest.
$ac_ext
42860 cat >>conftest.
$ac_ext <<_ACEOF
42861 /* end confdefs.h. */
42862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42864 #define $ac_func innocuous_$ac_func
42866 /* System header to define __stub macros and hopefully few prototypes,
42867 which can conflict with char $ac_func (); below.
42868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42869 <limits.h> exists even on freestanding compilers. */
42872 # include <limits.h>
42874 # include <assert.h>
42879 /* Override any gcc2 internal prototype to avoid an error. */
42884 /* We use char because int might match the return type of a gcc2
42885 builtin and then its argument prototype would still apply. */
42887 /* The GNU C library defines this for functions which it implements
42888 to always fail with ENOSYS. Some functions are actually named
42889 something starting with __ and the normal name is an alias. */
42890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42893 char (*f) () = $ac_func;
42902 return f != $ac_func;
42907 rm -f conftest.
$ac_objext conftest
$ac_exeext
42908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42909 (eval $ac_link) 2>conftest.er1
42911 grep -v '^ *+' conftest.er1
>conftest.err
42913 cat conftest.err
>&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); } &&
42916 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42918 (eval $ac_try) 2>&5
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); }; } &&
42922 { ac_try
='test -s conftest$ac_exeext'
42923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42924 (eval $ac_try) 2>&5
42926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42927 (exit $ac_status); }; }; then
42928 eval "$as_ac_var=yes"
42930 echo "$as_me: failed program was:" >&5
42931 sed 's/^/| /' conftest.
$ac_ext >&5
42933 eval "$as_ac_var=no"
42935 rm -f conftest.err conftest.
$ac_objext \
42936 conftest
$ac_exeext conftest.
$ac_ext
42938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42940 if test `eval echo '${'$as_ac_var'}'` = yes; then
42941 cat >>confdefs.h
<<_ACEOF
42942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42945 cat >>confdefs.h
<<\_ACEOF
42946 #define HAVE_DLOPEN 1
42953 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42954 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42955 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42956 echo $ECHO_N "(cached) $ECHO_C" >&6
42958 ac_check_lib_save_LIBS
=$LIBS
42960 cat >conftest.
$ac_ext <<_ACEOF
42963 cat confdefs.h
>>conftest.
$ac_ext
42964 cat >>conftest.
$ac_ext <<_ACEOF
42965 /* end confdefs.h. */
42967 /* Override any gcc2 internal prototype to avoid an error. */
42971 /* We use char because int might match the return type of a gcc2
42972 builtin and then its argument prototype would still apply. */
42982 rm -f conftest.
$ac_objext conftest
$ac_exeext
42983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42984 (eval $ac_link) 2>conftest.er1
42986 grep -v '^ *+' conftest.er1
>conftest.err
42988 cat conftest.err
>&5
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); } &&
42991 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42993 (eval $ac_try) 2>&5
42995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42996 (exit $ac_status); }; } &&
42997 { ac_try
='test -s conftest$ac_exeext'
42998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42999 (eval $ac_try) 2>&5
43001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43002 (exit $ac_status); }; }; then
43003 ac_cv_lib_dl_dlopen
=yes
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.
$ac_ext >&5
43008 ac_cv_lib_dl_dlopen
=no
43010 rm -f conftest.err conftest.
$ac_objext \
43011 conftest
$ac_exeext conftest.
$ac_ext
43012 LIBS
=$ac_check_lib_save_LIBS
43014 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43015 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
43016 if test $ac_cv_lib_dl_dlopen = yes; then
43018 cat >>confdefs.h
<<\_ACEOF
43019 #define HAVE_DLOPEN 1
43023 DL_LINK
=" -ldl$DL_LINK"
43028 for ac_func
in shl_load
43030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43031 echo "$as_me:$LINENO: checking for $ac_func" >&5
43032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43033 if eval "test \"\${$as_ac_var+set}\" = set"; then
43034 echo $ECHO_N "(cached) $ECHO_C" >&6
43036 cat >conftest.
$ac_ext <<_ACEOF
43039 cat confdefs.h
>>conftest.
$ac_ext
43040 cat >>conftest.
$ac_ext <<_ACEOF
43041 /* end confdefs.h. */
43042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43044 #define $ac_func innocuous_$ac_func
43046 /* System header to define __stub macros and hopefully few prototypes,
43047 which can conflict with char $ac_func (); below.
43048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43049 <limits.h> exists even on freestanding compilers. */
43052 # include <limits.h>
43054 # include <assert.h>
43059 /* Override any gcc2 internal prototype to avoid an error. */
43064 /* We use char because int might match the return type of a gcc2
43065 builtin and then its argument prototype would still apply. */
43067 /* The GNU C library defines this for functions which it implements
43068 to always fail with ENOSYS. Some functions are actually named
43069 something starting with __ and the normal name is an alias. */
43070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43073 char (*f) () = $ac_func;
43082 return f != $ac_func;
43087 rm -f conftest.
$ac_objext conftest
$ac_exeext
43088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43089 (eval $ac_link) 2>conftest.er1
43091 grep -v '^ *+' conftest.er1
>conftest.err
43093 cat conftest.err
>&5
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); } &&
43096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43098 (eval $ac_try) 2>&5
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); }; } &&
43102 { ac_try
='test -s conftest$ac_exeext'
43103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43104 (eval $ac_try) 2>&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); }; }; then
43108 eval "$as_ac_var=yes"
43110 echo "$as_me: failed program was:" >&5
43111 sed 's/^/| /' conftest.
$ac_ext >&5
43113 eval "$as_ac_var=no"
43115 rm -f conftest.err conftest.
$ac_objext \
43116 conftest
$ac_exeext conftest.
$ac_ext
43118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43120 if test `eval echo '${'$as_ac_var'}'` = yes; then
43121 cat >>confdefs.h
<<_ACEOF
43122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43125 cat >>confdefs.h
<<\_ACEOF
43126 #define HAVE_SHL_LOAD 1
43133 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43134 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
43135 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43136 echo $ECHO_N "(cached) $ECHO_C" >&6
43138 ac_check_lib_save_LIBS
=$LIBS
43139 LIBS
="-lshl_load $LIBS"
43140 cat >conftest.
$ac_ext <<_ACEOF
43143 cat confdefs.h
>>conftest.
$ac_ext
43144 cat >>conftest.
$ac_ext <<_ACEOF
43145 /* end confdefs.h. */
43147 /* Override any gcc2 internal prototype to avoid an error. */
43151 /* We use char because int might match the return type of a gcc2
43152 builtin and then its argument prototype would still apply. */
43162 rm -f conftest.
$ac_objext conftest
$ac_exeext
43163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43164 (eval $ac_link) 2>conftest.er1
43166 grep -v '^ *+' conftest.er1
>conftest.err
43168 cat conftest.err
>&5
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); } &&
43171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43173 (eval $ac_try) 2>&5
43175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43176 (exit $ac_status); }; } &&
43177 { ac_try
='test -s conftest$ac_exeext'
43178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43179 (eval $ac_try) 2>&5
43181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182 (exit $ac_status); }; }; then
43183 ac_cv_lib_shl_load_dld
=yes
43185 echo "$as_me: failed program was:" >&5
43186 sed 's/^/| /' conftest.
$ac_ext >&5
43188 ac_cv_lib_shl_load_dld
=no
43190 rm -f conftest.err conftest.
$ac_objext \
43191 conftest
$ac_exeext conftest.
$ac_ext
43192 LIBS
=$ac_check_lib_save_LIBS
43194 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43195 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
43196 if test $ac_cv_lib_shl_load_dld = yes; then
43199 DL_LINK
=" -ldld$DL_LINK"
43215 if test "$HAVE_DL_FUNCS" = 1; then
43217 for ac_func
in dlerror
43219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43220 echo "$as_me:$LINENO: checking for $ac_func" >&5
43221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43222 if eval "test \"\${$as_ac_var+set}\" = set"; then
43223 echo $ECHO_N "(cached) $ECHO_C" >&6
43225 cat >conftest.
$ac_ext <<_ACEOF
43228 cat confdefs.h
>>conftest.
$ac_ext
43229 cat >>conftest.
$ac_ext <<_ACEOF
43230 /* end confdefs.h. */
43231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43233 #define $ac_func innocuous_$ac_func
43235 /* System header to define __stub macros and hopefully few prototypes,
43236 which can conflict with char $ac_func (); below.
43237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43238 <limits.h> exists even on freestanding compilers. */
43241 # include <limits.h>
43243 # include <assert.h>
43248 /* Override any gcc2 internal prototype to avoid an error. */
43253 /* We use char because int might match the return type of a gcc2
43254 builtin and then its argument prototype would still apply. */
43256 /* The GNU C library defines this for functions which it implements
43257 to always fail with ENOSYS. Some functions are actually named
43258 something starting with __ and the normal name is an alias. */
43259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43262 char (*f) () = $ac_func;
43271 return f != $ac_func;
43276 rm -f conftest.
$ac_objext conftest
$ac_exeext
43277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43278 (eval $ac_link) 2>conftest.er1
43280 grep -v '^ *+' conftest.er1
>conftest.err
43282 cat conftest.err
>&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } &&
43285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43287 (eval $ac_try) 2>&5
43289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43290 (exit $ac_status); }; } &&
43291 { ac_try
='test -s conftest$ac_exeext'
43292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43293 (eval $ac_try) 2>&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); }; }; then
43297 eval "$as_ac_var=yes"
43299 echo "$as_me: failed program was:" >&5
43300 sed 's/^/| /' conftest.
$ac_ext >&5
43302 eval "$as_ac_var=no"
43304 rm -f conftest.err conftest.
$ac_objext \
43305 conftest
$ac_exeext conftest.
$ac_ext
43307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43309 if test `eval echo '${'$as_ac_var'}'` = yes; then
43310 cat >>confdefs.h
<<_ACEOF
43311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43313 cat >>confdefs.h
<<\_ACEOF
43314 #define HAVE_DLERROR 1
43319 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43320 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
43321 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43322 echo $ECHO_N "(cached) $ECHO_C" >&6
43324 ac_check_lib_save_LIBS
=$LIBS
43326 cat >conftest.
$ac_ext <<_ACEOF
43329 cat confdefs.h
>>conftest.
$ac_ext
43330 cat >>conftest.
$ac_ext <<_ACEOF
43331 /* end confdefs.h. */
43333 /* Override any gcc2 internal prototype to avoid an error. */
43337 /* We use char because int might match the return type of a gcc2
43338 builtin and then its argument prototype would still apply. */
43348 rm -f conftest.
$ac_objext conftest
$ac_exeext
43349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43350 (eval $ac_link) 2>conftest.er1
43352 grep -v '^ *+' conftest.er1
>conftest.err
43354 cat conftest.err
>&5
43355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356 (exit $ac_status); } &&
43357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43359 (eval $ac_try) 2>&5
43361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43362 (exit $ac_status); }; } &&
43363 { ac_try
='test -s conftest$ac_exeext'
43364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43365 (eval $ac_try) 2>&5
43367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43368 (exit $ac_status); }; }; then
43369 ac_cv_lib_dl_dlerror
=yes
43371 echo "$as_me: failed program was:" >&5
43372 sed 's/^/| /' conftest.
$ac_ext >&5
43374 ac_cv_lib_dl_dlerror
=no
43376 rm -f conftest.err conftest.
$ac_objext \
43377 conftest
$ac_exeext conftest.
$ac_ext
43378 LIBS
=$ac_check_lib_save_LIBS
43380 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43381 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
43382 if test $ac_cv_lib_dl_dlerror = yes; then
43383 cat >>confdefs.h
<<\_ACEOF
43384 #define HAVE_DLERROR 1
43397 if test "$HAVE_DL_FUNCS" = 0; then
43398 if test "$HAVE_SHL_FUNCS" = 0; then
43399 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43400 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43401 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43402 wxUSE_DYNAMIC_LOADER
=no
43403 wxUSE_DYNLIB_CLASS
=no
43405 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43406 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43413 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43414 cat >>confdefs.h
<<\_ACEOF
43415 #define wxUSE_DYNAMIC_LOADER 1
43419 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43420 cat >>confdefs.h
<<\_ACEOF
43421 #define wxUSE_DYNLIB_CLASS 1
43428 if test "$wxUSE_PLUGINS" = "yes" ; then
43429 if test "$wxUSE_SHARED" = "no" ; then
43430 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43431 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43434 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43435 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43436 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43439 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43440 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43441 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43444 if test "$wxUSE_PLUGINS" = "yes" ; then
43445 cat >>confdefs.h
<<\_ACEOF
43446 #define wxUSE_PLUGINS 1
43453 if test "$wxUSE_STL" = "yes"; then
43454 cat >>confdefs.h
<<\_ACEOF
43455 #define wxUSE_STL 1
43460 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43461 cat >>confdefs.h
<<\_ACEOF
43462 #define wxUSE_APPLE_IEEE 1
43467 if test "$wxUSE_TIMER" = "yes"; then
43468 cat >>confdefs.h
<<\_ACEOF
43469 #define wxUSE_TIMER 1
43474 if test "$USE_UNIX" = "1" ; then
43475 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43476 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
43477 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43478 echo $ECHO_N "(cached) $ECHO_C" >&6
43481 cat >conftest.
$ac_ext <<_ACEOF
43484 cat confdefs.h
>>conftest.
$ac_ext
43485 cat >>conftest.
$ac_ext <<_ACEOF
43486 /* end confdefs.h. */
43488 #include <sys/ioctl.h>
43489 #include <sys/soundcard.h>
43495 ioctl(0, SNDCTL_DSP_SPEED, 0);
43501 rm -f conftest.
$ac_objext conftest
$ac_exeext
43502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43503 (eval $ac_link) 2>conftest.er1
43505 grep -v '^ *+' conftest.er1
>conftest.err
43507 cat conftest.err
>&5
43508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509 (exit $ac_status); } &&
43510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43512 (eval $ac_try) 2>&5
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); }; } &&
43516 { ac_try
='test -s conftest$ac_exeext'
43517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43518 (eval $ac_try) 2>&5
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); }; }; then
43522 ac_cv_header_sys_soundcard
=yes
43524 echo "$as_me: failed program was:" >&5
43525 sed 's/^/| /' conftest.
$ac_ext >&5
43529 LIBS
="$saveLibs -lossaudio"
43530 cat >conftest.
$ac_ext <<_ACEOF
43533 cat confdefs.h
>>conftest.
$ac_ext
43534 cat >>conftest.
$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43537 #include <sys/ioctl.h>
43538 #include <sys/soundcard.h>
43544 ioctl(0, SNDCTL_DSP_SPEED, 0);
43550 rm -f conftest.
$ac_objext conftest
$ac_exeext
43551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43552 (eval $ac_link) 2>conftest.er1
43554 grep -v '^ *+' conftest.er1
>conftest.err
43556 cat conftest.err
>&5
43557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558 (exit $ac_status); } &&
43559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43561 (eval $ac_try) 2>&5
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); }; } &&
43565 { ac_try
='test -s conftest$ac_exeext'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; }; then
43571 ac_cv_header_sys_soundcard
=yes
43573 echo "$as_me: failed program was:" >&5
43574 sed 's/^/| /' conftest.
$ac_ext >&5
43578 ac_cv_header_sys_soundcard
=no
43582 rm -f conftest.err conftest.
$ac_objext \
43583 conftest
$ac_exeext conftest.
$ac_ext
43587 rm -f conftest.err conftest.
$ac_objext \
43588 conftest
$ac_exeext conftest.
$ac_ext
43591 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43592 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43594 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43595 cat >>confdefs.h
<<\_ACEOF
43596 #define HAVE_SYS_SOUNDCARD_H 1
43600 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
43604 if test "$wxUSE_SOUND" = "yes"; then
43605 if test "$USE_UNIX" = "1" ; then
43606 if test "$wxUSE_LIBSDL" != "no"; then
43608 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43609 if test "${with_sdl_prefix+set}" = set; then
43610 withval
="$with_sdl_prefix"
43611 sdl_prefix
="$withval"
43616 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43617 if test "${with_sdl_exec_prefix+set}" = set; then
43618 withval
="$with_sdl_exec_prefix"
43619 sdl_exec_prefix
="$withval"
43623 # Check whether --enable-sdltest or --disable-sdltest was given.
43624 if test "${enable_sdltest+set}" = set; then
43625 enableval
="$enable_sdltest"
43631 if test x
$sdl_exec_prefix != x
; then
43632 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
43633 if test x
${SDL_CONFIG+set} != xset
; then
43634 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
43637 if test x
$sdl_prefix != x
; then
43638 sdl_args
="$sdl_args --prefix=$sdl_prefix"
43639 if test x
${SDL_CONFIG+set} != xset
; then
43640 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
43644 if test "x$prefix" != xNONE
; then
43645 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
43647 # Extract the first word of "sdl-config", so it can be a program name with args.
43648 set dummy sdl
-config; ac_word
=$2
43649 echo "$as_me:$LINENO: checking for $ac_word" >&5
43650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43651 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43652 echo $ECHO_N "(cached) $ECHO_C" >&6
43654 case $SDL_CONFIG in
43656 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
43659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43660 for as_dir
in $PATH
43663 test -z "$as_dir" && as_dir
=.
43664 for ac_exec_ext
in '' $ac_executable_extensions; do
43665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43666 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43673 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
43677 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
43679 if test -n "$SDL_CONFIG"; then
43680 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43681 echo "${ECHO_T}$SDL_CONFIG" >&6
43683 echo "$as_me:$LINENO: result: no" >&5
43684 echo "${ECHO_T}no" >&6
43687 min_sdl_version
=1.2.0
43688 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43689 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43691 if test "$SDL_CONFIG" = "no" ; then
43694 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
43695 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
43697 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
43698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43699 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
43700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43701 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
43702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43703 if test "x$enable_sdltest" = "xyes" ; then
43704 ac_save_CFLAGS
="$CFLAGS"
43705 ac_save_CXXFLAGS
="$CXXFLAGS"
43706 ac_save_LIBS
="$LIBS"
43707 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43708 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43709 LIBS
="$LIBS $SDL_LIBS"
43711 if test "$cross_compiling" = yes; then
43712 echo $ac_n "cross compiling; assumed OK... $ac_c"
43714 cat >conftest.
$ac_ext <<_ACEOF
43717 cat confdefs.h
>>conftest.
$ac_ext
43718 cat >>conftest.
$ac_ext <<_ACEOF
43719 /* end confdefs.h. */
43722 #include <stdlib.h>
43723 #include <string.h>
43727 my_strdup (char *str)
43733 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43734 strcpy (new_str, str);
43742 int main (int argc, char *argv[])
43744 int major, minor, micro;
43747 /* This hangs on some systems (?)
43748 system ("touch conf.sdltest");
43750 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43752 /* HP/UX 9 (%@#!) writes to sscanf strings */
43753 tmp_version = my_strdup("$min_sdl_version");
43754 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43755 printf("%s, bad version string\n", "$min_sdl_version");
43759 if (($sdl_major_version > major) ||
43760 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43761 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43767 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43768 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43769 printf("*** best to upgrade to the required version.\n");
43770 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43771 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43772 printf("*** config.cache before re-running configure\n");
43779 rm -f conftest
$ac_exeext
43780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43781 (eval $ac_link) 2>&5
43783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43784 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43786 (eval $ac_try) 2>&5
43788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43789 (exit $ac_status); }; }; then
43792 echo "$as_me: program exited with status $ac_status" >&5
43793 echo "$as_me: failed program was:" >&5
43794 sed 's/^/| /' conftest.
$ac_ext >&5
43796 ( exit $ac_status )
43799 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
43801 CFLAGS
="$ac_save_CFLAGS"
43802 CXXFLAGS
="$ac_save_CXXFLAGS"
43803 LIBS
="$ac_save_LIBS"
43806 if test "x$no_sdl" = x
; then
43807 echo "$as_me:$LINENO: result: yes" >&5
43808 echo "${ECHO_T}yes" >&6
43810 EXTRALIBS_SDL
="$SDL_LIBS"
43811 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
43812 cat >>confdefs.h
<<\_ACEOF
43813 #define wxUSE_LIBSDL 1
43818 echo "$as_me:$LINENO: result: no" >&5
43819 echo "${ECHO_T}no" >&6
43820 if test "$SDL_CONFIG" = "no" ; then
43821 echo "*** The sdl-config script installed by SDL could not be found"
43822 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43823 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43824 echo "*** full path to sdl-config."
43826 if test -f conf.sdltest
; then
43829 echo "*** Could not run SDL test program, checking why..."
43830 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43831 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43832 LIBS
="$LIBS $SDL_LIBS"
43833 cat >conftest.
$ac_ext <<_ACEOF
43836 cat confdefs.h
>>conftest.
$ac_ext
43837 cat >>conftest.
$ac_ext <<_ACEOF
43838 /* end confdefs.h. */
43843 int main(int argc, char *argv[])
43846 #define main K_and_R_C_main
43856 rm -f conftest.
$ac_objext conftest
$ac_exeext
43857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43858 (eval $ac_link) 2>conftest.er1
43860 grep -v '^ *+' conftest.er1
>conftest.err
43862 cat conftest.err
>&5
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); } &&
43865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43867 (eval $ac_try) 2>&5
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; } &&
43871 { ac_try
='test -s conftest$ac_exeext'
43872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43873 (eval $ac_try) 2>&5
43875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876 (exit $ac_status); }; }; then
43877 echo "*** The test program compiled, but did not run. This usually means"
43878 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43879 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43880 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43881 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43882 echo "*** is required on your system"
43884 echo "*** If you have an old version installed, it is best to remove it, although"
43885 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43887 echo "$as_me: failed program was:" >&5
43888 sed 's/^/| /' conftest.
$ac_ext >&5
43890 echo "*** The test program failed to compile or link. See the file config.log for the"
43891 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43892 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43893 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43895 rm -f conftest.err conftest.
$ac_objext \
43896 conftest
$ac_exeext conftest.
$ac_ext
43897 CFLAGS
="$ac_save_CFLAGS"
43898 CXXFLAGS
="$ac_save_CXXFLAGS"
43899 LIBS
="$ac_save_LIBS"
43910 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43916 cat >>confdefs.h
<<\_ACEOF
43917 #define wxUSE_SOUND 1
43920 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43923 if test "$WXGTK20" = 1; then
43926 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43927 if test -n "$ac_tool_prefix"; then
43928 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43929 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43930 echo "$as_me:$LINENO: checking for $ac_word" >&5
43931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43933 echo $ECHO_N "(cached) $ECHO_C" >&6
43935 case $PKG_CONFIG in
43937 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43941 for as_dir
in $PATH
43944 test -z "$as_dir" && as_dir
=.
43945 for ac_exec_ext
in '' $ac_executable_extensions; do
43946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43947 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43957 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43959 if test -n "$PKG_CONFIG"; then
43960 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43961 echo "${ECHO_T}$PKG_CONFIG" >&6
43963 echo "$as_me:$LINENO: result: no" >&5
43964 echo "${ECHO_T}no" >&6
43968 if test -z "$ac_cv_path_PKG_CONFIG"; then
43969 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43970 # Extract the first word of "pkg-config", so it can be a program name with args.
43971 set dummy pkg
-config; ac_word
=$2
43972 echo "$as_me:$LINENO: checking for $ac_word" >&5
43973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43974 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43975 echo $ECHO_N "(cached) $ECHO_C" >&6
43977 case $ac_pt_PKG_CONFIG in
43979 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43983 for as_dir
in $PATH
43986 test -z "$as_dir" && as_dir
=.
43987 for ac_exec_ext
in '' $ac_executable_extensions; do
43988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43989 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43999 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44001 if test -n "$ac_pt_PKG_CONFIG"; then
44002 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44003 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
44005 echo "$as_me:$LINENO: result: no" >&5
44006 echo "${ECHO_T}no" >&6
44009 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44011 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44015 if test -n "$PKG_CONFIG"; then
44016 _pkg_min_version
=0.9.0
44017 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44018 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
44019 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44020 echo "$as_me:$LINENO: result: yes" >&5
44021 echo "${ECHO_T}yes" >&6
44023 echo "$as_me:$LINENO: result: no" >&5
44024 echo "${ECHO_T}no" >&6
44030 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44031 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44035 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44036 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
44038 if test -n "$PKG_CONFIG"; then
44039 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44040 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44042 if test -n "$PKG_CONFIG" && \
44043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44044 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; then
44048 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44056 if test -n "$PKG_CONFIG"; then
44057 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44058 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44060 if test -n "$PKG_CONFIG" && \
44061 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44062 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); }; then
44066 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44077 if test $pkg_failed = yes; then
44079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44080 _pkg_short_errors_supported
=yes
44082 _pkg_short_errors_supported
=no
44084 if test $_pkg_short_errors_supported = yes; then
44085 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44087 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44089 # Put the nasty error message in config.log where it belongs
44090 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44093 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44094 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44095 wxUSE_LIBGNOMEPRINT
="no"
44098 elif test $pkg_failed = untried
; then
44100 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44101 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44102 wxUSE_LIBGNOMEPRINT
="no"
44106 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44107 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44108 echo "$as_me:$LINENO: result: yes" >&5
44109 echo "${ECHO_T}yes" >&6
44111 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44112 cat >>confdefs.h
<<\_ACEOF
44113 #define wxUSE_LIBGNOMEPRINT 1
44121 if test "$wxUSE_MIMETYPE" = "yes" ; then
44122 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44126 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44127 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
44129 if test -n "$PKG_CONFIG"; then
44130 if test -n "$GNOMEVFS_CFLAGS"; then
44131 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44133 if test -n "$PKG_CONFIG" && \
44134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44135 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); }; then
44139 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44147 if test -n "$PKG_CONFIG"; then
44148 if test -n "$GNOMEVFS_LIBS"; then
44149 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44151 if test -n "$PKG_CONFIG" && \
44152 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44153 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); }; then
44157 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44168 if test $pkg_failed = yes; then
44170 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44171 _pkg_short_errors_supported
=yes
44173 _pkg_short_errors_supported
=no
44175 if test $_pkg_short_errors_supported = yes; then
44176 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44178 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44180 # Put the nasty error message in config.log where it belongs
44181 echo "$GNOMEVFS_PKG_ERRORS" >&5
44184 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44185 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44186 wxUSE_LIBGNOMEVFS
="no"
44189 elif test $pkg_failed = untried
; then
44191 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44192 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44193 wxUSE_LIBGNOMEVFS
="no"
44197 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44198 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44199 echo "$as_me:$LINENO: result: yes" >&5
44200 echo "${ECHO_T}yes" >&6
44202 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44203 cat >>confdefs.h
<<\_ACEOF
44204 #define wxUSE_LIBGNOMEVFS 1
44212 if test "$wxUSE_LIBHILDON" = "yes" ; then
44215 echo "$as_me:$LINENO: checking for HILDON" >&5
44216 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
44218 if test -n "$PKG_CONFIG"; then
44219 if test -n "$HILDON_CFLAGS"; then
44220 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44222 if test -n "$PKG_CONFIG" && \
44223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44224 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; then
44228 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44236 if test -n "$PKG_CONFIG"; then
44237 if test -n "$HILDON_LIBS"; then
44238 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44240 if test -n "$PKG_CONFIG" && \
44241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44242 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; then
44246 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44257 if test $pkg_failed = yes; then
44259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44260 _pkg_short_errors_supported
=yes
44262 _pkg_short_errors_supported
=no
44264 if test $_pkg_short_errors_supported = yes; then
44265 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44267 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44269 # Put the nasty error message in config.log where it belongs
44270 echo "$HILDON_PKG_ERRORS" >&5
44273 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44274 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44275 wxUSE_LIBHILDON
="no"
44278 elif test $pkg_failed = untried
; then
44280 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44281 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44282 wxUSE_LIBHILDON
="no"
44286 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44287 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44288 echo "$as_me:$LINENO: result: yes" >&5
44289 echo "${ECHO_T}yes" >&6
44291 EXTRALIBS_HILDON
="$HILDON_LIBS"
44292 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44293 cat >>confdefs.h
<<\_ACEOF
44294 #define wxUSE_LIBHILDON 1
44302 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44303 cat >>confdefs.h
<<\_ACEOF
44304 #define wxUSE_CMDLINE_PARSER 1
44309 if test "$wxUSE_STOPWATCH" = "yes"; then
44310 cat >>confdefs.h
<<\_ACEOF
44311 #define wxUSE_STOPWATCH 1
44316 if test "$wxUSE_DATETIME" = "yes"; then
44317 cat >>confdefs.h
<<\_ACEOF
44318 #define wxUSE_DATETIME 1
44323 if test "$wxUSE_FILE" = "yes"; then
44324 cat >>confdefs.h
<<\_ACEOF
44325 #define wxUSE_FILE 1
44330 if test "$wxUSE_FFILE" = "yes"; then
44331 cat >>confdefs.h
<<\_ACEOF
44332 #define wxUSE_FFILE 1
44337 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44338 if test "$wxUSE_STREAMS" != yes; then
44339 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44340 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44341 wxUSE_ARCHIVE_STREAMS
=no
44343 cat >>confdefs.h
<<\_ACEOF
44344 #define wxUSE_ARCHIVE_STREAMS 1
44350 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44351 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44352 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44353 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44354 elif test "$wxUSE_ZLIB" = "no"; then
44355 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44356 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44358 cat >>confdefs.h
<<\_ACEOF
44359 #define wxUSE_ZIPSTREAM 1
44365 if test "$wxUSE_TARSTREAM" = "yes"; then
44366 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44367 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44368 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44370 cat >>confdefs.h
<<\_ACEOF
44371 #define wxUSE_TARSTREAM 1
44377 if test "$wxUSE_FILESYSTEM" = "yes"; then
44378 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44379 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44380 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44381 wxUSE_FILESYSTEM
=no
44383 cat >>confdefs.h
<<\_ACEOF
44384 #define wxUSE_FILESYSTEM 1
44390 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44391 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44392 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44393 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44395 cat >>confdefs.h
<<\_ACEOF
44396 #define wxUSE_FS_ARCHIVE 1
44402 if test "$wxUSE_FS_ZIP" = "yes"; then
44403 if test "$wxUSE_FS_ARCHIVE" != yes; then
44404 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44405 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44407 cat >>confdefs.h
<<\_ACEOF
44408 #define wxUSE_FS_ZIP 1
44414 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44415 if test "$USE_UNIX" != 1; then
44416 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44417 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44418 wxUSE_ON_FATAL_EXCEPTION
=no
44420 cat >>confdefs.h
<<\_ACEOF
44421 #define wxUSE_ON_FATAL_EXCEPTION 1
44427 if test "$wxUSE_STACKWALKER" = "yes"; then
44428 cat >>confdefs.h
<<\_ACEOF
44429 #define wxUSE_STACKWALKER 1
44434 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44435 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44436 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44437 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44438 wxUSE_DEBUGREPORT
=no
44440 cat >>confdefs.h
<<\_ACEOF
44441 #define wxUSE_DEBUGREPORT 1
44444 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44450 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44451 cat >>confdefs.h
<<\_ACEOF
44452 #define wxUSE_SNGLINST_CHECKER 1
44457 if test "$wxUSE_BUSYINFO" = "yes"; then
44458 cat >>confdefs.h
<<\_ACEOF
44459 #define wxUSE_BUSYINFO 1
44464 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44465 cat >>confdefs.h
<<\_ACEOF
44466 #define wxUSE_STD_IOSTREAM 1
44471 if test "$wxUSE_STD_STRING" = "yes"; then
44472 cat >>confdefs.h
<<\_ACEOF
44473 #define wxUSE_STD_STRING 1
44478 if test "$wxUSE_STDPATHS" = "yes"; then
44479 cat >>confdefs.h
<<\_ACEOF
44480 #define wxUSE_STDPATHS 1
44485 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44486 cat >>confdefs.h
<<\_ACEOF
44487 #define wxUSE_TEXTBUFFER 1
44492 if test "$wxUSE_TEXTFILE" = "yes"; then
44493 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44494 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44495 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44497 cat >>confdefs.h
<<\_ACEOF
44498 #define wxUSE_TEXTFILE 1
44504 if test "$wxUSE_CONFIG" = "yes" ; then
44505 if test "$wxUSE_TEXTFILE" != "yes"; then
44506 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44507 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44509 cat >>confdefs.h
<<\_ACEOF
44510 #define wxUSE_CONFIG 1
44513 cat >>confdefs.h
<<\_ACEOF
44514 #define wxUSE_CONFIG_NATIVE 1
44517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44521 if test "$wxUSE_INTL" = "yes" ; then
44522 if test "$wxUSE_FILE" != "yes"; then
44523 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44524 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44526 cat >>confdefs.h
<<\_ACEOF
44527 #define wxUSE_INTL 1
44530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44531 GUIDIST
="$GUIDIST INTL_DIST"
44535 if test "$wxUSE_LOG" = "yes"; then
44536 cat >>confdefs.h
<<\_ACEOF
44537 #define wxUSE_LOG 1
44541 if test "$wxUSE_LOGGUI" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_LOGGUI 1
44548 if test "$wxUSE_LOGWINDOW" = "yes"; then
44549 cat >>confdefs.h
<<\_ACEOF
44550 #define wxUSE_LOGWINDOW 1
44555 if test "$wxUSE_LOGDIALOG" = "yes"; then
44556 cat >>confdefs.h
<<\_ACEOF
44557 #define wxUSE_LOG_DIALOG 1
44562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
44565 if test "$wxUSE_LONGLONG" = "yes"; then
44566 cat >>confdefs.h
<<\_ACEOF
44567 #define wxUSE_LONGLONG 1
44572 if test "$wxUSE_GEOMETRY" = "yes"; then
44573 cat >>confdefs.h
<<\_ACEOF
44574 #define wxUSE_GEOMETRY 1
44579 if test "$wxUSE_STREAMS" = "yes" ; then
44580 cat >>confdefs.h
<<\_ACEOF
44581 #define wxUSE_STREAMS 1
44586 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44587 cat >>confdefs.h
<<\_ACEOF
44588 #define wxUSE_PRINTF_POS_PARAMS 1
44595 if test "$wxUSE_DATETIME" = "yes"; then
44597 for ac_func
in strptime
44599 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44600 echo "$as_me:$LINENO: checking for $ac_func" >&5
44601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44602 if eval "test \"\${$as_ac_var+set}\" = set"; then
44603 echo $ECHO_N "(cached) $ECHO_C" >&6
44605 cat >conftest.
$ac_ext <<_ACEOF
44608 cat confdefs.h
>>conftest.
$ac_ext
44609 cat >>conftest.
$ac_ext <<_ACEOF
44610 /* end confdefs.h. */
44611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44613 #define $ac_func innocuous_$ac_func
44615 /* System header to define __stub macros and hopefully few prototypes,
44616 which can conflict with char $ac_func (); below.
44617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44618 <limits.h> exists even on freestanding compilers. */
44621 # include <limits.h>
44623 # include <assert.h>
44628 /* Override any gcc2 internal prototype to avoid an error. */
44633 /* We use char because int might match the return type of a gcc2
44634 builtin and then its argument prototype would still apply. */
44636 /* The GNU C library defines this for functions which it implements
44637 to always fail with ENOSYS. Some functions are actually named
44638 something starting with __ and the normal name is an alias. */
44639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44642 char (*f) () = $ac_func;
44651 return f != $ac_func;
44656 rm -f conftest.
$ac_objext conftest
$ac_exeext
44657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44658 (eval $ac_link) 2>conftest.er1
44660 grep -v '^ *+' conftest.er1
>conftest.err
44662 cat conftest.err
>&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); } &&
44665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44667 (eval $ac_try) 2>&5
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; } &&
44671 { ac_try
='test -s conftest$ac_exeext'
44672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44673 (eval $ac_try) 2>&5
44675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44676 (exit $ac_status); }; }; then
44677 eval "$as_ac_var=yes"
44679 echo "$as_me: failed program was:" >&5
44680 sed 's/^/| /' conftest.
$ac_ext >&5
44682 eval "$as_ac_var=no"
44684 rm -f conftest.err conftest.
$ac_objext \
44685 conftest
$ac_exeext conftest.
$ac_ext
44687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44689 if test `eval echo '${'$as_ac_var'}'` = yes; then
44690 cat >>confdefs.h
<<_ACEOF
44691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44697 if test "$ac_cv_func_strptime" = "yes"; then
44698 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44699 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44700 if test "${wx_cv_func_strptime_decl+set}" = set; then
44701 echo $ECHO_N "(cached) $ECHO_C" >&6
44704 cat >conftest.
$ac_ext <<_ACEOF
44707 cat confdefs.h
>>conftest.
$ac_ext
44708 cat >>conftest.
$ac_ext <<_ACEOF
44709 /* end confdefs.h. */
44718 strptime("foo", "bar", &t);
44724 rm -f conftest.
$ac_objext
44725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44726 (eval $ac_compile) 2>conftest.er1
44728 grep -v '^ *+' conftest.er1
>conftest.err
44730 cat conftest.err
>&5
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); } &&
44733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44735 (eval $ac_try) 2>&5
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); }; } &&
44739 { ac_try
='test -s conftest.$ac_objext'
44740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44741 (eval $ac_try) 2>&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); }; }; then
44745 wx_cv_func_strptime_decl
=yes
44747 echo "$as_me: failed program was:" >&5
44748 sed 's/^/| /' conftest.
$ac_ext >&5
44750 wx_cv_func_strptime_decl
=no
44753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44757 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44758 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44760 if test "$wx_cv_func_strptime_decl" = "yes"; then
44761 cat >>confdefs.h
<<\_ACEOF
44762 #define HAVE_STRPTIME_DECL 1
44767 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44768 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44769 if test "${wx_cv_var_timezone+set}" = set; then
44770 echo $ECHO_N "(cached) $ECHO_C" >&6
44773 cat >conftest.
$ac_ext <<_ACEOF
44776 cat confdefs.h
>>conftest.
$ac_ext
44777 cat >>conftest.
$ac_ext <<_ACEOF
44778 /* end confdefs.h. */
44793 rm -f conftest.
$ac_objext
44794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44795 (eval $ac_compile) 2>conftest.er1
44797 grep -v '^ *+' conftest.er1
>conftest.err
44799 cat conftest.err
>&5
44800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44801 (exit $ac_status); } &&
44802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44804 (eval $ac_try) 2>&5
44806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44807 (exit $ac_status); }; } &&
44808 { ac_try
='test -s conftest.$ac_objext'
44809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44810 (eval $ac_try) 2>&5
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); }; }; then
44815 wx_cv_var_timezone
=timezone
44818 echo "$as_me: failed program was:" >&5
44819 sed 's/^/| /' conftest.
$ac_ext >&5
44822 cat >conftest.
$ac_ext <<_ACEOF
44825 cat confdefs.h
>>conftest.
$ac_ext
44826 cat >>conftest.
$ac_ext <<_ACEOF
44827 /* end confdefs.h. */
44842 rm -f conftest.
$ac_objext
44843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44844 (eval $ac_compile) 2>conftest.er1
44846 grep -v '^ *+' conftest.er1
>conftest.err
44848 cat conftest.err
>&5
44849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44850 (exit $ac_status); } &&
44851 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44853 (eval $ac_try) 2>&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); }; } &&
44857 { ac_try
='test -s conftest.$ac_objext'
44858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44859 (eval $ac_try) 2>&5
44861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44862 (exit $ac_status); }; }; then
44864 wx_cv_var_timezone
=_timezone
44867 echo "$as_me: failed program was:" >&5
44868 sed 's/^/| /' conftest.
$ac_ext >&5
44871 cat >conftest.
$ac_ext <<_ACEOF
44874 cat confdefs.h
>>conftest.
$ac_ext
44875 cat >>conftest.
$ac_ext <<_ACEOF
44876 /* end confdefs.h. */
44891 rm -f conftest.
$ac_objext
44892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44893 (eval $ac_compile) 2>conftest.er1
44895 grep -v '^ *+' conftest.er1
>conftest.err
44897 cat conftest.err
>&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); } &&
44900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44902 (eval $ac_try) 2>&5
44904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44905 (exit $ac_status); }; } &&
44906 { ac_try
='test -s conftest.$ac_objext'
44907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44908 (eval $ac_try) 2>&5
44910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44911 (exit $ac_status); }; }; then
44913 wx_cv_var_timezone
=__timezone
44916 echo "$as_me: failed program was:" >&5
44917 sed 's/^/| /' conftest.
$ac_ext >&5
44920 if test "$USE_DOS" = 0 ; then
44921 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44922 echo "$as_me: WARNING: no timezone variable" >&2;}
44927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44939 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44940 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44942 if test "x$wx_cv_var_timezone" != x
; then
44943 cat >>confdefs.h
<<_ACEOF
44944 #define WX_TIMEZONE $wx_cv_var_timezone
44950 for ac_func
in localtime
44952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44953 echo "$as_me:$LINENO: checking for $ac_func" >&5
44954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44955 if eval "test \"\${$as_ac_var+set}\" = set"; then
44956 echo $ECHO_N "(cached) $ECHO_C" >&6
44958 cat >conftest.
$ac_ext <<_ACEOF
44961 cat confdefs.h
>>conftest.
$ac_ext
44962 cat >>conftest.
$ac_ext <<_ACEOF
44963 /* end confdefs.h. */
44964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44966 #define $ac_func innocuous_$ac_func
44968 /* System header to define __stub macros and hopefully few prototypes,
44969 which can conflict with char $ac_func (); below.
44970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44971 <limits.h> exists even on freestanding compilers. */
44974 # include <limits.h>
44976 # include <assert.h>
44981 /* Override any gcc2 internal prototype to avoid an error. */
44986 /* We use char because int might match the return type of a gcc2
44987 builtin and then its argument prototype would still apply. */
44989 /* The GNU C library defines this for functions which it implements
44990 to always fail with ENOSYS. Some functions are actually named
44991 something starting with __ and the normal name is an alias. */
44992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44995 char (*f) () = $ac_func;
45004 return f != $ac_func;
45009 rm -f conftest.
$ac_objext conftest
$ac_exeext
45010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45011 (eval $ac_link) 2>conftest.er1
45013 grep -v '^ *+' conftest.er1
>conftest.err
45015 cat conftest.err
>&5
45016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45017 (exit $ac_status); } &&
45018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45020 (eval $ac_try) 2>&5
45022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45023 (exit $ac_status); }; } &&
45024 { ac_try
='test -s conftest$ac_exeext'
45025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45026 (eval $ac_try) 2>&5
45028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45029 (exit $ac_status); }; }; then
45030 eval "$as_ac_var=yes"
45032 echo "$as_me: failed program was:" >&5
45033 sed 's/^/| /' conftest.
$ac_ext >&5
45035 eval "$as_ac_var=no"
45037 rm -f conftest.err conftest.
$ac_objext \
45038 conftest
$ac_exeext conftest.
$ac_ext
45040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45042 if test `eval echo '${'$as_ac_var'}'` = yes; then
45043 cat >>confdefs.h
<<_ACEOF
45044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45051 if test "$ac_cv_func_localtime" = "yes"; then
45052 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45053 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
45054 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45055 echo $ECHO_N "(cached) $ECHO_C" >&6
45058 cat >conftest.
$ac_ext <<_ACEOF
45061 cat confdefs.h
>>conftest.
$ac_ext
45062 cat >>conftest.
$ac_ext <<_ACEOF
45063 /* end confdefs.h. */
45078 rm -f conftest.
$ac_objext
45079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45080 (eval $ac_compile) 2>conftest.er1
45082 grep -v '^ *+' conftest.er1
>conftest.err
45084 cat conftest.err
>&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); } &&
45087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45089 (eval $ac_try) 2>&5
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); }; } &&
45093 { ac_try
='test -s conftest.$ac_objext'
45094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45095 (eval $ac_try) 2>&5
45097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45098 (exit $ac_status); }; }; then
45100 wx_cv_struct_tm_has_gmtoff
=yes
45103 echo "$as_me: failed program was:" >&5
45104 sed 's/^/| /' conftest.
$ac_ext >&5
45106 wx_cv_struct_tm_has_gmtoff
=no
45109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45112 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45113 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
45116 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45117 cat >>confdefs.h
<<\_ACEOF
45118 #define WX_GMTOFF_IN_TM 1
45125 for ac_func
in gettimeofday ftime
45127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45128 echo "$as_me:$LINENO: checking for $ac_func" >&5
45129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45130 if eval "test \"\${$as_ac_var+set}\" = set"; then
45131 echo $ECHO_N "(cached) $ECHO_C" >&6
45133 cat >conftest.
$ac_ext <<_ACEOF
45136 cat confdefs.h
>>conftest.
$ac_ext
45137 cat >>conftest.
$ac_ext <<_ACEOF
45138 /* end confdefs.h. */
45139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45141 #define $ac_func innocuous_$ac_func
45143 /* System header to define __stub macros and hopefully few prototypes,
45144 which can conflict with char $ac_func (); below.
45145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45146 <limits.h> exists even on freestanding compilers. */
45149 # include <limits.h>
45151 # include <assert.h>
45156 /* Override any gcc2 internal prototype to avoid an error. */
45161 /* We use char because int might match the return type of a gcc2
45162 builtin and then its argument prototype would still apply. */
45164 /* The GNU C library defines this for functions which it implements
45165 to always fail with ENOSYS. Some functions are actually named
45166 something starting with __ and the normal name is an alias. */
45167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45170 char (*f) () = $ac_func;
45179 return f != $ac_func;
45184 rm -f conftest.
$ac_objext conftest
$ac_exeext
45185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45186 (eval $ac_link) 2>conftest.er1
45188 grep -v '^ *+' conftest.er1
>conftest.err
45190 cat conftest.err
>&5
45191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45192 (exit $ac_status); } &&
45193 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45195 (eval $ac_try) 2>&5
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); }; } &&
45199 { ac_try
='test -s conftest$ac_exeext'
45200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45201 (eval $ac_try) 2>&5
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); }; }; then
45205 eval "$as_ac_var=yes"
45207 echo "$as_me: failed program was:" >&5
45208 sed 's/^/| /' conftest.
$ac_ext >&5
45210 eval "$as_ac_var=no"
45212 rm -f conftest.err conftest.
$ac_objext \
45213 conftest
$ac_exeext conftest.
$ac_ext
45215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45217 if test `eval echo '${'$as_ac_var'}'` = yes; then
45218 cat >>confdefs.h
<<_ACEOF
45219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226 if test "$ac_cv_func_gettimeofday" = "yes"; then
45227 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45228 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
45229 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45230 echo $ECHO_N "(cached) $ECHO_C" >&6
45233 cat >conftest.
$ac_ext <<_ACEOF
45236 cat confdefs.h
>>conftest.
$ac_ext
45237 cat >>conftest.
$ac_ext <<_ACEOF
45238 /* end confdefs.h. */
45240 #include <sys/time.h>
45241 #include <unistd.h>
45248 gettimeofday(&tv, NULL);
45254 rm -f conftest.
$ac_objext
45255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45256 (eval $ac_compile) 2>conftest.er1
45258 grep -v '^ *+' conftest.er1
>conftest.err
45260 cat conftest.err
>&5
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); } &&
45263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45265 (eval $ac_try) 2>&5
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); }; } &&
45269 { ac_try
='test -s conftest.$ac_objext'
45270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45271 (eval $ac_try) 2>&5
45273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45274 (exit $ac_status); }; }; then
45275 wx_cv_func_gettimeofday_has_2_args
=yes
45277 echo "$as_me: failed program was:" >&5
45278 sed 's/^/| /' conftest.
$ac_ext >&5
45280 cat >conftest.
$ac_ext <<_ACEOF
45283 cat confdefs.h
>>conftest.
$ac_ext
45284 cat >>conftest.
$ac_ext <<_ACEOF
45285 /* end confdefs.h. */
45287 #include <sys/time.h>
45288 #include <unistd.h>
45301 rm -f conftest.
$ac_objext
45302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45303 (eval $ac_compile) 2>conftest.er1
45305 grep -v '^ *+' conftest.er1
>conftest.err
45307 cat conftest.err
>&5
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); } &&
45310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45312 (eval $ac_try) 2>&5
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); }; } &&
45316 { ac_try
='test -s conftest.$ac_objext'
45317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45318 (eval $ac_try) 2>&5
45320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45321 (exit $ac_status); }; }; then
45322 wx_cv_func_gettimeofday_has_2_args
=no
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.
$ac_ext >&5
45328 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45329 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45330 wx_cv_func_gettimeofday_has_2_args
=unknown
45334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45340 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45341 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
45343 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45344 cat >>confdefs.h
<<\_ACEOF
45345 #define WX_GETTIMEOFDAY_NO_TZ 1
45351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45355 if test "$wxUSE_SOCKETS" = "yes"; then
45356 if test "$wxUSE_MGL" = "1"; then
45357 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45358 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45363 if test "$wxUSE_SOCKETS" = "yes"; then
45364 if test "$TOOLKIT" != "MSW"; then
45365 echo "$as_me:$LINENO: checking for socket" >&5
45366 echo $ECHO_N "checking for socket... $ECHO_C" >&6
45367 if test "${ac_cv_func_socket+set}" = set; then
45368 echo $ECHO_N "(cached) $ECHO_C" >&6
45370 cat >conftest.
$ac_ext <<_ACEOF
45373 cat confdefs.h
>>conftest.
$ac_ext
45374 cat >>conftest.
$ac_ext <<_ACEOF
45375 /* end confdefs.h. */
45376 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45378 #define socket innocuous_socket
45380 /* System header to define __stub macros and hopefully few prototypes,
45381 which can conflict with char socket (); below.
45382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45383 <limits.h> exists even on freestanding compilers. */
45386 # include <limits.h>
45388 # include <assert.h>
45393 /* Override any gcc2 internal prototype to avoid an error. */
45398 /* We use char because int might match the return type of a gcc2
45399 builtin and then its argument prototype would still apply. */
45401 /* The GNU C library defines this for functions which it implements
45402 to always fail with ENOSYS. Some functions are actually named
45403 something starting with __ and the normal name is an alias. */
45404 #if defined (__stub_socket) || defined (__stub___socket)
45407 char (*f) () = socket;
45416 return f != socket;
45421 rm -f conftest.
$ac_objext conftest
$ac_exeext
45422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45423 (eval $ac_link) 2>conftest.er1
45425 grep -v '^ *+' conftest.er1
>conftest.err
45427 cat conftest.err
>&5
45428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429 (exit $ac_status); } &&
45430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45432 (eval $ac_try) 2>&5
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); }; } &&
45436 { ac_try
='test -s conftest$ac_exeext'
45437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45438 (eval $ac_try) 2>&5
45440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45441 (exit $ac_status); }; }; then
45442 ac_cv_func_socket
=yes
45444 echo "$as_me: failed program was:" >&5
45445 sed 's/^/| /' conftest.
$ac_ext >&5
45447 ac_cv_func_socket
=no
45449 rm -f conftest.err conftest.
$ac_objext \
45450 conftest
$ac_exeext conftest.
$ac_ext
45452 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45453 echo "${ECHO_T}$ac_cv_func_socket" >&6
45454 if test $ac_cv_func_socket = yes; then
45458 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45459 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
45460 if test "${ac_cv_lib_socket_socket+set}" = set; then
45461 echo $ECHO_N "(cached) $ECHO_C" >&6
45463 ac_check_lib_save_LIBS
=$LIBS
45464 LIBS
="-lsocket $LIBS"
45465 cat >conftest.
$ac_ext <<_ACEOF
45468 cat confdefs.h
>>conftest.
$ac_ext
45469 cat >>conftest.
$ac_ext <<_ACEOF
45470 /* end confdefs.h. */
45472 /* Override any gcc2 internal prototype to avoid an error. */
45476 /* We use char because int might match the return type of a gcc2
45477 builtin and then its argument prototype would still apply. */
45487 rm -f conftest.
$ac_objext conftest
$ac_exeext
45488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45489 (eval $ac_link) 2>conftest.er1
45491 grep -v '^ *+' conftest.er1
>conftest.err
45493 cat conftest.err
>&5
45494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45495 (exit $ac_status); } &&
45496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45498 (eval $ac_try) 2>&5
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); }; } &&
45502 { ac_try
='test -s conftest$ac_exeext'
45503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45504 (eval $ac_try) 2>&5
45506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507 (exit $ac_status); }; }; then
45508 ac_cv_lib_socket_socket
=yes
45510 echo "$as_me: failed program was:" >&5
45511 sed 's/^/| /' conftest.
$ac_ext >&5
45513 ac_cv_lib_socket_socket
=no
45515 rm -f conftest.err conftest.
$ac_objext \
45516 conftest
$ac_exeext conftest.
$ac_ext
45517 LIBS
=$ac_check_lib_save_LIBS
45519 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45520 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
45521 if test $ac_cv_lib_socket_socket = yes; then
45522 if test "$INET_LINK" != " -lsocket"; then
45523 INET_LINK
="$INET_LINK -lsocket"
45527 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45528 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45541 if test "$wxUSE_SOCKETS" = "yes" ; then
45542 if test "$TOOLKIT" != "MSW"; then
45543 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45544 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
45545 if test "${wx_cv_type_getsockname3+set}" = set; then
45546 echo $ECHO_N "(cached) $ECHO_C" >&6
45549 cat >conftest.
$ac_ext <<_ACEOF
45552 cat confdefs.h
>>conftest.
$ac_ext
45553 cat >>conftest.
$ac_ext <<_ACEOF
45554 /* end confdefs.h. */
45556 #include <sys/types.h>
45557 #include <sys/socket.h>
45564 getsockname(0, 0, &len);
45570 rm -f conftest.
$ac_objext
45571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45572 (eval $ac_compile) 2>conftest.er1
45574 grep -v '^ *+' conftest.er1
>conftest.err
45576 cat conftest.err
>&5
45577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45578 (exit $ac_status); } &&
45579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45581 (eval $ac_try) 2>&5
45583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45584 (exit $ac_status); }; } &&
45585 { ac_try
='test -s conftest.$ac_objext'
45586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45587 (eval $ac_try) 2>&5
45589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45590 (exit $ac_status); }; }; then
45591 wx_cv_type_getsockname3
=socklen_t
45593 echo "$as_me: failed program was:" >&5
45594 sed 's/^/| /' conftest.
$ac_ext >&5
45597 CXXFLAGS_OLD
="$CXXFLAGS"
45598 if test "$GCC" = yes ; then
45599 CXXFLAGS
="-Werror $CXXFLAGS"
45602 cat >conftest.
$ac_ext <<_ACEOF
45605 cat confdefs.h
>>conftest.
$ac_ext
45606 cat >>conftest.
$ac_ext <<_ACEOF
45607 /* end confdefs.h. */
45609 #include <sys/types.h>
45610 #include <sys/socket.h>
45617 getsockname(0, 0, &len);
45623 rm -f conftest.
$ac_objext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45625 (eval $ac_compile) 2>conftest.er1
45627 grep -v '^ *+' conftest.er1
>conftest.err
45629 cat conftest.err
>&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try
='test -s conftest.$ac_objext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 wx_cv_type_getsockname3
=size_t
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.
$ac_ext >&5
45649 cat >conftest.
$ac_ext <<_ACEOF
45652 cat confdefs.h
>>conftest.
$ac_ext
45653 cat >>conftest.
$ac_ext <<_ACEOF
45654 /* end confdefs.h. */
45656 #include <sys/types.h>
45657 #include <sys/socket.h>
45664 getsockname(0, 0, &len);
45670 rm -f conftest.
$ac_objext
45671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45672 (eval $ac_compile) 2>conftest.er1
45674 grep -v '^ *+' conftest.er1
>conftest.err
45676 cat conftest.err
>&5
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); } &&
45679 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45681 (eval $ac_try) 2>&5
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); }; } &&
45685 { ac_try
='test -s conftest.$ac_objext'
45686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45687 (eval $ac_try) 2>&5
45689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45690 (exit $ac_status); }; }; then
45691 wx_cv_type_getsockname3
=int
45693 echo "$as_me: failed program was:" >&5
45694 sed 's/^/| /' conftest.
$ac_ext >&5
45696 wx_cv_type_getsockname3
=unknown
45699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45704 CXXFLAGS
="$CXXFLAGS_OLD"
45708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45711 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45712 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45714 if test "$wx_cv_type_getsockname3" = "unknown"; then
45716 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45717 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45719 cat >>confdefs.h
<<_ACEOF
45720 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45724 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45725 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45726 if test "${wx_cv_type_getsockopt5+set}" = set; then
45727 echo $ECHO_N "(cached) $ECHO_C" >&6
45730 cat >conftest.
$ac_ext <<_ACEOF
45733 cat confdefs.h
>>conftest.
$ac_ext
45734 cat >>conftest.
$ac_ext <<_ACEOF
45735 /* end confdefs.h. */
45737 #include <sys/types.h>
45738 #include <sys/socket.h>
45745 getsockopt(0, 0, 0, 0, &len);
45751 rm -f conftest.
$ac_objext
45752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45753 (eval $ac_compile) 2>conftest.er1
45755 grep -v '^ *+' conftest.er1
>conftest.err
45757 cat conftest.err
>&5
45758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45759 (exit $ac_status); } &&
45760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45762 (eval $ac_try) 2>&5
45764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45765 (exit $ac_status); }; } &&
45766 { ac_try
='test -s conftest.$ac_objext'
45767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45768 (eval $ac_try) 2>&5
45770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45771 (exit $ac_status); }; }; then
45772 wx_cv_type_getsockopt5
=socklen_t
45774 echo "$as_me: failed program was:" >&5
45775 sed 's/^/| /' conftest.
$ac_ext >&5
45778 CXXFLAGS_OLD
="$CXXFLAGS"
45779 if test "$GCC" = yes ; then
45780 CXXFLAGS
="-Werror $CXXFLAGS"
45783 cat >conftest.
$ac_ext <<_ACEOF
45786 cat confdefs.h
>>conftest.
$ac_ext
45787 cat >>conftest.
$ac_ext <<_ACEOF
45788 /* end confdefs.h. */
45790 #include <sys/types.h>
45791 #include <sys/socket.h>
45798 getsockopt(0, 0, 0, 0, &len);
45804 rm -f conftest.
$ac_objext
45805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45806 (eval $ac_compile) 2>conftest.er1
45808 grep -v '^ *+' conftest.er1
>conftest.err
45810 cat conftest.err
>&5
45811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812 (exit $ac_status); } &&
45813 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45815 (eval $ac_try) 2>&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); }; } &&
45819 { ac_try
='test -s conftest.$ac_objext'
45820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821 (eval $ac_try) 2>&5
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); }; }; then
45825 wx_cv_type_getsockopt5
=size_t
45827 echo "$as_me: failed program was:" >&5
45828 sed 's/^/| /' conftest.
$ac_ext >&5
45830 cat >conftest.
$ac_ext <<_ACEOF
45833 cat confdefs.h
>>conftest.
$ac_ext
45834 cat >>conftest.
$ac_ext <<_ACEOF
45835 /* end confdefs.h. */
45837 #include <sys/types.h>
45838 #include <sys/socket.h>
45845 getsockopt(0, 0, 0, 0, &len);
45851 rm -f conftest.
$ac_objext
45852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45853 (eval $ac_compile) 2>conftest.er1
45855 grep -v '^ *+' conftest.er1
>conftest.err
45857 cat conftest.err
>&5
45858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859 (exit $ac_status); } &&
45860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45862 (eval $ac_try) 2>&5
45864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45865 (exit $ac_status); }; } &&
45866 { ac_try
='test -s conftest.$ac_objext'
45867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45868 (eval $ac_try) 2>&5
45870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45871 (exit $ac_status); }; }; then
45872 wx_cv_type_getsockopt5
=int
45874 echo "$as_me: failed program was:" >&5
45875 sed 's/^/| /' conftest.
$ac_ext >&5
45877 wx_cv_type_getsockopt5
=unknown
45880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45885 CXXFLAGS
="$CXXFLAGS_OLD"
45889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45892 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45893 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45895 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45897 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45898 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45900 cat >>confdefs.h
<<_ACEOF
45901 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45908 if test "$wxUSE_SOCKETS" = "yes" ; then
45909 cat >>confdefs.h
<<\_ACEOF
45910 #define wxUSE_SOCKETS 1
45913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45916 if test "$wxUSE_PROTOCOL" = "yes"; then
45917 if test "$wxUSE_SOCKETS" != "yes"; then
45918 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45919 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45924 if test "$wxUSE_PROTOCOL" = "yes"; then
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_PROTOCOL 1
45930 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45931 cat >>confdefs.h
<<\_ACEOF
45932 #define wxUSE_PROTOCOL_HTTP 1
45936 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45937 cat >>confdefs.h
<<\_ACEOF
45938 #define wxUSE_PROTOCOL_FTP 1
45942 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45943 cat >>confdefs.h
<<\_ACEOF
45944 #define wxUSE_PROTOCOL_FILE 1
45949 if test "$wxUSE_FS_INET" = "yes"; then
45950 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45951 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45956 if test "$wxUSE_URL" = "yes"; then
45957 if test "$wxUSE_PROTOCOL" != "yes"; then
45958 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45959 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45962 if test "$wxUSE_URL" = "yes"; then
45963 cat >>confdefs.h
<<\_ACEOF
45964 #define wxUSE_URL 1
45970 if test "$wxUSE_VARIANT" = "yes"; then
45971 cat >>confdefs.h
<<\_ACEOF
45972 #define wxUSE_VARIANT 1
45977 if test "$wxUSE_FS_INET" = "yes"; then
45978 cat >>confdefs.h
<<\_ACEOF
45979 #define wxUSE_FS_INET 1
45985 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45988 if test "$TOOLKIT" = "MSW"; then
45991 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45992 if test "$USE_DARWIN" = 1; then
45993 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45994 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45995 cat >conftest.
$ac_ext <<_ACEOF
45998 cat confdefs.h
>>conftest.
$ac_ext
45999 cat >>conftest.
$ac_ext <<_ACEOF
46000 /* end confdefs.h. */
46001 #include <IOKit/hid/IOHIDLib.h>
46005 IOHIDQueueInterface *qi = NULL;
46006 IOHIDCallbackFunction cb = NULL;
46007 qi->setEventCallout(NULL, cb, NULL, NULL);
46012 rm -f conftest.
$ac_objext
46013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46014 (eval $ac_compile) 2>conftest.er1
46016 grep -v '^ *+' conftest.er1
>conftest.err
46018 cat conftest.err
>&5
46019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020 (exit $ac_status); } &&
46021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46023 (eval $ac_try) 2>&5
46025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46026 (exit $ac_status); }; } &&
46027 { ac_try
='test -s conftest.$ac_objext'
46028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46029 (eval $ac_try) 2>&5
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); }; }; then
46036 echo "$as_me: failed program was:" >&5
46037 sed 's/^/| /' conftest.
$ac_ext >&5
46040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46041 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46042 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
46047 for ac_header
in linux
/joystick.h
46049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46051 echo "$as_me:$LINENO: checking for $ac_header" >&5
46052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46054 echo $ECHO_N "(cached) $ECHO_C" >&6
46056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46059 # Is the header compilable?
46060 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46062 cat >conftest.
$ac_ext <<_ACEOF
46065 cat confdefs.h
>>conftest.
$ac_ext
46066 cat >>conftest.
$ac_ext <<_ACEOF
46067 /* end confdefs.h. */
46068 $ac_includes_default
46069 #include <$ac_header>
46071 rm -f conftest.
$ac_objext
46072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46073 (eval $ac_compile) 2>conftest.er1
46075 grep -v '^ *+' conftest.er1
>conftest.err
46077 cat conftest.err
>&5
46078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46079 (exit $ac_status); } &&
46080 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46082 (eval $ac_try) 2>&5
46084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46085 (exit $ac_status); }; } &&
46086 { ac_try
='test -s conftest.$ac_objext'
46087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46088 (eval $ac_try) 2>&5
46090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46091 (exit $ac_status); }; }; then
46092 ac_header_compiler
=yes
46094 echo "$as_me: failed program was:" >&5
46095 sed 's/^/| /' conftest.
$ac_ext >&5
46097 ac_header_compiler
=no
46099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46101 echo "${ECHO_T}$ac_header_compiler" >&6
46103 # Is the header present?
46104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46106 cat >conftest.
$ac_ext <<_ACEOF
46109 cat confdefs.h
>>conftest.
$ac_ext
46110 cat >>conftest.
$ac_ext <<_ACEOF
46111 /* end confdefs.h. */
46112 #include <$ac_header>
46114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46115 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
46117 grep -v '^ *+' conftest.er1
>conftest.err
46119 cat conftest.err
>&5
46120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46121 (exit $ac_status); } >/dev
/null
; then
46122 if test -s conftest.err
; then
46123 ac_cpp_err
=$ac_cxx_preproc_warn_flag
46124 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
46131 if test -z "$ac_cpp_err"; then
46132 ac_header_preproc
=yes
46134 echo "$as_me: failed program was:" >&5
46135 sed 's/^/| /' conftest.
$ac_ext >&5
46137 ac_header_preproc
=no
46139 rm -f conftest.err conftest.
$ac_ext
46140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46141 echo "${ECHO_T}$ac_header_preproc" >&6
46143 # So? What about this header?
46144 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
46146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46150 ac_header_preproc
=yes
46153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46167 ## ----------------------------------------- ##
46168 ## Report this to wx-dev@lists.wxwidgets.org ##
46169 ## ----------------------------------------- ##
46172 sed "s/^/$as_me: WARNING: /" >&2
46175 echo "$as_me:$LINENO: checking for $ac_header" >&5
46176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46178 echo $ECHO_N "(cached) $ECHO_C" >&6
46180 eval "$as_ac_Header=\$ac_header_preproc"
46182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46187 cat >>confdefs.h
<<_ACEOF
46188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46197 if test "$wxUSE_JOYSTICK" = "yes"; then
46198 cat >>confdefs.h
<<\_ACEOF
46199 #define wxUSE_JOYSTICK 1
46202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
46204 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46205 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46211 if test "$wxUSE_FONTMAP" = "yes" ; then
46212 cat >>confdefs.h
<<\_ACEOF
46213 #define wxUSE_FONTMAP 1
46218 if test "$wxUSE_UNICODE" = "yes" ; then
46219 cat >>confdefs.h
<<\_ACEOF
46220 #define wxUSE_UNICODE 1
46224 if test "$USE_WIN32" != 1; then
46225 wxUSE_UNICODE_MSLU
=no
46228 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46229 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46230 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
46231 if test "${ac_cv_lib_unicows_main+set}" = set; then
46232 echo $ECHO_N "(cached) $ECHO_C" >&6
46234 ac_check_lib_save_LIBS
=$LIBS
46235 LIBS
="-lunicows $LIBS"
46236 cat >conftest.
$ac_ext <<_ACEOF
46239 cat confdefs.h
>>conftest.
$ac_ext
46240 cat >>conftest.
$ac_ext <<_ACEOF
46241 /* end confdefs.h. */
46252 rm -f conftest.
$ac_objext conftest
$ac_exeext
46253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46254 (eval $ac_link) 2>conftest.er1
46256 grep -v '^ *+' conftest.er1
>conftest.err
46258 cat conftest.err
>&5
46259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260 (exit $ac_status); } &&
46261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46263 (eval $ac_try) 2>&5
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); }; } &&
46267 { ac_try
='test -s conftest$ac_exeext'
46268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46269 (eval $ac_try) 2>&5
46271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46272 (exit $ac_status); }; }; then
46273 ac_cv_lib_unicows_main
=yes
46275 echo "$as_me: failed program was:" >&5
46276 sed 's/^/| /' conftest.
$ac_ext >&5
46278 ac_cv_lib_unicows_main
=no
46280 rm -f conftest.err conftest.
$ac_objext \
46281 conftest
$ac_exeext conftest.
$ac_ext
46282 LIBS
=$ac_check_lib_save_LIBS
46284 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46285 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
46286 if test $ac_cv_lib_unicows_main = yes; then
46288 cat >>confdefs.h
<<\_ACEOF
46289 #define wxUSE_UNICODE_MSLU 1
46295 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46296 Applications will only run on Windows NT/2000/XP!" >&5
46297 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46298 Applications will only run on Windows NT/2000/XP!" >&2;}
46299 wxUSE_UNICODE_MSLU
=no
46306 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46307 cat >>confdefs.h
<<\_ACEOF
46308 #define wxUSE_EXPERIMENTAL_PRINTF 1
46314 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46315 cat >>confdefs.h
<<\_ACEOF
46316 #define wxUSE_POSTSCRIPT 1
46321 cat >>confdefs.h
<<\_ACEOF
46322 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46326 cat >>confdefs.h
<<\_ACEOF
46327 #define wxUSE_NORMALIZED_PS_FONTS 1
46332 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46333 cat >>confdefs.h
<<\_ACEOF
46334 #define wxUSE_CONSTRAINTS 1
46337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46340 if test "$wxUSE_MDI" = "yes"; then
46341 cat >>confdefs.h
<<\_ACEOF
46342 #define wxUSE_MDI 1
46346 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46347 cat >>confdefs.h
<<\_ACEOF
46348 #define wxUSE_MDI_ARCHITECTURE 1
46351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46355 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46356 cat >>confdefs.h
<<\_ACEOF
46357 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46361 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
46366 if test "$wxUSE_HELP" = "yes"; then
46367 cat >>confdefs.h
<<\_ACEOF
46368 #define wxUSE_HELP 1
46371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46373 if test "$wxUSE_MSW" = 1; then
46374 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46375 cat >>confdefs.h
<<\_ACEOF
46376 #define wxUSE_MS_HTML_HELP 1
46382 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46383 if test "$wxUSE_HTML" = "yes"; then
46384 cat >>confdefs.h
<<\_ACEOF
46385 #define wxUSE_WXHTML_HELP 1
46389 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46390 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46391 wxUSE_WXHTML_HELP
=no
46396 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46397 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46398 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46399 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46401 cat >>confdefs.h
<<\_ACEOF
46402 #define wxUSE_PRINTING_ARCHITECTURE 1
46406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46409 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
46410 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
46411 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
46412 { (exit 1); exit 1; }; }
46416 if test "$wxUSE_METAFILE" = "yes"; then
46417 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46418 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46419 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46425 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46426 -o "$wxUSE_CLIPBOARD" = "yes" \
46427 -o "$wxUSE_OLE" = "yes" \
46428 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46430 for ac_header
in ole2.h
46432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46434 echo "$as_me:$LINENO: checking for $ac_header" >&5
46435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46437 echo $ECHO_N "(cached) $ECHO_C" >&6
46439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46442 # Is the header compilable?
46443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46445 cat >conftest.
$ac_ext <<_ACEOF
46448 cat confdefs.h
>>conftest.
$ac_ext
46449 cat >>conftest.
$ac_ext <<_ACEOF
46450 /* end confdefs.h. */
46451 $ac_includes_default
46452 #include <$ac_header>
46454 rm -f conftest.
$ac_objext
46455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46456 (eval $ac_compile) 2>conftest.er1
46458 grep -v '^ *+' conftest.er1
>conftest.err
46460 cat conftest.err
>&5
46461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46462 (exit $ac_status); } &&
46463 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46465 (eval $ac_try) 2>&5
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); }; } &&
46469 { ac_try
='test -s conftest.$ac_objext'
46470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46471 (eval $ac_try) 2>&5
46473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46474 (exit $ac_status); }; }; then
46475 ac_header_compiler
=yes
46477 echo "$as_me: failed program was:" >&5
46478 sed 's/^/| /' conftest.
$ac_ext >&5
46480 ac_header_compiler
=no
46482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46484 echo "${ECHO_T}$ac_header_compiler" >&6
46486 # Is the header present?
46487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46489 cat >conftest.
$ac_ext <<_ACEOF
46492 cat confdefs.h
>>conftest.
$ac_ext
46493 cat >>conftest.
$ac_ext <<_ACEOF
46494 /* end confdefs.h. */
46495 #include <$ac_header>
46497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
46500 grep -v '^ *+' conftest.er1
>conftest.err
46502 cat conftest.err
>&5
46503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46504 (exit $ac_status); } >/dev
/null
; then
46505 if test -s conftest.err
; then
46506 ac_cpp_err
=$ac_cxx_preproc_warn_flag
46507 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
46514 if test -z "$ac_cpp_err"; then
46515 ac_header_preproc
=yes
46517 echo "$as_me: failed program was:" >&5
46518 sed 's/^/| /' conftest.
$ac_ext >&5
46520 ac_header_preproc
=no
46522 rm -f conftest.err conftest.
$ac_ext
46523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46524 echo "${ECHO_T}$ac_header_preproc" >&6
46526 # So? What about this header?
46527 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
46529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46533 ac_header_preproc
=yes
46536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46550 ## ----------------------------------------- ##
46551 ## Report this to wx-dev@lists.wxwidgets.org ##
46552 ## ----------------------------------------- ##
46555 sed "s/^/$as_me: WARNING: /" >&2
46558 echo "$as_me:$LINENO: checking for $ac_header" >&5
46559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46561 echo $ECHO_N "(cached) $ECHO_C" >&6
46563 eval "$as_ac_Header=\$ac_header_preproc"
46565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46570 cat >>confdefs.h
<<_ACEOF
46571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46579 if test "$ac_cv_header_ole2_h" = "yes" ; then
46580 if test "$GCC" = yes ; then
46581 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46582 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46583 cat >conftest.
$ac_ext <<_ACEOF
46586 cat confdefs.h
>>conftest.
$ac_ext
46587 cat >>conftest.
$ac_ext <<_ACEOF
46588 /* end confdefs.h. */
46589 #include <windows.h>
46599 rm -f conftest.
$ac_objext
46600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46601 (eval $ac_compile) 2>conftest.er1
46603 grep -v '^ *+' conftest.er1
>conftest.err
46605 cat conftest.err
>&5
46606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46607 (exit $ac_status); } &&
46608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46610 (eval $ac_try) 2>&5
46612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46613 (exit $ac_status); }; } &&
46614 { ac_try
='test -s conftest.$ac_objext'
46615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46616 (eval $ac_try) 2>&5
46618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46619 (exit $ac_status); }; }; then
46620 echo "$as_me:$LINENO: result: no" >&5
46621 echo "${ECHO_T}no" >&6
46623 echo "$as_me: failed program was:" >&5
46624 sed 's/^/| /' conftest.
$ac_ext >&5
46626 echo "$as_me:$LINENO: result: yes" >&5
46627 echo "${ECHO_T}yes" >&6
46628 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46631 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46632 if test "$wxUSE_OLE" = "yes" ; then
46633 cat >>confdefs.h
<<\_ACEOF
46634 #define wxUSE_OLE 1
46637 cat >>confdefs.h
<<\_ACEOF
46638 #define wxUSE_OLE_AUTOMATION 1
46641 cat >>confdefs.h
<<\_ACEOF
46642 #define wxUSE_OLE_ACTIVEX 1
46645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46649 if test "$wxUSE_DATAOBJ" = "yes" ; then
46650 cat >>confdefs.h
<<\_ACEOF
46651 #define wxUSE_DATAOBJ 1
46656 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46657 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46660 wxUSE_DRAG_AND_DROP
=no
46665 if test "$wxUSE_METAFILE" = "yes"; then
46666 cat >>confdefs.h
<<\_ACEOF
46667 #define wxUSE_METAFILE 1
46671 cat >>confdefs.h
<<\_ACEOF
46672 #define wxUSE_ENH_METAFILE 1
46678 if test "$wxUSE_IPC" = "yes"; then
46679 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46680 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46681 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46685 if test "$wxUSE_IPC" = "yes"; then
46686 cat >>confdefs.h
<<\_ACEOF
46687 #define wxUSE_IPC 1
46690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46694 if test "$wxUSE_DATAOBJ" = "yes"; then
46695 if test "$wxUSE_MGL" = 1; then
46696 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46697 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46700 cat >>confdefs.h
<<\_ACEOF
46701 #define wxUSE_DATAOBJ 1
46706 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46707 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46709 wxUSE_DRAG_AND_DROP
=no
46712 if test "$wxUSE_CLIPBOARD" = "yes"; then
46713 if test "$wxUSE_MGL" = 1; then
46714 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46715 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46719 if test "$wxUSE_CLIPBOARD" = "yes"; then
46720 cat >>confdefs.h
<<\_ACEOF
46721 #define wxUSE_CLIPBOARD 1
46727 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46728 if test "$wxUSE_GTK" = 1; then
46729 if test "$WXGTK12" != 1; then
46730 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46731 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46732 wxUSE_DRAG_AND_DROP
=no
46736 if test "$wxUSE_MOTIF" = 1; then
46737 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46738 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46739 wxUSE_DRAG_AND_DROP
=no
46742 if test "$wxUSE_X11" = 1; then
46743 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46744 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46745 wxUSE_DRAG_AND_DROP
=no
46748 if test "$wxUSE_MGL" = 1; then
46749 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46750 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46751 wxUSE_DRAG_AND_DROP
=no
46754 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46755 cat >>confdefs.h
<<\_ACEOF
46756 #define wxUSE_DRAG_AND_DROP 1
46763 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46767 if test "$wxUSE_SPLINES" = "yes" ; then
46768 cat >>confdefs.h
<<\_ACEOF
46769 #define wxUSE_SPLINES 1
46774 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46775 cat >>confdefs.h
<<\_ACEOF
46776 #define wxUSE_MOUSEWHEEL 1
46783 if test "$wxUSE_CONTROLS" = "yes"; then
46787 if test "$wxUSE_ACCEL" = "yes"; then
46788 cat >>confdefs.h
<<\_ACEOF
46789 #define wxUSE_ACCEL 1
46795 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46796 cat >>confdefs.h
<<\_ACEOF
46797 #define wxUSE_ANIMATIONCTRL 1
46801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46804 if test "$wxUSE_BUTTON" = "yes"; then
46805 cat >>confdefs.h
<<\_ACEOF
46806 #define wxUSE_BUTTON 1
46812 if test "$wxUSE_BMPBUTTON" = "yes"; then
46813 cat >>confdefs.h
<<\_ACEOF
46814 #define wxUSE_BMPBUTTON 1
46820 if test "$wxUSE_CALCTRL" = "yes"; then
46821 cat >>confdefs.h
<<\_ACEOF
46822 #define wxUSE_CALENDARCTRL 1
46826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46829 if test "$wxUSE_CARET" = "yes"; then
46830 cat >>confdefs.h
<<\_ACEOF
46831 #define wxUSE_CARET 1
46835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46838 if test "$wxUSE_COLLPANE" = "yes"; then
46839 cat >>confdefs.h
<<\_ACEOF
46840 #define wxUSE_COLLPANE 1
46844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46847 if test "$wxUSE_COMBOBOX" = "yes"; then
46848 cat >>confdefs.h
<<\_ACEOF
46849 #define wxUSE_COMBOBOX 1
46855 if test "$wxUSE_COMBOCTRL" = "yes"; then
46856 cat >>confdefs.h
<<\_ACEOF
46857 #define wxUSE_COMBOCTRL 1
46863 if test "$wxUSE_CHOICE" = "yes"; then
46864 cat >>confdefs.h
<<\_ACEOF
46865 #define wxUSE_CHOICE 1
46871 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46872 cat >>confdefs.h
<<\_ACEOF
46873 #define wxUSE_CHOICEBOOK 1
46879 if test "$wxUSE_CHECKBOX" = "yes"; then
46880 cat >>confdefs.h
<<\_ACEOF
46881 #define wxUSE_CHECKBOX 1
46887 if test "$wxUSE_CHECKLST" = "yes"; then
46888 cat >>confdefs.h
<<\_ACEOF
46889 #define wxUSE_CHECKLISTBOX 1
46893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
46896 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46897 cat >>confdefs.h
<<\_ACEOF
46898 #define wxUSE_COLOURPICKERCTRL 1
46904 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46905 cat >>confdefs.h
<<\_ACEOF
46906 #define wxUSE_DATEPICKCTRL 1
46912 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46913 cat >>confdefs.h
<<\_ACEOF
46914 #define wxUSE_DIRPICKERCTRL 1
46920 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46921 cat >>confdefs.h
<<\_ACEOF
46922 #define wxUSE_FILEPICKERCTRL 1
46928 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46929 cat >>confdefs.h
<<\_ACEOF
46930 #define wxUSE_FONTPICKERCTRL 1
46936 if test "$wxUSE_DISPLAY" = "yes"; then
46937 cat >>confdefs.h
<<\_ACEOF
46938 #define wxUSE_DISPLAY 1
46941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46944 if test "$wxUSE_DETECT_SM" = "yes"; then
46945 cat >>confdefs.h
<<\_ACEOF
46946 #define wxUSE_DETECT_SM 1
46951 if test "$wxUSE_GAUGE" = "yes"; then
46952 cat >>confdefs.h
<<\_ACEOF
46953 #define wxUSE_GAUGE 1
46959 if test "$wxUSE_GRID" = "yes"; then
46960 cat >>confdefs.h
<<\_ACEOF
46961 #define wxUSE_GRID 1
46965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46968 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46969 cat >>confdefs.h
<<\_ACEOF
46970 #define wxUSE_HYPERLINKCTRL 1
46976 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46977 cat >>confdefs.h
<<\_ACEOF
46978 #define wxUSE_BITMAPCOMBOBOX 1
46984 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46985 cat >>confdefs.h
<<\_ACEOF
46986 #define wxUSE_DATAVIEWCTRL 1
46990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46993 if test "$wxUSE_IMAGLIST" = "yes"; then
46994 cat >>confdefs.h
<<\_ACEOF
46995 #define wxUSE_IMAGLIST 1
47000 if test "$wxUSE_LISTBOOK" = "yes"; then
47001 cat >>confdefs.h
<<\_ACEOF
47002 #define wxUSE_LISTBOOK 1
47008 if test "$wxUSE_LISTBOX" = "yes"; then
47009 cat >>confdefs.h
<<\_ACEOF
47010 #define wxUSE_LISTBOX 1
47014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
47017 if test "$wxUSE_LISTCTRL" = "yes"; then
47018 if test "$wxUSE_IMAGLIST" = "yes"; then
47019 cat >>confdefs.h
<<\_ACEOF
47020 #define wxUSE_LISTCTRL 1
47024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47026 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47027 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47031 if test "$wxUSE_NOTEBOOK" = "yes"; then
47032 cat >>confdefs.h
<<\_ACEOF
47033 #define wxUSE_NOTEBOOK 1
47037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47040 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47041 cat >>confdefs.h
<<\_ACEOF
47042 #define wxUSE_ODCOMBOBOX 1
47046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47050 if test "$wxUSE_RADIOBOX" = "yes"; then
47051 cat >>confdefs.h
<<\_ACEOF
47052 #define wxUSE_RADIOBOX 1
47058 if test "$wxUSE_RADIOBTN" = "yes"; then
47059 cat >>confdefs.h
<<\_ACEOF
47060 #define wxUSE_RADIOBTN 1
47066 if test "$wxUSE_SASH" = "yes"; then
47067 cat >>confdefs.h
<<\_ACEOF
47068 #define wxUSE_SASH 1
47071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47074 if test "$wxUSE_SCROLLBAR" = "yes"; then
47075 cat >>confdefs.h
<<\_ACEOF
47076 #define wxUSE_SCROLLBAR 1
47080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
47083 if test "$wxUSE_SLIDER" = "yes"; then
47084 cat >>confdefs.h
<<\_ACEOF
47085 #define wxUSE_SLIDER 1
47091 if test "$wxUSE_SPINBTN" = "yes"; then
47092 cat >>confdefs.h
<<\_ACEOF
47093 #define wxUSE_SPINBTN 1
47099 if test "$wxUSE_SPINCTRL" = "yes"; then
47100 cat >>confdefs.h
<<\_ACEOF
47101 #define wxUSE_SPINCTRL 1
47107 if test "$wxUSE_SPLITTER" = "yes"; then
47108 cat >>confdefs.h
<<\_ACEOF
47109 #define wxUSE_SPLITTER 1
47112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47115 if test "$wxUSE_STATBMP" = "yes"; then
47116 cat >>confdefs.h
<<\_ACEOF
47117 #define wxUSE_STATBMP 1
47123 if test "$wxUSE_STATBOX" = "yes"; then
47124 cat >>confdefs.h
<<\_ACEOF
47125 #define wxUSE_STATBOX 1
47131 if test "$wxUSE_STATTEXT" = "yes"; then
47132 cat >>confdefs.h
<<\_ACEOF
47133 #define wxUSE_STATTEXT 1
47139 if test "$wxUSE_STATLINE" = "yes"; then
47140 cat >>confdefs.h
<<\_ACEOF
47141 #define wxUSE_STATLINE 1
47147 if test "$wxUSE_STATUSBAR" = "yes"; then
47148 cat >>confdefs.h
<<\_ACEOF
47149 #define wxUSE_NATIVE_STATUSBAR 1
47152 cat >>confdefs.h
<<\_ACEOF
47153 #define wxUSE_STATUSBAR 1
47158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47161 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47162 cat >>confdefs.h
<<\_ACEOF
47163 #define wxUSE_TAB_DIALOG 1
47168 if test "$wxUSE_TEXTCTRL" = "yes"; then
47169 cat >>confdefs.h
<<\_ACEOF
47170 #define wxUSE_TEXTCTRL 1
47174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47177 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47178 if test "$wxUSE_COCOA" = 1 ; then
47179 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47180 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47184 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47185 cat >>confdefs.h
<<\_ACEOF
47186 #define wxUSE_TOGGLEBTN 1
47193 if test "$wxUSE_TOOLBAR" = "yes"; then
47194 cat >>confdefs.h
<<\_ACEOF
47195 #define wxUSE_TOOLBAR 1
47200 if test "$wxUSE_UNIVERSAL" = "yes"; then
47201 wxUSE_TOOLBAR_NATIVE
="no"
47203 wxUSE_TOOLBAR_NATIVE
="yes"
47204 cat >>confdefs.h
<<\_ACEOF
47205 #define wxUSE_TOOLBAR_NATIVE 1
47210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47213 if test "$wxUSE_TOOLTIPS" = "yes"; then
47214 if test "$wxUSE_MOTIF" = 1; then
47215 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47216 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47218 if test "$wxUSE_UNIVERSAL" = "yes"; then
47219 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47220 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47222 cat >>confdefs.h
<<\_ACEOF
47223 #define wxUSE_TOOLTIPS 1
47230 if test "$wxUSE_TREEBOOK" = "yes"; then
47231 cat >>confdefs.h
<<\_ACEOF
47232 #define wxUSE_TREEBOOK 1
47238 if test "$wxUSE_TOOLBOOK" = "yes"; then
47239 cat >>confdefs.h
<<\_ACEOF
47240 #define wxUSE_TOOLBOOK 1
47246 if test "$wxUSE_TREECTRL" = "yes"; then
47247 if test "$wxUSE_IMAGLIST" = "yes"; then
47248 cat >>confdefs.h
<<\_ACEOF
47249 #define wxUSE_TREECTRL 1
47253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47255 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47256 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47260 if test "$wxUSE_POPUPWIN" = "yes"; then
47261 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47262 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47263 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47265 if test "$wxUSE_PM" = 1; then
47266 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47267 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47269 cat >>confdefs.h
<<\_ACEOF
47270 #define wxUSE_POPUPWIN 1
47273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47280 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47281 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47282 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
47283 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
47285 cat >>confdefs.h
<<\_ACEOF
47286 #define wxUSE_DIALUP_MANAGER 1
47289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47293 if test "$wxUSE_TIPWINDOW" = "yes"; then
47294 if test "$wxUSE_PM" = 1; then
47295 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47296 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47298 cat >>confdefs.h
<<\_ACEOF
47299 #define wxUSE_TIPWINDOW 1
47305 if test "$USES_CONTROLS" = 1; then
47306 cat >>confdefs.h
<<\_ACEOF
47307 #define wxUSE_CONTROLS 1
47313 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47314 cat >>confdefs.h
<<\_ACEOF
47315 #define wxUSE_ACCESSIBILITY 1
47318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47321 if test "$wxUSE_DC_CACHEING" = "yes"; then
47322 cat >>confdefs.h
<<\_ACEOF
47323 #define wxUSE_DC_CACHEING 1
47328 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47329 cat >>confdefs.h
<<\_ACEOF
47330 #define wxUSE_DRAGIMAGE 1
47333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47336 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47337 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47338 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47339 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47341 cat >>confdefs.h
<<\_ACEOF
47342 #define wxUSE_EXCEPTIONS 1
47345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47350 if test "$wxUSE_HTML" = "yes"; then
47351 cat >>confdefs.h
<<\_ACEOF
47352 #define wxUSE_HTML 1
47356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47357 if test "$wxUSE_MAC" = 1; then
47358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
47361 if test "$wxUSE_WEBKIT" = "yes"; then
47362 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47363 old_CPPFLAGS
="$CPPFLAGS"
47364 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47365 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47366 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
47367 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47368 echo $ECHO_N "(cached) $ECHO_C" >&6
47370 cat >conftest.
$ac_ext <<_ACEOF
47373 cat confdefs.h
>>conftest.
$ac_ext
47374 cat >>conftest.
$ac_ext <<_ACEOF
47375 /* end confdefs.h. */
47376 #include <Carbon/Carbon.h>
47378 #include <WebKit/HIWebView.h>
47380 rm -f conftest.
$ac_objext
47381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47382 (eval $ac_compile) 2>conftest.er1
47384 grep -v '^ *+' conftest.er1
>conftest.err
47386 cat conftest.err
>&5
47387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388 (exit $ac_status); } &&
47389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47391 (eval $ac_try) 2>&5
47393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47394 (exit $ac_status); }; } &&
47395 { ac_try
='test -s conftest.$ac_objext'
47396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47397 (eval $ac_try) 2>&5
47399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47400 (exit $ac_status); }; }; then
47401 ac_cv_header_WebKit_HIWebView_h
=yes
47403 echo "$as_me: failed program was:" >&5
47404 sed 's/^/| /' conftest.
$ac_ext >&5
47406 ac_cv_header_WebKit_HIWebView_h
=no
47408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47410 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47411 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
47412 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47414 cat >>confdefs.h
<<\_ACEOF
47415 #define wxUSE_WEBKIT 1
47418 WEBKIT_LINK
="-framework WebKit"
47422 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47423 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47429 CPPFLAGS
="$old_CPPFLAGS"
47430 elif test "$wxUSE_COCOA" = 1; then
47431 cat >>confdefs.h
<<\_ACEOF
47432 #define wxUSE_WEBKIT 1
47441 if test "$wxUSE_XRC" = "yes"; then
47442 if test "$wxUSE_XML" != "yes"; then
47443 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47444 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47447 cat >>confdefs.h
<<\_ACEOF
47448 #define wxUSE_XRC 1
47452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
47457 if test "$wxUSE_AUI" = "yes"; then
47458 cat >>confdefs.h
<<\_ACEOF
47459 #define wxUSE_AUI 1
47463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
47466 if test "$wxUSE_MENUS" = "yes"; then
47467 cat >>confdefs.h
<<\_ACEOF
47468 #define wxUSE_MENUS 1
47471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
47474 if test "$wxUSE_METAFILE" = "yes"; then
47475 cat >>confdefs.h
<<\_ACEOF
47476 #define wxUSE_METAFILE 1
47481 if test "$wxUSE_MIMETYPE" = "yes"; then
47482 cat >>confdefs.h
<<\_ACEOF
47483 #define wxUSE_MIMETYPE 1
47488 if test "$wxUSE_MINIFRAME" = "yes"; then
47489 cat >>confdefs.h
<<\_ACEOF
47490 #define wxUSE_MINIFRAME 1
47493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
47496 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47497 cat >>confdefs.h
<<\_ACEOF
47498 #define wxUSE_SYSTEM_OPTIONS 1
47501 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47502 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
47508 if test "$wxUSE_VALIDATORS" = "yes"; then
47509 cat >>confdefs.h
<<\_ACEOF
47510 #define wxUSE_VALIDATORS 1
47513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
47516 if test "$wxUSE_PALETTE" = "yes" ; then
47517 cat >>confdefs.h
<<\_ACEOF
47518 #define wxUSE_PALETTE 1
47523 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47524 LIBS
=" -lunicows $LIBS"
47528 if test "$wxUSE_RICHTEXT" = "yes"; then
47529 cat >>confdefs.h
<<\_ACEOF
47530 #define wxUSE_RICHTEXT 1
47534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
47538 if test "$wxUSE_IMAGE" = "yes" ; then
47539 cat >>confdefs.h
<<\_ACEOF
47540 #define wxUSE_IMAGE 1
47544 if test "$wxUSE_GIF" = "yes" ; then
47545 cat >>confdefs.h
<<\_ACEOF
47546 #define wxUSE_GIF 1
47551 if test "$wxUSE_PCX" = "yes" ; then
47552 cat >>confdefs.h
<<\_ACEOF
47553 #define wxUSE_PCX 1
47558 if test "$wxUSE_TGA" = "yes" ; then
47559 cat >>confdefs.h
<<\_ACEOF
47560 #define wxUSE_TGA 1
47565 if test "$wxUSE_IFF" = "yes" ; then
47566 cat >>confdefs.h
<<\_ACEOF
47567 #define wxUSE_IFF 1
47572 if test "$wxUSE_PNM" = "yes" ; then
47573 cat >>confdefs.h
<<\_ACEOF
47574 #define wxUSE_PNM 1
47579 if test "$wxUSE_XPM" = "yes" ; then
47580 cat >>confdefs.h
<<\_ACEOF
47581 #define wxUSE_XPM 1
47586 if test "$wxUSE_ICO_CUR" = "yes" ; then
47587 cat >>confdefs.h
<<\_ACEOF
47588 #define wxUSE_ICO_CUR 1
47595 if test "$wxUSE_ABOUTDLG" = "yes"; then
47596 cat >>confdefs.h
<<\_ACEOF
47597 #define wxUSE_ABOUTDLG 1
47602 if test "$wxUSE_CHOICEDLG" = "yes"; then
47603 cat >>confdefs.h
<<\_ACEOF
47604 #define wxUSE_CHOICEDLG 1
47609 if test "$wxUSE_COLOURDLG" = "yes"; then
47610 cat >>confdefs.h
<<\_ACEOF
47611 #define wxUSE_COLOURDLG 1
47616 if test "$wxUSE_FILEDLG" = "yes"; then
47617 cat >>confdefs.h
<<\_ACEOF
47618 #define wxUSE_FILEDLG 1
47623 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47624 cat >>confdefs.h
<<\_ACEOF
47625 #define wxUSE_FINDREPLDLG 1
47630 if test "$wxUSE_FONTDLG" = "yes"; then
47631 cat >>confdefs.h
<<\_ACEOF
47632 #define wxUSE_FONTDLG 1
47637 if test "$wxUSE_DIRDLG" = "yes"; then
47638 if test "$wxUSE_TREECTRL" != "yes"; then
47639 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47640 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47642 cat >>confdefs.h
<<\_ACEOF
47643 #define wxUSE_DIRDLG 1
47649 if test "$wxUSE_MSGDLG" = "yes"; then
47650 cat >>confdefs.h
<<\_ACEOF
47651 #define wxUSE_MSGDLG 1
47656 if test "$wxUSE_NUMBERDLG" = "yes"; then
47657 cat >>confdefs.h
<<\_ACEOF
47658 #define wxUSE_NUMBERDLG 1
47663 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47664 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47665 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47666 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47668 cat >>confdefs.h
<<\_ACEOF
47669 #define wxUSE_PROGRESSDLG 1
47675 if test "$wxUSE_SPLASH" = "yes"; then
47676 cat >>confdefs.h
<<\_ACEOF
47677 #define wxUSE_SPLASH 1
47680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
47683 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47684 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47685 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47686 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47688 cat >>confdefs.h
<<\_ACEOF
47689 #define wxUSE_STARTUP_TIPS 1
47695 if test "$wxUSE_TEXTDLG" = "yes"; then
47696 cat >>confdefs.h
<<\_ACEOF
47697 #define wxUSE_TEXTDLG 1
47702 if test "$wxUSE_WIZARDDLG" = "yes"; then
47703 cat >>confdefs.h
<<\_ACEOF
47704 #define wxUSE_WIZARDDLG 1
47707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
47711 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47712 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47713 cat >>confdefs.h
<<\_ACEOF
47714 #define wxUSE_GRAPHICS_CONTEXT 1
47717 elif test "$wxUSE_GTK" != 1; then
47718 cat >>confdefs.h
<<\_ACEOF
47719 #define wxUSE_GRAPHICS_CONTEXT 1
47725 echo "$as_me:$LINENO: checking for CAIRO" >&5
47726 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47728 if test -n "$PKG_CONFIG"; then
47729 if test -n "$CAIRO_CFLAGS"; then
47730 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47732 if test -n "$PKG_CONFIG" && \
47733 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47734 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47737 (exit $ac_status); }; then
47738 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47746 if test -n "$PKG_CONFIG"; then
47747 if test -n "$CAIRO_LIBS"; then
47748 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47750 if test -n "$PKG_CONFIG" && \
47751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47752 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47755 (exit $ac_status); }; then
47756 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47767 if test $pkg_failed = yes; then
47769 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47770 _pkg_short_errors_supported
=yes
47772 _pkg_short_errors_supported
=no
47774 if test $_pkg_short_errors_supported = yes; then
47775 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47777 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47779 # Put the nasty error message in config.log where it belongs
47780 echo "$CAIRO_PKG_ERRORS" >&5
47782 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47783 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47785 elif test $pkg_failed = untried
; then
47786 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47787 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47790 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47791 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47792 echo "$as_me:$LINENO: result: yes" >&5
47793 echo "${ECHO_T}yes" >&6
47794 cat >>confdefs.h
<<\_ACEOF
47795 #define wxUSE_GRAPHICS_CONTEXT 1
47805 if test "$wxUSE_MEDIACTRL" = "yes"; then
47808 if test "$wxUSE_GTK" = 1; then
47809 wxUSE_GSTREAMER
="no"
47811 GST_VERSION_MAJOR
=0
47812 GST_VERSION_MINOR
=10
47813 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47815 if test "$wxUSE_GSTREAMER8" = "no"; then
47818 echo "$as_me:$LINENO: checking for GST" >&5
47819 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47821 if test -n "$PKG_CONFIG"; then
47822 if test -n "$GST_CFLAGS"; then
47823 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47825 if test -n "$PKG_CONFIG" && \
47826 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47827 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47830 (exit $ac_status); }; then
47831 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47839 if test -n "$PKG_CONFIG"; then
47840 if test -n "$GST_LIBS"; then
47841 pkg_cv_GST_LIBS
="$GST_LIBS"
47843 if test -n "$PKG_CONFIG" && \
47844 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47845 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47848 (exit $ac_status); }; then
47849 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47860 if test $pkg_failed = yes; then
47862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47863 _pkg_short_errors_supported
=yes
47865 _pkg_short_errors_supported
=no
47867 if test $_pkg_short_errors_supported = yes; then
47868 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47870 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47872 # Put the nasty error message in config.log where it belongs
47873 echo "$GST_PKG_ERRORS" >&5
47876 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47877 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47878 GST_VERSION_MINOR
=8
47881 elif test $pkg_failed = untried
; then
47883 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47884 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47885 GST_VERSION_MINOR
=8
47889 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47890 GST_LIBS
=$pkg_cv_GST_LIBS
47891 echo "$as_me:$LINENO: result: yes" >&5
47892 echo "${ECHO_T}yes" >&6
47894 wxUSE_GSTREAMER
="yes"
47895 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47899 GST_VERSION_MINOR
=8
47902 if test $GST_VERSION_MINOR = "8"; then
47903 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47906 echo "$as_me:$LINENO: checking for GST" >&5
47907 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47909 if test -n "$PKG_CONFIG"; then
47910 if test -n "$GST_CFLAGS"; then
47911 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47913 if test -n "$PKG_CONFIG" && \
47914 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47915 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47918 (exit $ac_status); }; then
47919 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47927 if test -n "$PKG_CONFIG"; then
47928 if test -n "$GST_LIBS"; then
47929 pkg_cv_GST_LIBS
="$GST_LIBS"
47931 if test -n "$PKG_CONFIG" && \
47932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47933 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47936 (exit $ac_status); }; then
47937 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47948 if test $pkg_failed = yes; then
47950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47951 _pkg_short_errors_supported
=yes
47953 _pkg_short_errors_supported
=no
47955 if test $_pkg_short_errors_supported = yes; then
47956 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47958 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47960 # Put the nasty error message in config.log where it belongs
47961 echo "$GST_PKG_ERRORS" >&5
47964 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47965 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47967 elif test $pkg_failed = untried
; then
47969 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47970 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47973 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47974 GST_LIBS
=$pkg_cv_GST_LIBS
47975 echo "$as_me:$LINENO: result: yes" >&5
47976 echo "${ECHO_T}yes" >&6
47977 wxUSE_GSTREAMER
="yes"
47982 if test "$wxUSE_GSTREAMER" = "yes"; then
47985 if "$GCC" = yes; then
47986 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
47987 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
47991 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47992 LIBS
="$GST_LIBS $LIBS"
47994 cat >>confdefs.h
<<\_ACEOF
47995 #define wxUSE_GSTREAMER 1
48003 if test $USE_MEDIA = 1; then
48004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48005 cat >>confdefs.h
<<\_ACEOF
48006 #define wxUSE_MEDIACTRL 1
48013 if test "$cross_compiling" = "yes"; then
48016 OSINFO
=`uname -s -r -m`
48017 OSINFO
="\"$OSINFO\""
48020 cat >>confdefs.h
<<_ACEOF
48021 #define WXWIN_OS_DESCRIPTION $OSINFO
48026 if test "x$prefix" != "xNONE"; then
48029 wxPREFIX
=$ac_default_prefix
48032 cat >>confdefs.h
<<_ACEOF
48033 #define wxINSTALL_PREFIX "$wxPREFIX"
48039 CORE_BASE_LIBS
="net base"
48040 CORE_GUI_LIBS
="adv core"
48042 if test "$wxUSE_XML" = "yes" ; then
48043 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
48045 if test "$wxUSE_ODBC" != "no" ; then
48046 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
48047 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
48049 if test "$wxUSE_HTML" = "yes" ; then
48050 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
48052 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48053 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
48055 if test "$wxUSE_XRC" = "yes" ; then
48056 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
48058 if test "$wxUSE_AUI" = "yes" ; then
48059 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
48062 if test "$wxUSE_GUI" != "yes"; then
48071 ac_cpp
='$CPP $CPPFLAGS'
48072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48078 if test "$wxUSE_MAC" = 1 ; then
48079 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48080 if test "$USE_DARWIN" = 1; then
48081 LDFLAGS
="$LDFLAGS -framework QuickTime"
48083 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
48086 if test "$USE_DARWIN" = 1; then
48087 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48089 LDFLAGS
="$LDFLAGS -lCarbonLib"
48092 if test "$wxUSE_COCOA" = 1 ; then
48093 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
48094 if test "$wxUSE_MEDIACTRL" = "yes"; then
48095 LDFLAGS
="$LDFLAGS -framework QuickTime"
48098 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48099 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48102 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48104 if test "$wxUSE_GUI" = "yes"; then
48107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48108 dynamic erase event exec font image minimal mobile \
48109 mobile/wxedit mobile/styles propsize render \
48110 rotate shaped vscroll widgets"
48112 if test "$wxUSE_MONOLITHIC" != "yes"; then
48113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48115 if test "$TOOLKIT" = "MSW"; then
48116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48117 if test "$wxUSE_UNIVERSAL" != "yes"; then
48118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48121 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48125 SAMPLES_SUBDIRS
="console"
48129 if test "x$INTELCC" = "xyes" ; then
48130 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
48131 elif test "$GCC" = yes ; then
48132 CWARNINGS
="-Wall -Wundef"
48135 if test "x$INTELCXX" = "xyes" ; then
48136 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
48137 elif test "$GXX" = yes ; then
48138 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
48142 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
48143 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48146 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
48147 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
48148 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48151 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48152 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48153 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
48155 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48158 if test "x$MWCC" = "xyes"; then
48160 CC
="$CC -cwd source -I-"
48161 CXX
="$CXX -cwd source -I-"
48166 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48167 EXTRALIBS_XML
="$EXPAT_LINK"
48168 EXTRALIBS_HTML
="$MSPACK_LINK"
48169 EXTRALIBS_ODBC
="$ODBC_LINK"
48170 if test "$wxUSE_GUI" = "yes"; then
48171 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48173 if test "$wxUSE_OPENGL" = "yes"; then
48174 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
48177 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
48179 WXCONFIG_LIBS
="$LIBS"
48181 if test "$wxUSE_REGEX" = "builtin" ; then
48182 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48184 if test "$wxUSE_EXPAT" = "builtin" ; then
48185 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
48187 if test "$wxUSE_ODBC" = "builtin" ; then
48188 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
48190 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48191 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
48193 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48194 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
48196 if test "$wxUSE_LIBPNG" = "builtin" ; then
48197 wxconfig_3rdparty
="png $wxconfig_3rdparty"
48199 if test "$wxUSE_ZLIB" = "builtin" ; then
48200 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
48203 for i
in $wxconfig_3rdparty ; do
48204 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48208 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48211 case "$wxUNIV_THEMES" in
48213 cat >>confdefs.h
<<\_ACEOF
48214 #define wxUSE_ALL_THEMES 1
48220 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48221 cat >>confdefs.h
<<_ACEOF
48222 #define wxUSE_THEME_$t 1
48239 if test $wxUSE_MONOLITHIC = "yes" ; then
48245 if test $wxUSE_PLUGINS = "yes" ; then
48251 if test $wxUSE_ODBC != "no" ; then
48257 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48263 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48293 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48304 TOOLKIT_DESC
="GTK+"
48305 if test "$WXGTK20" = 1; then
48306 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
48307 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48308 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
48310 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48311 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
48313 if test "$wxUSE_LIBHILDON" = "yes"; then
48314 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
48317 if test "$TOOLKIT_EXTRA" != ""; then
48318 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48324 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
48328 TOOLKIT_DESC
="base only"
48332 if test "$wxUSE_WINE" = "yes"; then
48333 BAKEFILE_FORCE_PLATFORM
=win32
48336 if test "$wxUSE_MAC" = 1 ; then
48337 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
48338 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
48339 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48341 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48343 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
48344 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
48345 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
48346 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
48349 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48350 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48353 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48355 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48356 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
48357 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48358 echo $ECHO_N "(cached) $ECHO_C" >&6
48361 echo '#include <stdio.h>
48362 const wchar_t test_var[] = L"awidetest";' > conftest.h
48364 echo '#include "conftest.h"
48367 printf("%ls", test_var);
48371 wx_cv_gcc_pch_bug
="pch not supported"
48373 if $CXX conftest.h
>/dev
/null
2>&1
48377 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
48379 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
48380 grep awidetest
>/dev
/null
48382 wx_cv_gcc_pch_bug
=no
48384 wx_cv_gcc_pch_bug
=yes
48389 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
48392 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48393 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
48395 if test "$wx_cv_gcc_pch_bug" = yes; then
48403 if test "x$BAKEFILE_HOST" = "x"; then
48404 if test "x${host}" = "x" ; then
48405 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48406 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48407 { (exit 1); exit 1; }; }
48410 BAKEFILE_HOST
="${host}"
48413 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48415 if test -n "$ac_tool_prefix"; then
48416 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48417 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
48418 echo "$as_me:$LINENO: checking for $ac_word" >&5
48419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48420 if test "${ac_cv_prog_RANLIB+set}" = set; then
48421 echo $ECHO_N "(cached) $ECHO_C" >&6
48423 if test -n "$RANLIB"; then
48424 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
48426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48427 for as_dir
in $PATH
48430 test -z "$as_dir" && as_dir
=.
48431 for ac_exec_ext
in '' $ac_executable_extensions; do
48432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48433 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
48434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48442 RANLIB
=$ac_cv_prog_RANLIB
48443 if test -n "$RANLIB"; then
48444 echo "$as_me:$LINENO: result: $RANLIB" >&5
48445 echo "${ECHO_T}$RANLIB" >&6
48447 echo "$as_me:$LINENO: result: no" >&5
48448 echo "${ECHO_T}no" >&6
48452 if test -z "$ac_cv_prog_RANLIB"; then
48453 ac_ct_RANLIB
=$RANLIB
48454 # Extract the first word of "ranlib", so it can be a program name with args.
48455 set dummy ranlib
; ac_word
=$2
48456 echo "$as_me:$LINENO: checking for $ac_word" >&5
48457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48458 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48459 echo $ECHO_N "(cached) $ECHO_C" >&6
48461 if test -n "$ac_ct_RANLIB"; then
48462 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
48464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48465 for as_dir
in $PATH
48468 test -z "$as_dir" && as_dir
=.
48469 for ac_exec_ext
in '' $ac_executable_extensions; do
48470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48471 ac_cv_prog_ac_ct_RANLIB
="ranlib"
48472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48478 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
48481 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
48482 if test -n "$ac_ct_RANLIB"; then
48483 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48484 echo "${ECHO_T}$ac_ct_RANLIB" >&6
48486 echo "$as_me:$LINENO: result: no" >&5
48487 echo "${ECHO_T}no" >&6
48490 RANLIB
=$ac_ct_RANLIB
48492 RANLIB
="$ac_cv_prog_RANLIB"
48495 # Find a good install program. We prefer a C program (faster),
48496 # so one script is as good as another. But avoid the broken or
48497 # incompatible versions:
48498 # SysV /etc/install, /usr/sbin/install
48499 # SunOS /usr/etc/install
48500 # IRIX /sbin/install
48502 # AmigaOS /C/install, which installs bootblocks on floppy discs
48503 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48504 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48505 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48506 # OS/2's system install, which has a completely different semantic
48507 # ./install, which can be erroneously created by make from ./install.sh.
48508 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48509 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
48510 if test -z "$INSTALL"; then
48511 if test "${ac_cv_path_install+set}" = set; then
48512 echo $ECHO_N "(cached) $ECHO_C" >&6
48514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48515 for as_dir
in $PATH
48518 test -z "$as_dir" && as_dir
=.
48519 # Account for people who put trailing slashes in PATH elements.
48521 .
/ | .
// | /cC
/* | \
48522 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
48523 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
48526 # OSF1 and SCO ODT 3.0 have their own names for install.
48527 # Don't use installbsd from OSF since it installs stuff as root
48529 for ac_prog
in ginstall scoinst
install; do
48530 for ac_exec_ext
in '' $ac_executable_extensions; do
48531 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
48532 if test $ac_prog = install &&
48533 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
48534 # AIX install. It has an incompatible calling convention.
48536 elif test $ac_prog = install &&
48537 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
48538 # program-specific install script used by HP pwplus--don't use.
48541 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
48553 if test "${ac_cv_path_install+set}" = set; then
48554 INSTALL
=$ac_cv_path_install
48556 # As a last resort, use the slow shell script. We don't cache a
48557 # path for INSTALL within a source directory, because that will
48558 # break other packages using the cache if that directory is
48559 # removed, or if the path is relative.
48560 INSTALL
=$ac_install_sh
48563 echo "$as_me:$LINENO: result: $INSTALL" >&5
48564 echo "${ECHO_T}$INSTALL" >&6
48566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48567 # It thinks the first close brace ends the variable substitution.
48568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
48570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
48572 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
48574 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48575 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48577 if test "$LN_S" = "ln -s"; then
48578 echo "$as_me:$LINENO: result: yes" >&5
48579 echo "${ECHO_T}yes" >&6
48581 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48582 echo "${ECHO_T}no, using $LN_S" >&6
48586 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48587 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48588 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48589 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48590 echo $ECHO_N "(cached) $ECHO_C" >&6
48592 cat >conftest.
make <<\_ACEOF
48594 @
echo 'ac_maketemp="$(MAKE)"'
48596 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48597 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48598 if test -n "$ac_maketemp"; then
48599 eval ac_cv_prog_make_
${ac_make}_set
=yes
48601 eval ac_cv_prog_make_
${ac_make}_set
=no
48603 rm -f conftest.
make
48605 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48606 echo "$as_me:$LINENO: result: yes" >&5
48607 echo "${ECHO_T}yes" >&6
48610 echo "$as_me:$LINENO: result: no" >&5
48611 echo "${ECHO_T}no" >&6
48612 SET_MAKE
="MAKE=${MAKE-make}"
48617 if test -n "$ac_tool_prefix"; then
48618 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48619 set dummy
${ac_tool_prefix}ar; ac_word
=$2
48620 echo "$as_me:$LINENO: checking for $ac_word" >&5
48621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48622 if test "${ac_cv_prog_AR+set}" = set; then
48623 echo $ECHO_N "(cached) $ECHO_C" >&6
48625 if test -n "$AR"; then
48626 ac_cv_prog_AR
="$AR" # Let the user override the test.
48628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48629 for as_dir
in $PATH
48632 test -z "$as_dir" && as_dir
=.
48633 for ac_exec_ext
in '' $ac_executable_extensions; do
48634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48635 ac_cv_prog_AR
="${ac_tool_prefix}ar"
48636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48645 if test -n "$AR"; then
48646 echo "$as_me:$LINENO: result: $AR" >&5
48647 echo "${ECHO_T}$AR" >&6
48649 echo "$as_me:$LINENO: result: no" >&5
48650 echo "${ECHO_T}no" >&6
48654 if test -z "$ac_cv_prog_AR"; then
48656 # Extract the first word of "ar", so it can be a program name with args.
48657 set dummy
ar; ac_word
=$2
48658 echo "$as_me:$LINENO: checking for $ac_word" >&5
48659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48660 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48661 echo $ECHO_N "(cached) $ECHO_C" >&6
48663 if test -n "$ac_ct_AR"; then
48664 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
48666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48667 for as_dir
in $PATH
48670 test -z "$as_dir" && as_dir
=.
48671 for ac_exec_ext
in '' $ac_executable_extensions; do
48672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48673 ac_cv_prog_ac_ct_AR
="ar"
48674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48680 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
48683 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
48684 if test -n "$ac_ct_AR"; then
48685 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48686 echo "${ECHO_T}$ac_ct_AR" >&6
48688 echo "$as_me:$LINENO: result: no" >&5
48689 echo "${ECHO_T}no" >&6
48694 AR
="$ac_cv_prog_AR"
48697 if test -n "$ac_tool_prefix"; then
48698 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48699 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
48700 echo "$as_me:$LINENO: checking for $ac_word" >&5
48701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48702 if test "${ac_cv_prog_STRIP+set}" = set; then
48703 echo $ECHO_N "(cached) $ECHO_C" >&6
48705 if test -n "$STRIP"; then
48706 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
48708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48709 for as_dir
in $PATH
48712 test -z "$as_dir" && as_dir
=.
48713 for ac_exec_ext
in '' $ac_executable_extensions; do
48714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48715 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
48716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48724 STRIP
=$ac_cv_prog_STRIP
48725 if test -n "$STRIP"; then
48726 echo "$as_me:$LINENO: result: $STRIP" >&5
48727 echo "${ECHO_T}$STRIP" >&6
48729 echo "$as_me:$LINENO: result: no" >&5
48730 echo "${ECHO_T}no" >&6
48734 if test -z "$ac_cv_prog_STRIP"; then
48736 # Extract the first word of "strip", so it can be a program name with args.
48737 set dummy strip
; ac_word
=$2
48738 echo "$as_me:$LINENO: checking for $ac_word" >&5
48739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48740 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48741 echo $ECHO_N "(cached) $ECHO_C" >&6
48743 if test -n "$ac_ct_STRIP"; then
48744 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
48746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48747 for as_dir
in $PATH
48750 test -z "$as_dir" && as_dir
=.
48751 for ac_exec_ext
in '' $ac_executable_extensions; do
48752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48753 ac_cv_prog_ac_ct_STRIP
="strip"
48754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48760 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
48763 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
48764 if test -n "$ac_ct_STRIP"; then
48765 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48766 echo "${ECHO_T}$ac_ct_STRIP" >&6
48768 echo "$as_me:$LINENO: result: no" >&5
48769 echo "${ECHO_T}no" >&6
48774 STRIP
="$ac_cv_prog_STRIP"
48777 if test -n "$ac_tool_prefix"; then
48778 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48779 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
48780 echo "$as_me:$LINENO: checking for $ac_word" >&5
48781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48782 if test "${ac_cv_prog_NM+set}" = set; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48785 if test -n "$NM"; then
48786 ac_cv_prog_NM
="$NM" # Let the user override the test.
48788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48789 for as_dir
in $PATH
48792 test -z "$as_dir" && as_dir
=.
48793 for ac_exec_ext
in '' $ac_executable_extensions; do
48794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48795 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48805 if test -n "$NM"; then
48806 echo "$as_me:$LINENO: result: $NM" >&5
48807 echo "${ECHO_T}$NM" >&6
48809 echo "$as_me:$LINENO: result: no" >&5
48810 echo "${ECHO_T}no" >&6
48814 if test -z "$ac_cv_prog_NM"; then
48816 # Extract the first word of "nm", so it can be a program name with args.
48817 set dummy nm
; ac_word
=$2
48818 echo "$as_me:$LINENO: checking for $ac_word" >&5
48819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48820 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48821 echo $ECHO_N "(cached) $ECHO_C" >&6
48823 if test -n "$ac_ct_NM"; then
48824 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48827 for as_dir
in $PATH
48830 test -z "$as_dir" && as_dir
=.
48831 for ac_exec_ext
in '' $ac_executable_extensions; do
48832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48833 ac_cv_prog_ac_ct_NM
="nm"
48834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48840 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
48843 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48844 if test -n "$ac_ct_NM"; then
48845 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48846 echo "${ECHO_T}$ac_ct_NM" >&6
48848 echo "$as_me:$LINENO: result: no" >&5
48849 echo "${ECHO_T}no" >&6
48854 NM
="$ac_cv_prog_NM"
48858 case ${BAKEFILE_HOST} in
48860 INSTALL_DIR
="mkdir -p"
48862 *) INSTALL_DIR
="$INSTALL -d"
48868 case ${BAKEFILE_HOST} in
48869 *-*-cygwin* | *-*-mingw32* )
48870 LDFLAGS_GUI
="-mwindows"
48876 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48877 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48878 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48879 echo $ECHO_N "(cached) $ECHO_C" >&6
48882 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48883 egrep -s GNU
> /dev
/null
); then
48884 bakefile_cv_prog_makeisgnu
="yes"
48886 bakefile_cv_prog_makeisgnu
="no"
48890 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48891 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48893 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48910 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48911 case "${BAKEFILE_HOST}" in
48918 *-pc-os2_emx | *-pc-os2-emx )
48928 powerpc
-apple-macos* )
48937 case "$BAKEFILE_FORCE_PLATFORM" in
48958 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48959 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48960 { (exit 1); exit 1; }; }
48975 # Check whether --enable-omf or --disable-omf was given.
48976 if test "${enable_omf+set}" = set; then
48977 enableval
="$enable_omf"
48978 bk_os2_use_omf
="$enableval"
48981 case "${BAKEFILE_HOST}" in
48983 if test "x$GCC" = "xyes"; then
48984 CFLAGS
="$CFLAGS -fno-common"
48985 CXXFLAGS
="$CXXFLAGS -fno-common"
48987 if test "x$XLCC" = "xyes"; then
48988 CFLAGS
="$CFLAGS -qnocommon"
48989 CXXFLAGS
="$CXXFLAGS -qnocommon"
48993 *-pc-os2_emx | *-pc-os2-emx )
48994 if test "x$bk_os2_use_omf" = "xyes" ; then
48997 LDFLAGS
="-Zomf $LDFLAGS"
48998 CFLAGS
="-Zomf $CFLAGS"
48999 CXXFLAGS
="-Zomf $CXXFLAGS"
49007 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
49013 SO_SUFFIX_MODULE
="so"
49018 DLLPREFIX_MODULE
=""
49022 case "${BAKEFILE_HOST}" in
49025 SO_SUFFIX_MODULE
="sl"
49029 SO_SUFFIX_MODULE
="a"
49033 SO_SUFFIX_MODULE
="dll"
49034 DLLIMP_SUFFIX
="dll.a"
49041 SO_SUFFIX_MODULE
="dll"
49042 DLLIMP_SUFFIX
="dll.a"
49052 *-pc-os2_emx | *-pc-os2-emx )
49054 SO_SUFFIX_MODULE
="dll"
49055 DLLIMP_SUFFIX
=$OS2_LIBEXT
49059 LIBEXT
=".$OS2_LIBEXT"
49064 SO_SUFFIX_MODULE
="bundle"
49068 if test "x$DLLIMP_SUFFIX" = "x" ; then
49069 DLLIMP_SUFFIX
="$SO_SUFFIX"
49084 if test "x$GCC" = "xyes"; then
49088 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
49089 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
49092 case "${BAKEFILE_HOST}" in
49094 if test "x$GCC" != "xyes"; then
49095 LDFLAGS
="$LDFLAGS -L/usr/lib"
49097 SHARED_LD_CC
="${CC} -b -o"
49098 SHARED_LD_CXX
="${CXX} -b -o"
49104 if test "x$GCC" != "xyes"; then
49105 echo "$as_me:$LINENO: checking for Intel compiler" >&5
49106 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
49107 if test "${bakefile_cv_prog_icc+set}" = set; then
49108 echo $ECHO_N "(cached) $ECHO_C" >&6
49111 cat >conftest.
$ac_ext <<_ACEOF
49114 cat confdefs.h
>>conftest.
$ac_ext
49115 cat >>conftest.
$ac_ext <<_ACEOF
49116 /* end confdefs.h. */
49122 #ifndef __INTEL_COMPILER
49130 rm -f conftest.
$ac_objext
49131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49132 (eval $ac_compile) 2>conftest.er1
49134 grep -v '^ *+' conftest.er1
>conftest.err
49136 cat conftest.err
>&5
49137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49138 (exit $ac_status); } &&
49139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49141 (eval $ac_try) 2>&5
49143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49144 (exit $ac_status); }; } &&
49145 { ac_try
='test -s conftest.$ac_objext'
49146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49147 (eval $ac_try) 2>&5
49149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49150 (exit $ac_status); }; }; then
49151 bakefile_cv_prog_icc
=yes
49153 echo "$as_me: failed program was:" >&5
49154 sed 's/^/| /' conftest.
$ac_ext >&5
49156 bakefile_cv_prog_icc
=no
49159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49162 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
49163 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
49164 if test "$bakefile_cv_prog_icc" = "yes"; then
49171 if test "x$GCC" != xyes
; then
49172 SHARED_LD_CC
="${CC} -G -o"
49173 SHARED_LD_CXX
="${CXX} -G -o"
49181 cat <<EOF >shared-ld-sh
49183 #-----------------------------------------------------------------------------
49184 #-- Name: distrib/mac/shared-ld-sh
49185 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49186 #-- Author: Gilles Depeyrot
49187 #-- Copyright: (c) 2002 Gilles Depeyrot
49188 #-- Licence: any use permitted
49189 #-----------------------------------------------------------------------------
49194 linking_flag="-dynamiclib"
49195 ldargs="-r -keep_private_externs -nostdlib"
49197 while test ${D}# -gt 0; do
49204 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49205 # collect these options and values
49206 args="${D}{args} ${D}1 ${D}2"
49211 # collect these load args
49212 ldargs="${D}{ldargs} ${D}1"
49215 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49216 # collect these options
49217 args="${D}{args} ${D}1"
49220 -dynamiclib|-bundle)
49221 linking_flag="${D}1"
49225 echo "shared-ld: unhandled option '${D}1'"
49229 *.o | *.a | *.dylib)
49230 # collect object files
49231 objects="${D}{objects} ${D}1"
49235 echo "shared-ld: unhandled argument '${D}1'"
49246 # Link one module containing all the others
49248 if test ${D}{verbose} = 1; then
49249 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49251 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49255 # Link the shared library from the single module created, but only if the
49256 # previous command didn't fail:
49258 if test ${D}{status} = 0; then
49259 if test ${D}{verbose} = 1; then
49260 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49262 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49267 # Remove intermediate module
49269 rm -f master.${D}${D}.o
49274 chmod +x shared
-ld-sh
49276 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49277 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
49280 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49281 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
49282 if test "${bakefile_cv_gcc31+set}" = set; then
49283 echo $ECHO_N "(cached) $ECHO_C" >&6
49286 cat >conftest.
$ac_ext <<_ACEOF
49289 cat confdefs.h
>>conftest.
$ac_ext
49290 cat >>conftest.
$ac_ext <<_ACEOF
49291 /* end confdefs.h. */
49297 #if (__GNUC__ < 3) || \
49298 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49306 rm -f conftest.
$ac_objext
49307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49308 (eval $ac_compile) 2>conftest.er1
49310 grep -v '^ *+' conftest.er1
>conftest.err
49312 cat conftest.err
>&5
49313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49314 (exit $ac_status); } &&
49315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49317 (eval $ac_try) 2>&5
49319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49320 (exit $ac_status); }; } &&
49321 { ac_try
='test -s conftest.$ac_objext'
49322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49323 (eval $ac_try) 2>&5
49325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49326 (exit $ac_status); }; }; then
49328 bakefile_cv_gcc31
=yes
49331 echo "$as_me: failed program was:" >&5
49332 sed 's/^/| /' conftest.
$ac_ext >&5
49335 bakefile_cv_gcc31
=no
49339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49342 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49343 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
49344 if test "$bakefile_cv_gcc31" = "no"; then
49345 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49346 SHARED_LD_CXX
="$SHARED_LD_CC"
49348 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49349 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49352 if test "x$GCC" == "xyes"; then
49353 PIC_FLAG
="-dynamic -fPIC"
49355 if test "x$XLCC" = "xyes"; then
49356 PIC_FLAG
="-dynamic -DPIC"
49361 if test "x$GCC" = "xyes"; then
49364 case "${BAKEFILE_HOST}" in
49366 LD_EXPFULL
="-Wl,-bexpfull"
49370 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49371 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49373 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49374 set dummy makeC
++SharedLib
; ac_word
=$2
49375 echo "$as_me:$LINENO: checking for $ac_word" >&5
49376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49377 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49378 echo $ECHO_N "(cached) $ECHO_C" >&6
49380 if test -n "$AIX_CXX_LD"; then
49381 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49384 for as_dir
in $PATH
49387 test -z "$as_dir" && as_dir
=.
49388 for ac_exec_ext
in '' $ac_executable_extensions; do
49389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49390 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49397 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49400 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49401 if test -n "$AIX_CXX_LD"; then
49402 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49403 echo "${ECHO_T}$AIX_CXX_LD" >&6
49405 echo "$as_me:$LINENO: result: no" >&5
49406 echo "${ECHO_T}no" >&6
49409 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49410 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49415 SHARED_LD_CC
="${LD} -nostart -o"
49416 SHARED_LD_CXX
="${LD} -nostart -o"
49420 if test "x$GCC" != "xyes"; then
49425 *-*-cygwin* | *-*-mingw32* )
49427 SHARED_LD_CC
="\$(CC) -shared -o"
49428 SHARED_LD_CXX
="\$(CXX) -shared -o"
49432 *-pc-os2_emx | *-pc-os2-emx )
49433 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49434 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49438 cat <<EOF >dllar.sh
49441 # dllar - a tool to build both a .dll and an .a file
49442 # from a set of object (.o) files for EMX/OS2.
49444 # Written by Andrew Zabolotny, bit@freya.etu.ru
49445 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49447 # This script will accept a set of files on the command line.
49448 # All the public symbols from the .o files will be exported into
49449 # a .DEF file, then linker will be run (through gcc) against them to
49450 # build a shared library consisting of all given .o files. All libraries
49451 # (.a) will be first decompressed into component .o files then act as
49452 # described above. You can optionally give a description (-d "description")
49453 # which will be put into .DLL. To see the list of accepted options (as well
49454 # as command-line format) simply run this program without options. The .DLL
49455 # is built to be imported by name (there is no guarantee that new versions
49456 # of the library you build will have same ordinals for same symbols).
49458 # dllar is free software; you can redistribute it and/or modify
49459 # it under the terms of the GNU General Public License as published by
49460 # the Free Software Foundation; either version 2, or (at your option)
49461 # any later version.
49463 # dllar is distributed in the hope that it will be useful,
49464 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49465 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49466 # GNU General Public License for more details.
49468 # You should have received a copy of the GNU General Public License
49469 # along with dllar; see the file COPYING. If not, write to the Free
49470 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49473 # To successfuly run this program you will need:
49474 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49475 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49477 # (used to build the .dll)
49479 # (used to create .def file from .o files)
49481 # (used to create .a file from .def file)
49482 # - GNU text utilites (cat, sort, uniq)
49483 # used to process emxexp output
49484 # - GNU file utilities (mv, rm)
49486 # - lxlite (optional, see flag below)
49487 # (used for general .dll cleanup)
49494 # basnam, variant of basename, which does _not_ remove the path, _iff_
49495 # second argument (suffix to remove) is given
49499 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49502 echo ${D}1 | sed 's/'${D}2'${D}//'
49505 echo "error in basnam ${D}*"
49511 # Cleanup temporary files and output
49514 for i in ${D}inputFiles ; do
49517 rm -rf \`basnam ${D}i !\`
49524 # Kill result in case of failure as there is just to many stupid make/nmake
49525 # things out there which doesn't do this.
49526 if [ ${D}# -eq 0 ]; then
49527 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49531 # Print usage and exit script with rc=1.
49533 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49534 echo ' [-name-mangler-script script.sh]'
49535 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49536 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49537 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49538 echo ' [*.o] [*.a]'
49539 echo '*> "output_file" should have no extension.'
49540 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49541 echo ' The import library name is derived from this and is set to "name".a,'
49542 echo ' unless overridden by -import'
49543 echo '*> "importlib_name" should have no extension.'
49544 echo ' If it has the .o, or .a extension, it is automatically removed.'
49545 echo ' This name is used as the import library name and may be longer and'
49546 echo ' more descriptive than the DLL name which has to follow the old '
49547 echo ' 8.3 convention of FAT.'
49548 echo '*> "script.sh may be given to override the output_file name by a'
49549 echo ' different name. It is mainly useful if the regular make process'
49550 echo ' of some package does not take into account OS/2 restriction of'
49551 echo ' DLL name lengths. It takes the importlib name as input and is'
49552 echo ' supposed to procude a shorter name as output. The script should'
49553 echo ' expect to get importlib_name without extension and should produce'
49554 echo ' a (max.) 8 letter name without extension.'
49555 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49556 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49557 echo ' These flags will be put at the start of GCC command line.'
49558 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49559 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49560 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49561 echo ' If the last character of a symbol is "*", all symbols beginning'
49562 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49563 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49564 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49565 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49566 echo ' C runtime DLLs.'
49567 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49568 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49569 echo ' unchanged to GCC at the end of command line.'
49570 echo '*> If you create a DLL from a library and you do not specify -o,'
49571 echo ' the basename for DLL and import library will be set to library name,'
49572 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49573 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49574 echo ' library will be renamed into gcc_s.a.'
49577 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49578 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49583 # Execute a command.
49584 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49585 # @Uses Whatever CleanUp() uses.
49591 if [ ${D}rcCmd -ne 0 ]; then
49592 echo "command failed, exit code="${D}rcCmd
49607 CFLAGS="-s -Zcrtdll"
49609 EXPORT_BY_ORDINALS=0
49614 case ${D}curDirS in
49618 curDirS=${D}{curDirS}"/"
49621 # Parse commandline
49624 while [ ${D}1 ]; do
49627 EXPORT_BY_ORDINALS=1;
49637 -name-mangler-script)
49658 exclude_symbols=${D}{exclude_symbols}${D}1" "
49662 library_flags=${D}{library_flags}${D}1" "
49681 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49684 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49685 if [ ${D}omfLinking -eq 1 ]; then
49686 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49688 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49693 if [ ${D}libsToLink -ne 0 ]; then
49694 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49696 for file in ${D}1 ; do
49697 if [ -f ${D}file ]; then
49698 inputFiles="${D}{inputFiles} ${D}file"
49702 if [ ${D}found -eq 0 ]; then
49703 echo "ERROR: No file(s) found: "${D}1
49710 done # iterate cmdline words
49713 if [ -z "${D}inputFiles" ]; then
49714 echo "dllar: no input files"
49718 # Now extract all .o files from .a files
49720 for file in ${D}inputFiles ; do
49731 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49736 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49738 if [ ${D}? -ne 0 ]; then
49739 echo "Failed to create subdirectory ./${D}dirname"
49743 # Append '!' to indicate archive
49744 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49745 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49748 for subfile in ${D}dirname/*.o* ; do
49749 if [ -f ${D}subfile ]; then
49751 if [ -s ${D}subfile ]; then
49752 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49753 newInputFiles="${D}newInputFiles ${D}subfile"
49757 if [ ${D}found -eq 0 ]; then
49758 echo "WARNING: there are no files in archive \\'${D}file\\'"
49762 newInputFiles="${D}{newInputFiles} ${D}file"
49766 inputFiles="${D}newInputFiles"
49768 # Output filename(s).
49770 if [ -z ${D}outFile ]; then
49772 set outFile ${D}inputFiles; outFile=${D}2
49775 # If it is an archive, remove the '!' and the '_%' suffixes
49776 case ${D}outFile in
49778 outFile=\`basnam ${D}outFile _%!\`
49783 case ${D}outFile in
49785 outFile=\`basnam ${D}outFile .dll\`
49788 outFile=\`basnam ${D}outFile .DLL\`
49791 outFile=\`basnam ${D}outFile .o\`
49794 outFile=\`basnam ${D}outFile .obj\`
49797 outFile=\`basnam ${D}outFile .a\`
49800 outFile=\`basnam ${D}outFile .lib\`
49805 case ${D}outimpFile in
49807 outimpFile=\`basnam ${D}outimpFile .a\`
49810 outimpFile=\`basnam ${D}outimpFile .lib\`
49815 if [ -z ${D}outimpFile ]; then
49816 outimpFile=${D}outFile
49818 defFile="${D}{outFile}.def"
49819 arcFile="${D}{outimpFile}.a"
49820 arcFile2="${D}{outimpFile}.lib"
49822 #create ${D}dllFile as something matching 8.3 restrictions,
49823 if [ -z ${D}renameScript ] ; then
49824 dllFile="${D}outFile"
49826 dllFile=\`${D}renameScript ${D}outimpFile\`
49829 if [ ${D}do_backup -ne 0 ] ; then
49830 if [ -f ${D}arcFile ] ; then
49831 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49833 if [ -f ${D}arcFile2 ] ; then
49834 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49838 # Extract public symbols from all the object files.
49839 tmpdefFile=${D}{defFile}_%
49840 rm -f ${D}tmpdefFile
49841 for file in ${D}inputFiles ; do
49846 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49851 # Create the def file.
49853 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49854 dllFile="${D}{dllFile}.dll"
49855 if [ ! -z ${D}description ]; then
49856 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49858 echo "EXPORTS" >> ${D}defFile
49860 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49861 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49863 # Checks if the export is ok or not.
49864 for word in ${D}exclude_symbols; do
49865 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49866 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49870 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49871 sed "=" < ${D}tmpdefFile | \\
49875 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49877 ' > ${D}{tmpdefFile}%
49878 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49880 rm -f ${D}{tmpdefFile}%
49882 cat ${D}tmpdefFile >> ${D}defFile
49883 rm -f ${D}tmpdefFile
49885 # Do linking, create implib, and apply lxlite.
49887 for file in ${D}inputFiles ; do
49892 gccCmdl="${D}gccCmdl ${D}file"
49896 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49897 touch "${D}{outFile}.dll"
49899 doCommand "emximp -o ${D}arcFile ${D}defFile"
49900 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49902 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49905 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49907 doCommand "emxomf -s -l ${D}arcFile"
49917 powerpc
-apple-macos* | \
49918 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49929 if test "x$PIC_FLAG" != "x" ; then
49930 PIC_FLAG
="$PIC_FLAG -DPIC"
49933 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49934 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49936 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49937 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49956 case "${BAKEFILE_HOST}" in
49957 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
49958 SONAME_FLAG
="-Wl,-soname,"
49992 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49993 if test "${enable_dependency_tracking+set}" = set; then
49994 enableval
="$enable_dependency_tracking"
49995 bk_use_trackdeps
="$enableval"
49998 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49999 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
50001 if test "x$bk_use_trackdeps" = "xno" ; then
50003 echo "$as_me:$LINENO: result: disabled" >&5
50004 echo "${ECHO_T}disabled" >&6
50008 if test "x$GCC" = "xyes"; then
50010 case "${BAKEFILE_HOST}" in
50012 DEPSFLAG
="-no-cpp-precomp -MMD"
50018 echo "$as_me:$LINENO: result: gcc" >&5
50019 echo "${ECHO_T}gcc" >&6
50020 elif test "x$MWCC" = "xyes"; then
50023 echo "$as_me:$LINENO: result: mwcc" >&5
50024 echo "${ECHO_T}mwcc" >&6
50025 elif test "x$SUNCC" = "xyes"; then
50028 echo "$as_me:$LINENO: result: Sun cc" >&5
50029 echo "${ECHO_T}Sun cc" >&6
50030 elif test "x$SGICC" = "xyes"; then
50033 echo "$as_me:$LINENO: result: SGI cc" >&5
50034 echo "${ECHO_T}SGI cc" >&6
50035 elif test "x$HPCC" = "xyes"; then
50038 echo "$as_me:$LINENO: result: HP cc" >&5
50039 echo "${ECHO_T}HP cc" >&6
50040 elif test "x$COMPAQCC" = "xyes"; then
50043 echo "$as_me:$LINENO: result: Compaq cc" >&5
50044 echo "${ECHO_T}Compaq cc" >&6
50047 echo "$as_me:$LINENO: result: none" >&5
50048 echo "${ECHO_T}none" >&6
50051 if test $DEPS_TRACKING = 1 ; then
50057 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50058 # script. It is used to track C/C++ files dependencies in portable way.
50060 # Permission is given to use this file in any way.
50062 DEPSMODE=${DEPSMODE}
50064 DEPSFLAG="${DEPSFLAG}"
50066 mkdir -p ${D}DEPSDIR
50068 if test ${D}DEPSMODE = gcc ; then
50069 ${D}* ${D}{DEPSFLAG}
50071 if test ${D}{status} != 0 ; then
50074 # move created file to the location we want it in:
50075 while test ${D}# -gt 0; do
50089 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50090 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50091 if test -f ${D}depfile ; then
50092 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50095 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50096 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50097 if test ! -f ${D}depfile ; then
50098 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50099 depfile="${D}objfile.d"
50101 if test -f ${D}depfile ; then
50102 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50107 elif test ${D}DEPSMODE = mwcc ; then
50108 ${D}* || exit ${D}?
50109 # Run mwcc again with -MM and redirect into the dep file we want
50110 # NOTE: We can't use shift here because we need ${D}* to be valid
50112 for arg in ${D}* ; do
50113 if test "${D}prevarg" = "-o"; then
50126 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50128 elif test ${D}DEPSMODE = unixcc; then
50129 ${D}* || exit ${D}?
50130 # Run compiler again with deps flag and redirect into the dep file.
50131 # It doesn't work if the '-o FILE' option is used, but without it the
50132 # dependency file will contain the wrong name for the object. So it is
50133 # removed from the command line, and the dep file is fixed with sed.
50135 while test ${D}# -gt 0; do
50142 eval arg${D}#=\\${D}1
50143 cmd="${D}cmd \\${D}arg${D}#"
50148 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50163 case ${BAKEFILE_HOST} in
50164 *-*-cygwin* | *-*-mingw32* )
50165 if test -n "$ac_tool_prefix"; then
50166 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50167 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50168 echo "$as_me:$LINENO: checking for $ac_word" >&5
50169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50170 if test "${ac_cv_prog_WINDRES+set}" = set; then
50171 echo $ECHO_N "(cached) $ECHO_C" >&6
50173 if test -n "$WINDRES"; then
50174 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50177 for as_dir
in $PATH
50180 test -z "$as_dir" && as_dir
=.
50181 for ac_exec_ext
in '' $ac_executable_extensions; do
50182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50183 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50192 WINDRES
=$ac_cv_prog_WINDRES
50193 if test -n "$WINDRES"; then
50194 echo "$as_me:$LINENO: result: $WINDRES" >&5
50195 echo "${ECHO_T}$WINDRES" >&6
50197 echo "$as_me:$LINENO: result: no" >&5
50198 echo "${ECHO_T}no" >&6
50202 if test -z "$ac_cv_prog_WINDRES"; then
50203 ac_ct_WINDRES
=$WINDRES
50204 # Extract the first word of "windres", so it can be a program name with args.
50205 set dummy windres
; ac_word
=$2
50206 echo "$as_me:$LINENO: checking for $ac_word" >&5
50207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50208 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50209 echo $ECHO_N "(cached) $ECHO_C" >&6
50211 if test -n "$ac_ct_WINDRES"; then
50212 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50215 for as_dir
in $PATH
50218 test -z "$as_dir" && as_dir
=.
50219 for ac_exec_ext
in '' $ac_executable_extensions; do
50220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50221 ac_cv_prog_ac_ct_WINDRES
="windres"
50222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50230 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50231 if test -n "$ac_ct_WINDRES"; then
50232 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50233 echo "${ECHO_T}$ac_ct_WINDRES" >&6
50235 echo "$as_me:$LINENO: result: no" >&5
50236 echo "${ECHO_T}no" >&6
50239 WINDRES
=$ac_ct_WINDRES
50241 WINDRES
="$ac_cv_prog_WINDRES"
50246 *-*-darwin* | powerpc
-apple-macos* )
50247 # Extract the first word of "Rez", so it can be a program name with args.
50248 set dummy Rez
; ac_word
=$2
50249 echo "$as_me:$LINENO: checking for $ac_word" >&5
50250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50251 if test "${ac_cv_prog_REZ+set}" = set; then
50252 echo $ECHO_N "(cached) $ECHO_C" >&6
50254 if test -n "$REZ"; then
50255 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50258 for as_dir
in $PATH
50261 test -z "$as_dir" && as_dir
=.
50262 for ac_exec_ext
in '' $ac_executable_extensions; do
50263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50264 ac_cv_prog_REZ
="Rez"
50265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50271 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50274 REZ
=$ac_cv_prog_REZ
50275 if test -n "$REZ"; then
50276 echo "$as_me:$LINENO: result: $REZ" >&5
50277 echo "${ECHO_T}$REZ" >&6
50279 echo "$as_me:$LINENO: result: no" >&5
50280 echo "${ECHO_T}no" >&6
50283 # Extract the first word of "SetFile", so it can be a program name with args.
50284 set dummy SetFile
; ac_word
=$2
50285 echo "$as_me:$LINENO: checking for $ac_word" >&5
50286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50287 if test "${ac_cv_prog_SETFILE+set}" = set; then
50288 echo $ECHO_N "(cached) $ECHO_C" >&6
50290 if test -n "$SETFILE"; then
50291 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50294 for as_dir
in $PATH
50297 test -z "$as_dir" && as_dir
=.
50298 for ac_exec_ext
in '' $ac_executable_extensions; do
50299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50300 ac_cv_prog_SETFILE
="SetFile"
50301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50307 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50310 SETFILE
=$ac_cv_prog_SETFILE
50311 if test -n "$SETFILE"; then
50312 echo "$as_me:$LINENO: result: $SETFILE" >&5
50313 echo "${ECHO_T}$SETFILE" >&6
50315 echo "$as_me:$LINENO: result: no" >&5
50316 echo "${ECHO_T}no" >&6
50327 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
50330 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
50334 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
50335 if test "${enable_precomp_headers+set}" = set; then
50336 enableval
="$enable_precomp_headers"
50337 bk_use_pch
="$enableval"
50344 case ${BAKEFILE_HOST} in
50350 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50351 if test "x$GCC" = "xyes"; then
50352 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50353 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
50354 cat >conftest.
$ac_ext <<_ACEOF
50357 cat confdefs.h
>>conftest.
$ac_ext
50358 cat >>conftest.
$ac_ext <<_ACEOF
50359 /* end confdefs.h. */
50365 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50366 There is no PCH support
50369 There is no PCH support
50371 #if (__GNUC__ == 3) && \
50372 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50373 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50374 ( defined(__INTEL_COMPILER) )
50375 There is no PCH support
50382 rm -f conftest.
$ac_objext
50383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50384 (eval $ac_compile) 2>conftest.er1
50386 grep -v '^ *+' conftest.er1
>conftest.err
50388 cat conftest.err
>&5
50389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50390 (exit $ac_status); } &&
50391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50393 (eval $ac_try) 2>&5
50395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50396 (exit $ac_status); }; } &&
50397 { ac_try
='test -s conftest.$ac_objext'
50398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50399 (eval $ac_try) 2>&5
50401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50402 (exit $ac_status); }; }; then
50404 echo "$as_me:$LINENO: result: yes" >&5
50405 echo "${ECHO_T}yes" >&6
50409 echo "$as_me: failed program was:" >&5
50410 sed 's/^/| /' conftest.
$ac_ext >&5
50413 cat >conftest.
$ac_ext <<_ACEOF
50416 cat confdefs.h
>>conftest.
$ac_ext
50417 cat >>conftest.
$ac_ext <<_ACEOF
50418 /* end confdefs.h. */
50424 #if !defined(__INTEL_COMPILER) || \
50425 (__INTEL_COMPILER < 800)
50426 There is no PCH support
50433 rm -f conftest.
$ac_objext
50434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50435 (eval $ac_compile) 2>conftest.er1
50437 grep -v '^ *+' conftest.er1
>conftest.err
50439 cat conftest.err
>&5
50440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441 (exit $ac_status); } &&
50442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50444 (eval $ac_try) 2>&5
50446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50447 (exit $ac_status); }; } &&
50448 { ac_try
='test -s conftest.$ac_objext'
50449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50450 (eval $ac_try) 2>&5
50452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50453 (exit $ac_status); }; }; then
50455 echo "$as_me:$LINENO: result: yes" >&5
50456 echo "${ECHO_T}yes" >&6
50460 echo "$as_me: failed program was:" >&5
50461 sed 's/^/| /' conftest.
$ac_ext >&5
50464 echo "$as_me:$LINENO: result: no" >&5
50465 echo "${ECHO_T}no" >&6
50468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
50471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
50472 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50476 cat <<EOF >bk-make-pch
50479 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50480 # script. It is used to generated precompiled headers.
50482 # Permission is given to use this file in any way.
50492 while test ${D}{#} -gt 0; do
50496 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50497 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50498 headerfile="${D}{incdir}/${D}{header}"
50501 -use-pch|-use_pch )
50506 if test ${D}add_to_cmdline = 1 ; then
50507 compiler="${D}{compiler} ${D}{1}"
50512 if test "x${D}{headerfile}" = "x" ; then
50513 echo "error: can't find header ${D}{header} in include paths" >&2
50515 if test -f ${D}{outfile} ; then
50516 rm -f ${D}{outfile}
50518 mkdir -p \`dirname ${D}{outfile}\`
50520 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50522 if test "x${GCC_PCH}" = "x1" ; then
50523 # can do this because gcc is >= 3.4:
50524 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50525 elif test "x${ICC_PCH}" = "x1" ; then
50526 filename=pch_gen-${D}${D}
50527 file=${D}{filename}.c
50528 dfile=${D}{filename}.d
50529 cat > ${D}file <<EOT
50530 #include "${D}header"
50532 # using -MF icc complains about differing command lines in creation/use
50533 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50534 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50535 rm -f ${D}file ${D}dfile ${D}{filename}.o
50541 chmod +x bk
-make-pch
50549 COND_BUILD_DEBUG
="#"
50550 if test "x$BUILD" = "xdebug" ; then
50551 COND_BUILD_DEBUG
=""
50554 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
50555 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50556 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
50559 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
50560 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50561 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
50564 COND_BUILD_DEBUG_UNICODE_0
="#"
50565 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50566 COND_BUILD_DEBUG_UNICODE_0
=""
50569 COND_BUILD_DEBUG_UNICODE_1
="#"
50570 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50571 COND_BUILD_DEBUG_UNICODE_1
=""
50574 COND_BUILD_RELEASE
="#"
50575 if test "x$BUILD" = "xrelease" ; then
50576 COND_BUILD_RELEASE
=""
50579 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
50580 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50581 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
50584 COND_BUILD_RELEASE_UNICODE_0
="#"
50585 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50586 COND_BUILD_RELEASE_UNICODE_0
=""
50589 COND_BUILD_RELEASE_UNICODE_1
="#"
50590 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50591 COND_BUILD_RELEASE_UNICODE_1
=""
50594 COND_DEBUG_FLAG_1
="#"
50595 if test "x$DEBUG_FLAG" = "x1" ; then
50596 COND_DEBUG_FLAG_1
=""
50599 COND_DEBUG_INFO_0
="#"
50600 if test "x$DEBUG_INFO" = "x0" ; then
50601 COND_DEBUG_INFO_0
=""
50604 COND_DEBUG_INFO_1
="#"
50605 if test "x$DEBUG_INFO" = "x1" ; then
50606 COND_DEBUG_INFO_1
=""
50609 COND_DEPS_TRACKING_0
="#"
50610 if test "x$DEPS_TRACKING" = "x0" ; then
50611 COND_DEPS_TRACKING_0
=""
50614 COND_DEPS_TRACKING_1
="#"
50615 if test "x$DEPS_TRACKING" = "x1" ; then
50616 COND_DEPS_TRACKING_1
=""
50620 if test "x$GCC_PCH" = "x1" ; then
50625 if test "x$ICC_PCH" = "x1" ; then
50629 COND_MONOLITHIC_0
="#"
50630 if test "x$MONOLITHIC" = "x0" ; then
50631 COND_MONOLITHIC_0
=""
50634 COND_MONOLITHIC_0_SHARED_0
="#"
50635 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50636 COND_MONOLITHIC_0_SHARED_0
=""
50639 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
50640 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50641 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
50644 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
50645 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50646 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
50649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
50650 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
50654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
50655 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50656 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
50659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
50660 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
50664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
50665 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
50669 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
50670 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50671 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
50674 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
50675 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50676 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
50679 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
50680 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50681 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
50684 COND_MONOLITHIC_0_SHARED_1
="#"
50685 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50686 COND_MONOLITHIC_0_SHARED_1
=""
50689 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
50690 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50691 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
50694 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
50695 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50696 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
50699 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
50700 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50701 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
50704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
50705 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50706 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
50709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
50710 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
50714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
50715 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
50719 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
50720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50721 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
50724 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
50725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50726 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
50729 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
50730 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50731 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
50734 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50735 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50736 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50739 COND_MONOLITHIC_0_USE_ODBC_1
="#"
50740 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50741 COND_MONOLITHIC_0_USE_ODBC_1
=""
50744 COND_MONOLITHIC_1
="#"
50745 if test "x$MONOLITHIC" = "x1" ; then
50746 COND_MONOLITHIC_1
=""
50749 COND_MONOLITHIC_1_SHARED_0
="#"
50750 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50751 COND_MONOLITHIC_1_SHARED_0
=""
50754 COND_MONOLITHIC_1_SHARED_1
="#"
50755 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50756 COND_MONOLITHIC_1_SHARED_1
=""
50759 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50760 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50761 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50764 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50765 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50766 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50769 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50770 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50771 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50774 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50775 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50776 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50779 COND_PLATFORM_MACOSX_1
="#"
50780 if test "x$PLATFORM_MACOSX" = "x1" ; then
50781 COND_PLATFORM_MACOSX_1
=""
50784 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
50785 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50786 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
50789 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
50790 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50791 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
50794 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
50795 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
50799 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
50800 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50801 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
50804 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
50805 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50806 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
50809 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50810 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50811 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50814 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
50815 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50816 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
50819 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
50820 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50821 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
50824 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50825 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50826 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50829 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50830 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50831 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50834 COND_PLATFORM_MACOS_1
="#"
50835 if test "x$PLATFORM_MACOS" = "x1" ; then
50836 COND_PLATFORM_MACOS_1
=""
50839 COND_PLATFORM_MAC_1
="#"
50840 if test "x$PLATFORM_MAC" = "x1" ; then
50841 COND_PLATFORM_MAC_1
=""
50844 COND_PLATFORM_MSDOS_0
="#"
50845 if test "x$PLATFORM_MSDOS" = "x0" ; then
50846 COND_PLATFORM_MSDOS_0
=""
50849 COND_PLATFORM_MSDOS_1
="#"
50850 if test "x$PLATFORM_MSDOS" = "x1" ; then
50851 COND_PLATFORM_MSDOS_1
=""
50854 COND_PLATFORM_OS2_1
="#"
50855 if test "x$PLATFORM_OS2" = "x1" ; then
50856 COND_PLATFORM_OS2_1
=""
50859 COND_PLATFORM_UNIX_0
="#"
50860 if test "x$PLATFORM_UNIX" = "x0" ; then
50861 COND_PLATFORM_UNIX_0
=""
50864 COND_PLATFORM_UNIX_1
="#"
50865 if test "x$PLATFORM_UNIX" = "x1" ; then
50866 COND_PLATFORM_UNIX_1
=""
50869 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50870 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50871 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50874 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50875 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50876 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50879 COND_PLATFORM_WIN32_0
="#"
50880 if test "x$PLATFORM_WIN32" = "x0" ; then
50881 COND_PLATFORM_WIN32_0
=""
50884 COND_PLATFORM_WIN32_1
="#"
50885 if test "x$PLATFORM_WIN32" = "x1" ; then
50886 COND_PLATFORM_WIN32_1
=""
50890 if test "x$SHARED" = "x0" ; then
50894 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50895 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50896 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50899 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50900 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50904 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50905 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50906 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50909 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50910 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50914 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50915 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50916 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50919 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50920 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50921 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50924 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50925 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50926 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50929 COND_SHARED_0_USE_XRC_1
="#"
50930 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50931 COND_SHARED_0_USE_XRC_1
=""
50934 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
50935 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50936 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
50939 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
50940 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50941 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
50944 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
50945 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50946 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
50949 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
50950 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50951 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
50955 if test "x$SHARED" = "x1" ; then
50959 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50960 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50961 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50964 COND_SHARED_1_USE_XRC_1
="#"
50965 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50966 COND_SHARED_1_USE_XRC_1
=""
50970 if test "x$TOOLKIT" = "x" ; then
50974 COND_TOOLKIT_COCOA
="#"
50975 if test "x$TOOLKIT" = "xCOCOA" ; then
50976 COND_TOOLKIT_COCOA
=""
50979 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50980 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50981 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50984 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50985 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50986 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50989 COND_TOOLKIT_DFB
="#"
50990 if test "x$TOOLKIT" = "xDFB" ; then
50991 COND_TOOLKIT_DFB
=""
50994 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50995 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50996 COND_TOOLKIT_DFB_USE_GUI_1
=""
50999 COND_TOOLKIT_GTK
="#"
51000 if test "x$TOOLKIT" = "xGTK" ; then
51001 COND_TOOLKIT_GTK
=""
51004 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
51005 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51006 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
51009 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
51010 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51011 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
51014 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
51015 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
51019 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
51020 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51021 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
51024 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
51025 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51026 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
51029 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
51030 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51031 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
51034 COND_TOOLKIT_GTK_USE_GUI_1
="#"
51035 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51036 COND_TOOLKIT_GTK_USE_GUI_1
=""
51039 COND_TOOLKIT_MAC
="#"
51040 if test "x$TOOLKIT" = "xMAC" ; then
51041 COND_TOOLKIT_MAC
=""
51044 COND_TOOLKIT_MAC_USE_GUI_1
="#"
51045 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51046 COND_TOOLKIT_MAC_USE_GUI_1
=""
51049 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
51050 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51051 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
51054 COND_TOOLKIT_MGL
="#"
51055 if test "x$TOOLKIT" = "xMGL" ; then
51056 COND_TOOLKIT_MGL
=""
51059 COND_TOOLKIT_MGL_USE_GUI_1
="#"
51060 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51061 COND_TOOLKIT_MGL_USE_GUI_1
=""
51064 COND_TOOLKIT_MOTIF
="#"
51065 if test "x$TOOLKIT" = "xMOTIF" ; then
51066 COND_TOOLKIT_MOTIF
=""
51069 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
51070 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51071 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
51074 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
51075 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51076 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
51079 COND_TOOLKIT_MSW
="#"
51080 if test "x$TOOLKIT" = "xMSW" ; then
51081 COND_TOOLKIT_MSW
=""
51084 COND_TOOLKIT_MSW_USE_GUI_1
="#"
51085 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51086 COND_TOOLKIT_MSW_USE_GUI_1
=""
51089 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
51090 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51091 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
51094 COND_TOOLKIT_MSW_WXUNIV_0
="#"
51095 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51096 COND_TOOLKIT_MSW_WXUNIV_0
=""
51099 COND_TOOLKIT_PM
="#"
51100 if test "x$TOOLKIT" = "xPM" ; then
51104 COND_TOOLKIT_PM_USE_GUI_1
="#"
51105 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51106 COND_TOOLKIT_PM_USE_GUI_1
=""
51109 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
51110 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51111 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
51114 COND_TOOLKIT_WINCE
="#"
51115 if test "x$TOOLKIT" = "xWINCE" ; then
51116 COND_TOOLKIT_WINCE
=""
51119 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
51120 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51121 COND_TOOLKIT_WINCE_USE_GUI_1
=""
51124 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
51125 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51126 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
51129 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
51130 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51131 COND_TOOLKIT_WINCE_WXUNIV_0
=""
51134 COND_TOOLKIT_X11
="#"
51135 if test "x$TOOLKIT" = "xX11" ; then
51136 COND_TOOLKIT_X11
=""
51139 COND_TOOLKIT_X11_USE_GUI_1
="#"
51140 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51141 COND_TOOLKIT_X11_USE_GUI_1
=""
51145 if test "x$UNICODE" = "x1" ; then
51149 COND_USE_EXCEPTIONS_0
="#"
51150 if test "x$USE_EXCEPTIONS" = "x0" ; then
51151 COND_USE_EXCEPTIONS_0
=""
51154 COND_USE_EXCEPTIONS_1
="#"
51155 if test "x$USE_EXCEPTIONS" = "x1" ; then
51156 COND_USE_EXCEPTIONS_1
=""
51160 if test "x$USE_GUI" = "x0" ; then
51165 if test "x$USE_GUI" = "x1" ; then
51169 COND_USE_GUI_1_WXUNIV_0
="#"
51170 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51171 COND_USE_GUI_1_WXUNIV_0
=""
51174 COND_USE_GUI_1_WXUNIV_1
="#"
51175 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51176 COND_USE_GUI_1_WXUNIV_1
=""
51179 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
51180 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51181 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
51184 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
51185 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51186 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
51189 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
51190 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51191 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
51194 COND_USE_ODBC_1
="#"
51195 if test "x$USE_ODBC" = "x1" ; then
51199 COND_USE_OPENGL_1
="#"
51200 if test "x$USE_OPENGL" = "x1" ; then
51201 COND_USE_OPENGL_1
=""
51205 if test "x$USE_PCH" = "x1" ; then
51209 COND_USE_PLUGINS_0
="#"
51210 if test "x$USE_PLUGINS" = "x0" ; then
51211 COND_USE_PLUGINS_0
=""
51214 COND_USE_RTTI_0
="#"
51215 if test "x$USE_RTTI" = "x0" ; then
51219 COND_USE_RTTI_1
="#"
51220 if test "x$USE_RTTI" = "x1" ; then
51224 COND_USE_SOSYMLINKS_1
="#"
51225 if test "x$USE_SOSYMLINKS" = "x1" ; then
51226 COND_USE_SOSYMLINKS_1
=""
51229 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
51230 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51231 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
51234 COND_USE_SOVERLINUX_1
="#"
51235 if test "x$USE_SOVERLINUX" = "x1" ; then
51236 COND_USE_SOVERLINUX_1
=""
51239 COND_USE_SOVERSION_0
="#"
51240 if test "x$USE_SOVERSION" = "x0" ; then
51241 COND_USE_SOVERSION_0
=""
51244 COND_USE_SOVERSOLARIS_1
="#"
51245 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51246 COND_USE_SOVERSOLARIS_1
=""
51249 COND_USE_THREADS_0
="#"
51250 if test "x$USE_THREADS" = "x0" ; then
51251 COND_USE_THREADS_0
=""
51254 COND_USE_THREADS_1
="#"
51255 if test "x$USE_THREADS" = "x1" ; then
51256 COND_USE_THREADS_1
=""
51260 if test "x$USE_XRC" = "x1" ; then
51264 COND_WINDOWS_IMPLIB_1
="#"
51265 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51266 COND_WINDOWS_IMPLIB_1
=""
51269 COND_WITH_PLUGIN_SDL_1
="#"
51270 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51271 COND_WITH_PLUGIN_SDL_1
=""
51275 if test "x$WXUNIV" = "x0" ; then
51280 if test "x$WXUNIV" = "x1" ; then
51284 COND_WXUSE_EXPAT_BUILTIN
="#"
51285 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51286 COND_WXUSE_EXPAT_BUILTIN
=""
51289 COND_WXUSE_LIBJPEG_BUILTIN
="#"
51290 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51291 COND_WXUSE_LIBJPEG_BUILTIN
=""
51294 COND_WXUSE_LIBPNG_BUILTIN
="#"
51295 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51296 COND_WXUSE_LIBPNG_BUILTIN
=""
51299 COND_WXUSE_LIBTIFF_BUILTIN
="#"
51300 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51301 COND_WXUSE_LIBTIFF_BUILTIN
=""
51304 COND_WXUSE_ODBC_BUILTIN
="#"
51305 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51306 COND_WXUSE_ODBC_BUILTIN
=""
51309 COND_WXUSE_REGEX_BUILTIN
="#"
51310 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51311 COND_WXUSE_REGEX_BUILTIN
=""
51314 COND_WXUSE_ZLIB_BUILTIN
="#"
51315 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51316 COND_WXUSE_ZLIB_BUILTIN
=""
51321 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51322 { { 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
51323 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;}
51324 { (exit 1); exit 1; }; }
51327 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51328 { { 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
51329 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;}
51330 { (exit 1); exit 1; }; }
51334 if test $GCC_PCH = 1
51336 if test "$wx_cv_gcc_pch_bug" = yes; then
51337 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51338 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51339 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51340 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51341 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51342 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51345 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
51349 if test "$wxUSE_MAC" = 1 ; then
51350 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51351 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
51357 if test "$wxUSE_SHARED" = "yes"; then
51359 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
51360 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
51363 *-pc-os2_emx | *-pc-os2-emx )
51364 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51365 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51366 cp -p ${srcdir}/src
/os
2/dllnames.sh .
51367 cp -p ${srcdir}/src
/os
2/dllar.sh .
51372 EXE_LINKER
="$CXX -o"
51375 if test "$wxUSE_OMF" = "yes"; then
51377 *-pc-os2_emx | *-pc-os2-emx )
51378 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
51379 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
51380 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
51385 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51387 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51449 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51450 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
51451 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
51452 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
51453 echo $ECHO_N "(cached) $ECHO_C" >&6
51455 cat >conftest.
make <<\_ACEOF
51457 @
echo 'ac_maketemp="$(MAKE)"'
51459 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51460 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
51461 if test -n "$ac_maketemp"; then
51462 eval ac_cv_prog_make_
${ac_make}_set
=yes
51464 eval ac_cv_prog_make_
${ac_make}_set
=no
51466 rm -f conftest.
make
51468 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
51469 echo "$as_me:$LINENO: result: yes" >&5
51470 echo "${ECHO_T}yes" >&6
51473 echo "$as_me:$LINENO: result: no" >&5
51474 echo "${ECHO_T}no" >&6
51475 SET_MAKE
="MAKE=${MAKE-make}"
51480 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51483 if test "$USE_WIN32" = 1; then
51484 ac_config_commands
="$ac_config_commands
51490 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51493 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51496 ac_config_files
="$ac_config_files version-script Makefile"
51499 ac_config_commands
="$ac_config_commands wx-config"
51503 if test "$wxWITH_SUBDIRS" != "no"; then
51504 if test "$wxUSE_GUI" = "yes"; then
51505 SUBDIRS
="samples demos utils contrib"
51506 else SUBDIRS
="samples utils"
51511 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
51512 if test "${with_cppunit_prefix+set}" = set; then
51513 withval
="$with_cppunit_prefix"
51514 cppunit_config_prefix
="$withval"
51516 cppunit_config_prefix
=""
51519 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
51520 if test "${with_cppunit_exec_prefix+set}" = set; then
51521 withval
="$with_cppunit_exec_prefix"
51522 cppunit_config_exec_prefix
="$withval"
51524 cppunit_config_exec_prefix
=""
51527 if test x
$cppunit_config_exec_prefix != x
; then
51528 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51529 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51530 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
51533 if test x
$cppunit_config_prefix != x
; then
51534 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
51535 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51536 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51540 # Extract the first word of "cppunit-config", so it can be a program name with args.
51541 set dummy cppunit
-config; ac_word
=$2
51542 echo "$as_me:$LINENO: checking for $ac_word" >&5
51543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51544 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51545 echo $ECHO_N "(cached) $ECHO_C" >&6
51547 case $CPPUNIT_CONFIG in
51549 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51553 for as_dir
in $PATH
51556 test -z "$as_dir" && as_dir
=.
51557 for ac_exec_ext
in '' $ac_executable_extensions; do
51558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51559 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51566 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51570 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51572 if test -n "$CPPUNIT_CONFIG"; then
51573 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51574 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51576 echo "$as_me:$LINENO: result: no" >&5
51577 echo "${ECHO_T}no" >&6
51580 cppunit_version_min
=1.8.0
51582 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51583 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51585 if test "$CPPUNIT_CONFIG" = "no" ; then
51586 echo "$as_me:$LINENO: result: no" >&5
51587 echo "${ECHO_T}no" >&6
51590 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51591 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51592 cppunit_version
=`$CPPUNIT_CONFIG --version`
51594 cppunit_major_version
=`echo $cppunit_version | \
51595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51596 cppunit_minor_version
=`echo $cppunit_version | \
51597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51598 cppunit_micro_version
=`echo $cppunit_version | \
51599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51601 cppunit_major_min
=`echo $cppunit_version_min | \
51602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51603 cppunit_minor_min
=`echo $cppunit_version_min | \
51604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51605 cppunit_micro_min
=`echo $cppunit_version_min | \
51606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51608 cppunit_version_proper
=`expr \
51609 $cppunit_major_version \> $cppunit_major_min \| \
51610 $cppunit_major_version \= $cppunit_major_min \& \
51611 $cppunit_minor_version \> $cppunit_minor_min \| \
51612 $cppunit_major_version \= $cppunit_major_min \& \
51613 $cppunit_minor_version \= $cppunit_minor_min \& \
51614 $cppunit_micro_version \>= $cppunit_micro_min `
51616 if test "$cppunit_version_proper" = "1" ; then
51617 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51618 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51620 echo "$as_me:$LINENO: result: no" >&5
51621 echo "${ECHO_T}no" >&6
51626 if test "x$no_cppunit" = x
; then
51627 SUBDIRS
="$SUBDIRS tests"
51638 for subdir
in `echo $SUBDIRS`; do
51639 if test -d ${srcdir}/${subdir} ; then
51640 if test "$wxUSE_GUI" = "yes"; then
51641 if test ${subdir} = "samples"; then
51642 makefiles
="samples/Makefile.in $makefiles"
51643 for sample
in `echo $SAMPLES_SUBDIRS`; do
51644 if test -d $srcdir/samples
/$sample; then
51645 makefiles
="samples/$sample/Makefile.in $makefiles"
51649 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
51650 eval "disabled=\$$disabled_var"
51651 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51652 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
51654 else if test ${subdir} = "samples"; then
51655 makefiles
="samples/Makefile.in samples/console/Makefile.in"
51656 elif test ${subdir} = "utils"; then
51658 for util
in HelpGen tex2rtf
; do
51659 if test -d $srcdir/utils
/$util ; then
51660 makefiles
="utils/$util/Makefile.in \
51661 utils/$util/src/Makefile.in \
51665 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51669 for mkin
in $makefiles ; do
51670 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51671 ac_config_files
="$ac_config_files $mk"
51677 cat >confcache
<<\_ACEOF
51678 # This file is a shell script that caches the results of configure
51679 # tests run on this system so they can be shared between configure
51680 # scripts and configure runs, see configure's option --config-cache.
51681 # It is not useful on other systems. If it contains results you don't
51682 # want to keep, you may remove or edit it.
51684 # config.status only pays attention to the cache file if you give it
51685 # the --recheck option to rerun configure.
51687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51689 # following values.
51693 # The following way of writing the cache mishandles newlines in values,
51694 # but we know of no workaround that is simple, portable, and efficient.
51695 # So, don't put newlines in cache variables' values.
51696 # Ultrix sh set writes to stderr and can't be redirected directly,
51697 # and sets the high bit in the cache file unless we assign to the vars.
51700 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51702 # `set' does not quote correctly, so add quotes (double-quote
51703 # substitution turns \\\\ into \\, and sed turns \\ into \).
51706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51709 # `set' quotes correctly as required by POSIX, so do not add quotes.
51711 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51720 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51722 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
51723 if test -w $cache_file; then
51724 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51725 cat confcache
>$cache_file
51727 echo "not updating unwritable cache $cache_file"
51732 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51733 # Let make expand exec_prefix.
51734 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51736 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51737 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51738 # trailing colons and then remove the whole line if VPATH becomes empty
51739 # (actually we leave an empty line to preserve line numbers).
51740 if test "x$srcdir" = x.
; then
51741 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51742 s/:*\$(srcdir):*/:/;
51743 s/:*\${srcdir}:*/:/;
51745 s/^\([^=]*=[ ]*\):*/\1/;
51751 DEFS
=-DHAVE_CONFIG_H
51755 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51756 # 1. Remove the extension, and $U if already installed.
51757 ac_i
=`echo "$ac_i" |
51758 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51760 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
51761 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
51763 LIBOBJS
=$ac_libobjs
51765 LTLIBOBJS
=$ac_ltlibobjs
51769 : ${CONFIG_STATUS=./config.status}
51770 ac_clean_files_save
=$ac_clean_files
51771 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51772 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51773 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51774 cat >$CONFIG_STATUS <<_ACEOF
51776 # Generated by $as_me.
51777 # Run this file to recreate the current configuration.
51778 # Compiler output produced by configure, useful for debugging
51779 # configure, is in config.log if it exists.
51782 ac_cs_recheck=false
51784 SHELL=\${CONFIG_SHELL-$SHELL}
51787 cat >>$CONFIG_STATUS <<\_ACEOF
51788 ## --------------------- ##
51789 ## M4sh Initialization. ##
51790 ## --------------------- ##
51792 # Be Bourne compatible
51793 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51796 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51797 # is contrary to our usage. Disable this feature.
51798 alias -g '${1+"$@"}'='"$@"'
51799 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
51802 DUALCASE
=1; export DUALCASE
# for MKS sh
51804 # Support unset when possible.
51805 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51812 # Work around bugs in pre-3.0 UWIN ksh.
51813 $as_unset ENV MAIL MAILPATH
51820 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51821 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51822 LC_TELEPHONE LC_TIME
51824 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51825 eval $as_var=C
; export $as_var
51831 # Required to use basename.
51832 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51838 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
51839 as_basename
=basename
51845 # Name of the executable.
51846 as_me
=`$as_basename "$0" ||
51847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51848 X"$0" : 'X\(//\)$' \| \
51849 X"$0" : 'X\(/\)$' \| \
51850 . : '\(.\)' 2>/dev/null ||
51852 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51853 /^X\/\(\/\/\)$/{ s//\1/; q; }
51854 /^X\/\(\/\).*/{ s//\1/; q; }
51858 # PATH needs CR, and LINENO needs CR and PATH.
51859 # Avoid depending upon Character Ranges.
51860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51863 as_cr_digits
='0123456789'
51864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51866 # The user is always right.
51867 if test "${PATH_SEPARATOR+set}" != set; then
51868 echo "#! /bin/sh" >conf$$.sh
51869 echo "exit 0" >>conf$$.sh
51871 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51880 as_lineno_1
=$LINENO
51881 as_lineno_2
=$LINENO
51882 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
51883 test "x$as_lineno_1" != "x$as_lineno_2" &&
51884 test "x$as_lineno_3" = "x$as_lineno_2" || {
51885 # Find who we are. Look in the path if we contain no path at all
51888 *[\\/]* ) as_myself
=$0 ;;
51889 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51890 for as_dir
in $PATH
51893 test -z "$as_dir" && as_dir
=.
51894 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51899 # We did not find ourselves, most probably we were run as `sh COMMAND'
51900 # in which case we are not to be found in the path.
51901 if test "x$as_myself" = x
; then
51904 if test ! -f "$as_myself"; then
51905 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51906 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51907 { (exit 1); exit 1; }; }
51909 case $CONFIG_SHELL in
51911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51912 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
51915 test -z "$as_dir" && as_dir
=.
51916 for as_base
in sh bash ksh sh5
; do
51919 if ("$as_dir/$as_base" -c '
51920 as_lineno_1=$LINENO
51921 as_lineno_2=$LINENO
51922 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51923 test "x$as_lineno_1" != "x$as_lineno_2" &&
51924 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
51925 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
51926 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
51927 CONFIG_SHELL
=$as_dir/$as_base
51928 export CONFIG_SHELL
51929 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51937 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51938 # uniformly replaced by the line number. The first 'sed' inserts a
51939 # line-number line before each line; the second 'sed' does the real
51940 # work. The second script uses 'N' to pair each line-number line
51941 # with the numbered line, and appends trailing '-' during
51942 # substitution so that $LINENO is not a special case at line end.
51943 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51944 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51945 sed '=' <$as_myself |
51950 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51953 s,^['$as_cr_digits']*\n,,
51954 ' >$as_me.lineno
&&
51955 chmod +x
$as_me.lineno
||
51956 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51957 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51958 { (exit 1); exit 1; }; }
51960 # Don't try to exec as it changes $[0], causing all sort of problems
51961 # (the dirname of $[0] is not the place where we might find the
51962 # original and so on. Autoconf is especially sensible to this).
51964 # Exit status is that of the last command.
51969 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51970 *c
*,-n*) ECHO_N
= ECHO_C
='
51972 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
51973 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
51976 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51982 rm -f conf$$ conf$$.exe conf$$.
file
51984 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51985 # We could just check for DJGPP; but this test a) works b) is more generic
51986 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51987 if test -f conf$$.exe
; then
51988 # Don't use ln at all; we don't have any links
51993 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51998 rm -f conf$$ conf$$.exe conf$$.
file
52000 if mkdir -p .
2>/dev
/null
; then
52003 test -d .
/-p && rmdir .
/-p
52007 as_executable_p
="test -f"
52009 # Sed expression to map a string onto a valid CPP name.
52010 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52012 # Sed expression to map a string onto a valid variable name.
52013 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52017 # We need space, tab and new line, in precisely that order.
52027 # Open the log real soon, to keep \$[0] and so on meaningful, and to
52028 # report actual input values of CONFIG_FILES etc. instead of their
52029 # values after options handling. Logging --version etc. is OK.
52033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52034 ## Running $as_me. ##
52039 This file was extended by wxWidgets $as_me 2.7.1, which was
52040 generated by GNU Autoconf 2.59. Invocation command line was
52042 CONFIG_FILES = $CONFIG_FILES
52043 CONFIG_HEADERS = $CONFIG_HEADERS
52044 CONFIG_LINKS = $CONFIG_LINKS
52045 CONFIG_COMMANDS = $CONFIG_COMMANDS
52049 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
52053 # Files that config.status was made for.
52054 if test -n "$ac_config_files"; then
52055 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
52058 if test -n "$ac_config_headers"; then
52059 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
52062 if test -n "$ac_config_links"; then
52063 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
52066 if test -n "$ac_config_commands"; then
52067 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
52070 cat >>$CONFIG_STATUS <<\_ACEOF
52073 \`$as_me' instantiates files from templates according to the
52074 current configuration.
52076 Usage: $0 [OPTIONS] [FILE]...
52078 -h, --help print this help, then exit
52079 -V, --version print version number, then exit
52080 -q, --quiet do not print progress messages
52081 -d, --debug don't remove temporary files
52082 --recheck update $as_me by reconfiguring in the same conditions
52083 --file=FILE[:TEMPLATE]
52084 instantiate the configuration file FILE
52085 --header=FILE[:TEMPLATE]
52086 instantiate the configuration header FILE
52088 Configuration files:
52091 Configuration headers:
52094 Configuration commands:
52097 Report bugs to <bug-autoconf@gnu.org>."
52100 cat >>$CONFIG_STATUS <<_ACEOF
52102 wxWidgets config.status 2.7.1
52103 configured by $0, generated by GNU Autoconf 2.59,
52104 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
52106 Copyright (C) 2003 Free Software Foundation, Inc.
52107 This config.status script is free software; the Free Software Foundation
52108 gives unlimited permission to copy, distribute and modify it."
52113 cat >>$CONFIG_STATUS <<\_ACEOF
52114 # If no file are specified by the user, then we need to provide default
52115 # value. By we need to know if files were specified by the user.
52121 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
52122 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
52130 *) # This is not an option, so the user has probably given explicit
52133 ac_need_defaults
=false
;;
52137 # Handling of the options.
52139 cat >>$CONFIG_STATUS <<\_ACEOF
52140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52142 --version | --vers* | -V )
52143 echo "$ac_cs_version"; exit 0 ;;
52145 # Conflict between --help and --header
52146 { { echo "$as_me:$LINENO: error: ambiguous option: $1
52147 Try \`$0 --help' for more information." >&5
52148 echo "$as_me: error: ambiguous option: $1
52149 Try \`$0 --help' for more information." >&2;}
52150 { (exit 1); exit 1; }; };;
52151 --help | --hel | -h )
52152 echo "$ac_cs_usage"; exit 0 ;;
52153 --debug | --d* | -d )
52155 --file | --fil | --fi | --f )
52157 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52158 ac_need_defaults
=false
;;
52159 --header | --heade | --head | --hea )
52161 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52162 ac_need_defaults
=false
;;
52163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52164 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52167 # This is an error.
52168 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
52169 Try \`$0 --help' for more information." >&5
52170 echo "$as_me: error: unrecognized option: $1
52171 Try \`$0 --help' for more information." >&2;}
52172 { (exit 1); exit 1; }; } ;;
52174 *) ac_config_targets
="$ac_config_targets $1" ;;
52180 ac_configure_extra_args
=
52182 if $ac_cs_silent; then
52184 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52188 cat >>$CONFIG_STATUS <<_ACEOF
52189 if \$ac_cs_recheck; then
52190 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52191 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52196 cat >>$CONFIG_STATUS <<_ACEOF
52198 # INIT-COMMANDS section.
52203 infile="$srcdir/include/wx/msw/genrcdefs.h"
52204 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52207 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52208 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52209 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52217 cat >>$CONFIG_STATUS <<\_ACEOF
52218 for ac_config_target
in $ac_config_targets
52220 case "$ac_config_target" in
52221 # Handling of arguments.
52222 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52223 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52224 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52225 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52226 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52227 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52228 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52229 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52230 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52231 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52232 { (exit 1); exit 1; }; };;
52236 # If the user did not use the arguments to specify the items to instantiate,
52237 # then the envvar interface is used. Set only those that are not.
52238 # We use the long form for the default assignment because of an extremely
52239 # bizarre bug on SunOS 4.1.3.
52240 if $ac_need_defaults; then
52241 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52242 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52243 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52246 # Have a temporary directory for convenience. Make it in the build tree
52247 # simply because there is no reason to put it here, and in addition,
52248 # creating and moving files from /tmp can sometimes cause problems.
52249 # Create a temporary directory, and hook for its removal unless debugging.
52252 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52253 trap '{ (exit 1); exit 1; }' 1 2 13 15
52256 # Create a (secure) tmp directory for tmp files.
52259 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
52260 test -n "$tmp" && test -d "$tmp"
52263 tmp
=.
/confstat$$
-$RANDOM
52264 (umask 077 && mkdir $tmp)
52267 echo "$me: cannot create a temporary directory in ." >&2
52268 { (exit 1); exit 1; }
52273 cat >>$CONFIG_STATUS <<_ACEOF
52276 # CONFIG_FILES section.
52279 # No need to generate the scripts if there are no CONFIG_FILES.
52280 # This happens for instance when ./config.status config.h
52281 if test -n "\$CONFIG_FILES"; then
52282 # Protect against being on the right side of a sed subst in config.status.
52283 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
52284 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
52285 s,@SHELL@,$SHELL,;t t
52286 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
52287 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
52288 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
52289 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
52290 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
52291 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
52292 s,@exec_prefix@,$exec_prefix,;t t
52293 s,@prefix@,$prefix,;t t
52294 s,@program_transform_name@,$program_transform_name,;t t
52295 s,@bindir@,$bindir,;t t
52296 s,@sbindir@,$sbindir,;t t
52297 s,@libexecdir@,$libexecdir,;t t
52298 s,@datadir@,$datadir,;t t
52299 s,@sysconfdir@,$sysconfdir,;t t
52300 s,@sharedstatedir@,$sharedstatedir,;t t
52301 s,@localstatedir@,$localstatedir,;t t
52302 s,@libdir@,$libdir,;t t
52303 s,@includedir@,$includedir,;t t
52304 s,@oldincludedir@,$oldincludedir,;t t
52305 s,@infodir@,$infodir,;t t
52306 s,@mandir@,$mandir,;t t
52307 s,@build_alias@,$build_alias,;t t
52308 s,@host_alias@,$host_alias,;t t
52309 s,@target_alias@,$target_alias,;t t
52310 s,@DEFS@,$DEFS,;t t
52311 s,@ECHO_C@,$ECHO_C,;t t
52312 s,@ECHO_N@,$ECHO_N,;t t
52313 s,@ECHO_T@,$ECHO_T,;t t
52314 s,@LIBS@,$LIBS,;t t
52315 s,@build@,$build,;t t
52316 s,@build_cpu@,$build_cpu,;t t
52317 s,@build_vendor@,$build_vendor,;t t
52318 s,@build_os@,$build_os,;t t
52319 s,@host@,$host,;t t
52320 s,@host_cpu@,$host_cpu,;t t
52321 s,@host_vendor@,$host_vendor,;t t
52322 s,@host_os@,$host_os,;t t
52323 s,@target@,$target,;t t
52324 s,@target_cpu@,$target_cpu,;t t
52325 s,@target_vendor@,$target_vendor,;t t
52326 s,@target_os@,$target_os,;t t
52328 s,@CFLAGS@,$CFLAGS,;t t
52329 s,@LDFLAGS@,$LDFLAGS,;t t
52330 s,@CPPFLAGS@,$CPPFLAGS,;t t
52331 s,@ac_ct_CC@,$ac_ct_CC,;t t
52332 s,@EXEEXT@,$EXEEXT,;t t
52333 s,@OBJEXT@,$OBJEXT,;t t
52335 s,@EGREP@,$EGREP,;t t
52337 s,@CXXFLAGS@,$CXXFLAGS,;t t
52338 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
52339 s,@RANLIB@,$RANLIB,;t t
52340 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
52342 s,@ac_ct_AR@,$ac_ct_AR,;t t
52343 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
52344 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
52345 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
52346 s,@STRIP@,$STRIP,;t t
52347 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
52348 s,@WINDRES@,$WINDRES,;t t
52349 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
52350 s,@DLLTOOL@,$DLLTOOL,;t t
52351 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
52352 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
52353 s,@LN_S@,$LN_S,;t t
52354 s,@CXXCPP@,$CXXCPP,;t t
52355 s,@subdirs@,$subdirs,;t t
52356 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
52357 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
52358 s,@GTK_LIBS@,$GTK_LIBS,;t t
52359 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
52360 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
52361 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
52362 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
52363 s,@X_CFLAGS@,$X_CFLAGS,;t t
52364 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
52365 s,@X_LIBS@,$X_LIBS,;t t
52366 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
52367 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
52368 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
52369 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
52370 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
52371 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
52372 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
52374 s,@DEREZ@,$DEREZ,;t t
52375 s,@SETFILE@,$SETFILE,;t t
52376 s,@LIBICONV@,$LIBICONV,;t t
52377 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
52378 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
52379 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
52380 s,@SDL_LIBS@,$SDL_LIBS,;t t
52381 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
52382 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
52383 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
52384 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
52385 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
52386 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
52387 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
52388 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
52389 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
52390 s,@GST_LIBS@,$GST_LIBS,;t t
52391 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
52392 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
52393 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
52394 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
52395 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
52396 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
52397 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
52398 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
52399 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
52400 s,@VENDOR@,$VENDOR,;t t
52401 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
52402 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
52403 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
52404 s,@WXUNIV@,$WXUNIV,;t t
52405 s,@MONOLITHIC@,$MONOLITHIC,;t t
52406 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
52407 s,@EXTRALIBS@,$EXTRALIBS,;t t
52408 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
52409 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
52410 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
52411 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
52412 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
52413 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
52414 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
52415 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
52416 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
52417 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
52418 s,@UNICODE@,$UNICODE,;t t
52419 s,@BUILD@,$BUILD,;t t
52420 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
52421 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
52422 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
52423 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
52424 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
52425 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
52426 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
52427 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
52428 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
52429 s,@SET_MAKE@,$SET_MAKE,;t t
52430 s,@MAKE_SET@,$MAKE_SET,;t t
52432 s,@ac_ct_NM@,$ac_ct_NM,;t t
52433 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
52434 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
52435 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
52436 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
52437 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
52438 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
52439 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
52440 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
52441 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
52442 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
52443 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
52444 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
52445 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
52446 s,@LIBPREFIX@,$LIBPREFIX,;t t
52447 s,@LIBEXT@,$LIBEXT,;t t
52448 s,@DLLPREFIX@,$DLLPREFIX,;t t
52449 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
52450 s,@dlldir@,$dlldir,;t t
52451 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
52452 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
52453 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
52454 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
52455 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
52456 s,@PIC_FLAG@,$PIC_FLAG,;t t
52457 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
52458 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
52459 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
52460 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
52461 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
52462 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
52463 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
52464 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
52465 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
52466 s,@GCC_PCH@,$GCC_PCH,;t t
52467 s,@ICC_PCH@,$ICC_PCH,;t t
52468 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
52469 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
52470 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
52471 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
52472 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
52473 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
52474 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
52475 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
52476 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
52477 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
52478 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
52479 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
52480 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
52481 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
52482 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
52483 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
52484 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
52485 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
52486 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
52487 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
52488 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
52489 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
52490 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
52491 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
52492 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
52493 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
52494 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
52495 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
52496 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
52497 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
52498 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
52499 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
52500 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
52501 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
52502 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
52503 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
52504 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
52505 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
52506 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
52507 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
52508 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
52509 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
52510 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
52511 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
52512 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
52513 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
52514 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
52515 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
52516 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
52517 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
52518 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
52519 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
52520 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
52521 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
52522 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
52523 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
52524 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
52525 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
52526 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
52527 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
52528 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
52529 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
52530 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
52531 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
52532 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
52533 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
52534 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
52535 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
52536 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
52537 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
52538 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
52539 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
52540 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
52541 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52542 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52543 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52544 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
52545 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
52546 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
52547 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
52548 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
52549 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
52550 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
52551 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
52552 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
52553 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
52554 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
52555 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
52556 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
52557 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
52558 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52559 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52560 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52561 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52562 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
52563 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52564 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52565 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52566 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52567 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52568 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52569 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52570 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52571 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52572 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52573 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52574 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52575 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52576 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52577 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52578 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52579 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52580 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52581 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52582 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52583 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52584 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52585 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52586 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52587 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52588 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52589 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52590 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52591 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52592 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52593 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52594 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52595 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52596 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52597 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52598 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52599 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52600 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52601 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52602 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52603 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52604 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52605 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52606 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52607 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52608 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52609 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52610 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52611 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52612 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52613 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52614 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52615 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52616 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52617 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52618 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52619 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52620 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52621 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52622 s,@SHARED@,$SHARED,;t t
52623 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52624 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52625 s,@USE_GUI@,$USE_GUI,;t t
52626 s,@AFMINSTALL@,$AFMINSTALL,;t t
52627 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52628 s,@TOOLKIT@,$TOOLKIT,;t t
52629 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52630 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52631 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52632 s,@cross_compiling@,$cross_compiling,;t t
52633 s,@WIDGET_SET@,$WIDGET_SET,;t t
52634 s,@WX_RELEASE@,$WX_RELEASE,;t t
52635 s,@WX_VERSION@,$WX_VERSION,;t t
52636 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52637 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52638 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52639 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52640 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52641 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52642 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52643 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52644 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52645 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52646 s,@EXE_LINKER@,$EXE_LINKER,;t t
52647 s,@GUIDIST@,$GUIDIST,;t t
52648 s,@DISTDIR@,$DISTDIR,;t t
52649 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52650 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52651 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52652 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52653 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52654 s,@RESCOMP@,$RESCOMP,;t t
52655 s,@RESFLAGS@,$RESFLAGS,;t t
52656 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52657 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52658 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52659 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52660 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52661 s,@MACSETFILE@,$MACSETFILE,;t t
52663 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52664 s,@LIBOBJS@,$LIBOBJS,;t t
52665 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52670 cat >>$CONFIG_STATUS <<\_ACEOF
52671 # Split the substitutions into bite-sized pieces for seds with
52672 # small command number limits, like on Digital OSF/1 and HP-UX.
52673 ac_max_sed_lines
=48
52674 ac_sed_frag
=1 # Number of current file.
52675 ac_beg
=1 # First line for current file.
52676 ac_end
=$ac_max_sed_lines # Line after last line for current file.
52679 while $ac_more_lines; do
52680 if test $ac_beg -gt 1; then
52681 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52683 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52685 if test ! -s $tmp/subs.frag
; then
52686 ac_more_lines
=false
52688 # The purpose of the label and of the branching condition is to
52689 # speed up the sed processing (if there are no `@' at all, there
52690 # is no need to browse any of the substitutions).
52691 # These are the two extra sed commands mentioned above.
52693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
52694 if test -z "$ac_sed_cmds"; then
52695 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
52697 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52699 ac_sed_frag
=`expr $ac_sed_frag + 1`
52701 ac_end
=`expr $ac_end + $ac_max_sed_lines`
52704 if test -z "$ac_sed_cmds"; then
52707 fi # test -n "$CONFIG_FILES"
52710 cat >>$CONFIG_STATUS <<\_ACEOF
52711 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
52712 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52714 - | *:- | *:-:* ) # input from stdin
52716 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52717 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52718 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52719 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52720 * ) ac_file_in
=$ac_file.
in ;;
52723 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52724 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52725 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52726 X"$ac_file" : 'X\(//\)[^/]' \| \
52727 X"$ac_file" : 'X\(//\)$' \| \
52728 X"$ac_file" : 'X\(/\)' \| \
52729 . : '\(.\)' 2>/dev/null ||
52731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52733 /^X\(\/\/\)$/{ s//\1/; q; }
52734 /^X\(\/\).*/{ s//\1/; q; }
52736 { if $as_mkdir_p; then
52741 while test ! -d "$as_dir"; do
52742 as_dirs
="$as_dir $as_dirs"
52743 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52745 X"$as_dir" : 'X\(//\)[^/]' \| \
52746 X"$as_dir" : 'X\(//\)$' \| \
52747 X"$as_dir" : 'X\(/\)' \| \
52748 . : '\(.\)' 2>/dev/null ||
52750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52751 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52752 /^X\(\/\/\)$/{ s//\1/; q; }
52753 /^X\(\/\).*/{ s//\1/; q; }
52756 test ! -n "$as_dirs" || mkdir $as_dirs
52757 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52758 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52759 { (exit 1); exit 1; }; }; }
52763 if test "$ac_dir" != .
; then
52764 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52765 # A "../" for each directory in $ac_dir_suffix.
52766 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52768 ac_dir_suffix
= ac_top_builddir
=
52772 .
) # No --srcdir option. We are building in place.
52774 if test -z "$ac_top_builddir"; then
52777 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52779 [\\/]* | ?
:[\\/]* ) # Absolute path.
52780 ac_srcdir
=$srcdir$ac_dir_suffix;
52781 ac_top_srcdir
=$srcdir ;;
52782 *) # Relative path.
52783 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52784 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52787 # Do not use `cd foo && pwd` to compute absolute paths, because
52788 # the directories may not exist.
52790 .
) ac_abs_builddir
="$ac_dir";;
52793 .
) ac_abs_builddir
=`pwd`;;
52794 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52795 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52798 case $ac_abs_builddir in
52799 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52801 case ${ac_top_builddir}.
in
52802 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52803 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52804 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52807 case $ac_abs_builddir in
52808 .
) ac_abs_srcdir
=$ac_srcdir;;
52811 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52812 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52813 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52816 case $ac_abs_builddir in
52817 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52819 case $ac_top_srcdir in
52820 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52821 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52822 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52828 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52829 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
52832 # Let's still pretend it is `configure' which instantiates (i.e., don't
52833 # use $as_me), people would be surprised to read:
52834 # /* config.h. Generated by config.status. */
52835 if test x
"$ac_file" = x
-; then
52838 configure_input
="$ac_file. "
52840 configure_input
=$configure_input"Generated from `echo $ac_file_in |
52841 sed 's,.*/,,'` by configure."
52843 # First look for the input files in the build tree, otherwise in the
52845 ac_file_inputs
=`IFS=:
52846 for f in $ac_file_in; do
52848 -) echo $tmp/stdin ;;
52850 # Absolute (can't be DOS-style, as IFS=:)
52851 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52852 echo "$as_me: error: cannot find input file: $f" >&2;}
52853 { (exit 1); exit 1; }; }
52856 if test -f "$f"; then
52859 elif test -f "$srcdir/$f"; then
52864 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52865 echo "$as_me: error: cannot find input file: $f" >&2;}
52866 { (exit 1); exit 1; }; }
52869 done` || { (exit 1); exit 1; }
52871 if test x
"$ac_file" != x
-; then
52872 { echo "$as_me:$LINENO: creating $ac_file" >&5
52873 echo "$as_me: creating $ac_file" >&6;}
52877 cat >>$CONFIG_STATUS <<_ACEOF
52881 cat >>$CONFIG_STATUS <<\_ACEOF
52883 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52884 s
,@configure_input@
,$configure_input,;t t
52885 s
,@srcdir@
,$ac_srcdir,;t t
52886 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
52887 s
,@top_srcdir@
,$ac_top_srcdir,;t t
52888 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
52889 s
,@builddir@
,$ac_builddir,;t t
52890 s
,@abs_builddir@
,$ac_abs_builddir,;t t
52891 s
,@top_builddir@
,$ac_top_builddir,;t t
52892 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
52893 s
,@INSTALL@
,$ac_INSTALL,;t t
52894 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52896 if test x"$ac_file" != x-; then
52897 mv $tmp/out $ac_file
52903 # Run the commands associated with the file.
52905 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52906 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52910 cat >>$CONFIG_STATUS <<\_ACEOF
52913 # CONFIG_HEADER section.
52916 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
52917 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52919 # ac_d sets the value in "#define NAME VALUE" lines.
52920 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52921 ac_dB
='[ ].*$,\1#\2'
52924 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52925 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52926 ac_uB
='$,\1#\2define\3'
52930 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
52931 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52933 - | *:- | *:-:* ) # input from stdin
52935 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52936 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52937 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52938 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52939 * ) ac_file_in
=$ac_file.
in ;;
52942 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52943 echo "$as_me: creating $ac_file" >&6;}
52945 # First look for the input files in the build tree, otherwise in the
52947 ac_file_inputs
=`IFS=:
52948 for f in $ac_file_in; do
52950 -) echo $tmp/stdin ;;
52952 # Absolute (can't be DOS-style, as IFS=:)
52953 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52954 echo "$as_me: error: cannot find input file: $f" >&2;}
52955 { (exit 1); exit 1; }; }
52956 # Do quote $f, to prevent DOS paths from being IFS'd.
52959 if test -f "$f"; then
52962 elif test -f "$srcdir/$f"; then
52967 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52968 echo "$as_me: error: cannot find input file: $f" >&2;}
52969 { (exit 1); exit 1; }; }
52972 done` || { (exit 1); exit 1; }
52973 # Remove the trailing spaces.
52974 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52978 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52979 # `conftest.undefs', that substitutes the proper values into
52980 # config.h.in to produce config.h. The first handles `#define'
52981 # templates, and the second `#undef' templates.
52982 # And first: Protect against being on the right side of a sed subst in
52983 # config.status. Protect against being in an unquoted here document
52984 # in config.status.
52985 rm -f conftest.defines conftest.undefs
52986 # Using a here document instead of a string reduces the quoting nightmare.
52987 # Putting comments in sed scripts is not portable.
52989 # `end' is used to avoid that the second main sed command (meant for
52990 # 0-ary CPP macros) applies to n-ary macro definitions.
52991 # See the Autoconf documentation for `clear'.
52992 cat >confdef2sed.
sed <<\_ACEOF
52997 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52999 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
53002 # If some macros were called several times there might be several times
53003 # the same #defines, which is useless. Nevertheless, we may not want to
53004 # sort them, since we want the *last* AC-DEFINE to be honored.
53005 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
53006 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
53007 rm -f confdef2sed.sed
53009 # This sed command replaces #undef with comments. This is necessary, for
53010 # example, in the case of _POSIX_SOURCE, which is predefined and required
53011 # on some systems where configure will not decide to define it.
53012 cat >>conftest.undefs <<\_ACEOF
53013 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
53016 # Break up conftest.defines because some shells have a limit on the size
53017 # of here documents, and old seds have small limits too (100 cmds).
53018 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
53019 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
53020 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
53021 echo ' :' >>$CONFIG_STATUS
53022 rm -f conftest.tail
53023 while grep . conftest.defines >/dev/null
53025 # Write a limited-size here document to $tmp/defines.sed.
53026 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
53027 # Speed up: don't consider the non `#define' lines.
53028 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
53029 # Work around the forget-to-reset-the-flag bug.
53030 echo 't clr' >>$CONFIG_STATUS
53031 echo ': clr' >>$CONFIG_STATUS
53032 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
53034 sed -f $tmp/defines.sed $tmp/in >$tmp/out
53036 mv $tmp/out $tmp/in
53038 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
53039 rm -f conftest.defines
53040 mv conftest.
tail conftest.defines
53042 rm -f conftest.defines
53043 echo ' fi # grep' >>$CONFIG_STATUS
53044 echo >>$CONFIG_STATUS
53046 # Break up conftest.undefs because some shells have a limit on the size
53047 # of here documents, and old seds have small limits too (100 cmds).
53048 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
53049 rm -f conftest.
tail
53050 while grep . conftest.undefs
>/dev
/null
53052 # Write a limited-size here document to $tmp/undefs.sed.
53053 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
53054 # Speed up: don't consider the non
`#undef'
53055 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
53056 # Work around the forget-to-reset-the-flag bug.
53057 echo 't clr' >>$CONFIG_STATUS
53058 echo ': clr' >>$CONFIG_STATUS
53059 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
53061 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
53063 mv $tmp/out $tmp/in
53065 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
53066 rm -f conftest.undefs
53067 mv conftest.tail conftest.undefs
53069 rm -f conftest.undefs
53071 cat >>$CONFIG_STATUS <<\_ACEOF
53072 # Let's still pretend it is `configure
' which instantiates (i.e., don't
53073 # use $as_me), people would be surprised to read:
53074 # /* config.h. Generated by config.status. */
53075 if test x
"$ac_file" = x
-; then
53076 echo "/* Generated by configure. */" >$tmp/config.h
53078 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
53080 cat $tmp/in >>$tmp/config.h
53082 if test x
"$ac_file" != x
-; then
53083 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
53084 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53085 echo "$as_me: $ac_file is unchanged" >&6;}
53087 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
53088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53089 X"$ac_file" : 'X\(//\)[^/]' \| \
53090 X"$ac_file" : 'X\(//\)$' \| \
53091 X"$ac_file" : 'X\(/\)' \| \
53092 . : '\(.\)' 2>/dev/null ||
53094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53096 /^X\(\/\/\)$/{ s//\1/; q; }
53097 /^X\(\/\).*/{ s//\1/; q; }
53099 { if $as_mkdir_p; then
53104 while test ! -d "$as_dir"; do
53105 as_dirs
="$as_dir $as_dirs"
53106 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
53107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53108 X"$as_dir" : 'X\(//\)[^/]' \| \
53109 X"$as_dir" : 'X\(//\)$' \| \
53110 X"$as_dir" : 'X\(/\)' \| \
53111 . : '\(.\)' 2>/dev/null ||
53113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53115 /^X\(\/\/\)$/{ s//\1/; q; }
53116 /^X\(\/\).*/{ s//\1/; q; }
53119 test ! -n "$as_dirs" || mkdir $as_dirs
53120 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53121 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53122 { (exit 1); exit 1; }; }; }
53125 mv $tmp/config.h
$ac_file
53129 rm -f $tmp/config.h
53133 cat >>$CONFIG_STATUS <<\_ACEOF
53136 # CONFIG_COMMANDS section.
53138 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
53139 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
53140 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
53141 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
53142 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53143 X"$ac_dest" : 'X\(//\)[^/]' \| \
53144 X"$ac_dest" : 'X\(//\)$' \| \
53145 X"$ac_dest" : 'X\(/\)' \| \
53146 . : '\(.\)' 2>/dev/null ||
53148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53150 /^X\(\/\/\)$/{ s//\1/; q; }
53151 /^X\(\/\).*/{ s//\1/; q; }
53153 { if $as_mkdir_p; then
53158 while test ! -d "$as_dir"; do
53159 as_dirs
="$as_dir $as_dirs"
53160 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
53161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53162 X"$as_dir" : 'X\(//\)[^/]' \| \
53163 X"$as_dir" : 'X\(//\)$' \| \
53164 X"$as_dir" : 'X\(/\)' \| \
53165 . : '\(.\)' 2>/dev/null ||
53167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53169 /^X\(\/\/\)$/{ s//\1/; q; }
53170 /^X\(\/\).*/{ s//\1/; q; }
53173 test ! -n "$as_dirs" || mkdir $as_dirs
53174 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53175 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53176 { (exit 1); exit 1; }; }; }
53180 if test "$ac_dir" != .
; then
53181 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53182 # A "../" for each directory in $ac_dir_suffix.
53183 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53185 ac_dir_suffix
= ac_top_builddir
=
53189 .
) # No --srcdir option. We are building in place.
53191 if test -z "$ac_top_builddir"; then
53194 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
53196 [\\/]* | ?
:[\\/]* ) # Absolute path.
53197 ac_srcdir
=$srcdir$ac_dir_suffix;
53198 ac_top_srcdir
=$srcdir ;;
53199 *) # Relative path.
53200 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
53201 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
53204 # Do not use `cd foo && pwd` to compute absolute paths, because
53205 # the directories may not exist.
53207 .
) ac_abs_builddir
="$ac_dir";;
53210 .
) ac_abs_builddir
=`pwd`;;
53211 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
53212 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
53215 case $ac_abs_builddir in
53216 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53218 case ${ac_top_builddir}.
in
53219 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
53220 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53221 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
53224 case $ac_abs_builddir in
53225 .
) ac_abs_srcdir
=$ac_srcdir;;
53228 .
) ac_abs_srcdir
=$ac_abs_builddir;;
53229 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
53230 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
53233 case $ac_abs_builddir in
53234 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
53236 case $ac_top_srcdir in
53237 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
53238 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
53239 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
53244 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
53245 echo "$as_me: executing $ac_dest commands" >&6;}
53248 mkdir -p $outdir &&
53249 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53251 wx
-config ) rm -f wx
-config
53252 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53258 cat >>$CONFIG_STATUS <<\_ACEOF
53260 { (exit 0); exit 0; }
53262 chmod +x
$CONFIG_STATUS
53263 ac_clean_files
=$ac_clean_files_save
53266 # configure is writing to config.log, and then calls config.status.
53267 # config.status does its own redirection, appending to config.log.
53268 # Unfortunately, on DOS this fails, as config.log is still kept open
53269 # by configure, so config.status won't be able to write to it; its
53270 # output is simply discarded. So we exec the FD to /dev/null,
53271 # effectively closing config.log, so it can be properly (re)opened and
53272 # appended to by config.status. When coming back to configure, we
53273 # need to make the FD available again.
53274 if test "$no_create" != yes; then
53276 ac_config_status_args
=
53277 test "$silent" = yes &&
53278 ac_config_status_args
="$ac_config_status_args --quiet"
53280 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53282 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53283 # would make configure fail if this is the last instruction.
53284 $ac_cs_success || { (exit 1); exit 1; }
53288 # CONFIG_SUBDIRS section.
53290 if test "$no_recursion" != yes; then
53292 # Remove --cache-file and --srcdir arguments so they do not pile up.
53293 ac_sub_configure_args
=
53295 for ac_arg
in $ac_configure_args; do
53296 if test -n "$ac_prev"; then
53301 -cache-file | --cache-file | --cache-fil | --cache-fi \
53302 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53303 ac_prev
=cache_file
;;
53304 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53305 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53308 --config-cache | -C)
53310 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53312 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53318 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
53322 # Always prepend --prefix to ensure using the same prefix
53323 # in subdir configurations.
53324 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
53327 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53329 # Do not complain, so a configure script can configure whichever
53330 # parts of a large source tree are present.
53331 test -d $srcdir/$ac_dir || continue
53333 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
53334 echo "$as_me: configuring in $ac_dir" >&6;}
53335 { if $as_mkdir_p; then
53340 while test ! -d "$as_dir"; do
53341 as_dirs
="$as_dir $as_dirs"
53342 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
53343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53344 X"$as_dir" : 'X\(//\)[^/]' \| \
53345 X"$as_dir" : 'X\(//\)$' \| \
53346 X"$as_dir" : 'X\(/\)' \| \
53347 . : '\(.\)' 2>/dev/null ||
53349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53350 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53351 /^X\(\/\/\)$/{ s//\1/; q; }
53352 /^X\(\/\).*/{ s//\1/; q; }
53355 test ! -n "$as_dirs" || mkdir $as_dirs
53356 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53357 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53358 { (exit 1); exit 1; }; }; }
53362 if test "$ac_dir" != .
; then
53363 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53364 # A "../" for each directory in $ac_dir_suffix.
53365 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53367 ac_dir_suffix
= ac_top_builddir
=
53371 .
) # No --srcdir option. We are building in place.
53373 if test -z "$ac_top_builddir"; then
53376 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
53378 [\\/]* | ?
:[\\/]* ) # Absolute path.
53379 ac_srcdir
=$srcdir$ac_dir_suffix;
53380 ac_top_srcdir
=$srcdir ;;
53381 *) # Relative path.
53382 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
53383 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
53386 # Do not use `cd foo && pwd` to compute absolute paths, because
53387 # the directories may not exist.
53389 .
) ac_abs_builddir
="$ac_dir";;
53392 .
) ac_abs_builddir
=`pwd`;;
53393 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
53394 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
53397 case $ac_abs_builddir in
53398 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53400 case ${ac_top_builddir}.
in
53401 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
53402 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53403 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
53406 case $ac_abs_builddir in
53407 .
) ac_abs_srcdir
=$ac_srcdir;;
53410 .
) ac_abs_srcdir
=$ac_abs_builddir;;
53411 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
53412 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
53415 case $ac_abs_builddir in
53416 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
53418 case $ac_top_srcdir in
53419 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
53420 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
53421 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
53428 # Check for guested configure; otherwise get Cygnus style configure.
53429 if test -f $ac_srcdir/configure.gnu
; then
53430 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
53431 elif test -f $ac_srcdir/configure
; then
53432 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
53433 elif test -f $ac_srcdir/configure.
in; then
53434 ac_sub_configure
=$ac_configure
53436 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53441 # The recursion is here.
53442 if test -n "$ac_sub_configure"; then
53443 # Make the cache file name correct relative to the subdirectory.
53444 case $cache_file in
53445 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53446 *) # Relative path.
53447 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
53450 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53451 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53452 # The eval makes quoting arguments work.
53453 eval $ac_sub_configure $ac_sub_configure_args \
53454 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
53455 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53456 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53457 { (exit 1); exit 1; }; }
53466 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53468 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53469 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53471 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53472 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53473 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
53475 echo " What level of wxWidgets compatibility should be enabled?"
53476 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
53477 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
53479 echo " Which libraries should wxWidgets use?"
53480 echo " jpeg ${wxUSE_LIBJPEG-none}"
53481 echo " png ${wxUSE_LIBPNG-none}"
53482 echo " regex ${wxUSE_REGEX}"
53483 echo " tiff ${wxUSE_LIBTIFF-none}"
53484 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53485 echo " xpm ${wxUSE_LIBXPM-none}"
53487 echo " zlib ${wxUSE_ZLIB}"
53488 echo " odbc ${wxUSE_ODBC}"
53489 echo " expat ${wxUSE_EXPAT}"
53490 echo " libmspack ${wxUSE_LIBMSPACK}"
53491 echo " sdl ${wxUSE_LIBSDL}"