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-backingfile use wxBackingFile
985 --enable-backtrace use wxStackWalker class
for getting backtraces
986 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class
for DLL loading
992 --enable-dynamicloader use
(new
) wxDynamicLibrary class
993 --enable-exceptions build exception
-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual
file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP
/FTP filesystems
1000 --enable-fs_zip use virtual ZIP filesystems
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C
++ stream classes
1008 --enable-std_string use standard C
++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support
in wxProtocol
1027 --enable-protocol-ftp FTP support
in wxProtocol
1028 --enable-protocol-file FILE support
in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use
help subsystem
1032 --enable-mshtmlhelp use MS HTML Help
(win32
)
1033 --enable-html use wxHTML sub
-library
1034 --enable-htmlhelp use wxHTML
-based help
1035 --enable-xrc use XRC resources sub
-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout
-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl
(Mac
)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context
2D drawing API
1047 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1048 --enable-prologio not available
; see contrib
1049 --enable-resources not available
; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag
'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook 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-iff use iff images
(IFF
file format
)
1139 --enable-pnm use pnm images
(PNM
file format
)
1140 --enable-xpm use xpm images
(XPM
file format
)
1141 --enable-icocur use Windows ICO and CUR formats
1142 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1143 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1144 --disable-largefile omit support
for large files
1145 --disable-gtktest do not try to compile and run a
test GTK
+ program
1146 --disable-gtktest Do not try to compile and run a
test GTK program
1147 --disable-sdltest Do not try to compile and run a
test SDL program
1148 --enable-omf use OMF object format
(OS
/2)
1149 --disable-dependency-tracking
1150 don
't use dependency tracking even if the compiler
1152 --disable-precomp-headers
1153 don't use precompiled headers even
if compiler can
1156 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1157 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1158 --without-subdirs don
't generate makefiles for samples/demos/...
1159 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1160 --with-motif use Motif/Lesstif
1161 --with-mac use Mac OS X
1162 --with-cocoa use Cocoa
1163 --with-wine use Wine
1164 --with-msw use MS-Windows
1165 --with-pm use OS/2 Presentation Manager
1166 --with-mgl use SciTech MGL
1167 --with-directfb use DirectFB
1168 --with-microwin use MicroWindows
1170 --with-libpng use libpng (PNG image format)
1171 --with-libjpeg use libjpeg (JPEG file format)
1172 --with-libtiff use libtiff (TIFF file format)
1173 --with-libxpm use libxpm (XPM file format)
1174 --with-libmspack use libmspack (CHM help files loading)
1175 --with-sdl use SDL for audio on Unix
1176 --with-gnomeprint use GNOME print for printing under GNOME
1177 --with-gnomevfs use GNOME VFS for associating MIME types
1178 --with-hildon use Hildon framework for Nokia 770
1179 --with-opengl use OpenGL (or Mesa)
1180 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1181 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1182 --with-regex enable support for wxRegEx class
1183 --with-zlib use zlib for LZW compression
1184 --with-odbc use the IODBC and wxODBC classes
1185 --with-expat enable XML support using expat parser
1186 --with-flavour=NAME specify a name to identify this build
1187 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1188 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1189 --with-x use the X Window System
1190 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1191 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1192 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1193 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1194 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196 Some influential environment variables:
1197 CC C compiler command
1198 CFLAGS C compiler flags
1199 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1200 nonstandard directory <lib dir>
1201 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1202 headers in a nonstandard directory <include dir>
1204 CXX C++ compiler command
1205 CXXFLAGS C++ compiler flags
1206 CXXCPP C++ preprocessor
1207 PKG_CONFIG path to pkg-config utility
1209 C compiler flags for DIRECTFB, overriding pkg-config
1211 linker flags for DIRECTFB, overriding pkg-config
1213 C compiler flags for PANGOX, overriding pkg-config
1214 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 C compiler flags for PANGOFT2, overriding pkg-config
1218 linker flags for PANGOFT2, overriding pkg-config
1220 C compiler flags for PANGOXFT, overriding pkg-config
1222 linker flags for PANGOXFT, overriding pkg-config
1223 LIBGNOMEPRINTUI_CFLAGS
1224 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1225 LIBGNOMEPRINTUI_LIBS
1226 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 C compiler flags for GNOMEVFS, overriding pkg-config
1230 linker flags for GNOMEVFS, overriding pkg-config
1232 C compiler flags for HILDON, overriding pkg-config
1233 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 C compiler flags for CAIRO, overriding pkg-config
1236 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1237 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1238 GST_LIBS linker flags for GST, overriding pkg-config
1240 Use these variables to override the choices made by `configure' or to
help
1241 it to
find libraries and programs with nonstandard names
/locations.
1243 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1247 if test "$ac_init_help" = "recursive"; then
1248 # If there are subdirs, report their specific --help.
1250 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1251 test -d $ac_dir || continue
1254 if test "$ac_dir" != .
; then
1255 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1256 # A "../" for each directory in $ac_dir_suffix.
1257 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 ac_dir_suffix
= ac_top_builddir
=
1263 .
) # No --srcdir option. We are building in place.
1265 if test -z "$ac_top_builddir"; then
1268 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1270 [\\/]* | ?
:[\\/]* ) # Absolute path.
1271 ac_srcdir
=$srcdir$ac_dir_suffix;
1272 ac_top_srcdir
=$srcdir ;;
1274 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1275 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1278 # Do not use `cd foo && pwd` to compute absolute paths, because
1279 # the directories may not exist.
1281 .
) ac_abs_builddir
="$ac_dir";;
1284 .
) ac_abs_builddir
=`pwd`;;
1285 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1286 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1289 case $ac_abs_builddir in
1290 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1292 case ${ac_top_builddir}.
in
1293 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1294 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1295 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1298 case $ac_abs_builddir in
1299 .
) ac_abs_srcdir
=$ac_srcdir;;
1302 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1303 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1304 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1307 case $ac_abs_builddir in
1308 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1310 case $ac_top_srcdir in
1311 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1312 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1313 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1318 # Check for guested configure; otherwise get Cygnus style configure.
1319 if test -f $ac_srcdir/configure.gnu
; then
1321 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1322 elif test -f $ac_srcdir/configure
; then
1324 $SHELL $ac_srcdir/configure
--help=recursive
1325 elif test -f $ac_srcdir/configure.ac
||
1326 test -f $ac_srcdir/configure.
in; then
1328 $ac_configure --help
1330 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 test -n "$ac_init_help" && exit 0
1337 if $ac_init_version; then
1339 wxWidgets configure
2.7.1
1340 generated by GNU Autoconf
2.59
1342 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1343 This configure
script is free software
; the Free Software Foundation
1344 gives unlimited permission to copy
, distribute and modify it.
1350 This file contains any messages produced by compilers while
1351 running configure, to aid debugging if configure makes a mistake.
1353 It was created by wxWidgets $as_me 2.7.1, which was
1354 generated by GNU Autoconf 2.59. Invocation command line was
1365 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1366 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1367 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1368 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1369 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1372 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1375 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1376 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1377 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1378 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1379 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1380 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir
=.
1389 echo "PATH: $as_dir"
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1413 ac_must_keep_next
=false
1419 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1421 | -silent | --silent | --silen | --sile | --sil)
1423 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1424 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1427 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1429 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1430 if test $ac_must_keep_next = true
; then
1431 ac_must_keep_next
=false
# Got value, back to normal.
1434 *=* | --config-cache | -C | -disable-* | --disable-* \
1435 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1436 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1437 | -with-* | --with-* | -without-* | --without-* | --x)
1438 case "$ac_configure_args0 " in
1439 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1442 -* ) ac_must_keep_next
=true
;;
1445 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1446 # Get rid of the leading space.
1452 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1453 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1455 # When interrupted or exit'd, cleanup temporary files, and complete
1456 # config.log. We remove comments because anyway the quotes in there
1457 # would cause problems or look ugly.
1458 # WARNING: Be sure not to use single quotes in there, as some shells,
1459 # such as our DU 5.0 friend, will then `close' the trap.
1460 trap 'exit_status=$?
1461 # Save into config.log some information that might help in debugging.
1466 ## ---------------- ##
1467 ## Cache variables. ##
1468 ## ---------------- ##
1471 # The following way of writing the cache mishandles newlines in values,
1474 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1477 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1482 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1494 for ac_var in $ac_subst_vars
1496 eval ac_val=$`echo $ac_var`
1497 echo "$ac_var='"'"'$ac_val'"'"'"
1501 if test -n "$ac_subst_files"; then
1508 for ac_var in $ac_subst_files
1510 eval ac_val=$`echo $ac_var`
1511 echo "$ac_var='"'"'$ac_val'"'"'"
1516 if test -s confdefs.h; then
1523 sed "/^$/d" confdefs.h | sort
1526 test "$ac_signal" != 0 &&
1527 echo "$as_me: caught signal $ac_signal"
1528 echo "$as_me: exit $exit_status"
1530 rm -f core *.core &&
1531 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1534 for ac_signal
in 1 2 13 15; do
1535 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1540 rm -rf conftest
* confdefs.h
1541 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1544 # Predefined preprocessor variables.
1546 cat >>confdefs.h
<<_ACEOF
1547 #define PACKAGE_NAME "$PACKAGE_NAME"
1551 cat >>confdefs.h
<<_ACEOF
1552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1556 cat >>confdefs.h
<<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1561 cat >>confdefs.h
<<_ACEOF
1562 #define PACKAGE_STRING "$PACKAGE_STRING"
1566 cat >>confdefs.h
<<_ACEOF
1567 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1571 # Let the site file select an alternate cache file if it wants to.
1572 # Prefer explicitly selected file to automatically selected ones.
1573 if test -z "$CONFIG_SITE"; then
1574 if test "x$prefix" != xNONE
; then
1575 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1577 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1580 for ac_site_file
in $CONFIG_SITE; do
1581 if test -r "$ac_site_file"; then
1582 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583 echo "$as_me: loading site script $ac_site_file" >&6;}
1584 sed 's/^/| /' "$ac_site_file" >&5
1589 if test -r "$cache_file"; then
1590 # Some versions of bash will fail to source /dev/null (special
1591 # files actually), so we avoid doing that.
1592 if test -f "$cache_file"; then
1593 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594 echo "$as_me: loading cache $cache_file" >&6;}
1596 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1597 *) . .
/$cache_file;;
1601 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602 echo "$as_me: creating cache $cache_file" >&6;}
1606 # Check that the precious variables saved in the cache have kept the same
1608 ac_cache_corrupted
=false
1609 for ac_var
in `(set) 2>&1 |
1610 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1611 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1612 eval ac_new_set
=\
$ac_env_${ac_var}_set
1613 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1614 eval ac_new_val
="\$ac_env_${ac_var}_value"
1615 case $ac_old_set,$ac_new_set in
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1619 ac_cache_corrupted
=: ;;
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1623 ac_cache_corrupted
=: ;;
1626 if test "x$ac_old_val" != "x$ac_new_val"; then
1627 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1628 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1629 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1630 echo "$as_me: former value: $ac_old_val" >&2;}
1631 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1632 echo "$as_me: current value: $ac_new_val" >&2;}
1633 ac_cache_corrupted
=:
1636 # Pass precious variables to config.status.
1637 if test "$ac_new_set" = set; then
1639 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1640 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg
=$ac_var=$ac_new_val ;;
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1658 ac_cpp
='$CPP $CPPFLAGS'
1659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1693 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1694 if test -f $ac_dir/install-sh; then
1696 ac_install_sh
="$ac_aux_dir/install-sh -c"
1698 elif test -f $ac_dir/install.sh
; then
1700 ac_install_sh
="$ac_aux_dir/install.sh -c"
1702 elif test -f $ac_dir/shtool
; then
1704 ac_install_sh
="$ac_aux_dir/shtool install -c"
1708 if test -z "$ac_aux_dir"; then
1709 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1710 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1711 { (exit 1); exit 1; }; }
1713 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1714 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1715 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717 # Make sure we can run config.sub.
1718 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1719 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1720 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1721 { (exit 1); exit 1; }; }
1723 echo "$as_me:$LINENO: checking build system type" >&5
1724 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1725 if test "${ac_cv_build+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 ac_cv_build_alias
=$build_alias
1729 test -z "$ac_cv_build_alias" &&
1730 ac_cv_build_alias
=`$ac_config_guess`
1731 test -z "$ac_cv_build_alias" &&
1732 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1733 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1734 { (exit 1); exit 1; }; }
1735 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1736 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1737 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1738 { (exit 1); exit 1; }; }
1741 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1742 echo "${ECHO_T}$ac_cv_build" >&6
1744 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1745 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1746 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1749 echo "$as_me:$LINENO: checking host system type" >&5
1750 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1751 if test "${ac_cv_host+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 ac_cv_host_alias
=$host_alias
1755 test -z "$ac_cv_host_alias" &&
1756 ac_cv_host_alias
=$ac_cv_build_alias
1757 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1758 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1759 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1760 { (exit 1); exit 1; }; }
1763 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1764 echo "${ECHO_T}$ac_cv_host" >&6
1766 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1767 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1768 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1771 echo "$as_me:$LINENO: checking target system type" >&5
1772 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1773 if test "${ac_cv_target+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 ac_cv_target_alias
=$target_alias
1777 test "x$ac_cv_target_alias" = "x" &&
1778 ac_cv_target_alias
=$ac_cv_host_alias
1779 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1780 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1781 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1782 { (exit 1); exit 1; }; }
1785 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1786 echo "${ECHO_T}$ac_cv_target" >&6
1787 target
=$ac_cv_target
1788 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1789 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1790 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1793 # The aliases save the names the user supplied, while $host etc.
1794 # will get canonicalized.
1795 test -n "$target_alias" &&
1796 test "$program_prefix$program_suffix$program_transform_name" = \
1798 program_prefix
=${target_alias}-
1802 wx_major_version_number
=2
1803 wx_minor_version_number
=7
1805 wx_subrelease_number
=0
1807 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1808 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1809 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1811 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1824 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1830 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1836 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1838 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1840 DEFAULT_wxUSE_COCOA
=0
1844 DEFAULT_wxUSE_MICROWIN
=0
1845 DEFAULT_wxUSE_MOTIF
=0
1851 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1852 DEFAULT_DEFAULT_wxUSE_GTK
=0
1853 DEFAULT_DEFAULT_wxUSE_MAC
=0
1854 DEFAULT_DEFAULT_wxUSE_MGL
=0
1855 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1856 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1857 DEFAULT_DEFAULT_wxUSE_MSW
=0
1858 DEFAULT_DEFAULT_wxUSE_PM
=0
1859 DEFAULT_DEFAULT_wxUSE_X11
=0
1860 DEFAULT_DEFAULT_wxUSE_DFB
=0
1865 SAMPLES_RPATH_POSTLINK
=
1867 DEFAULT_STD_FLAG
=yes
1872 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1873 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1875 cat >>confdefs.h
<<\_ACEOF
1880 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1884 cat >>confdefs.h
<<\_ACEOF
1889 if test "x$TMP" = "xalpha"; then
1891 cat >>confdefs.h
<<\_ACEOF
1896 DEFAULT_DEFAULT_wxUSE_GTK
=1
1898 *-*-gnu* | *-*-k*bsd
*-gnu )
1901 if test "x$TMP" = "xalpha"; then
1903 cat >>confdefs.h
<<\_ACEOF
1908 DEFAULT_DEFAULT_wxUSE_GTK
=1
1910 *-*-irix5* | *-*-irix6* )
1913 cat >>confdefs.h
<<\_ACEOF
1917 cat >>confdefs.h
<<\_ACEOF
1921 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1927 cat >>confdefs.h
<<\_ACEOF
1931 cat >>confdefs.h
<<\_ACEOF
1932 #define __SOLARIS__ 1
1935 cat >>confdefs.h
<<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1940 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1946 cat >>confdefs.h
<<\_ACEOF
1950 cat >>confdefs.h
<<\_ACEOF
1954 cat >>confdefs.h
<<\_ACEOF
1958 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1963 cat >>confdefs.h
<<\_ACEOF
1964 #define __FREEBSD__ 1
1967 cat >>confdefs.h
<<\_ACEOF
1971 DEFAULT_DEFAULT_wxUSE_GTK
=1
1973 *-*-openbsd*|*-*-mirbsd*)
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define __OPENBSD__ 1
1980 cat >>confdefs.h
<<\_ACEOF
1984 DEFAULT_DEFAULT_wxUSE_GTK
=1
1989 cat >>confdefs.h
<<\_ACEOF
1990 #define __NETBSD__ 1
1993 cat >>confdefs.h
<<\_ACEOF
1997 DEFAULT_DEFAULT_wxUSE_GTK
=1
1998 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2000 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 cat >>confdefs.h
<<\_ACEOF
2009 cat >>confdefs.h
<<\_ACEOF
2013 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2014 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2019 cat >>confdefs.h
<<\_ACEOF
2023 cat >>confdefs.h
<<\_ACEOF
2027 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2032 cat >>confdefs.h
<<\_ACEOF
2036 cat >>confdefs.h
<<\_ACEOF
2040 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2047 cat >>confdefs.h
<<\_ACEOF
2051 cat >>confdefs.h
<<\_ACEOF
2055 cat >>confdefs.h
<<\_ACEOF
2059 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2066 cat >>confdefs.h
<<\_ACEOF
2067 #define __UNIXWARE__ 1
2072 *-*-cygwin* | *-*-mingw32* )
2075 DEFAULT_DEFAULT_wxUSE_MSW
=1
2081 cat >>confdefs.h
<<\_ACEOF
2086 DEFAULT_DEFAULT_wxUSE_MGL
=1
2089 *-pc-os2_emx | *-pc-os2-emx )
2090 cat >>confdefs.h
<<\_ACEOF
2095 cat >>confdefs.h
<<\_ACEOF
2100 DEFAULT_DEFAULT_wxUSE_PM
=1
2102 LDFLAGS
="$LDFLAGS -Zcrtdll"
2103 ac_executable_extensions
=".exe"
2104 export ac_executable_extensions
2108 for ac_dir
in $PATH; do
2110 if test -z "$ac_TEMP_PATH"; then
2111 ac_TEMP_PATH
="$ac_dir"
2113 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2116 export PATH
="$ac_TEMP_PATH"
2125 cat >>confdefs.h
<<\_ACEOF
2129 cat >>confdefs.h
<<\_ACEOF
2130 #define __DARWIN__ 1
2133 cat >>confdefs.h
<<\_ACEOF
2134 #define TARGET_CARBON 1
2137 DEFAULT_DEFAULT_wxUSE_MAC
=1
2140 powerpc
-apple-macos* )
2142 ac_cv_c_bigendian
=yes
2144 DEFAULT_DEFAULT_wxUSE_MAC
=1
2150 cat >>confdefs.h
<<\_ACEOF
2157 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2158 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2159 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2160 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2162 DEFAULT_DEFAULT_wxUSE_X11
=1
2163 DEFAULT_wxUSE_SHARED
=no
2169 wx_arg_cache_file
="configarg.cache"
2170 echo "loading argument cache $wx_arg_cache_file"
2171 rm -f ${wx_arg_cache_file}.tmp
2172 touch ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}
2177 if test $DEBUG_CONFIGURE = 1; then
2178 DEFAULT_wxUSE_UNIVERSAL
=no
2179 DEFAULT_wxUSE_STL
=no
2181 DEFAULT_wxUSE_NANOX
=no
2183 DEFAULT_wxUSE_THREADS
=yes
2185 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2186 DEFAULT_wxUSE_OPTIMISE
=no
2187 DEFAULT_wxUSE_PROFILE
=no
2188 DEFAULT_wxUSE_NO_DEPS
=no
2189 DEFAULT_wxUSE_NO_RTTI
=no
2190 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2191 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2192 DEFAULT_wxUSE_RPATH
=yes
2193 DEFAULT_wxUSE_PERMISSIVE
=no
2194 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2195 DEFAULT_wxUSE_DEBUG_INFO
=yes
2196 DEFAULT_wxUSE_DEBUG_GDB
=yes
2197 DEFAULT_wxUSE_MEM_TRACING
=no
2198 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2199 DEFAULT_wxUSE_DMALLOC
=no
2200 DEFAULT_wxUSE_APPLE_IEEE
=no
2202 DEFAULT_wxUSE_EXCEPTIONS
=no
2203 DEFAULT_wxUSE_LOG
=yes
2204 DEFAULT_wxUSE_LOGWINDOW
=no
2205 DEFAULT_wxUSE_LOGGUI
=no
2206 DEFAULT_wxUSE_LOGDIALOG
=no
2208 DEFAULT_wxUSE_GUI
=yes
2209 DEFAULT_wxUSE_CONTROLS
=no
2211 DEFAULT_wxUSE_REGEX
=no
2212 DEFAULT_wxUSE_XML
=no
2213 DEFAULT_wxUSE_EXPAT
=no
2214 DEFAULT_wxUSE_ZLIB
=no
2215 DEFAULT_wxUSE_LIBPNG
=no
2216 DEFAULT_wxUSE_LIBJPEG
=no
2217 DEFAULT_wxUSE_LIBTIFF
=no
2218 DEFAULT_wxUSE_LIBXPM
=no
2219 DEFAULT_wxUSE_LIBMSPACK
=no
2220 DEFAULT_wxUSE_LIBSDL
=no
2221 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2222 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2223 DEFAULT_wxUSE_LIBHILDON
=no
2224 DEFAULT_wxUSE_ODBC
=no
2225 DEFAULT_wxUSE_OPENGL
=no
2227 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2228 DEFAULT_wxUSE_STACKWALKER
=no
2229 DEFAULT_wxUSE_DEBUGREPORT
=no
2230 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2231 DEFAULT_wxUSE_STD_IOSTREAM
=no
2232 DEFAULT_wxUSE_STD_STRING
=no
2233 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2234 DEFAULT_wxUSE_DATETIME
=no
2235 DEFAULT_wxUSE_TIMER
=no
2236 DEFAULT_wxUSE_STOPWATCH
=no
2237 DEFAULT_wxUSE_FILE
=no
2238 DEFAULT_wxUSE_FFILE
=no
2239 DEFAULT_wxUSE_STDPATHS
=no
2240 DEFAULT_wxUSE_TEXTBUFFER
=no
2241 DEFAULT_wxUSE_TEXTFILE
=no
2242 DEFAULT_wxUSE_SOUND
=no
2243 DEFAULT_wxUSE_MEDIACTRL
=no
2244 DEFAULT_wxUSE_GSTREAMER8
=no
2245 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2246 DEFAULT_wxUSE_INTL
=no
2247 DEFAULT_wxUSE_CONFIG
=no
2248 DEFAULT_wxUSE_FONTMAP
=no
2249 DEFAULT_wxUSE_STREAMS
=no
2250 DEFAULT_wxUSE_SOCKETS
=no
2251 DEFAULT_wxUSE_OLE
=no
2252 DEFAULT_wxUSE_DATAOBJ
=no
2253 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2254 DEFAULT_wxUSE_JOYSTICK
=no
2255 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2256 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2257 DEFAULT_wxUSE_LONGLONG
=no
2258 DEFAULT_wxUSE_GEOMETRY
=no
2260 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2261 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2262 DEFAULT_wxUSE_POSTSCRIPT
=no
2264 DEFAULT_wxUSE_CLIPBOARD
=no
2265 DEFAULT_wxUSE_TOOLTIPS
=no
2266 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2267 DEFAULT_wxUSE_DRAGIMAGE
=no
2268 DEFAULT_wxUSE_SPLINES
=no
2269 DEFAULT_wxUSE_MOUSEWHEEL
=no
2271 DEFAULT_wxUSE_MDI
=no
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2276 DEFAULT_wxUSE_RESOURCES
=no
2277 DEFAULT_wxUSE_CONSTRAINTS
=no
2278 DEFAULT_wxUSE_IPC
=no
2279 DEFAULT_wxUSE_HELP
=no
2280 DEFAULT_wxUSE_MS_HTML_HELP
=no
2281 DEFAULT_wxUSE_WXHTML_HELP
=no
2282 DEFAULT_wxUSE_TREELAYOUT
=no
2283 DEFAULT_wxUSE_METAFILE
=no
2284 DEFAULT_wxUSE_MIMETYPE
=no
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2286 DEFAULT_wxUSE_PROTOCOL
=no
2287 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2288 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2289 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2290 DEFAULT_wxUSE_URL
=no
2291 DEFAULT_wxUSE_VARIANT
=no
2293 DEFAULT_wxUSE_ABOUTDLG
=no
2294 DEFAULT_wxUSE_COMMONDLGS
=no
2295 DEFAULT_wxUSE_CHOICEDLG
=no
2296 DEFAULT_wxUSE_COLOURDLG
=no
2297 DEFAULT_wxUSE_DIRDLG
=no
2298 DEFAULT_wxUSE_FILEDLG
=no
2299 DEFAULT_wxUSE_FINDREPLDLG
=no
2300 DEFAULT_wxUSE_FONTDLG
=no
2301 DEFAULT_wxUSE_MSGDLG
=no
2302 DEFAULT_wxUSE_NUMBERDLG
=no
2303 DEFAULT_wxUSE_TEXTDLG
=no
2304 DEFAULT_wxUSE_SPLASH
=no
2305 DEFAULT_wxUSE_STARTUP_TIPS
=no
2306 DEFAULT_wxUSE_PROGRESSDLG
=no
2307 DEFAULT_wxUSE_WIZARDDLG
=no
2309 DEFAULT_wxUSE_MENUS
=no
2310 DEFAULT_wxUSE_MINIFRAME
=no
2311 DEFAULT_wxUSE_HTML
=no
2312 DEFAULT_wxUSE_RICHTEXT
=no
2313 DEFAULT_wxUSE_XRC
=no
2314 DEFAULT_wxUSE_AUI
=no
2315 DEFAULT_wxUSE_WEBKIT
=no
2316 DEFAULT_wxUSE_FILESYSTEM
=no
2317 DEFAULT_wxUSE_FS_INET
=no
2318 DEFAULT_wxUSE_FS_ZIP
=no
2319 DEFAULT_wxUSE_FS_ARCHIVE
=no
2320 DEFAULT_wxUSE_BUSYINFO
=no
2321 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2322 DEFAULT_wxUSE_ZIPSTREAM
=no
2323 DEFAULT_wxUSE_TARSTREAM
=no
2324 DEFAULT_wxUSE_BACKINGFILE
=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_COLOURPICKERCTRL
=no
2339 DEFAULT_wxUSE_COMBOBOX
=no
2340 DEFAULT_wxUSE_COMBOCTRL
=no
2341 DEFAULT_wxUSE_DATEPICKCTRL
=no
2342 DEFAULT_wxUSE_DISPLAY
=no
2343 DEFAULT_wxUSE_DETECT_SM
=no
2344 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2345 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2346 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2347 DEFAULT_wxUSE_GAUGE
=no
2348 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2349 DEFAULT_wxUSE_GRID
=no
2350 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2351 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2352 DEFAULT_wxUSE_IMAGLIST
=no
2353 DEFAULT_wxUSE_LISTBOOK
=no
2354 DEFAULT_wxUSE_LISTBOX
=no
2355 DEFAULT_wxUSE_LISTCTRL
=no
2356 DEFAULT_wxUSE_NOTEBOOK
=no
2357 DEFAULT_wxUSE_ODCOMBOBOX
=no
2358 DEFAULT_wxUSE_RADIOBOX
=no
2359 DEFAULT_wxUSE_RADIOBTN
=no
2360 DEFAULT_wxUSE_SASH
=no
2361 DEFAULT_wxUSE_SCROLLBAR
=no
2362 DEFAULT_wxUSE_SLIDER
=no
2363 DEFAULT_wxUSE_SPINBTN
=no
2364 DEFAULT_wxUSE_SPINCTRL
=no
2365 DEFAULT_wxUSE_SPLITTER
=no
2366 DEFAULT_wxUSE_STATBMP
=no
2367 DEFAULT_wxUSE_STATBOX
=no
2368 DEFAULT_wxUSE_STATLINE
=no
2369 DEFAULT_wxUSE_STATTEXT
=no
2370 DEFAULT_wxUSE_STATUSBAR
=yes
2371 DEFAULT_wxUSE_TAB_DIALOG
=no
2372 DEFAULT_wxUSE_TEXTCTRL
=no
2373 DEFAULT_wxUSE_TOGGLEBTN
=no
2374 DEFAULT_wxUSE_TOOLBAR
=no
2375 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2376 DEFAULT_wxUSE_TREEBOOK
=no
2377 DEFAULT_wxUSE_TOOLBOOK
=no
2378 DEFAULT_wxUSE_TREECTRL
=no
2379 DEFAULT_wxUSE_POPUPWIN
=no
2380 DEFAULT_wxUSE_TIPWINDOW
=no
2382 DEFAULT_wxUSE_UNICODE
=no
2383 DEFAULT_wxUSE_UNICODE_MSLU
=no
2384 DEFAULT_wxUSE_WCSRTOMBS
=no
2386 DEFAULT_wxUSE_PALETTE
=no
2387 DEFAULT_wxUSE_IMAGE
=no
2388 DEFAULT_wxUSE_GIF
=no
2389 DEFAULT_wxUSE_PCX
=no
2390 DEFAULT_wxUSE_PNM
=no
2391 DEFAULT_wxUSE_IFF
=no
2392 DEFAULT_wxUSE_XPM
=no
2393 DEFAULT_wxUSE_ICO_CUR
=no
2394 DEFAULT_wxUSE_ACCESSIBILITY
=no
2396 DEFAULT_wxUSE_MONOLITHIC
=no
2397 DEFAULT_wxUSE_PLUGINS
=no
2398 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2400 DEFAULT_wxUSE_UNIVERSAL
=no
2401 DEFAULT_wxUSE_STL
=no
2403 DEFAULT_wxUSE_NANOX
=no
2405 DEFAULT_wxUSE_THREADS
=yes
2407 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2408 DEFAULT_wxUSE_OPTIMISE
=yes
2409 DEFAULT_wxUSE_PROFILE
=no
2410 DEFAULT_wxUSE_NO_DEPS
=no
2411 DEFAULT_wxUSE_NO_RTTI
=no
2412 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2413 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2414 DEFAULT_wxUSE_RPATH
=yes
2415 DEFAULT_wxUSE_PERMISSIVE
=no
2416 DEFAULT_wxUSE_DEBUG_FLAG
=no
2417 DEFAULT_wxUSE_DEBUG_INFO
=no
2418 DEFAULT_wxUSE_DEBUG_GDB
=no
2419 DEFAULT_wxUSE_MEM_TRACING
=no
2420 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2421 DEFAULT_wxUSE_DMALLOC
=no
2422 DEFAULT_wxUSE_APPLE_IEEE
=yes
2424 DEFAULT_wxUSE_EXCEPTIONS
=yes
2425 DEFAULT_wxUSE_LOG
=yes
2426 DEFAULT_wxUSE_LOGWINDOW
=yes
2427 DEFAULT_wxUSE_LOGGUI
=yes
2428 DEFAULT_wxUSE_LOGDIALOG
=yes
2430 DEFAULT_wxUSE_GUI
=yes
2432 DEFAULT_wxUSE_REGEX
=yes
2433 DEFAULT_wxUSE_XML
=yes
2434 DEFAULT_wxUSE_EXPAT
=yes
2435 DEFAULT_wxUSE_ZLIB
=yes
2436 DEFAULT_wxUSE_LIBPNG
=yes
2437 DEFAULT_wxUSE_LIBJPEG
=yes
2438 DEFAULT_wxUSE_LIBTIFF
=yes
2439 DEFAULT_wxUSE_LIBXPM
=yes
2440 DEFAULT_wxUSE_LIBMSPACK
=yes
2441 DEFAULT_wxUSE_LIBSDL
=no
2442 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2443 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2444 DEFAULT_wxUSE_LIBHILDON
=no
2445 DEFAULT_wxUSE_ODBC
=no
2446 DEFAULT_wxUSE_OPENGL
=no
2448 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2449 DEFAULT_wxUSE_STACKWALKER
=yes
2450 DEFAULT_wxUSE_DEBUGREPORT
=yes
2451 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2452 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2453 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2454 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2455 DEFAULT_wxUSE_DATETIME
=yes
2456 DEFAULT_wxUSE_TIMER
=yes
2457 DEFAULT_wxUSE_STOPWATCH
=yes
2458 DEFAULT_wxUSE_FILE
=yes
2459 DEFAULT_wxUSE_FFILE
=yes
2460 DEFAULT_wxUSE_STDPATHS
=yes
2461 DEFAULT_wxUSE_TEXTBUFFER
=yes
2462 DEFAULT_wxUSE_TEXTFILE
=yes
2463 DEFAULT_wxUSE_SOUND
=yes
2464 DEFAULT_wxUSE_MEDIACTRL
=no
2465 DEFAULT_wxUSE_GSTREAMER8
=no
2466 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2467 DEFAULT_wxUSE_INTL
=yes
2468 DEFAULT_wxUSE_CONFIG
=yes
2469 DEFAULT_wxUSE_FONTMAP
=yes
2470 DEFAULT_wxUSE_STREAMS
=yes
2471 DEFAULT_wxUSE_SOCKETS
=yes
2472 DEFAULT_wxUSE_OLE
=yes
2473 DEFAULT_wxUSE_DATAOBJ
=yes
2474 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2475 DEFAULT_wxUSE_JOYSTICK
=yes
2476 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2477 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2478 DEFAULT_wxUSE_LONGLONG
=yes
2479 DEFAULT_wxUSE_GEOMETRY
=yes
2481 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2482 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2483 DEFAULT_wxUSE_POSTSCRIPT
=yes
2485 DEFAULT_wxUSE_CLIPBOARD
=yes
2486 DEFAULT_wxUSE_TOOLTIPS
=yes
2487 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2488 DEFAULT_wxUSE_DRAGIMAGE
=yes
2489 DEFAULT_wxUSE_SPLINES
=yes
2490 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2492 DEFAULT_wxUSE_MDI
=yes
2493 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2494 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2495 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2497 DEFAULT_wxUSE_RESOURCES
=no
2498 DEFAULT_wxUSE_CONSTRAINTS
=yes
2499 DEFAULT_wxUSE_IPC
=yes
2500 DEFAULT_wxUSE_HELP
=yes
2501 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2502 DEFAULT_wxUSE_WXHTML_HELP
=yes
2503 DEFAULT_wxUSE_TREELAYOUT
=yes
2504 DEFAULT_wxUSE_METAFILE
=yes
2505 DEFAULT_wxUSE_MIMETYPE
=yes
2506 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2507 DEFAULT_wxUSE_PROTOCOL
=yes
2508 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2509 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2510 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2511 DEFAULT_wxUSE_URL
=yes
2512 DEFAULT_wxUSE_VARIANT
=yes
2514 DEFAULT_wxUSE_ABOUTDLG
=yes
2515 DEFAULT_wxUSE_COMMONDLGS
=yes
2516 DEFAULT_wxUSE_CHOICEDLG
=yes
2517 DEFAULT_wxUSE_COLOURDLG
=yes
2518 DEFAULT_wxUSE_DIRDLG
=yes
2519 DEFAULT_wxUSE_FILEDLG
=yes
2520 DEFAULT_wxUSE_FINDREPLDLG
=yes
2521 DEFAULT_wxUSE_FONTDLG
=yes
2522 DEFAULT_wxUSE_MSGDLG
=yes
2523 DEFAULT_wxUSE_NUMBERDLG
=yes
2524 DEFAULT_wxUSE_TEXTDLG
=yes
2525 DEFAULT_wxUSE_SPLASH
=yes
2526 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2527 DEFAULT_wxUSE_PROGRESSDLG
=yes
2528 DEFAULT_wxUSE_WIZARDDLG
=yes
2530 DEFAULT_wxUSE_MENUS
=yes
2531 DEFAULT_wxUSE_MINIFRAME
=yes
2532 DEFAULT_wxUSE_HTML
=yes
2533 DEFAULT_wxUSE_RICHTEXT
=yes
2534 DEFAULT_wxUSE_XRC
=yes
2535 DEFAULT_wxUSE_AUI
=yes
2536 DEFAULT_wxUSE_WEBKIT
=yes
2537 DEFAULT_wxUSE_FILESYSTEM
=yes
2538 DEFAULT_wxUSE_FS_INET
=yes
2539 DEFAULT_wxUSE_FS_ZIP
=yes
2540 DEFAULT_wxUSE_FS_ARCHIVE
=yes
2541 DEFAULT_wxUSE_BUSYINFO
=yes
2542 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2543 DEFAULT_wxUSE_ZIPSTREAM
=yes
2544 DEFAULT_wxUSE_TARSTREAM
=yes
2545 DEFAULT_wxUSE_BACKINGFILE
=yes
2546 DEFAULT_wxUSE_VALIDATORS
=yes
2548 DEFAULT_wxUSE_ACCEL
=yes
2549 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2550 DEFAULT_wxUSE_BUTTON
=yes
2551 DEFAULT_wxUSE_BMPBUTTON
=yes
2552 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2553 DEFAULT_wxUSE_CALCTRL
=yes
2554 DEFAULT_wxUSE_CARET
=yes
2555 DEFAULT_wxUSE_CHECKBOX
=yes
2556 DEFAULT_wxUSE_CHECKLST
=yes
2557 DEFAULT_wxUSE_CHOICE
=yes
2558 DEFAULT_wxUSE_CHOICEBOOK
=yes
2559 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2560 DEFAULT_wxUSE_COMBOBOX
=yes
2561 DEFAULT_wxUSE_COMBOCTRL
=yes
2562 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2563 DEFAULT_wxUSE_DISPLAY
=yes
2564 DEFAULT_wxUSE_DETECT_SM
=yes
2565 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2566 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2567 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2568 DEFAULT_wxUSE_GAUGE
=yes
2569 DEFAULT_wxUSE_GRID
=yes
2570 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2571 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2572 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2573 DEFAULT_wxUSE_IMAGLIST
=yes
2574 DEFAULT_wxUSE_LISTBOOK
=yes
2575 DEFAULT_wxUSE_LISTBOX
=yes
2576 DEFAULT_wxUSE_LISTCTRL
=yes
2577 DEFAULT_wxUSE_NOTEBOOK
=yes
2578 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2579 DEFAULT_wxUSE_RADIOBOX
=yes
2580 DEFAULT_wxUSE_RADIOBTN
=yes
2581 DEFAULT_wxUSE_SASH
=yes
2582 DEFAULT_wxUSE_SCROLLBAR
=yes
2583 DEFAULT_wxUSE_SLIDER
=yes
2584 DEFAULT_wxUSE_SPINBTN
=yes
2585 DEFAULT_wxUSE_SPINCTRL
=yes
2586 DEFAULT_wxUSE_SPLITTER
=yes
2587 DEFAULT_wxUSE_STATBMP
=yes
2588 DEFAULT_wxUSE_STATBOX
=yes
2589 DEFAULT_wxUSE_STATLINE
=yes
2590 DEFAULT_wxUSE_STATTEXT
=yes
2591 DEFAULT_wxUSE_STATUSBAR
=yes
2592 DEFAULT_wxUSE_TAB_DIALOG
=no
2593 DEFAULT_wxUSE_TEXTCTRL
=yes
2594 DEFAULT_wxUSE_TOGGLEBTN
=yes
2595 DEFAULT_wxUSE_TOOLBAR
=yes
2596 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2597 DEFAULT_wxUSE_TREEBOOK
=yes
2598 DEFAULT_wxUSE_TOOLBOOK
=yes
2599 DEFAULT_wxUSE_TREECTRL
=yes
2600 DEFAULT_wxUSE_POPUPWIN
=yes
2601 DEFAULT_wxUSE_TIPWINDOW
=yes
2603 DEFAULT_wxUSE_UNICODE
=no
2604 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2605 DEFAULT_wxUSE_WCSRTOMBS
=no
2607 DEFAULT_wxUSE_PALETTE
=yes
2608 DEFAULT_wxUSE_IMAGE
=yes
2609 DEFAULT_wxUSE_GIF
=yes
2610 DEFAULT_wxUSE_PCX
=yes
2611 DEFAULT_wxUSE_IFF
=no
2612 DEFAULT_wxUSE_PNM
=yes
2613 DEFAULT_wxUSE_XPM
=yes
2614 DEFAULT_wxUSE_ICO_CUR
=yes
2615 DEFAULT_wxUSE_ACCESSIBILITY
=no
2617 DEFAULT_wxUSE_MONOLITHIC
=no
2618 DEFAULT_wxUSE_PLUGINS
=no
2619 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2621 DEFAULT_wxUSE_GTK2
=yes
2627 for toolkit
in `echo $ALL_TOOLKITS`; do
2628 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2629 if test "x$LINE" != "x" ; then
2630 has_toolkit_in_cache
=1
2631 eval "DEFAULT_$LINE"
2632 eval "CACHE_$toolkit=1"
2634 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2635 if test "x$LINE" != "x" ; then
2636 eval "DEFAULT_$LINE"
2644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2645 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2647 # Check whether --enable-gui or --disable-gui was given.
2648 if test "${enable_gui+set}" = set; then
2649 enableval
="$enable_gui"
2651 if test "$enableval" = yes; then
2652 ac_cv_use_gui
='wxUSE_GUI=yes'
2654 ac_cv_use_gui
='wxUSE_GUI=no'
2659 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x
; then
2661 eval "DEFAULT_$LINE"
2666 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2670 eval "$ac_cv_use_gui"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_GUI" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2686 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2688 # Check whether --enable-monolithic or --disable-monolithic was given.
2689 if test "${enable_monolithic+set}" = set; then
2690 enableval
="$enable_monolithic"
2692 if test "$enableval" = yes; then
2693 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2695 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2700 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x
; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2711 eval "$ac_cv_use_monolithic"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_MONOLITHIC" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2727 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2729 # Check whether --enable-plugins or --disable-plugins was given.
2730 if test "${enable_plugins+set}" = set; then
2731 enableval
="$enable_plugins"
2733 if test "$enableval" = yes; then
2734 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2736 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2741 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x
; then
2743 eval "DEFAULT_$LINE"
2748 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2752 eval "$ac_cv_use_plugins"
2753 if test "$no_cache" != 1; then
2754 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2757 if test "$wxUSE_PLUGINS" = yes; then
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2761 echo "$as_me:$LINENO: result: no" >&5
2762 echo "${ECHO_T}no" >&6
2767 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2768 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2771 # Check whether --with-subdirs or --without-subdirs was given.
2772 if test "${with_subdirs+set}" = set; then
2773 withval
="$with_subdirs"
2775 if test "$withval" = yes; then
2776 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2778 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2783 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2784 if test "x$LINE" != x
; then
2785 eval "DEFAULT_$LINE"
2790 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2794 eval "$ac_cv_use_subdirs"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2799 if test "$wxWITH_SUBDIRS" = yes; then
2800 echo "$as_me:$LINENO: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2803 echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6
2808 if test "$wxUSE_GUI" = "yes"; then
2812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2813 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2815 # Check whether --enable-universal or --disable-universal was given.
2816 if test "${enable_universal+set}" = set; then
2817 enableval
="$enable_universal"
2819 if test "$enableval" = yes; then
2820 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2822 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2827 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x
; then
2829 eval "DEFAULT_$LINE"
2834 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2838 eval "$ac_cv_use_universal"
2839 if test "$no_cache" != 1; then
2840 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2843 if test "$wxUSE_UNIVERSAL" = yes; then
2844 echo "$as_me:$LINENO: result: yes" >&5
2845 echo "${ECHO_T}yes" >&6
2847 echo "$as_me:$LINENO: result: no" >&5
2848 echo "${ECHO_T}no" >&6
2852 # Check whether --with-gtk or --without-gtk was given.
2853 if test "${with_gtk+set}" = set; then
2855 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2858 # Check whether --with-motif or --without-motif was given.
2859 if test "${with_motif+set}" = set; then
2860 withval
="$with_motif"
2861 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2864 # Check whether --with-mac or --without-mac was given.
2865 if test "${with_mac+set}" = set; then
2867 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2870 # Check whether --with-cocoa or --without-cocoa was given.
2871 if test "${with_cocoa+set}" = set; then
2872 withval
="$with_cocoa"
2873 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2876 # Check whether --with-wine or --without-wine was given.
2877 if test "${with_wine+set}" = set; then
2878 withval
="$with_wine"
2879 wxUSE_WINE
="$withval" CACHE_WINE
=1
2882 # Check whether --with-msw or --without-msw was given.
2883 if test "${with_msw+set}" = set; then
2885 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2888 # Check whether --with-pm or --without-pm was given.
2889 if test "${with_pm+set}" = set; then
2891 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2894 # Check whether --with-mgl or --without-mgl was given.
2895 if test "${with_mgl+set}" = set; then
2897 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2900 # Check whether --with-directfb or --without-directfb was given.
2901 if test "${with_directfb+set}" = set; then
2902 withval
="$with_directfb"
2903 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2906 # Check whether --with-microwin or --without-microwin was given.
2907 if test "${with_microwin+set}" = set; then
2908 withval
="$with_microwin"
2909 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2912 # Check whether --with-x11 or --without-x11 was given.
2913 if test "${with_x11+set}" = set; then
2915 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2920 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2922 # Check whether --enable-nanox or --disable-nanox was given.
2923 if test "${enable_nanox+set}" = set; then
2924 enableval
="$enable_nanox"
2926 if test "$enableval" = yes; then
2927 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2929 ac_cv_use_nanox
='wxUSE_NANOX=no'
2934 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2935 if test "x$LINE" != x
; then
2936 eval "DEFAULT_$LINE"
2941 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2945 eval "$ac_cv_use_nanox"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2950 if test "$wxUSE_NANOX" = yes; then
2951 echo "$as_me:$LINENO: result: yes" >&5
2952 echo "${ECHO_T}yes" >&6
2954 echo "$as_me:$LINENO: result: no" >&5
2955 echo "${ECHO_T}no" >&6
2959 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2960 if test "${enable_gtk2+set}" = set; then
2961 enableval
="$enable_gtk2"
2962 wxUSE_GTK2
="$enableval"
2966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2967 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2969 # Check whether --enable-gpe or --disable-gpe was given.
2970 if test "${enable_gpe+set}" = set; then
2971 enableval
="$enable_gpe"
2973 if test "$enableval" = yes; then
2974 ac_cv_use_gpe
='wxUSE_GPE=yes'
2976 ac_cv_use_gpe
='wxUSE_GPE=no'
2981 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x
; then
2983 eval "DEFAULT_$LINE"
2988 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2992 eval "$ac_cv_use_gpe"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_GPE" = yes; then
2998 echo "$as_me:$LINENO: result: yes" >&5
2999 echo "${ECHO_T}yes" >&6
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3007 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3008 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3011 # Check whether --with-libpng or --without-libpng was given.
3012 if test "${with_libpng+set}" = set; then
3013 withval
="$with_libpng"
3015 if test "$withval" = yes; then
3016 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3017 elif test "$withval" = no
; then
3018 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3019 elif test "$withval" = sys
; then
3020 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3021 elif test "$withval" = builtin; then
3022 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3024 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3025 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3026 { (exit 1); exit 1; }; }
3031 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x
; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3042 eval "$ac_cv_use_libpng"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3047 if test "$wxUSE_LIBPNG" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3050 elif test "$wxUSE_LIBPNG" = no
; then
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3053 elif test "$wxUSE_LIBPNG" = sys
; then
3054 echo "$as_me:$LINENO: result: system version" >&5
3055 echo "${ECHO_T}system version" >&6
3056 elif test "$wxUSE_LIBPNG" = builtin; then
3057 echo "$as_me:$LINENO: result: builtin version" >&5
3058 echo "${ECHO_T}builtin version" >&6
3060 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3061 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3062 { (exit 1); exit 1; }; }
3066 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3067 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3070 # Check whether --with-libjpeg or --without-libjpeg was given.
3071 if test "${with_libjpeg+set}" = set; then
3072 withval
="$with_libjpeg"
3074 if test "$withval" = yes; then
3075 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3076 elif test "$withval" = no
; then
3077 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3078 elif test "$withval" = sys
; then
3079 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3080 elif test "$withval" = builtin; then
3081 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3083 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3084 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3085 { (exit 1); exit 1; }; }
3090 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x
; then
3092 eval "DEFAULT_$LINE"
3097 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3101 eval "$ac_cv_use_libjpeg"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3106 if test "$wxUSE_LIBJPEG" = yes; then
3107 echo "$as_me:$LINENO: result: yes" >&5
3108 echo "${ECHO_T}yes" >&6
3109 elif test "$wxUSE_LIBJPEG" = no
; then
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3112 elif test "$wxUSE_LIBJPEG" = sys
; then
3113 echo "$as_me:$LINENO: result: system version" >&5
3114 echo "${ECHO_T}system version" >&6
3115 elif test "$wxUSE_LIBJPEG" = builtin; then
3116 echo "$as_me:$LINENO: result: builtin version" >&5
3117 echo "${ECHO_T}builtin version" >&6
3119 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3120 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3121 { (exit 1); exit 1; }; }
3125 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3126 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3129 # Check whether --with-libtiff or --without-libtiff was given.
3130 if test "${with_libtiff+set}" = set; then
3131 withval
="$with_libtiff"
3133 if test "$withval" = yes; then
3134 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3135 elif test "$withval" = no
; then
3136 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3137 elif test "$withval" = sys
; then
3138 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3139 elif test "$withval" = builtin; then
3140 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3142 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3143 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3144 { (exit 1); exit 1; }; }
3149 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3160 eval "$ac_cv_use_libtiff"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_LIBTIFF" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 elif test "$wxUSE_LIBTIFF" = no
; then
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 elif test "$wxUSE_LIBTIFF" = sys
; then
3172 echo "$as_me:$LINENO: result: system version" >&5
3173 echo "${ECHO_T}system version" >&6
3174 elif test "$wxUSE_LIBTIFF" = builtin; then
3175 echo "$as_me:$LINENO: result: builtin version" >&5
3176 echo "${ECHO_T}builtin version" >&6
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3184 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3185 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3188 # Check whether --with-libxpm or --without-libxpm was given.
3189 if test "${with_libxpm+set}" = set; then
3190 withval
="$with_libxpm"
3192 if test "$withval" = yes; then
3193 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3194 elif test "$withval" = no
; then
3195 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3196 elif test "$withval" = sys
; then
3197 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3198 elif test "$withval" = builtin; then
3199 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3201 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3202 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3203 { (exit 1); exit 1; }; }
3208 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x
; then
3210 eval "DEFAULT_$LINE"
3215 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3219 eval "$ac_cv_use_libxpm"
3220 if test "$no_cache" != 1; then
3221 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3224 if test "$wxUSE_LIBXPM" = yes; then
3225 echo "$as_me:$LINENO: result: yes" >&5
3226 echo "${ECHO_T}yes" >&6
3227 elif test "$wxUSE_LIBXPM" = no
; then
3228 echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6
3230 elif test "$wxUSE_LIBXPM" = sys
; then
3231 echo "$as_me:$LINENO: result: system version" >&5
3232 echo "${ECHO_T}system version" >&6
3233 elif test "$wxUSE_LIBXPM" = builtin; then
3234 echo "$as_me:$LINENO: result: builtin version" >&5
3235 echo "${ECHO_T}builtin version" >&6
3237 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3238 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3239 { (exit 1); exit 1; }; }
3244 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3245 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3248 # Check whether --with-libmspack or --without-libmspack was given.
3249 if test "${with_libmspack+set}" = set; then
3250 withval
="$with_libmspack"
3252 if test "$withval" = yes; then
3253 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3255 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3260 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3261 if test "x$LINE" != x
; then
3262 eval "DEFAULT_$LINE"
3267 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3271 eval "$ac_cv_use_libmspack"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3276 if test "$wxUSE_LIBMSPACK" = yes; then
3277 echo "$as_me:$LINENO: result: yes" >&5
3278 echo "${ECHO_T}yes" >&6
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3286 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3287 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3290 # Check whether --with-sdl or --without-sdl was given.
3291 if test "${with_sdl+set}" = set; then
3294 if test "$withval" = yes; then
3295 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3297 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3302 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3313 eval "$ac_cv_use_sdl"
3314 if test "$no_cache" != 1; then
3315 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3318 if test "$wxUSE_LIBSDL" = yes; then
3319 echo "$as_me:$LINENO: result: yes" >&5
3320 echo "${ECHO_T}yes" >&6
3322 echo "$as_me:$LINENO: result: no" >&5
3323 echo "${ECHO_T}no" >&6
3328 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3329 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3332 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3333 if test "${with_gnomeprint+set}" = set; then
3334 withval
="$with_gnomeprint"
3336 if test "$withval" = yes; then
3337 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3339 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3344 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x
; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3355 eval "$ac_cv_use_gnomeprint"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3370 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3371 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3374 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3375 if test "${with_gnomevfs+set}" = set; then
3376 withval
="$with_gnomevfs"
3378 if test "$withval" = yes; then
3379 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3381 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3386 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x
; then
3388 eval "DEFAULT_$LINE"
3393 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3397 eval "$ac_cv_use_gnomevfs"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3402 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3403 echo "$as_me:$LINENO: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6
3406 echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6
3412 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3413 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3416 # Check whether --with-hildon or --without-hildon was given.
3417 if test "${with_hildon+set}" = set; then
3418 withval
="$with_hildon"
3420 if test "$withval" = yes; then
3421 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3423 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3428 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x
; then
3430 eval "DEFAULT_$LINE"
3435 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3439 eval "$ac_cv_use_hildon"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3444 if test "$wxUSE_LIBHILDON" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3454 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3455 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3458 # Check whether --with-opengl or --without-opengl was given.
3459 if test "${with_opengl+set}" = set; then
3460 withval
="$with_opengl"
3462 if test "$withval" = yes; then
3463 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3465 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3470 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x
; then
3472 eval "DEFAULT_$LINE"
3477 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3481 eval "$ac_cv_use_opengl"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3486 if test "$wxUSE_OPENGL" = yes; then
3487 echo "$as_me:$LINENO: result: yes" >&5
3488 echo "${ECHO_T}yes" >&6
3490 echo "$as_me:$LINENO: result: no" >&5
3491 echo "${ECHO_T}no" >&6
3495 if test "$wxUSE_UNIVERSAL" = "yes"; then
3497 # Check whether --with-themes or --without-themes was given.
3498 if test "${with_themes+set}" = set; then
3499 withval
="$with_themes"
3500 wxUNIV_THEMES
="$withval"
3508 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3512 # Check whether --with-dmalloc or --without-dmalloc was given.
3513 if test "${with_dmalloc+set}" = set; then
3514 withval
="$with_dmalloc"
3516 if test "$withval" = yes; then
3517 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3519 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3524 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3535 eval "$ac_cv_use_dmalloc"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_DMALLOC" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3549 echo "$as_me:$LINENO: checking for --with-regex" >&5
3550 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3553 # Check whether --with-regex or --without-regex was given.
3554 if test "${with_regex+set}" = set; then
3555 withval
="$with_regex"
3557 if test "$withval" = yes; then
3558 ac_cv_use_regex
='wxUSE_REGEX=yes'
3559 elif test "$withval" = no
; then
3560 ac_cv_use_regex
='wxUSE_REGEX=no'
3561 elif test "$withval" = sys
; then
3562 ac_cv_use_regex
='wxUSE_REGEX=sys'
3563 elif test "$withval" = builtin; then
3564 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3566 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3567 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3568 { (exit 1); exit 1; }; }
3573 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x
; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3584 eval "$ac_cv_use_regex"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_REGEX" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3592 elif test "$wxUSE_REGEX" = no
; then
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3595 elif test "$wxUSE_REGEX" = sys
; then
3596 echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6
3598 elif test "$wxUSE_REGEX" = builtin; then
3599 echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3608 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3609 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3612 # Check whether --with-zlib or --without-zlib was given.
3613 if test "${with_zlib+set}" = set; then
3614 withval
="$with_zlib"
3616 if test "$withval" = yes; then
3617 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3618 elif test "$withval" = no
; then
3619 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3620 elif test "$withval" = sys
; then
3621 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3622 elif test "$withval" = builtin; then
3623 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3625 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3626 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3627 { (exit 1); exit 1; }; }
3632 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3633 if test "x$LINE" != x
; then
3634 eval "DEFAULT_$LINE"
3639 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3643 eval "$ac_cv_use_zlib"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3648 if test "$wxUSE_ZLIB" = yes; then
3649 echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6
3651 elif test "$wxUSE_ZLIB" = no
; then
3652 echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6
3654 elif test "$wxUSE_ZLIB" = sys
; then
3655 echo "$as_me:$LINENO: result: system version" >&5
3656 echo "${ECHO_T}system version" >&6
3657 elif test "$wxUSE_ZLIB" = builtin; then
3658 echo "$as_me:$LINENO: result: builtin version" >&5
3659 echo "${ECHO_T}builtin version" >&6
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3667 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3668 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3671 # Check whether --with-odbc or --without-odbc was given.
3672 if test "${with_odbc+set}" = set; then
3673 withval
="$with_odbc"
3675 if test "$withval" = yes; then
3676 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3677 elif test "$withval" = no
; then
3678 ac_cv_use_odbc
='wxUSE_ODBC=no'
3679 elif test "$withval" = sys
; then
3680 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3681 elif test "$withval" = builtin; then
3682 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3684 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3685 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3691 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x
; then
3693 eval "DEFAULT_$LINE"
3698 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3702 eval "$ac_cv_use_odbc"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_ODBC" = yes; then
3708 echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6
3710 elif test "$wxUSE_ODBC" = no
; then
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3713 elif test "$wxUSE_ODBC" = sys
; then
3714 echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6
3716 elif test "$wxUSE_ODBC" = builtin; then
3717 echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3726 echo "$as_me:$LINENO: checking for --with-expat" >&5
3727 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3730 # Check whether --with-expat or --without-expat was given.
3731 if test "${with_expat+set}" = set; then
3732 withval
="$with_expat"
3734 if test "$withval" = yes; then
3735 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3736 elif test "$withval" = no
; then
3737 ac_cv_use_expat
='wxUSE_EXPAT=no'
3738 elif test "$withval" = sys
; then
3739 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3740 elif test "$withval" = builtin; then
3741 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3750 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3751 if test "x$LINE" != x
; then
3752 eval "DEFAULT_$LINE"
3757 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3761 eval "$ac_cv_use_expat"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3766 if test "$wxUSE_EXPAT" = yes; then
3767 echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6
3769 elif test "$wxUSE_EXPAT" = no
; then
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3772 elif test "$wxUSE_EXPAT" = sys
; then
3773 echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6
3775 elif test "$wxUSE_EXPAT" = builtin; then
3776 echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3789 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3791 # Check whether --enable-shared or --disable-shared was given.
3792 if test "${enable_shared+set}" = set; then
3793 enableval
="$enable_shared"
3795 if test "$enableval" = yes; then
3796 ac_cv_use_shared
='wxUSE_SHARED=yes'
3798 ac_cv_use_shared
='wxUSE_SHARED=no'
3803 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x
; then
3805 eval "DEFAULT_$LINE"
3810 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3814 eval "$ac_cv_use_shared"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_SHARED" = yes; then
3820 echo "$as_me:$LINENO: result: yes" >&5
3821 echo "${ECHO_T}yes" >&6
3823 echo "$as_me:$LINENO: result: no" >&5
3824 echo "${ECHO_T}no" >&6
3829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3830 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3832 # Check whether --enable-optimise or --disable-optimise was given.
3833 if test "${enable_optimise+set}" = set; then
3834 enableval
="$enable_optimise"
3836 if test "$enableval" = yes; then
3837 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3839 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3844 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x
; then
3846 eval "DEFAULT_$LINE"
3851 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3855 eval "$ac_cv_use_optimise"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_OPTIMISE" = yes; then
3861 echo "$as_me:$LINENO: result: yes" >&5
3862 echo "${ECHO_T}yes" >&6
3864 echo "$as_me:$LINENO: result: no" >&5
3865 echo "${ECHO_T}no" >&6
3870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3871 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3873 # Check whether --enable-debug or --disable-debug was given.
3874 if test "${enable_debug+set}" = set; then
3875 enableval
="$enable_debug"
3877 if test "$enableval" = yes; then
3878 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3880 ac_cv_use_debug
='wxUSE_DEBUG=no'
3885 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3886 if test "x$LINE" != x
; then
3887 eval "DEFAULT_$LINE"
3892 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3896 eval "$ac_cv_use_debug"
3897 if test "$no_cache" != 1; then
3898 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3901 if test "$wxUSE_DEBUG" = yes; then
3902 echo "$as_me:$LINENO: result: yes" >&5
3903 echo "${ECHO_T}yes" >&6
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3912 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3914 # Check whether --enable-stl or --disable-stl was given.
3915 if test "${enable_stl+set}" = set; then
3916 enableval
="$enable_stl"
3918 if test "$enableval" = yes; then
3919 ac_cv_use_stl
='wxUSE_STL=yes'
3921 ac_cv_use_stl
='wxUSE_STL=no'
3926 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x
; then
3928 eval "DEFAULT_$LINE"
3933 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3937 eval "$ac_cv_use_stl"
3938 if test "$no_cache" != 1; then
3939 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3942 if test "$wxUSE_STL" = yes; then
3943 echo "$as_me:$LINENO: result: yes" >&5
3944 echo "${ECHO_T}yes" >&6
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3950 if test "$USE_OS2" = "1"; then
3951 DEFAULT_wxUSE_OMF
=no
3954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3955 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3957 # Check whether --enable-omf or --disable-omf was given.
3958 if test "${enable_omf+set}" = set; then
3959 enableval
="$enable_omf"
3961 if test "$enableval" = yes; then
3962 ac_cv_use_omf
='wxUSE_OMF=yes'
3964 ac_cv_use_omf
='wxUSE_OMF=no'
3969 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x
; then
3971 eval "DEFAULT_$LINE"
3976 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3980 eval "$ac_cv_use_omf"
3981 if test "$no_cache" != 1; then
3982 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3985 if test "$wxUSE_OMF" = yes; then
3986 echo "$as_me:$LINENO: result: yes" >&5
3987 echo "${ECHO_T}yes" >&6
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3995 if test "$wxUSE_DEBUG" = "yes"; then
3996 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3997 DEFAULT_wxUSE_DEBUG_INFO
=yes
3999 elif test "$wxUSE_DEBUG" = "no"; then
4000 DEFAULT_wxUSE_DEBUG_FLAG
=no
4001 DEFAULT_wxUSE_DEBUG_INFO
=no
4007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4008 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4010 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4011 if test "${enable_debug_flag+set}" = set; then
4012 enableval
="$enable_debug_flag"
4014 if test "$enableval" = yes; then
4015 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4017 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4022 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4023 if test "x$LINE" != x
; then
4024 eval "DEFAULT_$LINE"
4029 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4033 eval "$ac_cv_use_debug_flag"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4038 if test "$wxUSE_DEBUG_FLAG" = yes; then
4039 echo "$as_me:$LINENO: result: yes" >&5
4040 echo "${ECHO_T}yes" >&6
4042 echo "$as_me:$LINENO: result: no" >&5
4043 echo "${ECHO_T}no" >&6
4048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4049 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4051 # Check whether --enable-debug_info or --disable-debug_info was given.
4052 if test "${enable_debug_info+set}" = set; then
4053 enableval
="$enable_debug_info"
4055 if test "$enableval" = yes; then
4056 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4058 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4063 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x
; then
4065 eval "DEFAULT_$LINE"
4070 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4074 eval "$ac_cv_use_debug_info"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4079 if test "$wxUSE_DEBUG_INFO" = yes; then
4080 echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4092 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4093 if test "${enable_debug_gdb+set}" = set; then
4094 enableval
="$enable_debug_gdb"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4099 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4104 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4115 eval "$ac_cv_use_debug_gdb"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4120 if test "$wxUSE_DEBUG_GDB" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4133 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4134 if test "${enable_debug_cntxt+set}" = set; then
4135 enableval
="$enable_debug_cntxt"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4140 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4145 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x
; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4156 eval "$ac_cv_use_debug_cntxt"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4161 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4174 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4175 if test "${enable_mem_tracing+set}" = set; then
4176 enableval
="$enable_mem_tracing"
4178 if test "$enableval" = yes; then
4179 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4181 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4186 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x
; then
4188 eval "DEFAULT_$LINE"
4193 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4197 eval "$ac_cv_use_mem_tracing"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_MEM_TRACING" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4213 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4215 # Check whether --enable-profile or --disable-profile was given.
4216 if test "${enable_profile+set}" = set; then
4217 enableval
="$enable_profile"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4222 ac_cv_use_profile
='wxUSE_PROFILE=no'
4227 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4238 eval "$ac_cv_use_profile"
4239 if test "$no_cache" != 1; then
4240 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4243 if test "$wxUSE_PROFILE" = yes; then
4244 echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6
4247 echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6
4253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4254 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4256 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4257 if test "${enable_no_rtti+set}" = set; then
4258 enableval
="$enable_no_rtti"
4260 if test "$enableval" = yes; then
4261 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4263 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4268 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x
; then
4270 eval "DEFAULT_$LINE"
4275 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4279 eval "$ac_cv_use_no_rtti"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_NO_RTTI" = yes; then
4285 echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6
4288 echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6
4294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4295 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4297 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4298 if test "${enable_no_exceptions+set}" = set; then
4299 enableval
="$enable_no_exceptions"
4301 if test "$enableval" = yes; then
4302 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4304 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4309 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4310 if test "x$LINE" != x
; then
4311 eval "DEFAULT_$LINE"
4316 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4320 eval "$ac_cv_use_no_exceptions"
4321 if test "$no_cache" != 1; then
4322 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4325 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4326 echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4336 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4338 # Check whether --enable-permissive or --disable-permissive was given.
4339 if test "${enable_permissive+set}" = set; then
4340 enableval
="$enable_permissive"
4342 if test "$enableval" = yes; then
4343 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4345 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4350 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x
; then
4352 eval "DEFAULT_$LINE"
4357 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4361 eval "$ac_cv_use_permissive"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4366 if test "$wxUSE_PERMISSIVE" = yes; then
4367 echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4377 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4379 # Check whether --enable-no_deps or --disable-no_deps was given.
4380 if test "${enable_no_deps+set}" = set; then
4381 enableval
="$enable_no_deps"
4383 if test "$enableval" = yes; then
4384 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4386 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4391 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x
; then
4393 eval "DEFAULT_$LINE"
4398 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4402 eval "$ac_cv_use_no_deps"
4403 if test "$no_cache" != 1; then
4404 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4407 if test "$wxUSE_NO_DEPS" = yes; then
4408 echo "$as_me:$LINENO: result: yes" >&5
4409 echo "${ECHO_T}yes" >&6
4411 echo "$as_me:$LINENO: result: no" >&5
4412 echo "${ECHO_T}no" >&6
4417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4418 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4420 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4421 if test "${enable_universal_binary+set}" = set; then
4422 enableval
="$enable_universal_binary"
4424 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4428 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x
; then
4430 eval "DEFAULT_$LINE"
4431 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4434 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4439 eval "$wx_cv_use_universal_binary"
4440 if test "$no_cache" != 1; then
4441 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4444 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4445 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4451 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4453 # Check whether --enable-compat24 or --disable-compat24 was given.
4454 if test "${enable_compat24+set}" = set; then
4455 enableval
="$enable_compat24"
4457 if test "$enableval" = yes; then
4458 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4460 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4465 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x
; then
4467 eval "DEFAULT_$LINE"
4472 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4476 eval "$ac_cv_use_compat24"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4481 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4482 echo "$as_me:$LINENO: result: yes" >&5
4483 echo "${ECHO_T}yes" >&6
4485 echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6
4490 enablestring
=disable
4491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4492 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4494 # Check whether --enable-compat26 or --disable-compat26 was given.
4495 if test "${enable_compat26+set}" = set; then
4496 enableval
="$enable_compat26"
4498 if test "$enableval" = yes; then
4499 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4501 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4506 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4507 if test "x$LINE" != x
; then
4508 eval "DEFAULT_$LINE"
4513 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4517 eval "$ac_cv_use_compat26"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4522 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4523 echo "$as_me:$LINENO: result: yes" >&5
4524 echo "${ECHO_T}yes" >&6
4526 echo "$as_me:$LINENO: result: no" >&5
4527 echo "${ECHO_T}no" >&6
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4536 # Check whether --enable-rpath or --disable-rpath was given.
4537 if test "${enable_rpath+set}" = set; then
4538 enableval
="$enable_rpath"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4543 ac_cv_use_rpath
='wxUSE_RPATH=no'
4548 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x
; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4559 eval "$ac_cv_use_rpath"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_RPATH" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4580 # Check whether --enable-intl or --disable-intl was given.
4581 if test "${enable_intl+set}" = set; then
4582 enableval
="$enable_intl"
4584 if test "$enableval" = yes; then
4585 ac_cv_use_intl
='wxUSE_INTL=yes'
4587 ac_cv_use_intl
='wxUSE_INTL=no'
4592 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x
; then
4594 eval "DEFAULT_$LINE"
4599 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4603 eval "$ac_cv_use_intl"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_INTL" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4621 # Check whether --enable-config or --disable-config was given.
4622 if test "${enable_config+set}" = set; then
4623 enableval
="$enable_config"
4625 if test "$enableval" = yes; then
4626 ac_cv_use_config
='wxUSE_CONFIG=yes'
4628 ac_cv_use_config
='wxUSE_CONFIG=no'
4633 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x
; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4644 eval "$ac_cv_use_config"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4649 if test "$wxUSE_CONFIG" = yes; then
4650 echo "$as_me:$LINENO: result: yes" >&5
4651 echo "${ECHO_T}yes" >&6
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4663 # Check whether --enable-protocols or --disable-protocols was given.
4664 if test "${enable_protocols+set}" = set; then
4665 enableval
="$enable_protocols"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4670 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4675 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4686 eval "$ac_cv_use_protocols"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_PROTOCOL" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4704 # Check whether --enable-ftp or --disable-ftp was given.
4705 if test "${enable_ftp+set}" = set; then
4706 enableval
="$enable_ftp"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4711 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4716 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x
; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4727 eval "$ac_cv_use_ftp"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4745 # Check whether --enable-http or --disable-http was given.
4746 if test "${enable_http+set}" = set; then
4747 enableval
="$enable_http"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4752 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4757 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4768 eval "$ac_cv_use_http"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4773 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4786 # Check whether --enable-fileproto or --disable-fileproto was given.
4787 if test "${enable_fileproto+set}" = set; then
4788 enableval
="$enable_fileproto"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4793 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4798 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4809 eval "$ac_cv_use_fileproto"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4827 # Check whether --enable-sockets or --disable-sockets was given.
4828 if test "${enable_sockets+set}" = set; then
4829 enableval
="$enable_sockets"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4834 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4839 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x
; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4850 eval "$ac_cv_use_sockets"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_SOCKETS" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4868 # Check whether --enable-ole or --disable-ole was given.
4869 if test "${enable_ole+set}" = set; then
4870 enableval
="$enable_ole"
4872 if test "$enableval" = yes; then
4873 ac_cv_use_ole
='wxUSE_OLE=yes'
4875 ac_cv_use_ole
='wxUSE_OLE=no'
4880 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x
; then
4882 eval "DEFAULT_$LINE"
4887 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4891 eval "$ac_cv_use_ole"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_OLE" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4909 # Check whether --enable-dataobj or --disable-dataobj was given.
4910 if test "${enable_dataobj+set}" = set; then
4911 enableval
="$enable_dataobj"
4913 if test "$enableval" = yes; then
4914 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4916 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4921 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4928 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4932 eval "$ac_cv_use_dataobj"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_DATAOBJ" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4951 # Check whether --enable-ipc or --disable-ipc was given.
4952 if test "${enable_ipc+set}" = set; then
4953 enableval
="$enable_ipc"
4955 if test "$enableval" = yes; then
4956 ac_cv_use_ipc
='wxUSE_IPC=yes'
4958 ac_cv_use_ipc
='wxUSE_IPC=no'
4963 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x
; then
4965 eval "DEFAULT_$LINE"
4970 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4974 eval "$ac_cv_use_ipc"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4979 if test "$wxUSE_IPC" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4993 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4994 if test "${enable_apple_ieee+set}" = set; then
4995 enableval
="$enable_apple_ieee"
4997 if test "$enableval" = yes; then
4998 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
5000 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
5005 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x
; then
5007 eval "DEFAULT_$LINE"
5012 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5016 eval "$ac_cv_use_apple_ieee"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5021 if test "$wxUSE_APPLE_IEEE" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5034 # Check whether --enable-arcstream or --disable-arcstream was given.
5035 if test "${enable_arcstream+set}" = set; then
5036 enableval
="$enable_arcstream"
5038 if test "$enableval" = yes; then
5039 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5041 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5046 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x
; then
5048 eval "DEFAULT_$LINE"
5053 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5057 eval "$ac_cv_use_arcstream"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5062 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backingfile" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-backingfile... $ECHO_C" >&6
5075 # Check whether --enable-backingfile or --disable-backingfile was given.
5076 if test "${enable_backingfile+set}" = set; then
5077 enableval
="$enable_backingfile"
5079 if test "$enableval" = yes; then
5080 ac_cv_use_backingfile
='wxUSE_BACKINGFILE=yes'
5082 ac_cv_use_backingfile
='wxUSE_BACKINGFILE=no'
5087 LINE
=`grep "wxUSE_BACKINGFILE" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x
; then
5089 eval "DEFAULT_$LINE"
5094 ac_cv_use_backingfile
='wxUSE_BACKINGFILE='$DEFAULT_wxUSE_BACKINGFILE
5098 eval "$ac_cv_use_backingfile"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_backingfile >> ${wx_arg_cache_file}.tmp
5103 if test "$wxUSE_BACKINGFILE" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5116 # Check whether --enable-backtrace or --disable-backtrace was given.
5117 if test "${enable_backtrace+set}" = set; then
5118 enableval
="$enable_backtrace"
5120 if test "$enableval" = yes; then
5121 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5123 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5128 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x
; then
5130 eval "DEFAULT_$LINE"
5135 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5139 eval "$ac_cv_use_backtrace"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5144 if test "$wxUSE_STACKWALKER" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5157 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5158 if test "${enable_catch_segvs+set}" = set; then
5159 enableval
="$enable_catch_segvs"
5161 if test "$enableval" = yes; then
5162 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5164 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5169 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x
; then
5171 eval "DEFAULT_$LINE"
5176 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5180 eval "$ac_cv_use_catch_segvs"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5185 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5198 # Check whether --enable-cmdline or --disable-cmdline was given.
5199 if test "${enable_cmdline+set}" = set; then
5200 enableval
="$enable_cmdline"
5202 if test "$enableval" = yes; then
5203 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5205 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5210 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x
; then
5212 eval "DEFAULT_$LINE"
5217 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5221 eval "$ac_cv_use_cmdline"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5239 # Check whether --enable-datetime or --disable-datetime was given.
5240 if test "${enable_datetime+set}" = set; then
5241 enableval
="$enable_datetime"
5243 if test "$enableval" = yes; then
5244 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5246 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5251 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x
; then
5253 eval "DEFAULT_$LINE"
5258 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5262 eval "$ac_cv_use_datetime"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5267 if test "$wxUSE_DATETIME" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5280 # Check whether --enable-debugreport or --disable-debugreport was given.
5281 if test "${enable_debugreport+set}" = set; then
5282 enableval
="$enable_debugreport"
5284 if test "$enableval" = yes; then
5285 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5287 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5292 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x
; then
5294 eval "DEFAULT_$LINE"
5299 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5303 eval "$ac_cv_use_debugreport"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_DEBUGREPORT" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5321 # Check whether --enable-dialupman or --disable-dialupman was given.
5322 if test "${enable_dialupman+set}" = set; then
5323 enableval
="$enable_dialupman"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5328 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5333 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x
; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5344 eval "$ac_cv_use_dialupman"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5362 # Check whether --enable-dynlib or --disable-dynlib was given.
5363 if test "${enable_dynlib+set}" = set; then
5364 enableval
="$enable_dynlib"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5369 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5374 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x
; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5385 eval "$ac_cv_use_dynlib"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5403 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5404 if test "${enable_dynamicloader+set}" = set; then
5405 enableval
="$enable_dynamicloader"
5407 if test "$enableval" = yes; then
5408 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5410 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5415 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x
; then
5417 eval "DEFAULT_$LINE"
5422 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5426 eval "$ac_cv_use_dynamicloader"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5444 # Check whether --enable-exceptions or --disable-exceptions was given.
5445 if test "${enable_exceptions+set}" = set; then
5446 enableval
="$enable_exceptions"
5448 if test "$enableval" = yes; then
5449 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5451 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5456 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x
; then
5458 eval "DEFAULT_$LINE"
5463 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5467 eval "$ac_cv_use_exceptions"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_EXCEPTIONS" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5485 # Check whether --enable-ffile or --disable-ffile was given.
5486 if test "${enable_ffile+set}" = set; then
5487 enableval
="$enable_ffile"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5492 ac_cv_use_ffile
='wxUSE_FFILE=no'
5497 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x
; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5508 eval "$ac_cv_use_ffile"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5513 if test "$wxUSE_FFILE" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5526 # Check whether --enable-file or --disable-file was given.
5527 if test "${enable_file+set}" = set; then
5528 enableval
="$enable_file"
5530 if test "$enableval" = yes; then
5531 ac_cv_use_file
='wxUSE_FILE=yes'
5533 ac_cv_use_file
='wxUSE_FILE=no'
5538 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x
; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5549 eval "$ac_cv_use_file"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_FILE" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5567 # Check whether --enable-filesystem or --disable-filesystem was given.
5568 if test "${enable_filesystem+set}" = set; then
5569 enableval
="$enable_filesystem"
5571 if test "$enableval" = yes; then
5572 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5574 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5579 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x
; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5590 eval "$ac_cv_use_filesystem"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5595 if test "$wxUSE_FILESYSTEM" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5608 # Check whether --enable-fontmap or --disable-fontmap was given.
5609 if test "${enable_fontmap+set}" = set; then
5610 enableval
="$enable_fontmap"
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5615 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5620 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x
; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5631 eval "$ac_cv_use_fontmap"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_FONTMAP" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5649 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5650 if test "${enable_fs_archive+set}" = set; then
5651 enableval
="$enable_fs_archive"
5653 if test "$enableval" = yes; then
5654 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
5656 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
5661 LINE
=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x
; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5672 eval "$ac_cv_use_fs_archive"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5677 if test "$wxUSE_FS_ARCHIVE" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5690 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5691 if test "${enable_fs_inet+set}" = set; then
5692 enableval
="$enable_fs_inet"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5697 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5702 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x
; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5713 eval "$ac_cv_use_fs_inet"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5718 if test "$wxUSE_FS_INET" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5731 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5732 if test "${enable_fs_zip+set}" = set; then
5733 enableval
="$enable_fs_zip"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5738 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5743 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x
; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5754 eval "$ac_cv_use_fs_zip"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_FS_ZIP" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5772 # Check whether --enable-geometry or --disable-geometry was given.
5773 if test "${enable_geometry+set}" = set; then
5774 enableval
="$enable_geometry"
5776 if test "$enableval" = yes; then
5777 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5779 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5784 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x
; then
5786 eval "DEFAULT_$LINE"
5791 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5795 eval "$ac_cv_use_geometry"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5800 if test "$wxUSE_GEOMETRY" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5813 # Check whether --enable-log or --disable-log was given.
5814 if test "${enable_log+set}" = set; then
5815 enableval
="$enable_log"
5817 if test "$enableval" = yes; then
5818 ac_cv_use_log
='wxUSE_LOG=yes'
5820 ac_cv_use_log
='wxUSE_LOG=no'
5825 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x
; then
5827 eval "DEFAULT_$LINE"
5832 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5836 eval "$ac_cv_use_log"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5841 if test "$wxUSE_LOG" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5854 # Check whether --enable-longlong or --disable-longlong was given.
5855 if test "${enable_longlong+set}" = set; then
5856 enableval
="$enable_longlong"
5858 if test "$enableval" = yes; then
5859 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5861 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5866 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x
; then
5868 eval "DEFAULT_$LINE"
5873 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5877 eval "$ac_cv_use_longlong"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_LONGLONG" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5895 # Check whether --enable-mimetype or --disable-mimetype was given.
5896 if test "${enable_mimetype+set}" = set; then
5897 enableval
="$enable_mimetype"
5899 if test "$enableval" = yes; then
5900 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5902 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5907 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x
; then
5909 eval "DEFAULT_$LINE"
5914 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5918 eval "$ac_cv_use_mimetype"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5923 if test "$wxUSE_MIMETYPE" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5936 # Check whether --enable-mslu or --disable-mslu was given.
5937 if test "${enable_mslu+set}" = set; then
5938 enableval
="$enable_mslu"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5943 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5948 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x
; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5959 eval "$ac_cv_use_mslu"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5964 if test "$wxUSE_UNICODE_MSLU" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5977 # Check whether --enable-snglinst or --disable-snglinst was given.
5978 if test "${enable_snglinst+set}" = set; then
5979 enableval
="$enable_snglinst"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5984 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5989 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x
; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6000 eval "$ac_cv_use_snglinst"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6018 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6019 if test "${enable_std_iostreams+set}" = set; then
6020 enableval
="$enable_std_iostreams"
6022 if test "$enableval" = yes; then
6023 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
6025 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
6030 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x
; then
6032 eval "DEFAULT_$LINE"
6037 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6041 eval "$ac_cv_use_std_iostreams"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6046 if test "$wxUSE_STD_IOSTREAM" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6059 # Check whether --enable-std_string or --disable-std_string was given.
6060 if test "${enable_std_string+set}" = set; then
6061 enableval
="$enable_std_string"
6063 if test "$enableval" = yes; then
6064 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6066 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6071 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x
; then
6073 eval "DEFAULT_$LINE"
6078 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6082 eval "$ac_cv_use_std_string"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6087 if test "$wxUSE_STD_STRING" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6100 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6101 if test "${enable_stdpaths+set}" = set; then
6102 enableval
="$enable_stdpaths"
6104 if test "$enableval" = yes; then
6105 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6107 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6112 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x
; then
6114 eval "DEFAULT_$LINE"
6119 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6123 eval "$ac_cv_use_stdpaths"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6128 if test "$wxUSE_STDPATHS" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6141 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6142 if test "${enable_stopwatch+set}" = set; then
6143 enableval
="$enable_stopwatch"
6145 if test "$enableval" = yes; then
6146 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6148 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6153 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x
; then
6155 eval "DEFAULT_$LINE"
6160 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6164 eval "$ac_cv_use_stopwatch"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6169 if test "$wxUSE_STOPWATCH" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6182 # Check whether --enable-streams or --disable-streams was given.
6183 if test "${enable_streams+set}" = set; then
6184 enableval
="$enable_streams"
6186 if test "$enableval" = yes; then
6187 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6189 ac_cv_use_streams
='wxUSE_STREAMS=no'
6194 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x
; then
6196 eval "DEFAULT_$LINE"
6201 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6205 eval "$ac_cv_use_streams"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6210 if test "$wxUSE_STREAMS" = yes; then
6211 echo "$as_me:$LINENO: result: yes" >&5
6212 echo "${ECHO_T}yes" >&6
6214 echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6
6220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6223 # Check whether --enable-system_options or --disable-system_options was given.
6224 if test "${enable_system_options+set}" = set; then
6225 enableval
="$enable_system_options"
6227 if test "$enableval" = yes; then
6228 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6230 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6235 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x
; then
6237 eval "DEFAULT_$LINE"
6242 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6246 eval "$ac_cv_use_system_options"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6251 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6252 echo "$as_me:$LINENO: result: yes" >&5
6253 echo "${ECHO_T}yes" >&6
6255 echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6
6261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6262 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6264 # Check whether --enable-tarstream or --disable-tarstream was given.
6265 if test "${enable_tarstream+set}" = set; then
6266 enableval
="$enable_tarstream"
6268 if test "$enableval" = yes; then
6269 ac_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
6271 ac_cv_use_tarstream
='wxUSE_TARSTREAM=no'
6276 LINE
=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6277 if test "x$LINE" != x
; then
6278 eval "DEFAULT_$LINE"
6283 ac_cv_use_tarstream
='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6287 eval "$ac_cv_use_tarstream"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6292 if test "$wxUSE_TARSTREAM" = yes; then
6293 echo "$as_me:$LINENO: result: yes" >&5
6294 echo "${ECHO_T}yes" >&6
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6305 # Check whether --enable-textbuf or --disable-textbuf was given.
6306 if test "${enable_textbuf+set}" = set; then
6307 enableval
="$enable_textbuf"
6309 if test "$enableval" = yes; then
6310 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6312 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6317 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x
; then
6319 eval "DEFAULT_$LINE"
6324 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6328 eval "$ac_cv_use_textbuf"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6333 if test "$wxUSE_TEXTBUFFER" = yes; then
6334 echo "$as_me:$LINENO: result: yes" >&5
6335 echo "${ECHO_T}yes" >&6
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6346 # Check whether --enable-textfile or --disable-textfile was given.
6347 if test "${enable_textfile+set}" = set; then
6348 enableval
="$enable_textfile"
6350 if test "$enableval" = yes; then
6351 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6353 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6358 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x
; then
6360 eval "DEFAULT_$LINE"
6365 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6369 eval "$ac_cv_use_textfile"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_TEXTFILE" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6387 # Check whether --enable-timer or --disable-timer was given.
6388 if test "${enable_timer+set}" = set; then
6389 enableval
="$enable_timer"
6391 if test "$enableval" = yes; then
6392 ac_cv_use_timer
='wxUSE_TIMER=yes'
6394 ac_cv_use_timer
='wxUSE_TIMER=no'
6399 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x
; then
6401 eval "DEFAULT_$LINE"
6406 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6410 eval "$ac_cv_use_timer"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6415 if test "$wxUSE_TIMER" = yes; then
6416 echo "$as_me:$LINENO: result: yes" >&5
6417 echo "${ECHO_T}yes" >&6
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6428 # Check whether --enable-unicode or --disable-unicode was given.
6429 if test "${enable_unicode+set}" = set; then
6430 enableval
="$enable_unicode"
6432 if test "$enableval" = yes; then
6433 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6435 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6440 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x
; then
6442 eval "DEFAULT_$LINE"
6447 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6451 eval "$ac_cv_use_unicode"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6456 if test "$wxUSE_UNICODE" = yes; then
6457 echo "$as_me:$LINENO: result: yes" >&5
6458 echo "${ECHO_T}yes" >&6
6460 echo "$as_me:$LINENO: result: no" >&5
6461 echo "${ECHO_T}no" >&6
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6469 # Check whether --enable-sound or --disable-sound was given.
6470 if test "${enable_sound+set}" = set; then
6471 enableval
="$enable_sound"
6473 if test "$enableval" = yes; then
6474 ac_cv_use_sound
='wxUSE_SOUND=yes'
6476 ac_cv_use_sound
='wxUSE_SOUND=no'
6481 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x
; then
6483 eval "DEFAULT_$LINE"
6488 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6492 eval "$ac_cv_use_sound"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_SOUND" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6510 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6511 if test "${enable_mediactrl+set}" = set; then
6512 enableval
="$enable_mediactrl"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6517 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6522 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x
; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6533 eval "$ac_cv_use_mediactrl"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_MEDIACTRL" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6551 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6552 if test "${enable_gstreamer8+set}" = set; then
6553 enableval
="$enable_gstreamer8"
6555 if test "$enableval" = yes; then
6556 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6558 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6563 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x
; then
6565 eval "DEFAULT_$LINE"
6570 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6574 eval "$ac_cv_use_gstreamer8"
6575 if test "$no_cache" != 1; then
6576 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6579 if test "$wxUSE_GSTREAMER8" = yes; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6583 echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6
6589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6590 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6592 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6593 if test "${enable_printfposparam+set}" = set; then
6594 enableval
="$enable_printfposparam"
6596 if test "$enableval" = yes; then
6597 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6599 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6604 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6605 if test "x$LINE" != x
; then
6606 eval "DEFAULT_$LINE"
6611 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6615 eval "$ac_cv_use_printfposparam"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6620 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6621 echo "$as_me:$LINENO: result: yes" >&5
6622 echo "${ECHO_T}yes" >&6
6624 echo "$as_me:$LINENO: result: no" >&5
6625 echo "${ECHO_T}no" >&6
6630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6633 # Check whether --enable-zipstream or --disable-zipstream was given.
6634 if test "${enable_zipstream+set}" = set; then
6635 enableval
="$enable_zipstream"
6637 if test "$enableval" = yes; then
6638 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6640 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6645 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x
; then
6647 eval "DEFAULT_$LINE"
6652 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6656 eval "$ac_cv_use_zipstream"
6657 if test "$no_cache" != 1; then
6658 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6661 if test "$wxUSE_ZIPSTREAM" = yes; then
6662 echo "$as_me:$LINENO: result: yes" >&5
6663 echo "${ECHO_T}yes" >&6
6665 echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6675 # Check whether --enable-url or --disable-url was given.
6676 if test "${enable_url+set}" = set; then
6677 enableval
="$enable_url"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_url
='wxUSE_URL=yes'
6682 ac_cv_use_url
='wxUSE_URL=no'
6687 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6698 eval "$ac_cv_use_url"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_URL" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6716 # Check whether --enable-variant or --disable-variant was given.
6717 if test "${enable_variant+set}" = set; then
6718 enableval
="$enable_variant"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6723 ac_cv_use_variant
='wxUSE_VARIANT=no'
6728 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6739 eval "$ac_cv_use_variant"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_VARIANT" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6757 # Check whether --enable-protocol or --disable-protocol was given.
6758 if test "${enable_protocol+set}" = set; then
6759 enableval
="$enable_protocol"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6764 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6769 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6780 eval "$ac_cv_use_protocol"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_PROTOCOL" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6798 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6799 if test "${enable_protocol_http+set}" = set; then
6800 enableval
="$enable_protocol_http"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6805 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6810 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6821 eval "$ac_cv_use_protocol_http"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6826 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6839 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6840 if test "${enable_protocol_ftp+set}" = set; then
6841 enableval
="$enable_protocol_ftp"
6843 if test "$enableval" = yes; then
6844 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6846 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6851 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x
; then
6853 eval "DEFAULT_$LINE"
6858 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6862 eval "$ac_cv_use_protocol_ftp"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6880 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6881 if test "${enable_protocol_file+set}" = set; then
6882 enableval
="$enable_protocol_file"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6887 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6892 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6903 eval "$ac_cv_use_protocol_file"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6924 # Check whether --enable-threads or --disable-threads was given.
6925 if test "${enable_threads+set}" = set; then
6926 enableval
="$enable_threads"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_threads
='wxUSE_THREADS=yes'
6931 ac_cv_use_threads
='wxUSE_THREADS=no'
6936 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6947 eval "$ac_cv_use_threads"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_THREADS" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6961 if test "$wxUSE_GUI" = "yes"; then
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6969 # Check whether --enable-docview or --disable-docview was given.
6970 if test "${enable_docview+set}" = set; then
6971 enableval
="$enable_docview"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6976 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6981 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6992 eval "$ac_cv_use_docview"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7010 # Check whether --enable-help or --disable-help was given.
7011 if test "${enable_help+set}" = set; then
7012 enableval
="$enable_help"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_help
='wxUSE_HELP=yes'
7017 ac_cv_use_help
='wxUSE_HELP=no'
7022 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7033 eval "$ac_cv_use_help"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_HELP" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7051 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7052 if test "${enable_mshtmlhelp+set}" = set; then
7053 enableval
="$enable_mshtmlhelp"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
7058 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
7063 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7074 eval "$ac_cv_use_mshtmlhelp"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_MS_HTML_HELP" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7092 # Check whether --enable-html or --disable-html was given.
7093 if test "${enable_html+set}" = set; then
7094 enableval
="$enable_html"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_html
='wxUSE_HTML=yes'
7099 ac_cv_use_html
='wxUSE_HTML=no'
7104 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7115 eval "$ac_cv_use_html"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_HTML" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7133 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7134 if test "${enable_htmlhelp+set}" = set; then
7135 enableval
="$enable_htmlhelp"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7140 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7145 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7156 eval "$ac_cv_use_htmlhelp"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_WXHTML_HELP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7174 # Check whether --enable-xrc or --disable-xrc was given.
7175 if test "${enable_xrc+set}" = set; then
7176 enableval
="$enable_xrc"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_xrc
='wxUSE_XRC=yes'
7181 ac_cv_use_xrc
='wxUSE_XRC=no'
7186 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7197 eval "$ac_cv_use_xrc"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_XRC" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7215 # Check whether --enable-aui or --disable-aui was given.
7216 if test "${enable_aui+set}" = set; then
7217 enableval
="$enable_aui"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_aui
='wxUSE_AUI=yes'
7222 ac_cv_use_aui
='wxUSE_AUI=no'
7227 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x
; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7238 eval "$ac_cv_use_aui"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_AUI" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7256 # Check whether --enable-constraints or --disable-constraints was given.
7257 if test "${enable_constraints+set}" = set; then
7258 enableval
="$enable_constraints"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7263 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7268 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7279 eval "$ac_cv_use_constraints"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_CONSTRAINTS" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7297 # Check whether --enable-printarch or --disable-printarch was given.
7298 if test "${enable_printarch+set}" = set; then
7299 enableval
="$enable_printarch"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7304 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7309 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7320 eval "$ac_cv_use_printarch"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7338 # Check whether --enable-mdi or --disable-mdi was given.
7339 if test "${enable_mdi+set}" = set; then
7340 enableval
="$enable_mdi"
7342 if test "$enableval" = yes; then
7343 ac_cv_use_mdi
='wxUSE_MDI=yes'
7345 ac_cv_use_mdi
='wxUSE_MDI=no'
7350 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x
; then
7352 eval "DEFAULT_$LINE"
7357 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7361 eval "$ac_cv_use_mdi"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_MDI" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7379 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7380 if test "${enable_mdidoc+set}" = set; then
7381 enableval
="$enable_mdidoc"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7386 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7391 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x
; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7402 eval "$ac_cv_use_mdidoc"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7420 # Check whether --enable-loggui or --disable-loggui was given.
7421 if test "${enable_loggui+set}" = set; then
7422 enableval
="$enable_loggui"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7427 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7432 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x
; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7443 eval "$ac_cv_use_loggui"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7448 if test "$wxUSE_LOGGUI" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7461 # Check whether --enable-logwin or --disable-logwin was given.
7462 if test "${enable_logwin+set}" = set; then
7463 enableval
="$enable_logwin"
7465 if test "$enableval" = yes; then
7466 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7468 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7473 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x
; then
7475 eval "DEFAULT_$LINE"
7480 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7484 eval "$ac_cv_use_logwin"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7489 if test "$wxUSE_LOGWINDOW" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7502 # Check whether --enable-logdialog or --disable-logdialog was given.
7503 if test "${enable_logdialog+set}" = set; then
7504 enableval
="$enable_logdialog"
7506 if test "$enableval" = yes; then
7507 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7509 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7514 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x
; then
7516 eval "DEFAULT_$LINE"
7521 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7525 eval "$ac_cv_use_logdialog"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7530 if test "$wxUSE_LOGDIALOG" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7543 # Check whether --enable-webkit or --disable-webkit was given.
7544 if test "${enable_webkit+set}" = set; then
7545 enableval
="$enable_webkit"
7547 if test "$enableval" = yes; then
7548 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7550 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7555 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x
; then
7557 eval "DEFAULT_$LINE"
7562 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7566 eval "$ac_cv_use_webkit"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_WEBKIT" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7584 # Check whether --enable-html or --disable-html was given.
7585 if test "${enable_html+set}" = set; then
7586 enableval
="$enable_html"
7588 if test "$enableval" = yes; then
7589 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7591 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7596 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x
; then
7598 eval "DEFAULT_$LINE"
7603 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7607 eval "$ac_cv_use_html"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_RICHTEXT" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7625 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7626 if test "${enable_graphics_ctx+set}" = set; then
7627 enableval
="$enable_graphics_ctx"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7632 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7637 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x
; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7648 eval "$ac_cv_use_graphics_ctx"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7653 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7667 # Check whether --enable-postscript or --disable-postscript was given.
7668 if test "${enable_postscript+set}" = set; then
7669 enableval
="$enable_postscript"
7671 if test "$enableval" = yes; then
7672 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7674 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7679 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7680 if test "x$LINE" != x
; then
7681 eval "DEFAULT_$LINE"
7686 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7690 eval "$ac_cv_use_postscript"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7695 if test "$wxUSE_POSTSCRIPT" = yes; then
7696 echo "$as_me:$LINENO: result: yes" >&5
7697 echo "${ECHO_T}yes" >&6
7699 echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7711 # Check whether --enable-prologio or --disable-prologio was given.
7712 if test "${enable_prologio+set}" = set; then
7713 enableval
="$enable_prologio"
7715 if test "$enableval" = yes; then
7716 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7718 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7723 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x
; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7734 eval "$ac_cv_use_prologio"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_PROLOGIO" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7752 # Check whether --enable-resources or --disable-resources was given.
7753 if test "${enable_resources+set}" = set; then
7754 enableval
="$enable_resources"
7756 if test "$enableval" = yes; then
7757 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7759 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7764 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x
; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7775 eval "$ac_cv_use_resources"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_RESOURCES" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7795 # Check whether --enable-clipboard or --disable-clipboard was given.
7796 if test "${enable_clipboard+set}" = set; then
7797 enableval
="$enable_clipboard"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7802 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7807 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7818 eval "$ac_cv_use_clipboard"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_CLIPBOARD" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7836 # Check whether --enable-dnd or --disable-dnd was given.
7837 if test "${enable_dnd+set}" = set; then
7838 enableval
="$enable_dnd"
7840 if test "$enableval" = yes; then
7841 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7843 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7848 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x
; then
7850 eval "DEFAULT_$LINE"
7855 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7859 eval "$ac_cv_use_dnd"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7877 # Check whether --enable-metafile or --disable-metafile was given.
7878 if test "${enable_metafile+set}" = set; then
7879 enableval
="$enable_metafile"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7884 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7889 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x
; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7900 eval "$ac_cv_use_metafile"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_METAFILE" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7921 # Check whether --enable-controls or --disable-controls was given.
7922 if test "${enable_controls+set}" = set; then
7923 enableval
="$enable_controls"
7925 if test "$enableval" = yes; then
7926 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7928 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7933 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x
; then
7935 eval "DEFAULT_$LINE"
7940 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7944 eval "$ac_cv_use_controls"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_CONTROLS" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7958 if test "$wxUSE_CONTROLS" = "yes"; then
7959 DEFAULT_wxUSE_ACCEL
=yes
7960 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7961 DEFAULT_wxUSE_BMPBUTTON
=yes
7962 DEFAULT_wxUSE_BUTTON
=yes
7963 DEFAULT_wxUSE_CALCTRL
=yes
7964 DEFAULT_wxUSE_CARET
=yes
7965 DEFAULT_wxUSE_COMBOBOX
=yes
7966 DEFAULT_wxUSE_CHECKBOX
=yes
7967 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7968 DEFAULT_wxUSE_CHOICE
=yes
7969 DEFAULT_wxUSE_CHOICEBOOK
=yes
7970 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7971 DEFAULT_wxUSE_COMBOBOX
=yes
7972 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7973 DEFAULT_wxUSE_DISPLAY
=yes
7974 DEFAULT_wxUSE_DETECT_SM
=yes
7975 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7976 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7977 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7978 DEFAULT_wxUSE_GAUGE
=yes
7979 DEFAULT_wxUSE_GRID
=yes
7980 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7981 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7982 DEFAULT_wxUSE_IMAGLIST
=yes
7983 DEFAULT_wxUSE_LISTBOOK
=yes
7984 DEFAULT_wxUSE_LISTBOX
=yes
7985 DEFAULT_wxUSE_LISTCTRL
=yes
7986 DEFAULT_wxUSE_NOTEBOOK
=yes
7987 DEFAULT_wxUSE_RADIOBOX
=yes
7988 DEFAULT_wxUSE_RADIOBTN
=yes
7989 DEFAULT_wxUSE_SASH
=yes
7990 DEFAULT_wxUSE_SCROLLBAR
=yes
7991 DEFAULT_wxUSE_SLIDER
=yes
7992 DEFAULT_wxUSE_SPINBTN
=yes
7993 DEFAULT_wxUSE_SPINCTRL
=yes
7994 DEFAULT_wxUSE_SPLITTER
=yes
7995 DEFAULT_wxUSE_STATBMP
=yes
7996 DEFAULT_wxUSE_STATBOX
=yes
7997 DEFAULT_wxUSE_STATLINE
=yes
7998 DEFAULT_wxUSE_STATUSBAR
=yes
7999 DEFAULT_wxUSE_TAB_DIALOG
=yes
8000 DEFAULT_wxUSE_TOGGLEBTN
=yes
8001 DEFAULT_wxUSE_TOOLBAR
=yes
8002 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
8003 DEFAULT_wxUSE_TOOLTIPS
=yes
8004 DEFAULT_wxUSE_TREEBOOK
=yes
8005 DEFAULT_wxUSE_TOOLBOOK
=yes
8006 DEFAULT_wxUSE_TREECTRL
=yes
8007 DEFAULT_wxUSE_POPUPWIN
=yes
8008 DEFAULT_wxUSE_TIPWINDOW
=yes
8009 elif test "$wxUSE_CONTROLS" = "no"; then
8010 DEFAULT_wxUSE_ACCEL
=no
8011 DEFAULT_wxUSE_ANIMATIONCTRL
=no
8012 DEFAULT_wxUSE_BMPBUTTON
=no
8013 DEFAULT_wxUSE_BUTTON
=no
8014 DEFAULT_wxUSE_CALCTRL
=no
8015 DEFAULT_wxUSE_CARET
=no
8016 DEFAULT_wxUSE_COMBOBOX
=no
8017 DEFAULT_wxUSE_CHECKBOX
=no
8018 DEFAULT_wxUSE_CHECKLISTBOX
=no
8019 DEFAULT_wxUSE_CHOICE
=no
8020 DEFAULT_wxUSE_CHOICEBOOK
=no
8021 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
8022 DEFAULT_wxUSE_COMBOBOX
=no
8023 DEFAULT_wxUSE_DATEPICKCTRL
=no
8024 DEFAULT_wxUSE_DISPLAY
=no
8025 DEFAULT_wxUSE_DETECT_SM
=no
8026 DEFAULT_wxUSE_DIRPICKERCTRL
=no
8027 DEFAULT_wxUSE_FILEPICKERCTRL
=no
8028 DEFAULT_wxUSE_FONTPICKERCTRL
=no
8029 DEFAULT_wxUSE_GAUGE
=no
8030 DEFAULT_wxUSE_GRID
=no
8031 DEFAULT_wxUSE_HYPERLINKCTRL
=no
8032 DEFAULT_wxUSE_DATAVIEWCTRL
=no
8033 DEFAULT_wxUSE_IMAGLIST
=no
8034 DEFAULT_wxUSE_LISTBOOK
=no
8035 DEFAULT_wxUSE_LISTBOX
=no
8036 DEFAULT_wxUSE_LISTCTRL
=no
8037 DEFAULT_wxUSE_NOTEBOOK
=no
8038 DEFAULT_wxUSE_RADIOBOX
=no
8039 DEFAULT_wxUSE_RADIOBTN
=no
8040 DEFAULT_wxUSE_SASH
=no
8041 DEFAULT_wxUSE_SCROLLBAR
=no
8042 DEFAULT_wxUSE_SLIDER
=no
8043 DEFAULT_wxUSE_SPINBTN
=no
8044 DEFAULT_wxUSE_SPINCTRL
=no
8045 DEFAULT_wxUSE_SPLITTER
=no
8046 DEFAULT_wxUSE_STATBMP
=no
8047 DEFAULT_wxUSE_STATBOX
=no
8048 DEFAULT_wxUSE_STATLINE
=no
8049 DEFAULT_wxUSE_STATUSBAR
=no
8050 DEFAULT_wxUSE_TAB_DIALOG
=no
8051 DEFAULT_wxUSE_TOGGLEBTN
=no
8052 DEFAULT_wxUSE_TOOLBAR
=no
8053 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
8054 DEFAULT_wxUSE_TOOLTIPS
=no
8055 DEFAULT_wxUSE_TREEBOOK
=no
8056 DEFAULT_wxUSE_TOOLBOOK
=no
8057 DEFAULT_wxUSE_TREECTRL
=no
8058 DEFAULT_wxUSE_POPUPWIN
=no
8059 DEFAULT_wxUSE_TIPWINDOW
=no
8064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8065 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8067 # Check whether --enable-accel or --disable-accel was given.
8068 if test "${enable_accel+set}" = set; then
8069 enableval
="$enable_accel"
8071 if test "$enableval" = yes; then
8072 ac_cv_use_accel
='wxUSE_ACCEL=yes'
8074 ac_cv_use_accel
='wxUSE_ACCEL=no'
8079 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8080 if test "x$LINE" != x
; then
8081 eval "DEFAULT_$LINE"
8086 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8090 eval "$ac_cv_use_accel"
8091 if test "$no_cache" != 1; then
8092 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8095 if test "$wxUSE_ACCEL" = yes; then
8096 echo "$as_me:$LINENO: result: yes" >&5
8097 echo "${ECHO_T}yes" >&6
8099 echo "$as_me:$LINENO: result: no" >&5
8100 echo "${ECHO_T}no" >&6
8105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8106 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8108 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8109 if test "${enable_animatectrl+set}" = set; then
8110 enableval
="$enable_animatectrl"
8112 if test "$enableval" = yes; then
8113 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8115 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8120 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8121 if test "x$LINE" != x
; then
8122 eval "DEFAULT_$LINE"
8127 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8131 eval "$ac_cv_use_animatectrl"
8132 if test "$no_cache" != 1; then
8133 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8136 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8137 echo "$as_me:$LINENO: result: yes" >&5
8138 echo "${ECHO_T}yes" >&6
8140 echo "$as_me:$LINENO: result: no" >&5
8141 echo "${ECHO_T}no" >&6
8146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8149 # Check whether --enable-button or --disable-button was given.
8150 if test "${enable_button+set}" = set; then
8151 enableval
="$enable_button"
8153 if test "$enableval" = yes; then
8154 ac_cv_use_button
='wxUSE_BUTTON=yes'
8156 ac_cv_use_button
='wxUSE_BUTTON=no'
8161 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8162 if test "x$LINE" != x
; then
8163 eval "DEFAULT_$LINE"
8168 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8172 eval "$ac_cv_use_button"
8173 if test "$no_cache" != 1; then
8174 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8177 if test "$wxUSE_BUTTON" = yes; then
8178 echo "$as_me:$LINENO: result: yes" >&5
8179 echo "${ECHO_T}yes" >&6
8181 echo "$as_me:$LINENO: result: no" >&5
8182 echo "${ECHO_T}no" >&6
8187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8190 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8191 if test "${enable_bmpbutton+set}" = set; then
8192 enableval
="$enable_bmpbutton"
8194 if test "$enableval" = yes; then
8195 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8197 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8202 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8203 if test "x$LINE" != x
; then
8204 eval "DEFAULT_$LINE"
8209 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8213 eval "$ac_cv_use_bmpbutton"
8214 if test "$no_cache" != 1; then
8215 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8218 if test "$wxUSE_BMPBUTTON" = yes; then
8219 echo "$as_me:$LINENO: result: yes" >&5
8220 echo "${ECHO_T}yes" >&6
8222 echo "$as_me:$LINENO: result: no" >&5
8223 echo "${ECHO_T}no" >&6
8228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8229 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8231 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8232 if test "${enable_bmpcombobox+set}" = set; then
8233 enableval
="$enable_bmpcombobox"
8235 if test "$enableval" = yes; then
8236 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8238 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8243 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8244 if test "x$LINE" != x
; then
8245 eval "DEFAULT_$LINE"
8250 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8254 eval "$ac_cv_use_bmpcombobox"
8255 if test "$no_cache" != 1; then
8256 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8259 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8260 echo "$as_me:$LINENO: result: yes" >&5
8261 echo "${ECHO_T}yes" >&6
8263 echo "$as_me:$LINENO: result: no" >&5
8264 echo "${ECHO_T}no" >&6
8269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8270 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8272 # Check whether --enable-calendar or --disable-calendar was given.
8273 if test "${enable_calendar+set}" = set; then
8274 enableval
="$enable_calendar"
8276 if test "$enableval" = yes; then
8277 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8279 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8284 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8285 if test "x$LINE" != x
; then
8286 eval "DEFAULT_$LINE"
8291 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8295 eval "$ac_cv_use_calendar"
8296 if test "$no_cache" != 1; then
8297 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8300 if test "$wxUSE_CALCTRL" = yes; then
8301 echo "$as_me:$LINENO: result: yes" >&5
8302 echo "${ECHO_T}yes" >&6
8304 echo "$as_me:$LINENO: result: no" >&5
8305 echo "${ECHO_T}no" >&6
8310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8313 # Check whether --enable-caret or --disable-caret was given.
8314 if test "${enable_caret+set}" = set; then
8315 enableval
="$enable_caret"
8317 if test "$enableval" = yes; then
8318 ac_cv_use_caret
='wxUSE_CARET=yes'
8320 ac_cv_use_caret
='wxUSE_CARET=no'
8325 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8326 if test "x$LINE" != x
; then
8327 eval "DEFAULT_$LINE"
8332 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8336 eval "$ac_cv_use_caret"
8337 if test "$no_cache" != 1; then
8338 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8341 if test "$wxUSE_CARET" = yes; then
8342 echo "$as_me:$LINENO: result: yes" >&5
8343 echo "${ECHO_T}yes" >&6
8345 echo "$as_me:$LINENO: result: no" >&5
8346 echo "${ECHO_T}no" >&6
8351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8352 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8354 # Check whether --enable-checkbox or --disable-checkbox was given.
8355 if test "${enable_checkbox+set}" = set; then
8356 enableval
="$enable_checkbox"
8358 if test "$enableval" = yes; then
8359 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8361 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8366 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8367 if test "x$LINE" != x
; then
8368 eval "DEFAULT_$LINE"
8373 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8377 eval "$ac_cv_use_checkbox"
8378 if test "$no_cache" != 1; then
8379 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8382 if test "$wxUSE_CHECKBOX" = yes; then
8383 echo "$as_me:$LINENO: result: yes" >&5
8384 echo "${ECHO_T}yes" >&6
8386 echo "$as_me:$LINENO: result: no" >&5
8387 echo "${ECHO_T}no" >&6
8392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8395 # Check whether --enable-checklst or --disable-checklst was given.
8396 if test "${enable_checklst+set}" = set; then
8397 enableval
="$enable_checklst"
8399 if test "$enableval" = yes; then
8400 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8402 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8407 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8408 if test "x$LINE" != x
; then
8409 eval "DEFAULT_$LINE"
8414 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8418 eval "$ac_cv_use_checklst"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8423 if test "$wxUSE_CHECKLST" = yes; then
8424 echo "$as_me:$LINENO: result: yes" >&5
8425 echo "${ECHO_T}yes" >&6
8427 echo "$as_me:$LINENO: result: no" >&5
8428 echo "${ECHO_T}no" >&6
8433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8436 # Check whether --enable-choice or --disable-choice was given.
8437 if test "${enable_choice+set}" = set; then
8438 enableval
="$enable_choice"
8440 if test "$enableval" = yes; then
8441 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8443 ac_cv_use_choice
='wxUSE_CHOICE=no'
8448 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8449 if test "x$LINE" != x
; then
8450 eval "DEFAULT_$LINE"
8455 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8459 eval "$ac_cv_use_choice"
8460 if test "$no_cache" != 1; then
8461 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8464 if test "$wxUSE_CHOICE" = yes; then
8465 echo "$as_me:$LINENO: result: yes" >&5
8466 echo "${ECHO_T}yes" >&6
8468 echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6
8474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8475 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8477 # Check whether --enable-choicebook or --disable-choicebook was given.
8478 if test "${enable_choicebook+set}" = set; then
8479 enableval
="$enable_choicebook"
8481 if test "$enableval" = yes; then
8482 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8484 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8489 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x
; then
8491 eval "DEFAULT_$LINE"
8496 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8500 eval "$ac_cv_use_choicebook"
8501 if test "$no_cache" != 1; then
8502 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8505 if test "$wxUSE_CHOICEBOOK" = yes; then
8506 echo "$as_me:$LINENO: result: yes" >&5
8507 echo "${ECHO_T}yes" >&6
8509 echo "$as_me:$LINENO: result: no" >&5
8510 echo "${ECHO_T}no" >&6
8515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8516 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8518 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8519 if test "${enable_colourpicker+set}" = set; then
8520 enableval
="$enable_colourpicker"
8522 if test "$enableval" = yes; then
8523 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8525 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8530 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8531 if test "x$LINE" != x
; then
8532 eval "DEFAULT_$LINE"
8537 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8541 eval "$ac_cv_use_colourpicker"
8542 if test "$no_cache" != 1; then
8543 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8546 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8547 echo "$as_me:$LINENO: result: yes" >&5
8548 echo "${ECHO_T}yes" >&6
8550 echo "$as_me:$LINENO: result: no" >&5
8551 echo "${ECHO_T}no" >&6
8556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8559 # Check whether --enable-combobox or --disable-combobox was given.
8560 if test "${enable_combobox+set}" = set; then
8561 enableval
="$enable_combobox"
8563 if test "$enableval" = yes; then
8564 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8566 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8571 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8572 if test "x$LINE" != x
; then
8573 eval "DEFAULT_$LINE"
8578 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8582 eval "$ac_cv_use_combobox"
8583 if test "$no_cache" != 1; then
8584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8587 if test "$wxUSE_COMBOBOX" = yes; then
8588 echo "$as_me:$LINENO: result: yes" >&5
8589 echo "${ECHO_T}yes" >&6
8591 echo "$as_me:$LINENO: result: no" >&5
8592 echo "${ECHO_T}no" >&6
8597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8600 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8601 if test "${enable_comboctrl+set}" = set; then
8602 enableval
="$enable_comboctrl"
8604 if test "$enableval" = yes; then
8605 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8607 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8612 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x
; then
8614 eval "DEFAULT_$LINE"
8619 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8623 eval "$ac_cv_use_comboctrl"
8624 if test "$no_cache" != 1; then
8625 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8628 if test "$wxUSE_COMBOCTRL" = yes; then
8629 echo "$as_me:$LINENO: result: yes" >&5
8630 echo "${ECHO_T}yes" >&6
8632 echo "$as_me:$LINENO: result: no" >&5
8633 echo "${ECHO_T}no" >&6
8638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8639 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8641 # Check whether --enable-datepick or --disable-datepick was given.
8642 if test "${enable_datepick+set}" = set; then
8643 enableval
="$enable_datepick"
8645 if test "$enableval" = yes; then
8646 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8648 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8653 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8654 if test "x$LINE" != x
; then
8655 eval "DEFAULT_$LINE"
8660 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8664 eval "$ac_cv_use_datepick"
8665 if test "$no_cache" != 1; then
8666 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8669 if test "$wxUSE_DATEPICKCTRL" = yes; then
8670 echo "$as_me:$LINENO: result: yes" >&5
8671 echo "${ECHO_T}yes" >&6
8673 echo "$as_me:$LINENO: result: no" >&5
8674 echo "${ECHO_T}no" >&6
8679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8682 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8683 if test "${enable_dirpicker+set}" = set; then
8684 enableval
="$enable_dirpicker"
8686 if test "$enableval" = yes; then
8687 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8689 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8694 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8695 if test "x$LINE" != x
; then
8696 eval "DEFAULT_$LINE"
8701 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8705 eval "$ac_cv_use_dirpicker"
8706 if test "$no_cache" != 1; then
8707 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8710 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8711 echo "$as_me:$LINENO: result: yes" >&5
8712 echo "${ECHO_T}yes" >&6
8714 echo "$as_me:$LINENO: result: no" >&5
8715 echo "${ECHO_T}no" >&6
8720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8723 # Check whether --enable-display or --disable-display was given.
8724 if test "${enable_display+set}" = set; then
8725 enableval
="$enable_display"
8727 if test "$enableval" = yes; then
8728 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8730 ac_cv_use_display
='wxUSE_DISPLAY=no'
8735 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8736 if test "x$LINE" != x
; then
8737 eval "DEFAULT_$LINE"
8742 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8746 eval "$ac_cv_use_display"
8747 if test "$no_cache" != 1; then
8748 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8751 if test "$wxUSE_DISPLAY" = yes; then
8752 echo "$as_me:$LINENO: result: yes" >&5
8753 echo "${ECHO_T}yes" >&6
8755 echo "$as_me:$LINENO: result: no" >&5
8756 echo "${ECHO_T}no" >&6
8761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8764 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8765 if test "${enable_detect_sm+set}" = set; then
8766 enableval
="$enable_detect_sm"
8768 if test "$enableval" = yes; then
8769 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8771 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8776 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8777 if test "x$LINE" != x
; then
8778 eval "DEFAULT_$LINE"
8783 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8787 eval "$ac_cv_use_detect_sm"
8788 if test "$no_cache" != 1; then
8789 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8792 if test "$wxUSE_DETECT_SM" = yes; then
8793 echo "$as_me:$LINENO: result: yes" >&5
8794 echo "${ECHO_T}yes" >&6
8796 echo "$as_me:$LINENO: result: no" >&5
8797 echo "${ECHO_T}no" >&6
8802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8805 # Check whether --enable-filepicker or --disable-filepicker was given.
8806 if test "${enable_filepicker+set}" = set; then
8807 enableval
="$enable_filepicker"
8809 if test "$enableval" = yes; then
8810 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8812 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8817 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8818 if test "x$LINE" != x
; then
8819 eval "DEFAULT_$LINE"
8824 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8828 eval "$ac_cv_use_filepicker"
8829 if test "$no_cache" != 1; then
8830 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8833 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8834 echo "$as_me:$LINENO: result: yes" >&5
8835 echo "${ECHO_T}yes" >&6
8837 echo "$as_me:$LINENO: result: no" >&5
8838 echo "${ECHO_T}no" >&6
8843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8846 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8847 if test "${enable_fontpicker+set}" = set; then
8848 enableval
="$enable_fontpicker"
8850 if test "$enableval" = yes; then
8851 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8853 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8858 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8859 if test "x$LINE" != x
; then
8860 eval "DEFAULT_$LINE"
8865 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8869 eval "$ac_cv_use_fontpicker"
8870 if test "$no_cache" != 1; then
8871 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8874 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8875 echo "$as_me:$LINENO: result: yes" >&5
8876 echo "${ECHO_T}yes" >&6
8878 echo "$as_me:$LINENO: result: no" >&5
8879 echo "${ECHO_T}no" >&6
8884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8885 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8887 # Check whether --enable-gauge or --disable-gauge was given.
8888 if test "${enable_gauge+set}" = set; then
8889 enableval
="$enable_gauge"
8891 if test "$enableval" = yes; then
8892 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8894 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8899 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8900 if test "x$LINE" != x
; then
8901 eval "DEFAULT_$LINE"
8906 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8910 eval "$ac_cv_use_gauge"
8911 if test "$no_cache" != 1; then
8912 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8915 if test "$wxUSE_GAUGE" = yes; then
8916 echo "$as_me:$LINENO: result: yes" >&5
8917 echo "${ECHO_T}yes" >&6
8919 echo "$as_me:$LINENO: result: no" >&5
8920 echo "${ECHO_T}no" >&6
8925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8928 # Check whether --enable-grid or --disable-grid was given.
8929 if test "${enable_grid+set}" = set; then
8930 enableval
="$enable_grid"
8932 if test "$enableval" = yes; then
8933 ac_cv_use_grid
='wxUSE_GRID=yes'
8935 ac_cv_use_grid
='wxUSE_GRID=no'
8940 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8941 if test "x$LINE" != x
; then
8942 eval "DEFAULT_$LINE"
8947 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8951 eval "$ac_cv_use_grid"
8952 if test "$no_cache" != 1; then
8953 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8956 if test "$wxUSE_GRID" = yes; then
8957 echo "$as_me:$LINENO: result: yes" >&5
8958 echo "${ECHO_T}yes" >&6
8960 echo "$as_me:$LINENO: result: no" >&5
8961 echo "${ECHO_T}no" >&6
8966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8969 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8970 if test "${enable_dataviewctrl+set}" = set; then
8971 enableval
="$enable_dataviewctrl"
8973 if test "$enableval" = yes; then
8974 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8976 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8981 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8982 if test "x$LINE" != x
; then
8983 eval "DEFAULT_$LINE"
8988 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8992 eval "$ac_cv_use_dataviewctrl"
8993 if test "$no_cache" != 1; then
8994 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8997 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8998 echo "$as_me:$LINENO: result: yes" >&5
8999 echo "${ECHO_T}yes" >&6
9001 echo "$as_me:$LINENO: result: no" >&5
9002 echo "${ECHO_T}no" >&6
9007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9008 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9010 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9011 if test "${enable_hyperlink+set}" = set; then
9012 enableval
="$enable_hyperlink"
9014 if test "$enableval" = yes; then
9015 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
9017 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
9022 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9023 if test "x$LINE" != x
; then
9024 eval "DEFAULT_$LINE"
9029 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9033 eval "$ac_cv_use_hyperlink"
9034 if test "$no_cache" != 1; then
9035 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9038 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9039 echo "$as_me:$LINENO: result: yes" >&5
9040 echo "${ECHO_T}yes" >&6
9042 echo "$as_me:$LINENO: result: no" >&5
9043 echo "${ECHO_T}no" >&6
9048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9051 # Check whether --enable-imaglist or --disable-imaglist was given.
9052 if test "${enable_imaglist+set}" = set; then
9053 enableval
="$enable_imaglist"
9055 if test "$enableval" = yes; then
9056 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
9058 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
9063 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9064 if test "x$LINE" != x
; then
9065 eval "DEFAULT_$LINE"
9070 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9074 eval "$ac_cv_use_imaglist"
9075 if test "$no_cache" != 1; then
9076 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9079 if test "$wxUSE_IMAGLIST" = yes; then
9080 echo "$as_me:$LINENO: result: yes" >&5
9081 echo "${ECHO_T}yes" >&6
9083 echo "$as_me:$LINENO: result: no" >&5
9084 echo "${ECHO_T}no" >&6
9089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9092 # Check whether --enable-listbook or --disable-listbook was given.
9093 if test "${enable_listbook+set}" = set; then
9094 enableval
="$enable_listbook"
9096 if test "$enableval" = yes; then
9097 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9099 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9104 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x
; then
9106 eval "DEFAULT_$LINE"
9111 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9115 eval "$ac_cv_use_listbook"
9116 if test "$no_cache" != 1; then
9117 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9120 if test "$wxUSE_LISTBOOK" = yes; then
9121 echo "$as_me:$LINENO: result: yes" >&5
9122 echo "${ECHO_T}yes" >&6
9124 echo "$as_me:$LINENO: result: no" >&5
9125 echo "${ECHO_T}no" >&6
9130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9131 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9133 # Check whether --enable-listbox or --disable-listbox was given.
9134 if test "${enable_listbox+set}" = set; then
9135 enableval
="$enable_listbox"
9137 if test "$enableval" = yes; then
9138 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9140 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9145 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x
; then
9147 eval "DEFAULT_$LINE"
9152 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9156 eval "$ac_cv_use_listbox"
9157 if test "$no_cache" != 1; then
9158 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9161 if test "$wxUSE_LISTBOX" = yes; then
9162 echo "$as_me:$LINENO: result: yes" >&5
9163 echo "${ECHO_T}yes" >&6
9165 echo "$as_me:$LINENO: result: no" >&5
9166 echo "${ECHO_T}no" >&6
9171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9172 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9174 # Check whether --enable-listctrl or --disable-listctrl was given.
9175 if test "${enable_listctrl+set}" = set; then
9176 enableval
="$enable_listctrl"
9178 if test "$enableval" = yes; then
9179 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9181 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9186 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9187 if test "x$LINE" != x
; then
9188 eval "DEFAULT_$LINE"
9193 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9197 eval "$ac_cv_use_listctrl"
9198 if test "$no_cache" != 1; then
9199 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9202 if test "$wxUSE_LISTCTRL" = yes; then
9203 echo "$as_me:$LINENO: result: yes" >&5
9204 echo "${ECHO_T}yes" >&6
9206 echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6
9212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9215 # Check whether --enable-notebook or --disable-notebook was given.
9216 if test "${enable_notebook+set}" = set; then
9217 enableval
="$enable_notebook"
9219 if test "$enableval" = yes; then
9220 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9222 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9227 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9228 if test "x$LINE" != x
; then
9229 eval "DEFAULT_$LINE"
9234 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9238 eval "$ac_cv_use_notebook"
9239 if test "$no_cache" != 1; then
9240 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9243 if test "$wxUSE_NOTEBOOK" = yes; then
9244 echo "$as_me:$LINENO: result: yes" >&5
9245 echo "${ECHO_T}yes" >&6
9247 echo "$as_me:$LINENO: result: no" >&5
9248 echo "${ECHO_T}no" >&6
9253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9256 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9257 if test "${enable_odcombobox+set}" = set; then
9258 enableval
="$enable_odcombobox"
9260 if test "$enableval" = yes; then
9261 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9263 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9268 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x
; then
9270 eval "DEFAULT_$LINE"
9275 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9279 eval "$ac_cv_use_odcombobox"
9280 if test "$no_cache" != 1; then
9281 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9284 if test "$wxUSE_ODCOMBOBOX" = yes; then
9285 echo "$as_me:$LINENO: result: yes" >&5
9286 echo "${ECHO_T}yes" >&6
9288 echo "$as_me:$LINENO: result: no" >&5
9289 echo "${ECHO_T}no" >&6
9294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9297 # Check whether --enable-radiobox or --disable-radiobox was given.
9298 if test "${enable_radiobox+set}" = set; then
9299 enableval
="$enable_radiobox"
9301 if test "$enableval" = yes; then
9302 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9304 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9309 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x
; then
9311 eval "DEFAULT_$LINE"
9316 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9320 eval "$ac_cv_use_radiobox"
9321 if test "$no_cache" != 1; then
9322 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9325 if test "$wxUSE_RADIOBOX" = yes; then
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9338 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9339 if test "${enable_radiobtn+set}" = set; then
9340 enableval
="$enable_radiobtn"
9342 if test "$enableval" = yes; then
9343 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9345 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9350 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x
; then
9352 eval "DEFAULT_$LINE"
9357 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9361 eval "$ac_cv_use_radiobtn"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9366 if test "$wxUSE_RADIOBTN" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9379 # Check whether --enable-sash or --disable-sash was given.
9380 if test "${enable_sash+set}" = set; then
9381 enableval
="$enable_sash"
9383 if test "$enableval" = yes; then
9384 ac_cv_use_sash
='wxUSE_SASH=yes'
9386 ac_cv_use_sash
='wxUSE_SASH=no'
9391 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x
; then
9393 eval "DEFAULT_$LINE"
9398 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9402 eval "$ac_cv_use_sash"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9407 if test "$wxUSE_SASH" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9420 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9421 if test "${enable_scrollbar+set}" = set; then
9422 enableval
="$enable_scrollbar"
9424 if test "$enableval" = yes; then
9425 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9427 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9432 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x
; then
9434 eval "DEFAULT_$LINE"
9439 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9443 eval "$ac_cv_use_scrollbar"
9444 if test "$no_cache" != 1; then
9445 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9448 if test "$wxUSE_SCROLLBAR" = yes; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9459 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9461 # Check whether --enable-slider or --disable-slider was given.
9462 if test "${enable_slider+set}" = set; then
9463 enableval
="$enable_slider"
9465 if test "$enableval" = yes; then
9466 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9468 ac_cv_use_slider
='wxUSE_SLIDER=no'
9473 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x
; then
9475 eval "DEFAULT_$LINE"
9480 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9484 eval "$ac_cv_use_slider"
9485 if test "$no_cache" != 1; then
9486 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9489 if test "$wxUSE_SLIDER" = yes; then
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9493 echo "$as_me:$LINENO: result: no" >&5
9494 echo "${ECHO_T}no" >&6
9499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9502 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9503 if test "${enable_spinbtn+set}" = set; then
9504 enableval
="$enable_spinbtn"
9506 if test "$enableval" = yes; then
9507 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9509 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9514 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x
; then
9516 eval "DEFAULT_$LINE"
9521 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9525 eval "$ac_cv_use_spinbtn"
9526 if test "$no_cache" != 1; then
9527 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9530 if test "$wxUSE_SPINBTN" = yes; then
9531 echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9543 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9544 if test "${enable_spinctrl+set}" = set; then
9545 enableval
="$enable_spinctrl"
9547 if test "$enableval" = yes; then
9548 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9550 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9555 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x
; then
9557 eval "DEFAULT_$LINE"
9562 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9566 eval "$ac_cv_use_spinctrl"
9567 if test "$no_cache" != 1; then
9568 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9571 if test "$wxUSE_SPINCTRL" = yes; then
9572 echo "$as_me:$LINENO: result: yes" >&5
9573 echo "${ECHO_T}yes" >&6
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9584 # Check whether --enable-splitter or --disable-splitter was given.
9585 if test "${enable_splitter+set}" = set; then
9586 enableval
="$enable_splitter"
9588 if test "$enableval" = yes; then
9589 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9591 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9596 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x
; then
9598 eval "DEFAULT_$LINE"
9603 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9607 eval "$ac_cv_use_splitter"
9608 if test "$no_cache" != 1; then
9609 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9612 if test "$wxUSE_SPLITTER" = yes; then
9613 echo "$as_me:$LINENO: result: yes" >&5
9614 echo "${ECHO_T}yes" >&6
9616 echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6
9622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9625 # Check whether --enable-statbmp or --disable-statbmp was given.
9626 if test "${enable_statbmp+set}" = set; then
9627 enableval
="$enable_statbmp"
9629 if test "$enableval" = yes; then
9630 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9632 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9637 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9638 if test "x$LINE" != x
; then
9639 eval "DEFAULT_$LINE"
9644 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9648 eval "$ac_cv_use_statbmp"
9649 if test "$no_cache" != 1; then
9650 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9653 if test "$wxUSE_STATBMP" = yes; then
9654 echo "$as_me:$LINENO: result: yes" >&5
9655 echo "${ECHO_T}yes" >&6
9657 echo "$as_me:$LINENO: result: no" >&5
9658 echo "${ECHO_T}no" >&6
9663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9666 # Check whether --enable-statbox or --disable-statbox was given.
9667 if test "${enable_statbox+set}" = set; then
9668 enableval
="$enable_statbox"
9670 if test "$enableval" = yes; then
9671 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9673 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9678 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9679 if test "x$LINE" != x
; then
9680 eval "DEFAULT_$LINE"
9685 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9689 eval "$ac_cv_use_statbox"
9690 if test "$no_cache" != 1; then
9691 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9694 if test "$wxUSE_STATBOX" = yes; then
9695 echo "$as_me:$LINENO: result: yes" >&5
9696 echo "${ECHO_T}yes" >&6
9698 echo "$as_me:$LINENO: result: no" >&5
9699 echo "${ECHO_T}no" >&6
9704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9705 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9707 # Check whether --enable-statline or --disable-statline was given.
9708 if test "${enable_statline+set}" = set; then
9709 enableval
="$enable_statline"
9711 if test "$enableval" = yes; then
9712 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9714 ac_cv_use_statline
='wxUSE_STATLINE=no'
9719 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9720 if test "x$LINE" != x
; then
9721 eval "DEFAULT_$LINE"
9726 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9730 eval "$ac_cv_use_statline"
9731 if test "$no_cache" != 1; then
9732 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9735 if test "$wxUSE_STATLINE" = yes; then
9736 echo "$as_me:$LINENO: result: yes" >&5
9737 echo "${ECHO_T}yes" >&6
9739 echo "$as_me:$LINENO: result: no" >&5
9740 echo "${ECHO_T}no" >&6
9745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9748 # Check whether --enable-stattext or --disable-stattext was given.
9749 if test "${enable_stattext+set}" = set; then
9750 enableval
="$enable_stattext"
9752 if test "$enableval" = yes; then
9753 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9755 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9760 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9761 if test "x$LINE" != x
; then
9762 eval "DEFAULT_$LINE"
9767 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9771 eval "$ac_cv_use_stattext"
9772 if test "$no_cache" != 1; then
9773 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9776 if test "$wxUSE_STATTEXT" = yes; then
9777 echo "$as_me:$LINENO: result: yes" >&5
9778 echo "${ECHO_T}yes" >&6
9780 echo "$as_me:$LINENO: result: no" >&5
9781 echo "${ECHO_T}no" >&6
9786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9787 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9789 # Check whether --enable-statusbar or --disable-statusbar was given.
9790 if test "${enable_statusbar+set}" = set; then
9791 enableval
="$enable_statusbar"
9793 if test "$enableval" = yes; then
9794 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9796 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9801 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9802 if test "x$LINE" != x
; then
9803 eval "DEFAULT_$LINE"
9808 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9812 eval "$ac_cv_use_statusbar"
9813 if test "$no_cache" != 1; then
9814 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9817 if test "$wxUSE_STATUSBAR" = yes; then
9818 echo "$as_me:$LINENO: result: yes" >&5
9819 echo "${ECHO_T}yes" >&6
9821 echo "$as_me:$LINENO: result: no" >&5
9822 echo "${ECHO_T}no" >&6
9827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9828 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9830 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9831 if test "${enable_tabdialog+set}" = set; then
9832 enableval
="$enable_tabdialog"
9834 if test "$enableval" = yes; then
9835 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9837 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9842 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9843 if test "x$LINE" != x
; then
9844 eval "DEFAULT_$LINE"
9849 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9853 eval "$ac_cv_use_tabdialog"
9854 if test "$no_cache" != 1; then
9855 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9858 if test "$wxUSE_TAB_DIALOG" = yes; then
9859 echo "$as_me:$LINENO: result: yes" >&5
9860 echo "${ECHO_T}yes" >&6
9862 echo "$as_me:$LINENO: result: no" >&5
9863 echo "${ECHO_T}no" >&6
9868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9869 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9871 # Check whether --enable-textctrl or --disable-textctrl was given.
9872 if test "${enable_textctrl+set}" = set; then
9873 enableval
="$enable_textctrl"
9875 if test "$enableval" = yes; then
9876 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9878 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9883 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9884 if test "x$LINE" != x
; then
9885 eval "DEFAULT_$LINE"
9890 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9894 eval "$ac_cv_use_textctrl"
9895 if test "$no_cache" != 1; then
9896 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9899 if test "$wxUSE_TEXTCTRL" = yes; then
9900 echo "$as_me:$LINENO: result: yes" >&5
9901 echo "${ECHO_T}yes" >&6
9903 echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6
9909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9910 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9912 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9913 if test "${enable_togglebtn+set}" = set; then
9914 enableval
="$enable_togglebtn"
9916 if test "$enableval" = yes; then
9917 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9919 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9924 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9925 if test "x$LINE" != x
; then
9926 eval "DEFAULT_$LINE"
9931 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9935 eval "$ac_cv_use_togglebtn"
9936 if test "$no_cache" != 1; then
9937 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9940 if test "$wxUSE_TOGGLEBTN" = yes; then
9941 echo "$as_me:$LINENO: result: yes" >&5
9942 echo "${ECHO_T}yes" >&6
9944 echo "$as_me:$LINENO: result: no" >&5
9945 echo "${ECHO_T}no" >&6
9950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9953 # Check whether --enable-toolbar or --disable-toolbar was given.
9954 if test "${enable_toolbar+set}" = set; then
9955 enableval
="$enable_toolbar"
9957 if test "$enableval" = yes; then
9958 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9960 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9965 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9966 if test "x$LINE" != x
; then
9967 eval "DEFAULT_$LINE"
9972 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9976 eval "$ac_cv_use_toolbar"
9977 if test "$no_cache" != 1; then
9978 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9981 if test "$wxUSE_TOOLBAR" = yes; then
9982 echo "$as_me:$LINENO: result: yes" >&5
9983 echo "${ECHO_T}yes" >&6
9985 echo "$as_me:$LINENO: result: no" >&5
9986 echo "${ECHO_T}no" >&6
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9994 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9995 if test "${enable_tbarnative+set}" = set; then
9996 enableval
="$enable_tbarnative"
9998 if test "$enableval" = yes; then
9999 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
10001 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
10006 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x
; then
10008 eval "DEFAULT_$LINE"
10013 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10017 eval "$ac_cv_use_tbarnative"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10022 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10035 # Check whether --enable-treebook or --disable-treebook was given.
10036 if test "${enable_treebook+set}" = set; then
10037 enableval
="$enable_treebook"
10039 if test "$enableval" = yes; then
10040 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
10042 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
10047 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x
; then
10049 eval "DEFAULT_$LINE"
10054 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10058 eval "$ac_cv_use_treebook"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10063 if test "$wxUSE_TREEBOOK" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10076 # Check whether --enable-toolbook or --disable-toolbook was given.
10077 if test "${enable_toolbook+set}" = set; then
10078 enableval
="$enable_toolbook"
10080 if test "$enableval" = yes; then
10081 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
10083 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10088 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x
; then
10090 eval "DEFAULT_$LINE"
10095 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10099 eval "$ac_cv_use_toolbook"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10104 if test "$wxUSE_TOOLBOOK" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10117 # Check whether --enable-treectrl or --disable-treectrl was given.
10118 if test "${enable_treectrl+set}" = set; then
10119 enableval
="$enable_treectrl"
10121 if test "$enableval" = yes; then
10122 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10124 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10129 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x
; then
10131 eval "DEFAULT_$LINE"
10136 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10140 eval "$ac_cv_use_treectrl"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10145 if test "$wxUSE_TREECTRL" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10158 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10159 if test "${enable_tipwindow+set}" = set; then
10160 enableval
="$enable_tipwindow"
10162 if test "$enableval" = yes; then
10163 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10165 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10170 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x
; then
10172 eval "DEFAULT_$LINE"
10177 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10181 eval "$ac_cv_use_tipwindow"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10186 if test "$wxUSE_TIPWINDOW" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10199 # Check whether --enable-popupwin or --disable-popupwin was given.
10200 if test "${enable_popupwin+set}" = set; then
10201 enableval
="$enable_popupwin"
10203 if test "$enableval" = yes; then
10204 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10206 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10211 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x
; then
10213 eval "DEFAULT_$LINE"
10218 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10222 eval "$ac_cv_use_popupwin"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10227 if test "$wxUSE_POPUPWIN" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10242 # Check whether --enable-commondlg or --disable-commondlg was given.
10243 if test "${enable_commondlg+set}" = set; then
10244 enableval
="$enable_commondlg"
10246 if test "$enableval" = yes; then
10247 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10249 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10254 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10255 if test "x$LINE" != x
; then
10256 eval "DEFAULT_$LINE"
10261 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10265 eval "$ac_cv_use_commondlg"
10266 if test "$no_cache" != 1; then
10267 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10270 if test "$wxUSE_COMMONDLGS" = yes; then
10271 echo "$as_me:$LINENO: result: yes" >&5
10272 echo "${ECHO_T}yes" >&6
10274 echo "$as_me:$LINENO: result: no" >&5
10275 echo "${ECHO_T}no" >&6
10280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10281 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10283 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10284 if test "${enable_aboutdlg+set}" = set; then
10285 enableval
="$enable_aboutdlg"
10287 if test "$enableval" = yes; then
10288 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10290 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10295 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10296 if test "x$LINE" != x
; then
10297 eval "DEFAULT_$LINE"
10302 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10306 eval "$ac_cv_use_aboutdlg"
10307 if test "$no_cache" != 1; then
10308 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10311 if test "$wxUSE_ABOUTDLG" = yes; then
10312 echo "$as_me:$LINENO: result: yes" >&5
10313 echo "${ECHO_T}yes" >&6
10315 echo "$as_me:$LINENO: result: no" >&5
10316 echo "${ECHO_T}no" >&6
10321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10322 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10324 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10325 if test "${enable_choicedlg+set}" = set; then
10326 enableval
="$enable_choicedlg"
10328 if test "$enableval" = yes; then
10329 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10331 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10336 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10337 if test "x$LINE" != x
; then
10338 eval "DEFAULT_$LINE"
10343 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10347 eval "$ac_cv_use_choicedlg"
10348 if test "$no_cache" != 1; then
10349 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10352 if test "$wxUSE_CHOICEDLG" = yes; then
10353 echo "$as_me:$LINENO: result: yes" >&5
10354 echo "${ECHO_T}yes" >&6
10356 echo "$as_me:$LINENO: result: no" >&5
10357 echo "${ECHO_T}no" >&6
10362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10363 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10365 # Check whether --enable-coldlg or --disable-coldlg was given.
10366 if test "${enable_coldlg+set}" = set; then
10367 enableval
="$enable_coldlg"
10369 if test "$enableval" = yes; then
10370 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10372 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10377 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10378 if test "x$LINE" != x
; then
10379 eval "DEFAULT_$LINE"
10384 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10388 eval "$ac_cv_use_coldlg"
10389 if test "$no_cache" != 1; then
10390 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10393 if test "$wxUSE_COLOURDLG" = yes; then
10394 echo "$as_me:$LINENO: result: yes" >&5
10395 echo "${ECHO_T}yes" >&6
10397 echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6
10403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10406 # Check whether --enable-filedlg or --disable-filedlg was given.
10407 if test "${enable_filedlg+set}" = set; then
10408 enableval
="$enable_filedlg"
10410 if test "$enableval" = yes; then
10411 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10413 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10418 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10419 if test "x$LINE" != x
; then
10420 eval "DEFAULT_$LINE"
10425 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10429 eval "$ac_cv_use_filedlg"
10430 if test "$no_cache" != 1; then
10431 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10434 if test "$wxUSE_FILEDLG" = yes; then
10435 echo "$as_me:$LINENO: result: yes" >&5
10436 echo "${ECHO_T}yes" >&6
10438 echo "$as_me:$LINENO: result: no" >&5
10439 echo "${ECHO_T}no" >&6
10444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10445 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10447 # Check whether --enable-finddlg or --disable-finddlg was given.
10448 if test "${enable_finddlg+set}" = set; then
10449 enableval
="$enable_finddlg"
10451 if test "$enableval" = yes; then
10452 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10454 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10459 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10460 if test "x$LINE" != x
; then
10461 eval "DEFAULT_$LINE"
10466 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10470 eval "$ac_cv_use_finddlg"
10471 if test "$no_cache" != 1; then
10472 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10475 if test "$wxUSE_FINDREPLDLG" = yes; then
10476 echo "$as_me:$LINENO: result: yes" >&5
10477 echo "${ECHO_T}yes" >&6
10479 echo "$as_me:$LINENO: result: no" >&5
10480 echo "${ECHO_T}no" >&6
10485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10488 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10489 if test "${enable_fontdlg+set}" = set; then
10490 enableval
="$enable_fontdlg"
10492 if test "$enableval" = yes; then
10493 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10495 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10500 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10501 if test "x$LINE" != x
; then
10502 eval "DEFAULT_$LINE"
10507 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10511 eval "$ac_cv_use_fontdlg"
10512 if test "$no_cache" != 1; then
10513 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10516 if test "$wxUSE_FONTDLG" = yes; then
10517 echo "$as_me:$LINENO: result: yes" >&5
10518 echo "${ECHO_T}yes" >&6
10520 echo "$as_me:$LINENO: result: no" >&5
10521 echo "${ECHO_T}no" >&6
10526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10527 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10529 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10530 if test "${enable_dirdlg+set}" = set; then
10531 enableval
="$enable_dirdlg"
10533 if test "$enableval" = yes; then
10534 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10536 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10541 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10542 if test "x$LINE" != x
; then
10543 eval "DEFAULT_$LINE"
10548 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10552 eval "$ac_cv_use_dirdlg"
10553 if test "$no_cache" != 1; then
10554 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10557 if test "$wxUSE_DIRDLG" = yes; then
10558 echo "$as_me:$LINENO: result: yes" >&5
10559 echo "${ECHO_T}yes" >&6
10561 echo "$as_me:$LINENO: result: no" >&5
10562 echo "${ECHO_T}no" >&6
10567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10568 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10570 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10571 if test "${enable_msgdlg+set}" = set; then
10572 enableval
="$enable_msgdlg"
10574 if test "$enableval" = yes; then
10575 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10577 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10582 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10583 if test "x$LINE" != x
; then
10584 eval "DEFAULT_$LINE"
10589 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10593 eval "$ac_cv_use_msgdlg"
10594 if test "$no_cache" != 1; then
10595 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10598 if test "$wxUSE_MSGDLG" = yes; then
10599 echo "$as_me:$LINENO: result: yes" >&5
10600 echo "${ECHO_T}yes" >&6
10602 echo "$as_me:$LINENO: result: no" >&5
10603 echo "${ECHO_T}no" >&6
10608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10609 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10611 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10612 if test "${enable_numberdlg+set}" = set; then
10613 enableval
="$enable_numberdlg"
10615 if test "$enableval" = yes; then
10616 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10618 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10623 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10624 if test "x$LINE" != x
; then
10625 eval "DEFAULT_$LINE"
10630 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10634 eval "$ac_cv_use_numberdlg"
10635 if test "$no_cache" != 1; then
10636 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10639 if test "$wxUSE_NUMBERDLG" = yes; then
10640 echo "$as_me:$LINENO: result: yes" >&5
10641 echo "${ECHO_T}yes" >&6
10643 echo "$as_me:$LINENO: result: no" >&5
10644 echo "${ECHO_T}no" >&6
10649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10650 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10652 # Check whether --enable-splash or --disable-splash was given.
10653 if test "${enable_splash+set}" = set; then
10654 enableval
="$enable_splash"
10656 if test "$enableval" = yes; then
10657 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10659 ac_cv_use_splash
='wxUSE_SPLASH=no'
10664 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10665 if test "x$LINE" != x
; then
10666 eval "DEFAULT_$LINE"
10671 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10675 eval "$ac_cv_use_splash"
10676 if test "$no_cache" != 1; then
10677 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10680 if test "$wxUSE_SPLASH" = yes; then
10681 echo "$as_me:$LINENO: result: yes" >&5
10682 echo "${ECHO_T}yes" >&6
10684 echo "$as_me:$LINENO: result: no" >&5
10685 echo "${ECHO_T}no" >&6
10690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10691 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10693 # Check whether --enable-textdlg or --disable-textdlg was given.
10694 if test "${enable_textdlg+set}" = set; then
10695 enableval
="$enable_textdlg"
10697 if test "$enableval" = yes; then
10698 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10700 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10705 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10706 if test "x$LINE" != x
; then
10707 eval "DEFAULT_$LINE"
10712 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10716 eval "$ac_cv_use_textdlg"
10717 if test "$no_cache" != 1; then
10718 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10721 if test "$wxUSE_TEXTDLG" = yes; then
10722 echo "$as_me:$LINENO: result: yes" >&5
10723 echo "${ECHO_T}yes" >&6
10725 echo "$as_me:$LINENO: result: no" >&5
10726 echo "${ECHO_T}no" >&6
10731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10734 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10735 if test "${enable_tipdlg+set}" = set; then
10736 enableval
="$enable_tipdlg"
10738 if test "$enableval" = yes; then
10739 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10741 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10746 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10747 if test "x$LINE" != x
; then
10748 eval "DEFAULT_$LINE"
10753 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10757 eval "$ac_cv_use_tipdlg"
10758 if test "$no_cache" != 1; then
10759 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10762 if test "$wxUSE_STARTUP_TIPS" = yes; then
10763 echo "$as_me:$LINENO: result: yes" >&5
10764 echo "${ECHO_T}yes" >&6
10766 echo "$as_me:$LINENO: result: no" >&5
10767 echo "${ECHO_T}no" >&6
10772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10775 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10776 if test "${enable_progressdlg+set}" = set; then
10777 enableval
="$enable_progressdlg"
10779 if test "$enableval" = yes; then
10780 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10782 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10787 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10788 if test "x$LINE" != x
; then
10789 eval "DEFAULT_$LINE"
10794 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10798 eval "$ac_cv_use_progressdlg"
10799 if test "$no_cache" != 1; then
10800 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10803 if test "$wxUSE_PROGRESSDLG" = yes; then
10804 echo "$as_me:$LINENO: result: yes" >&5
10805 echo "${ECHO_T}yes" >&6
10807 echo "$as_me:$LINENO: result: no" >&5
10808 echo "${ECHO_T}no" >&6
10813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10816 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10817 if test "${enable_wizarddlg+set}" = set; then
10818 enableval
="$enable_wizarddlg"
10820 if test "$enableval" = yes; then
10821 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10823 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10828 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10829 if test "x$LINE" != x
; then
10830 eval "DEFAULT_$LINE"
10835 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10839 eval "$ac_cv_use_wizarddlg"
10840 if test "$no_cache" != 1; then
10841 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10844 if test "$wxUSE_WIZARDDLG" = yes; then
10845 echo "$as_me:$LINENO: result: yes" >&5
10846 echo "${ECHO_T}yes" >&6
10848 echo "$as_me:$LINENO: result: no" >&5
10849 echo "${ECHO_T}no" >&6
10856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10859 # Check whether --enable-menus or --disable-menus was given.
10860 if test "${enable_menus+set}" = set; then
10861 enableval
="$enable_menus"
10863 if test "$enableval" = yes; then
10864 ac_cv_use_menus
='wxUSE_MENUS=yes'
10866 ac_cv_use_menus
='wxUSE_MENUS=no'
10871 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10872 if test "x$LINE" != x
; then
10873 eval "DEFAULT_$LINE"
10878 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10882 eval "$ac_cv_use_menus"
10883 if test "$no_cache" != 1; then
10884 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10887 if test "$wxUSE_MENUS" = yes; then
10888 echo "$as_me:$LINENO: result: yes" >&5
10889 echo "${ECHO_T}yes" >&6
10891 echo "$as_me:$LINENO: result: no" >&5
10892 echo "${ECHO_T}no" >&6
10897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10900 # Check whether --enable-miniframe or --disable-miniframe was given.
10901 if test "${enable_miniframe+set}" = set; then
10902 enableval
="$enable_miniframe"
10904 if test "$enableval" = yes; then
10905 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10907 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10912 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10913 if test "x$LINE" != x
; then
10914 eval "DEFAULT_$LINE"
10919 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10923 eval "$ac_cv_use_miniframe"
10924 if test "$no_cache" != 1; then
10925 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10928 if test "$wxUSE_MINIFRAME" = yes; then
10929 echo "$as_me:$LINENO: result: yes" >&5
10930 echo "${ECHO_T}yes" >&6
10932 echo "$as_me:$LINENO: result: no" >&5
10933 echo "${ECHO_T}no" >&6
10938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10941 # Check whether --enable-tooltips or --disable-tooltips was given.
10942 if test "${enable_tooltips+set}" = set; then
10943 enableval
="$enable_tooltips"
10945 if test "$enableval" = yes; then
10946 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10948 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10953 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10954 if test "x$LINE" != x
; then
10955 eval "DEFAULT_$LINE"
10960 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10964 eval "$ac_cv_use_tooltips"
10965 if test "$no_cache" != 1; then
10966 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10969 if test "$wxUSE_TOOLTIPS" = yes; then
10970 echo "$as_me:$LINENO: result: yes" >&5
10971 echo "${ECHO_T}yes" >&6
10973 echo "$as_me:$LINENO: result: no" >&5
10974 echo "${ECHO_T}no" >&6
10979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10980 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10982 # Check whether --enable-splines or --disable-splines was given.
10983 if test "${enable_splines+set}" = set; then
10984 enableval
="$enable_splines"
10986 if test "$enableval" = yes; then
10987 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10989 ac_cv_use_splines
='wxUSE_SPLINES=no'
10994 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10995 if test "x$LINE" != x
; then
10996 eval "DEFAULT_$LINE"
11001 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11005 eval "$ac_cv_use_splines"
11006 if test "$no_cache" != 1; then
11007 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11010 if test "$wxUSE_SPLINES" = yes; then
11011 echo "$as_me:$LINENO: result: yes" >&5
11012 echo "${ECHO_T}yes" >&6
11014 echo "$as_me:$LINENO: result: no" >&5
11015 echo "${ECHO_T}no" >&6
11020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11023 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11024 if test "${enable_mousewheel+set}" = set; then
11025 enableval
="$enable_mousewheel"
11027 if test "$enableval" = yes; then
11028 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
11030 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
11035 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11036 if test "x$LINE" != x
; then
11037 eval "DEFAULT_$LINE"
11042 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11046 eval "$ac_cv_use_mousewheel"
11047 if test "$no_cache" != 1; then
11048 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11051 if test "$wxUSE_MOUSEWHEEL" = yes; then
11052 echo "$as_me:$LINENO: result: yes" >&5
11053 echo "${ECHO_T}yes" >&6
11055 echo "$as_me:$LINENO: result: no" >&5
11056 echo "${ECHO_T}no" >&6
11061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11064 # Check whether --enable-validators or --disable-validators was given.
11065 if test "${enable_validators+set}" = set; then
11066 enableval
="$enable_validators"
11068 if test "$enableval" = yes; then
11069 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
11071 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
11076 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11077 if test "x$LINE" != x
; then
11078 eval "DEFAULT_$LINE"
11083 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11087 eval "$ac_cv_use_validators"
11088 if test "$no_cache" != 1; then
11089 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11092 if test "$wxUSE_VALIDATORS" = yes; then
11093 echo "$as_me:$LINENO: result: yes" >&5
11094 echo "${ECHO_T}yes" >&6
11096 echo "$as_me:$LINENO: result: no" >&5
11097 echo "${ECHO_T}no" >&6
11102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11105 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11106 if test "${enable_busyinfo+set}" = set; then
11107 enableval
="$enable_busyinfo"
11109 if test "$enableval" = yes; then
11110 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11112 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11117 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11118 if test "x$LINE" != x
; then
11119 eval "DEFAULT_$LINE"
11124 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11128 eval "$ac_cv_use_busyinfo"
11129 if test "$no_cache" != 1; then
11130 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11133 if test "$wxUSE_BUSYINFO" = yes; then
11134 echo "$as_me:$LINENO: result: yes" >&5
11135 echo "${ECHO_T}yes" >&6
11137 echo "$as_me:$LINENO: result: no" >&5
11138 echo "${ECHO_T}no" >&6
11143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11144 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11146 # Check whether --enable-joystick or --disable-joystick was given.
11147 if test "${enable_joystick+set}" = set; then
11148 enableval
="$enable_joystick"
11150 if test "$enableval" = yes; then
11151 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11153 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11158 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11159 if test "x$LINE" != x
; then
11160 eval "DEFAULT_$LINE"
11165 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11169 eval "$ac_cv_use_joystick"
11170 if test "$no_cache" != 1; then
11171 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11174 if test "$wxUSE_JOYSTICK" = yes; then
11175 echo "$as_me:$LINENO: result: yes" >&5
11176 echo "${ECHO_T}yes" >&6
11178 echo "$as_me:$LINENO: result: no" >&5
11179 echo "${ECHO_T}no" >&6
11184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11185 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11187 # Check whether --enable-metafile or --disable-metafile was given.
11188 if test "${enable_metafile+set}" = set; then
11189 enableval
="$enable_metafile"
11191 if test "$enableval" = yes; then
11192 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11194 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11199 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x
; then
11201 eval "DEFAULT_$LINE"
11206 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11210 eval "$ac_cv_use_metafile"
11211 if test "$no_cache" != 1; then
11212 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11215 if test "$wxUSE_METAFILE" = yes; then
11216 echo "$as_me:$LINENO: result: yes" >&5
11217 echo "${ECHO_T}yes" >&6
11219 echo "$as_me:$LINENO: result: no" >&5
11220 echo "${ECHO_T}no" >&6
11225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11226 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11228 # Check whether --enable-dragimage or --disable-dragimage was given.
11229 if test "${enable_dragimage+set}" = set; then
11230 enableval
="$enable_dragimage"
11232 if test "$enableval" = yes; then
11233 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11235 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11240 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11241 if test "x$LINE" != x
; then
11242 eval "DEFAULT_$LINE"
11247 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11251 eval "$ac_cv_use_dragimage"
11252 if test "$no_cache" != 1; then
11253 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11256 if test "$wxUSE_DRAGIMAGE" = yes; then
11257 echo "$as_me:$LINENO: result: yes" >&5
11258 echo "${ECHO_T}yes" >&6
11260 echo "$as_me:$LINENO: result: no" >&5
11261 echo "${ECHO_T}no" >&6
11266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11267 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11269 # Check whether --enable-accessibility or --disable-accessibility was given.
11270 if test "${enable_accessibility+set}" = set; then
11271 enableval
="$enable_accessibility"
11273 if test "$enableval" = yes; then
11274 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11276 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11281 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11282 if test "x$LINE" != x
; then
11283 eval "DEFAULT_$LINE"
11288 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11292 eval "$ac_cv_use_accessibility"
11293 if test "$no_cache" != 1; then
11294 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11297 if test "$wxUSE_ACCESSIBILITY" = yes; then
11298 echo "$as_me:$LINENO: result: yes" >&5
11299 echo "${ECHO_T}yes" >&6
11301 echo "$as_me:$LINENO: result: no" >&5
11302 echo "${ECHO_T}no" >&6
11306 if test "$wxUSE_MSW" = "1"; then
11309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11310 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11312 # Check whether --enable-dccache or --disable-dccache was given.
11313 if test "${enable_dccache+set}" = set; then
11314 enableval
="$enable_dccache"
11316 if test "$enableval" = yes; then
11317 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11319 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11324 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11325 if test "x$LINE" != x
; then
11326 eval "DEFAULT_$LINE"
11331 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11335 eval "$ac_cv_use_dccache"
11336 if test "$no_cache" != 1; then
11337 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11340 if test "$wxUSE_DC_CACHEING" = yes; then
11341 echo "$as_me:$LINENO: result: yes" >&5
11342 echo "${ECHO_T}yes" >&6
11344 echo "$as_me:$LINENO: result: no" >&5
11345 echo "${ECHO_T}no" >&6
11353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11356 # Check whether --enable-palette or --disable-palette was given.
11357 if test "${enable_palette+set}" = set; then
11358 enableval
="$enable_palette"
11360 if test "$enableval" = yes; then
11361 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11363 ac_cv_use_palette
='wxUSE_PALETTE=no'
11368 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11369 if test "x$LINE" != x
; then
11370 eval "DEFAULT_$LINE"
11375 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11379 eval "$ac_cv_use_palette"
11380 if test "$no_cache" != 1; then
11381 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11384 if test "$wxUSE_PALETTE" = yes; then
11385 echo "$as_me:$LINENO: result: yes" >&5
11386 echo "${ECHO_T}yes" >&6
11388 echo "$as_me:$LINENO: result: no" >&5
11389 echo "${ECHO_T}no" >&6
11394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11395 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11397 # Check whether --enable-image or --disable-image was given.
11398 if test "${enable_image+set}" = set; then
11399 enableval
="$enable_image"
11401 if test "$enableval" = yes; then
11402 ac_cv_use_image
='wxUSE_IMAGE=yes'
11404 ac_cv_use_image
='wxUSE_IMAGE=no'
11409 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11410 if test "x$LINE" != x
; then
11411 eval "DEFAULT_$LINE"
11416 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11420 eval "$ac_cv_use_image"
11421 if test "$no_cache" != 1; then
11422 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11425 if test "$wxUSE_IMAGE" = yes; then
11426 echo "$as_me:$LINENO: result: yes" >&5
11427 echo "${ECHO_T}yes" >&6
11429 echo "$as_me:$LINENO: result: no" >&5
11430 echo "${ECHO_T}no" >&6
11435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11436 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11438 # Check whether --enable-gif or --disable-gif was given.
11439 if test "${enable_gif+set}" = set; then
11440 enableval
="$enable_gif"
11442 if test "$enableval" = yes; then
11443 ac_cv_use_gif
='wxUSE_GIF=yes'
11445 ac_cv_use_gif
='wxUSE_GIF=no'
11450 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11451 if test "x$LINE" != x
; then
11452 eval "DEFAULT_$LINE"
11457 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11461 eval "$ac_cv_use_gif"
11462 if test "$no_cache" != 1; then
11463 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11466 if test "$wxUSE_GIF" = yes; then
11467 echo "$as_me:$LINENO: result: yes" >&5
11468 echo "${ECHO_T}yes" >&6
11470 echo "$as_me:$LINENO: result: no" >&5
11471 echo "${ECHO_T}no" >&6
11476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11477 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11479 # Check whether --enable-pcx or --disable-pcx was given.
11480 if test "${enable_pcx+set}" = set; then
11481 enableval
="$enable_pcx"
11483 if test "$enableval" = yes; then
11484 ac_cv_use_pcx
='wxUSE_PCX=yes'
11486 ac_cv_use_pcx
='wxUSE_PCX=no'
11491 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11492 if test "x$LINE" != x
; then
11493 eval "DEFAULT_$LINE"
11498 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11502 eval "$ac_cv_use_pcx"
11503 if test "$no_cache" != 1; then
11504 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11507 if test "$wxUSE_PCX" = yes; then
11508 echo "$as_me:$LINENO: result: yes" >&5
11509 echo "${ECHO_T}yes" >&6
11511 echo "$as_me:$LINENO: result: no" >&5
11512 echo "${ECHO_T}no" >&6
11517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11520 # Check whether --enable-iff or --disable-iff was given.
11521 if test "${enable_iff+set}" = set; then
11522 enableval
="$enable_iff"
11524 if test "$enableval" = yes; then
11525 ac_cv_use_iff
='wxUSE_IFF=yes'
11527 ac_cv_use_iff
='wxUSE_IFF=no'
11532 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11533 if test "x$LINE" != x
; then
11534 eval "DEFAULT_$LINE"
11539 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11543 eval "$ac_cv_use_iff"
11544 if test "$no_cache" != 1; then
11545 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11548 if test "$wxUSE_IFF" = yes; then
11549 echo "$as_me:$LINENO: result: yes" >&5
11550 echo "${ECHO_T}yes" >&6
11552 echo "$as_me:$LINENO: result: no" >&5
11553 echo "${ECHO_T}no" >&6
11558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11561 # Check whether --enable-pnm or --disable-pnm was given.
11562 if test "${enable_pnm+set}" = set; then
11563 enableval
="$enable_pnm"
11565 if test "$enableval" = yes; then
11566 ac_cv_use_pnm
='wxUSE_PNM=yes'
11568 ac_cv_use_pnm
='wxUSE_PNM=no'
11573 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11574 if test "x$LINE" != x
; then
11575 eval "DEFAULT_$LINE"
11580 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11584 eval "$ac_cv_use_pnm"
11585 if test "$no_cache" != 1; then
11586 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11589 if test "$wxUSE_PNM" = yes; then
11590 echo "$as_me:$LINENO: result: yes" >&5
11591 echo "${ECHO_T}yes" >&6
11593 echo "$as_me:$LINENO: result: no" >&5
11594 echo "${ECHO_T}no" >&6
11599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11602 # Check whether --enable-xpm or --disable-xpm was given.
11603 if test "${enable_xpm+set}" = set; then
11604 enableval
="$enable_xpm"
11606 if test "$enableval" = yes; then
11607 ac_cv_use_xpm
='wxUSE_XPM=yes'
11609 ac_cv_use_xpm
='wxUSE_XPM=no'
11614 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11615 if test "x$LINE" != x
; then
11616 eval "DEFAULT_$LINE"
11621 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11625 eval "$ac_cv_use_xpm"
11626 if test "$no_cache" != 1; then
11627 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11630 if test "$wxUSE_XPM" = yes; then
11631 echo "$as_me:$LINENO: result: yes" >&5
11632 echo "${ECHO_T}yes" >&6
11634 echo "$as_me:$LINENO: result: no" >&5
11635 echo "${ECHO_T}no" >&6
11640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11641 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11643 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11644 if test "${enable_ico_cur+set}" = set; then
11645 enableval
="$enable_ico_cur"
11647 if test "$enableval" = yes; then
11648 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11650 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11655 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11656 if test "x$LINE" != x
; then
11657 eval "DEFAULT_$LINE"
11662 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11666 eval "$ac_cv_use_ico_cur"
11667 if test "$no_cache" != 1; then
11668 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11671 if test "$wxUSE_ICO_CUR" = yes; then
11672 echo "$as_me:$LINENO: result: yes" >&5
11673 echo "${ECHO_T}yes" >&6
11675 echo "$as_me:$LINENO: result: no" >&5
11676 echo "${ECHO_T}no" >&6
11684 # Check whether --with-flavour or --without-flavour was given.
11685 if test "${with_flavour+set}" = set; then
11686 withval
="$with_flavour"
11687 WX_FLAVOUR
="$withval"
11693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11696 # Check whether --enable-official_build or --disable-official_build was given.
11697 if test "${enable_official_build+set}" = set; then
11698 enableval
="$enable_official_build"
11700 if test "$enableval" = yes; then
11701 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11703 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11708 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11709 if test "x$LINE" != x
; then
11710 eval "DEFAULT_$LINE"
11715 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11719 eval "$ac_cv_use_official_build"
11720 if test "$no_cache" != 1; then
11721 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11724 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11725 echo "$as_me:$LINENO: result: yes" >&5
11726 echo "${ECHO_T}yes" >&6
11728 echo "$as_me:$LINENO: result: no" >&5
11729 echo "${ECHO_T}no" >&6
11732 # Check whether --enable-vendor or --disable-vendor was given.
11733 if test "${enable_vendor+set}" = set; then
11734 enableval
="$enable_vendor"
11735 VENDOR
="$enableval"
11737 if test "x$VENDOR" = "x"; then
11744 echo "saving argument cache $wx_arg_cache_file"
11745 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11749 echo "$as_me:$LINENO: checking for toolkit" >&5
11750 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11752 # In Wine, we need to default to MSW, not GTK or MOTIF
11753 if test "$wxUSE_WINE" = "yes"; then
11754 DEFAULT_DEFAULT_wxUSE_GTK
=0
11755 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11756 DEFAULT_DEFAULT_wxUSE_MSW
=1
11761 if test "$wxUSE_GUI" = "yes"; then
11763 if test "$USE_BEOS" = 1; then
11764 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11765 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11766 { (exit 1); exit 1; }; }
11769 if test "$TOOLKIT_GIVEN" = 1; then
11770 for toolkit
in `echo $ALL_TOOLKITS`; do
11772 eval "value=\$${var}"
11773 if test "x$value" = "xno"; then
11775 elif test "x$value" != "x"; then
11779 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11780 eval "wx${toolkit}_VERSION=$value"
11784 for toolkit
in `echo $ALL_TOOLKITS`; do
11785 if test "$has_toolkit_in_cache" != 1; then
11786 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11788 var
=DEFAULT_wxUSE_
$toolkit
11790 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11791 if test "x$version" != "x"; then
11792 eval "wx${toolkit}_VERSION=$version"
11795 eval "wxUSE_$toolkit=\$${var}"
11799 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11800 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11801 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11804 *-pc-os2_emx | *-pc-os2-emx )
11805 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11808 case "$NUM_TOOLKITS" in
11812 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11813 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11814 { (exit 1); exit 1; }; }
11817 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11818 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11819 { (exit 1); exit 1; }; }
11822 # to be removed when --disable-gtk2 isn't needed
11823 if test "x$wxUSE_GTK2" = "xyes"; then
11825 elif test "x$wxUSE_GTK2" = "xno"; then
11829 for toolkit
in `echo $ALL_TOOLKITS`; do
11831 eval "value=\$${var}"
11832 if test "x$value" != x
; then
11833 cache_var
=CACHE_
$toolkit
11834 eval "cache=\$${cache_var}"
11835 if test "$cache" = 1; then
11836 echo "$var=$value" >> ${wx_arg_cache_file}
11837 eval "version=\$wx${toolkit}_VERSION"
11838 if test "x$version" != "x"; then
11839 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11842 if test "$value" = 1; then
11843 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11844 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11845 echo "${ECHO_T}$toolkit_echo" >&6
11850 if test "x$host_alias" != "x"; then
11851 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11852 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11854 echo "$as_me:$LINENO: result: base only" >&5
11855 echo "${ECHO_T}base only" >&6
11860 doesnt_want_win32
=0
11863 if test "$wxUSE_MSW" = 1 ; then
11865 BAKEFILE_FORCE_PLATFORM
=win32
11867 doesnt_want_win32
=1
11875 if test "$wxUSE_WINE" = "yes"; then
11879 LDFLAGS_GUI
="-mwindows"
11882 if test "$wants_win32" = 1 ; then
11885 cat >>confdefs.h
<<\_ACEOF
11886 #define __WIN32__ 1
11889 cat >>confdefs.h
<<\_ACEOF
11890 #define __WIN95__ 1
11893 cat >>confdefs.h
<<\_ACEOF
11894 #define __WINDOWS__ 1
11897 cat >>confdefs.h
<<\_ACEOF
11898 #define __GNUWIN32__ 1
11901 cat >>confdefs.h
<<\_ACEOF
11905 cat >>confdefs.h
<<\_ACEOF
11906 #define WINVER 0x0400
11910 if test "$doesnt_want_win32" = 1 ; then
11915 if test "$USE_UNIX" = 1 ; then
11917 cat >>confdefs.h
<<\_ACEOF
11924 cat >confcache
<<\_ACEOF
11925 # This file is a shell script that caches the results of configure
11926 # tests run on this system so they can be shared between configure
11927 # scripts and configure runs, see configure's option --config-cache.
11928 # It is not useful on other systems. If it contains results you don't
11929 # want to keep, you may remove or edit it.
11931 # config.status only pays attention to the cache file if you give it
11932 # the --recheck option to rerun configure.
11934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11936 # following values.
11940 # The following way of writing the cache mishandles newlines in values,
11941 # but we know of no workaround that is simple, portable, and efficient.
11942 # So, don't put newlines in cache variables' values.
11943 # Ultrix sh set writes to stderr and can't be redirected directly,
11944 # and sets the high bit in the cache file unless we assign to the vars.
11947 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11949 # `set' does not quote correctly, so add quotes (double-quote
11950 # substitution turns \\\\ into \\, and sed turns \\ into \).
11953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11956 # `set' quotes correctly as required by POSIX, so do not add quotes.
11958 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11965 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11967 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11969 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11970 if test -w $cache_file; then
11971 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11972 cat confcache
>$cache_file
11974 echo "not updating unwritable cache $cache_file"
11984 ac_cpp
='$CPP $CPPFLAGS'
11985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11988 if test -n "$ac_tool_prefix"; then
11989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11990 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11991 echo "$as_me:$LINENO: checking for $ac_word" >&5
11992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11993 if test "${ac_cv_prog_CC+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 if test -n "$CC"; then
11997 ac_cv_prog_CC
="$CC" # Let the user override the test.
11999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12000 for as_dir
in $PATH
12003 test -z "$as_dir" && as_dir
=.
12004 for ac_exec_ext
in '' $ac_executable_extensions; do
12005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12006 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12016 if test -n "$CC"; then
12017 echo "$as_me:$LINENO: result: $CC" >&5
12018 echo "${ECHO_T}$CC" >&6
12020 echo "$as_me:$LINENO: result: no" >&5
12021 echo "${ECHO_T}no" >&6
12025 if test -z "$ac_cv_prog_CC"; then
12027 # Extract the first word of "gcc", so it can be a program name with args.
12028 set dummy gcc
; ac_word
=$2
12029 echo "$as_me:$LINENO: checking for $ac_word" >&5
12030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12032 echo $ECHO_N "(cached) $ECHO_C" >&6
12034 if test -n "$ac_ct_CC"; then
12035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12038 for as_dir
in $PATH
12041 test -z "$as_dir" && as_dir
=.
12042 for ac_exec_ext
in '' $ac_executable_extensions; do
12043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12044 ac_cv_prog_ac_ct_CC
="gcc"
12045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12054 if test -n "$ac_ct_CC"; then
12055 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12056 echo "${ECHO_T}$ac_ct_CC" >&6
12058 echo "$as_me:$LINENO: result: no" >&5
12059 echo "${ECHO_T}no" >&6
12064 CC
="$ac_cv_prog_CC"
12067 if test -z "$CC"; then
12068 if test -n "$ac_tool_prefix"; then
12069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12070 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12071 echo "$as_me:$LINENO: checking for $ac_word" >&5
12072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12073 if test "${ac_cv_prog_CC+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 if test -n "$CC"; then
12077 ac_cv_prog_CC
="$CC" # Let the user override the test.
12079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12080 for as_dir
in $PATH
12083 test -z "$as_dir" && as_dir
=.
12084 for ac_exec_ext
in '' $ac_executable_extensions; do
12085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12086 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12096 if test -n "$CC"; then
12097 echo "$as_me:$LINENO: result: $CC" >&5
12098 echo "${ECHO_T}$CC" >&6
12100 echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6
12105 if test -z "$ac_cv_prog_CC"; then
12107 # Extract the first word of "cc", so it can be a program name with args.
12108 set dummy cc
; ac_word
=$2
12109 echo "$as_me:$LINENO: checking for $ac_word" >&5
12110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 if test -n "$ac_ct_CC"; then
12115 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12118 for as_dir
in $PATH
12121 test -z "$as_dir" && as_dir
=.
12122 for ac_exec_ext
in '' $ac_executable_extensions; do
12123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12124 ac_cv_prog_ac_ct_CC
="cc"
12125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12134 if test -n "$ac_ct_CC"; then
12135 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12136 echo "${ECHO_T}$ac_ct_CC" >&6
12138 echo "$as_me:$LINENO: result: no" >&5
12139 echo "${ECHO_T}no" >&6
12144 CC
="$ac_cv_prog_CC"
12148 if test -z "$CC"; then
12149 # Extract the first word of "cc", so it can be a program name with args.
12150 set dummy cc
; ac_word
=$2
12151 echo "$as_me:$LINENO: checking for $ac_word" >&5
12152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12153 if test "${ac_cv_prog_CC+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 if test -n "$CC"; then
12157 ac_cv_prog_CC
="$CC" # Let the user override the test.
12159 ac_prog_rejected
=no
12160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12161 for as_dir
in $PATH
12164 test -z "$as_dir" && as_dir
=.
12165 for ac_exec_ext
in '' $ac_executable_extensions; do
12166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12168 ac_prog_rejected
=yes
12172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12178 if test $ac_prog_rejected = yes; then
12179 # We found a bogon in the path, so make sure we never use it.
12180 set dummy
$ac_cv_prog_CC
12182 if test $# != 0; then
12183 # We chose a different compiler from the bogus one.
12184 # However, it has the same basename, so the bogon will be chosen
12185 # first if we set CC to just the basename; use the full file name.
12187 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12193 if test -n "$CC"; then
12194 echo "$as_me:$LINENO: result: $CC" >&5
12195 echo "${ECHO_T}$CC" >&6
12197 echo "$as_me:$LINENO: result: no" >&5
12198 echo "${ECHO_T}no" >&6
12202 if test -z "$CC"; then
12203 if test -n "$ac_tool_prefix"; then
12206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12207 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12208 echo "$as_me:$LINENO: checking for $ac_word" >&5
12209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12210 if test "${ac_cv_prog_CC+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 if test -n "$CC"; then
12214 ac_cv_prog_CC
="$CC" # Let the user override the test.
12216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12217 for as_dir
in $PATH
12220 test -z "$as_dir" && as_dir
=.
12221 for ac_exec_ext
in '' $ac_executable_extensions; do
12222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12223 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12233 if test -n "$CC"; then
12234 echo "$as_me:$LINENO: result: $CC" >&5
12235 echo "${ECHO_T}$CC" >&6
12237 echo "$as_me:$LINENO: result: no" >&5
12238 echo "${ECHO_T}no" >&6
12241 test -n "$CC" && break
12244 if test -z "$CC"; then
12248 # Extract the first word of "$ac_prog", so it can be a program name with args.
12249 set dummy
$ac_prog; ac_word
=$2
12250 echo "$as_me:$LINENO: checking for $ac_word" >&5
12251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 if test -n "$ac_ct_CC"; then
12256 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12259 for as_dir
in $PATH
12262 test -z "$as_dir" && as_dir
=.
12263 for ac_exec_ext
in '' $ac_executable_extensions; do
12264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12265 ac_cv_prog_ac_ct_CC
="$ac_prog"
12266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12274 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12275 if test -n "$ac_ct_CC"; then
12276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12277 echo "${ECHO_T}$ac_ct_CC" >&6
12279 echo "$as_me:$LINENO: result: no" >&5
12280 echo "${ECHO_T}no" >&6
12283 test -n "$ac_ct_CC" && break
12292 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12293 See \`config.log' for more details." >&5
12294 echo "$as_me: error: no acceptable C compiler found in \$PATH
12295 See \`config.log' for more details." >&2;}
12296 { (exit 1); exit 1; }; }
12298 # Provide some information about the compiler.
12299 echo "$as_me:$LINENO:" \
12300 "checking for C compiler version" >&5
12301 ac_compiler
=`set X $ac_compile; echo $2`
12302 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12303 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }
12307 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12308 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }
12312 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12313 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }
12318 cat >conftest.
$ac_ext <<_ACEOF
12321 cat confdefs.h
>>conftest.
$ac_ext
12322 cat >>conftest.
$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12333 ac_clean_files_save
=$ac_clean_files
12334 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12335 # Try to create an executable without -o first, disregard a.out.
12336 # It will help us diagnose broken compilers, and finding out an intuition
12338 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12339 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12340 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12342 (eval $ac_link_default) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; then
12346 # Find the output, starting from the most likely. This scheme is
12347 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12350 # Be careful to initialize this variable, since it used to be cached.
12351 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12353 # b.out is created by i960 compilers.
12354 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12356 test -f "$ac_file" || continue
12358 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12361 # This is the source file.
12364 # We found the default executable, but exeext='' is most
12368 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12369 # FIXME: I believe we export ac_cv_exeext for Libtool,
12370 # but it would be cool to find out if it's true. Does anybody
12371 # maintain Libtool? --akim.
12372 export ac_cv_exeext
12379 echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.
$ac_ext >&5
12382 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12383 See \`config.log' for more details." >&5
12384 echo "$as_me: error: C compiler cannot create executables
12385 See \`config.log' for more details." >&2;}
12386 { (exit 77); exit 77; }; }
12389 ac_exeext
=$ac_cv_exeext
12390 echo "$as_me:$LINENO: result: $ac_file" >&5
12391 echo "${ECHO_T}$ac_file" >&6
12393 # Check the compiler produces executables we can run. If not, either
12394 # the compiler is broken, or we cross compile.
12395 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12396 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12397 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12398 # If not cross compiling, check that we can run a simple program.
12399 if test "$cross_compiling" != yes; then
12400 if { ac_try
='./$ac_file'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12408 if test "$cross_compiling" = maybe
; then
12409 cross_compiling
=yes
12411 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12412 If you meant to cross compile, use \`--host'.
12413 See \`config.log' for more details." >&5
12414 echo "$as_me: error: cannot run C compiled programs.
12415 If you meant to cross compile, use \`--host'.
12416 See \`config.log' for more details." >&2;}
12417 { (exit 1); exit 1; }; }
12421 echo "$as_me:$LINENO: result: yes" >&5
12422 echo "${ECHO_T}yes" >&6
12424 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12425 ac_clean_files
=$ac_clean_files_save
12426 # Check the compiler produces executables we can run. If not, either
12427 # the compiler is broken, or we cross compile.
12428 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12429 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12430 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12431 echo "${ECHO_T}$cross_compiling" >&6
12433 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12434 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12436 (eval $ac_link) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; then
12440 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12441 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12442 # work properly (i.e., refer to `conftest.exe'), while it won't with
12444 for ac_file
in conftest.exe conftest conftest.
*; do
12445 test -f "$ac_file" || continue
12447 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12448 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12449 export ac_cv_exeext
12455 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12456 See \`config.log' for more details." >&5
12457 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12458 See \`config.log' for more details." >&2;}
12459 { (exit 1); exit 1; }; }
12462 rm -f conftest
$ac_cv_exeext
12463 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12464 echo "${ECHO_T}$ac_cv_exeext" >&6
12466 rm -f conftest.
$ac_ext
12467 EXEEXT
=$ac_cv_exeext
12469 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12470 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12471 if test "${ac_cv_objext+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12474 cat >conftest.
$ac_ext <<_ACEOF
12477 cat confdefs.h
>>conftest.
$ac_ext
12478 cat >>conftest.
$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12489 rm -f conftest.o conftest.obj
12490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12491 (eval $ac_compile) 2>&5
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); }; then
12495 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12497 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12498 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12503 echo "$as_me: failed program was:" >&5
12504 sed 's/^/| /' conftest.
$ac_ext >&5
12506 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12507 See \`config.log' for more details." >&5
12508 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12509 See \`config.log' for more details." >&2;}
12510 { (exit 1); exit 1; }; }
12513 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12515 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12516 echo "${ECHO_T}$ac_cv_objext" >&6
12517 OBJEXT
=$ac_cv_objext
12519 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12520 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12521 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12542 rm -f conftest.
$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>conftest.er1
12546 grep -v '^ *+' conftest.er1
>conftest.err
12548 cat conftest.err
>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } &&
12551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; } &&
12557 { ac_try
='test -s conftest.$ac_objext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_compiler_gnu
=yes
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.
$ac_ext >&5
12570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12571 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12574 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12575 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12576 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12577 ac_test_CFLAGS
=${CFLAGS+set}
12578 ac_save_CFLAGS
=$CFLAGS
12580 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12581 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12582 if test "${ac_cv_prog_cc_g+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 cat >conftest.
$ac_ext <<_ACEOF
12588 cat confdefs.h
>>conftest.
$ac_ext
12589 cat >>conftest.
$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12600 rm -f conftest.
$ac_objext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>conftest.er1
12604 grep -v '^ *+' conftest.er1
>conftest.err
12606 cat conftest.err
>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
12609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12611 (eval $ac_try) 2>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; } &&
12615 { ac_try
='test -s conftest.$ac_objext'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_prog_cc_g
=yes
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.
$ac_ext >&5
12628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12630 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12631 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12632 if test "$ac_test_CFLAGS" = set; then
12633 CFLAGS
=$ac_save_CFLAGS
12634 elif test $ac_cv_prog_cc_g = yes; then
12635 if test "$GCC" = yes; then
12641 if test "$GCC" = yes; then
12647 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12648 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12649 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 ac_cv_prog_cc_stdc
=no
12654 cat >conftest.
$ac_ext <<_ACEOF
12657 cat confdefs.h
>>conftest.
$ac_ext
12658 cat >>conftest.
$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 #include <stdarg.h>
12662 #include <sys/types.h>
12663 #include <sys/stat.h>
12664 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12665 struct buf { int x; };
12666 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12667 static char *e (p, i)
12673 static char *f (char * (*g) (char **, int), char **p, ...)
12678 s = g (p, va_arg (v,int));
12683 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12684 function prototypes and stuff, but not '\xHH' hex character constants.
12685 These don't provoke an error unfortunately, instead are silently treated
12686 as 'x'. The following induces an error, until -std1 is added to get
12687 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12688 array size at least. It's necessary to write '\x00'==0 to get something
12689 that's true only with -std1. */
12690 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12692 int test (int i, double x);
12693 struct s1 {int (*f) (int a);};
12694 struct s2 {int (*f) (double a);};
12695 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12701 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12706 # Don't try gcc -ansi; that turns off useful extensions and
12707 # breaks some systems' header files.
12708 # AIX -qlanglvl=ansi
12709 # Ultrix and OSF/1 -std1
12710 # HP-UX 10.20 and later -Ae
12711 # HP-UX older versions -Aa -D_HPUX_SOURCE
12712 # SVR4 -Xc -D__EXTENSIONS__
12713 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12715 CC
="$ac_save_CC $ac_arg"
12716 rm -f conftest.
$ac_objext
12717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12718 (eval $ac_compile) 2>conftest.er1
12720 grep -v '^ *+' conftest.er1
>conftest.err
12722 cat conftest.err
>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); } &&
12725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; } &&
12731 { ac_try
='test -s conftest.$ac_objext'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; }; then
12737 ac_cv_prog_cc_stdc
=$ac_arg
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.
$ac_ext >&5
12744 rm -f conftest.err conftest.
$ac_objext
12746 rm -f conftest.
$ac_ext conftest.
$ac_objext
12751 case "x$ac_cv_prog_cc_stdc" in
12753 echo "$as_me:$LINENO: result: none needed" >&5
12754 echo "${ECHO_T}none needed" >&6 ;;
12756 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12757 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12758 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12761 # Some people use a C++ compiler to compile C. Since we use `exit',
12762 # in C++ we need to declare it. In case someone uses the same compiler
12763 # for both compiling C and C++ we need to have the C++ compiler decide
12764 # the declaration of exit, since it's the most demanding environment.
12765 cat >conftest.
$ac_ext <<_ACEOF
12766 #ifndef __cplusplus
12770 rm -f conftest.
$ac_objext
12771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12772 (eval $ac_compile) 2>conftest.er1
12774 grep -v '^ *+' conftest.er1
>conftest.err
12776 cat conftest.err
>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } &&
12779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; } &&
12785 { ac_try
='test -s conftest.$ac_objext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 for ac_declaration
in \
12793 'extern "C" void std::exit (int) throw (); using std::exit;' \
12794 'extern "C" void std::exit (int); using std::exit;' \
12795 'extern "C" void exit (int) throw ();' \
12796 'extern "C" void exit (int);' \
12799 cat >conftest.
$ac_ext <<_ACEOF
12802 cat confdefs.h
>>conftest.
$ac_ext
12803 cat >>conftest.
$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12806 #include <stdlib.h>
12815 rm -f conftest.
$ac_objext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12817 (eval $ac_compile) 2>conftest.er1
12819 grep -v '^ *+' conftest.er1
>conftest.err
12821 cat conftest.err
>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } &&
12824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try
='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.
$ac_ext >&5
12843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12844 cat >conftest.
$ac_ext <<_ACEOF
12847 cat confdefs.h
>>conftest.
$ac_ext
12848 cat >>conftest.
$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12859 rm -f conftest.
$ac_objext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12861 (eval $ac_compile) 2>conftest.er1
12863 grep -v '^ *+' conftest.er1
>conftest.err
12865 cat conftest.err
>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12870 (eval $ac_try) 2>&5
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); }; } &&
12874 { ac_try
='test -s conftest.$ac_objext'
12875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12876 (eval $ac_try) 2>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); }; }; then
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.
$ac_ext >&5
12886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12889 if test -n "$ac_declaration"; then
12890 echo '#ifdef __cplusplus' >>confdefs.h
12891 echo $ac_declaration >>confdefs.h
12892 echo '#endif' >>confdefs.h
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.
$ac_ext >&5
12900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12902 ac_cpp
='$CPP $CPPFLAGS'
12903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12910 ac_cpp
='$CPP $CPPFLAGS'
12911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12915 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12916 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12917 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12920 cat >conftest.
$ac_ext <<_ACEOF
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12931 #ifndef __INTEL_COMPILER
12939 rm -f conftest.
$ac_objext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 (eval $ac_compile) 2>conftest.er1
12943 grep -v '^ *+' conftest.er1
>conftest.err
12945 cat conftest.err
>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } &&
12948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; } &&
12954 { ac_try
='test -s conftest.$ac_objext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.
$ac_ext >&5
12965 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12972 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12973 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12975 ac_cpp
='$CPP $CPPFLAGS'
12976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12980 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12987 if test "x$GCC" != "xyes"; then
12988 if test "xCC" = "xC"; then
12989 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12990 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12991 if test "${bakefile_cv_c_exto+set}" = set; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 cat >conftest.
$ac_ext <<_ACEOF
12997 cat confdefs.h
>>conftest.
$ac_ext
12998 cat >>conftest.
$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13009 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13011 (eval $ac_compile) 2>&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; then
13015 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13017 conftest.
$ac_ext.o
)
13018 bakefile_cv_c_exto
="-ext o"
13025 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13026 See \`config.log' for more details." >&5
13027 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13028 See \`config.log' for more details." >&2;}
13029 { (exit 1); exit 1; }; }
13033 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13036 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13037 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13038 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13039 if test "c" = "c"; then
13040 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13042 if test "c" = "cxx"; then
13043 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13047 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13048 unset ac_cv_prog_cc_g
13049 ac_test_CFLAGS
=${CFLAGS+set}
13050 ac_save_CFLAGS
=$CFLAGS
13052 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13053 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13054 if test "${ac_cv_prog_cc_g+set}" = set; then
13055 echo $ECHO_N "(cached) $ECHO_C" >&6
13057 cat >conftest.
$ac_ext <<_ACEOF
13060 cat confdefs.h
>>conftest.
$ac_ext
13061 cat >>conftest.
$ac_ext <<_ACEOF
13062 /* end confdefs.h. */
13072 rm -f conftest.
$ac_objext
13073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13074 (eval $ac_compile) 2>conftest.er1
13076 grep -v '^ *+' conftest.er1
>conftest.err
13078 cat conftest.err
>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } &&
13081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; } &&
13087 { ac_try
='test -s conftest.$ac_objext'
13088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13089 (eval $ac_try) 2>&5
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; }; then
13093 ac_cv_prog_cc_g
=yes
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.
$ac_ext >&5
13100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13102 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13103 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13104 if test "$ac_test_CFLAGS" = set; then
13105 CFLAGS
=$ac_save_CFLAGS
13106 elif test $ac_cv_prog_cc_g = yes; then
13107 if test "$GCC" = yes; then
13113 if test "$GCC" = yes; then
13125 ac_cpp
='$CPP $CPPFLAGS'
13126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13130 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13131 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13132 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13135 cat >conftest.
$ac_ext <<_ACEOF
13138 cat confdefs.h
>>conftest.
$ac_ext
13139 cat >>conftest.
$ac_ext <<_ACEOF
13140 /* end confdefs.h. */
13153 rm -f conftest.
$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13157 grep -v '^ *+' conftest.er1
>conftest.err
13159 cat conftest.err
>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; } &&
13168 { ac_try
='test -s conftest.$ac_objext'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13174 bakefile_compiler_xlc
=yes
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.
$ac_ext >&5
13179 bakefile_compiler_xlc
=no
13181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13182 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13185 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13186 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13188 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13190 ac_cpp
='$CPP $CPPFLAGS'
13191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13200 ac_cpp
='$CPP $CPPFLAGS'
13201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13205 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13206 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13207 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13208 echo $ECHO_N "(cached) $ECHO_C" >&6
13210 cat >conftest.
$ac_ext <<_ACEOF
13213 cat confdefs.h
>>conftest.
$ac_ext
13214 cat >>conftest.
$ac_ext <<_ACEOF
13215 /* end confdefs.h. */
13228 rm -f conftest.
$ac_objext
13229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13230 (eval $ac_compile) 2>conftest.er1
13232 grep -v '^ *+' conftest.er1
>conftest.err
13234 cat conftest.err
>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } &&
13237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; } &&
13243 { ac_try
='test -s conftest.$ac_objext'
13244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 (eval $ac_try) 2>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13249 bakefile_compiler_mwerks
=yes
13251 echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.
$ac_ext >&5
13254 bakefile_compiler_mwerks
=no
13256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13257 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13260 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13261 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13263 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13265 ac_cpp
='$CPP $CPPFLAGS'
13266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13272 ac_cpp
='$CPP $CPPFLAGS'
13273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13277 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13278 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13279 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 cat >conftest.
$ac_ext <<_ACEOF
13285 cat confdefs.h
>>conftest.
$ac_ext
13286 cat >>conftest.
$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13300 rm -f conftest.
$ac_objext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13302 (eval $ac_compile) 2>conftest.er1
13304 grep -v '^ *+' conftest.er1
>conftest.err
13306 cat conftest.err
>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; } &&
13315 { ac_try
='test -s conftest.$ac_objext'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 bakefile_compiler_xlc
=yes
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.
$ac_ext >&5
13326 bakefile_compiler_xlc
=no
13328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13329 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13332 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13333 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13335 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13337 ac_cpp
='$CPP $CPPFLAGS'
13338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13349 ac_cpp
='$CPP $CPPFLAGS'
13350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13354 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13355 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13356 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 cat >conftest.
$ac_ext <<_ACEOF
13362 cat confdefs.h
>>conftest.
$ac_ext
13363 cat >>conftest.
$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13370 #ifndef _SGI_COMPILER_VERSION
13378 rm -f conftest.
$ac_objext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13380 (eval $ac_compile) 2>conftest.er1
13382 grep -v '^ *+' conftest.er1
>conftest.err
13384 cat conftest.err
>&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; } &&
13393 { ac_try
='test -s conftest.$ac_objext'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; }; then
13399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.
$ac_ext >&5
13404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13411 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13412 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13414 ac_cpp
='$CPP $CPPFLAGS'
13415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13419 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13432 ac_cpp
='$CPP $CPPFLAGS'
13433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13437 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13438 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13439 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13442 cat >conftest.
$ac_ext <<_ACEOF
13445 cat confdefs.h
>>conftest.
$ac_ext
13446 cat >>conftest.
$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13461 rm -f conftest.
$ac_objext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 (eval $ac_compile) 2>conftest.er1
13465 grep -v '^ *+' conftest.er1
>conftest.err
13467 cat conftest.err
>&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); } &&
13470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try
='test -s conftest.$ac_objext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 bakefile_cv_c_compiler___HP_cc
=yes
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.
$ac_ext >&5
13487 bakefile_cv_c_compiler___HP_cc
=no
13490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13494 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13495 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13497 ac_cpp
='$CPP $CPPFLAGS'
13498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13502 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13515 ac_cpp
='$CPP $CPPFLAGS'
13516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13520 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13521 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13522 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 cat >conftest.
$ac_ext <<_ACEOF
13528 cat confdefs.h
>>conftest.
$ac_ext
13529 cat >>conftest.
$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13544 rm -f conftest.
$ac_objext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13546 (eval $ac_compile) 2>conftest.er1
13548 grep -v '^ *+' conftest.er1
>conftest.err
13550 cat conftest.err
>&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try
='test -s conftest.$ac_objext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 bakefile_cv_c_compiler___DECC
=yes
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.
$ac_ext >&5
13570 bakefile_cv_c_compiler___DECC
=no
13573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13577 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13578 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13580 ac_cpp
='$CPP $CPPFLAGS'
13581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13585 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13598 ac_cpp
='$CPP $CPPFLAGS'
13599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13603 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13604 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13605 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 cat >conftest.
$ac_ext <<_ACEOF
13611 cat confdefs.h
>>conftest.
$ac_ext
13612 cat >>conftest.
$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13627 rm -f conftest.
$ac_objext
13628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13629 (eval $ac_compile) 2>conftest.er1
13631 grep -v '^ *+' conftest.er1
>conftest.err
13633 cat conftest.err
>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } &&
13636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; } &&
13642 { ac_try
='test -s conftest.$ac_objext'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; }; then
13648 bakefile_cv_c_compiler___SUNPRO_C
=yes
13650 echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.
$ac_ext >&5
13653 bakefile_cv_c_compiler___SUNPRO_C
=no
13656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13660 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13661 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13663 ac_cpp
='$CPP $CPPFLAGS'
13664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13668 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13682 ac_cpp
='$CPP $CPPFLAGS'
13683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13686 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13687 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13688 # On Suns, sometimes $CPP names a directory.
13689 if test -n "$CPP" && test -d "$CPP"; then
13692 if test -z "$CPP"; then
13693 if test "${ac_cv_prog_CPP+set}" = set; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 # Double quotes because CPP needs to be expanded
13697 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13699 ac_preproc_ok
=false
13700 for ac_c_preproc_warn_flag
in '' yes
13702 # Use a header file that comes with gcc, so configuring glibc
13703 # with a fresh cross-compiler works.
13704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13705 # <limits.h> exists even on freestanding compilers.
13706 # On the NeXT, cc -E runs the code through the compiler's parser,
13707 # not just through cpp. "Syntax error" is here to catch this case.
13708 cat >conftest.
$ac_ext <<_ACEOF
13711 cat confdefs.h
>>conftest.
$ac_ext
13712 cat >>conftest.
$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13715 # include <limits.h>
13717 # include <assert.h>
13721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13724 grep -v '^ *+' conftest.er1
>conftest.err
13726 cat conftest.err
>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } >/dev
/null
; then
13729 if test -s conftest.err
; then
13730 ac_cpp_err
=$ac_c_preproc_warn_flag
13731 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13738 if test -z "$ac_cpp_err"; then
13741 echo "$as_me: failed program was:" >&5
13742 sed 's/^/| /' conftest.
$ac_ext >&5
13744 # Broken: fails on valid input.
13747 rm -f conftest.err conftest.
$ac_ext
13749 # OK, works on sane cases. Now check whether non-existent headers
13750 # can be detected and how.
13751 cat >conftest.
$ac_ext <<_ACEOF
13754 cat confdefs.h
>>conftest.
$ac_ext
13755 cat >>conftest.
$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 #include <ac_nonexistent.h>
13759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13762 grep -v '^ *+' conftest.er1
>conftest.err
13764 cat conftest.err
>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } >/dev
/null
; then
13767 if test -s conftest.err
; then
13768 ac_cpp_err
=$ac_c_preproc_warn_flag
13769 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13776 if test -z "$ac_cpp_err"; then
13777 # Broken: success on invalid input.
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.
$ac_ext >&5
13783 # Passes both tests.
13787 rm -f conftest.err conftest.
$ac_ext
13790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13791 rm -f conftest.err conftest.
$ac_ext
13792 if $ac_preproc_ok; then
13797 ac_cv_prog_CPP
=$CPP
13800 CPP
=$ac_cv_prog_CPP
13802 ac_cv_prog_CPP
=$CPP
13804 echo "$as_me:$LINENO: result: $CPP" >&5
13805 echo "${ECHO_T}$CPP" >&6
13806 ac_preproc_ok
=false
13807 for ac_c_preproc_warn_flag
in '' yes
13809 # Use a header file that comes with gcc, so configuring glibc
13810 # with a fresh cross-compiler works.
13811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13812 # <limits.h> exists even on freestanding compilers.
13813 # On the NeXT, cc -E runs the code through the compiler's parser,
13814 # not just through cpp. "Syntax error" is here to catch this case.
13815 cat >conftest.
$ac_ext <<_ACEOF
13818 cat confdefs.h
>>conftest.
$ac_ext
13819 cat >>conftest.
$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13822 # include <limits.h>
13824 # include <assert.h>
13828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13831 grep -v '^ *+' conftest.er1
>conftest.err
13833 cat conftest.err
>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } >/dev
/null
; then
13836 if test -s conftest.err
; then
13837 ac_cpp_err
=$ac_c_preproc_warn_flag
13838 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13845 if test -z "$ac_cpp_err"; then
13848 echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.
$ac_ext >&5
13851 # Broken: fails on valid input.
13854 rm -f conftest.err conftest.
$ac_ext
13856 # OK, works on sane cases. Now check whether non-existent headers
13857 # can be detected and how.
13858 cat >conftest.
$ac_ext <<_ACEOF
13861 cat confdefs.h
>>conftest.
$ac_ext
13862 cat >>conftest.
$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 #include <ac_nonexistent.h>
13866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13869 grep -v '^ *+' conftest.er1
>conftest.err
13871 cat conftest.err
>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } >/dev
/null
; then
13874 if test -s conftest.err
; then
13875 ac_cpp_err
=$ac_c_preproc_warn_flag
13876 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13883 if test -z "$ac_cpp_err"; then
13884 # Broken: success on invalid input.
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.
$ac_ext >&5
13890 # Passes both tests.
13894 rm -f conftest.err conftest.
$ac_ext
13897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13898 rm -f conftest.err conftest.
$ac_ext
13899 if $ac_preproc_ok; then
13902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13903 See \`config.log' for more details." >&5
13904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13905 See \`config.log' for more details." >&2;}
13906 { (exit 1); exit 1; }; }
13910 ac_cpp
='$CPP $CPPFLAGS'
13911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13916 echo "$as_me:$LINENO: checking for egrep" >&5
13917 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13918 if test "${ac_cv_prog_egrep+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13922 then ac_cv_prog_egrep
='grep -E'
13923 else ac_cv_prog_egrep
='egrep'
13926 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13927 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13928 EGREP
=$ac_cv_prog_egrep
13931 if test $ac_cv_c_compiler_gnu = yes; then
13932 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13933 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13934 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 ac_pattern
="Autoconf.*'x'"
13938 cat >conftest.
$ac_ext <<_ACEOF
13941 cat confdefs.h
>>conftest.
$ac_ext
13942 cat >>conftest.
$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13948 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13949 ac_cv_prog_gcc_traditional
=yes
13951 ac_cv_prog_gcc_traditional
=no
13956 if test $ac_cv_prog_gcc_traditional = no
; then
13957 cat >conftest.
$ac_ext <<_ACEOF
13960 cat confdefs.h
>>conftest.
$ac_ext
13961 cat >>conftest.
$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 #include <termio.h>
13966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13967 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13968 ac_cv_prog_gcc_traditional
=yes
13974 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13975 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13976 if test $ac_cv_prog_gcc_traditional = yes; then
13977 CC
="$CC -traditional"
13983 ac_cpp
='$CXXCPP $CPPFLAGS'
13984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13989 CXXFLAGS
=${CXXFLAGS:=}
13994 ac_cpp
='$CXXCPP $CPPFLAGS'
13995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13998 if test -n "$ac_tool_prefix"; then
13999 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14002 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14003 echo "$as_me:$LINENO: checking for $ac_word" >&5
14004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14005 if test "${ac_cv_prog_CXX+set}" = set; then
14006 echo $ECHO_N "(cached) $ECHO_C" >&6
14008 if test -n "$CXX"; then
14009 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14012 for as_dir
in $PATH
14015 test -z "$as_dir" && as_dir
=.
14016 for ac_exec_ext
in '' $ac_executable_extensions; do
14017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14018 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14027 CXX
=$ac_cv_prog_CXX
14028 if test -n "$CXX"; then
14029 echo "$as_me:$LINENO: result: $CXX" >&5
14030 echo "${ECHO_T}$CXX" >&6
14032 echo "$as_me:$LINENO: result: no" >&5
14033 echo "${ECHO_T}no" >&6
14036 test -n "$CXX" && break
14039 if test -z "$CXX"; then
14041 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14043 # Extract the first word of "$ac_prog", so it can be a program name with args.
14044 set dummy
$ac_prog; ac_word
=$2
14045 echo "$as_me:$LINENO: checking for $ac_word" >&5
14046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14047 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 if test -n "$ac_ct_CXX"; then
14051 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14054 for as_dir
in $PATH
14057 test -z "$as_dir" && as_dir
=.
14058 for ac_exec_ext
in '' $ac_executable_extensions; do
14059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14060 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14069 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14070 if test -n "$ac_ct_CXX"; then
14071 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14072 echo "${ECHO_T}$ac_ct_CXX" >&6
14074 echo "$as_me:$LINENO: result: no" >&5
14075 echo "${ECHO_T}no" >&6
14078 test -n "$ac_ct_CXX" && break
14080 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14086 # Provide some information about the compiler.
14087 echo "$as_me:$LINENO:" \
14088 "checking for C++ compiler version" >&5
14089 ac_compiler
=`set X $ac_compile; echo $2`
14090 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14091 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }
14095 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14096 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }
14100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14101 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }
14106 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 cat >conftest.
$ac_ext <<_ACEOF
14114 cat confdefs.h
>>conftest.
$ac_ext
14115 cat >>conftest.
$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14129 rm -f conftest.
$ac_objext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14131 (eval $ac_compile) 2>conftest.er1
14133 grep -v '^ *+' conftest.er1
>conftest.err
14135 cat conftest.err
>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } &&
14144 { ac_try
='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_compiler_gnu
=yes
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.
$ac_ext >&5
14157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14158 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14161 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14163 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14164 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14165 ac_save_CXXFLAGS
=$CXXFLAGS
14167 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14168 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14169 if test "${ac_cv_prog_cxx_g+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 cat >conftest.
$ac_ext <<_ACEOF
14175 cat confdefs.h
>>conftest.
$ac_ext
14176 cat >>conftest.
$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14187 rm -f conftest.
$ac_objext
14188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14189 (eval $ac_compile) 2>conftest.er1
14191 grep -v '^ *+' conftest.er1
>conftest.err
14193 cat conftest.err
>&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); } &&
14196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; } &&
14202 { ac_try
='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_prog_cxx_g
=yes
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.
$ac_ext >&5
14213 ac_cv_prog_cxx_g
=no
14215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14217 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14218 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14219 if test "$ac_test_CXXFLAGS" = set; then
14220 CXXFLAGS
=$ac_save_CXXFLAGS
14221 elif test $ac_cv_prog_cxx_g = yes; then
14222 if test "$GXX" = yes; then
14228 if test "$GXX" = yes; then
14234 for ac_declaration
in \
14236 'extern "C" void std::exit (int) throw (); using std::exit;' \
14237 'extern "C" void std::exit (int); using std::exit;' \
14238 'extern "C" void exit (int) throw ();' \
14239 'extern "C" void exit (int);' \
14242 cat >conftest.
$ac_ext <<_ACEOF
14245 cat confdefs.h
>>conftest.
$ac_ext
14246 cat >>conftest.
$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14249 #include <stdlib.h>
14258 rm -f conftest.
$ac_objext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>conftest.er1
14262 grep -v '^ *+' conftest.er1
>conftest.err
14264 cat conftest.err
>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try
='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.
$ac_ext >&5
14286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14287 cat >conftest.
$ac_ext <<_ACEOF
14290 cat confdefs.h
>>conftest.
$ac_ext
14291 cat >>conftest.
$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14302 rm -f conftest.
$ac_objext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14304 (eval $ac_compile) 2>conftest.er1
14306 grep -v '^ *+' conftest.er1
>conftest.err
14308 cat conftest.err
>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try
='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.
$ac_ext >&5
14329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14332 if test -n "$ac_declaration"; then
14333 echo '#ifdef __cplusplus' >>confdefs.h
14334 echo $ac_declaration >>confdefs.h
14335 echo '#endif' >>confdefs.h
14339 ac_cpp
='$CXXCPP $CPPFLAGS'
14340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14347 ac_cpp
='$CXXCPP $CPPFLAGS'
14348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14352 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14353 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14354 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 cat >conftest.
$ac_ext <<_ACEOF
14360 cat confdefs.h
>>conftest.
$ac_ext
14361 cat >>conftest.
$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14368 #ifndef __INTEL_COMPILER
14376 rm -f conftest.
$ac_objext
14377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14378 (eval $ac_compile) 2>conftest.er1
14380 grep -v '^ *+' conftest.er1
>conftest.err
14382 cat conftest.err
>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; } &&
14391 { ac_try
='test -s conftest.$ac_objext'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; }; then
14397 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.
$ac_ext >&5
14402 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14409 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14410 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14412 ac_cpp
='$CXXCPP $CPPFLAGS'
14413 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14414 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14415 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14417 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14424 if test "x$GCXX" != "xyes"; then
14425 if test "xCXX" = "xC"; then
14426 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14427 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14428 if test "${bakefile_cv_cxx_exto+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 cat >conftest.
$ac_ext <<_ACEOF
14434 cat confdefs.h
>>conftest.
$ac_ext
14435 cat >>conftest.
$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14446 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14448 (eval $ac_compile) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; then
14452 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14454 conftest.
$ac_ext.o
)
14455 bakefile_cv_cxx_exto
="-ext o"
14462 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14465 See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; }
14470 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14473 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14474 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14475 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14476 if test "cxx" = "c"; then
14477 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14479 if test "cxx" = "cxx"; then
14480 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14484 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14485 unset ac_cv_prog_cc_g
14486 ac_test_CFLAGS
=${CFLAGS+set}
14487 ac_save_CFLAGS
=$CFLAGS
14489 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14490 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14491 if test "${ac_cv_prog_cc_g+set}" = set; then
14492 echo $ECHO_N "(cached) $ECHO_C" >&6
14494 cat >conftest.
$ac_ext <<_ACEOF
14497 cat confdefs.h
>>conftest.
$ac_ext
14498 cat >>conftest.
$ac_ext <<_ACEOF
14499 /* end confdefs.h. */
14509 rm -f conftest.
$ac_objext
14510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14511 (eval $ac_compile) 2>conftest.er1
14513 grep -v '^ *+' conftest.er1
>conftest.err
14515 cat conftest.err
>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; } &&
14524 { ac_try
='test -s conftest.$ac_objext'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14530 ac_cv_prog_cc_g
=yes
14532 echo "$as_me: failed program was:" >&5
14533 sed 's/^/| /' conftest.
$ac_ext >&5
14537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14539 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14540 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14541 if test "$ac_test_CFLAGS" = set; then
14542 CFLAGS
=$ac_save_CFLAGS
14543 elif test $ac_cv_prog_cc_g = yes; then
14544 if test "$GCC" = yes; then
14550 if test "$GCC" = yes; then
14562 ac_cpp
='$CXXCPP $CPPFLAGS'
14563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14567 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14568 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14569 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14572 cat >conftest.
$ac_ext <<_ACEOF
14575 cat confdefs.h
>>conftest.
$ac_ext
14576 cat >>conftest.
$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14590 rm -f conftest.
$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>conftest.er1
14594 grep -v '^ *+' conftest.er1
>conftest.err
14596 cat conftest.err
>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try
='test -s conftest.$ac_objext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 bakefile_compiler_xlc
=yes
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.
$ac_ext >&5
14616 bakefile_compiler_xlc
=no
14618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14619 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14622 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14623 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14625 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14627 ac_cpp
='$CXXCPP $CPPFLAGS'
14628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14637 ac_cpp
='$CXXCPP $CPPFLAGS'
14638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14642 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14643 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14644 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14647 cat >conftest.
$ac_ext <<_ACEOF
14650 cat confdefs.h
>>conftest.
$ac_ext
14651 cat >>conftest.
$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14665 rm -f conftest.
$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>conftest.er1
14669 grep -v '^ *+' conftest.er1
>conftest.err
14671 cat conftest.err
>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; } &&
14680 { ac_try
='test -s conftest.$ac_objext'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; }; then
14686 bakefile_compiler_mwerks
=yes
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.
$ac_ext >&5
14691 bakefile_compiler_mwerks
=no
14693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14694 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14697 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14698 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14700 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14702 ac_cpp
='$CXXCPP $CPPFLAGS'
14703 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14704 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14705 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14709 ac_cpp
='$CXXCPP $CPPFLAGS'
14710 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14711 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14712 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14714 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14715 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14716 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 cat >conftest.
$ac_ext <<_ACEOF
14722 cat confdefs.h
>>conftest.
$ac_ext
14723 cat >>conftest.
$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14737 rm -f conftest.
$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>conftest.er1
14741 grep -v '^ *+' conftest.er1
>conftest.err
14743 cat conftest.err
>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; } &&
14752 { ac_try
='test -s conftest.$ac_objext'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14758 bakefile_compiler_xlc
=yes
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.
$ac_ext >&5
14763 bakefile_compiler_xlc
=no
14765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14766 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14769 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14770 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14772 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14774 ac_cpp
='$CXXCPP $CPPFLAGS'
14775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14786 ac_cpp
='$CXXCPP $CPPFLAGS'
14787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14791 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14792 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14793 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14796 cat >conftest.
$ac_ext <<_ACEOF
14799 cat confdefs.h
>>conftest.
$ac_ext
14800 cat >>conftest.
$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14807 #ifndef _SGI_COMPILER_VERSION
14815 rm -f conftest.
$ac_objext
14816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14817 (eval $ac_compile) 2>conftest.er1
14819 grep -v '^ *+' conftest.er1
>conftest.err
14821 cat conftest.err
>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); } &&
14824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14826 (eval $ac_try) 2>&5
14828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829 (exit $ac_status); }; } &&
14830 { ac_try
='test -s conftest.$ac_objext'
14831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14832 (eval $ac_try) 2>&5
14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835 (exit $ac_status); }; }; then
14836 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.
$ac_ext >&5
14841 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14848 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14849 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14851 ac_cpp
='$CXXCPP $CPPFLAGS'
14852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14856 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14869 ac_cpp
='$CXXCPP $CPPFLAGS'
14870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14874 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14875 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14876 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14877 echo $ECHO_N "(cached) $ECHO_C" >&6
14879 cat >conftest.
$ac_ext <<_ACEOF
14882 cat confdefs.h
>>conftest.
$ac_ext
14883 cat >>conftest.
$ac_ext <<_ACEOF
14884 /* end confdefs.h. */
14898 rm -f conftest.
$ac_objext
14899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14900 (eval $ac_compile) 2>conftest.er1
14902 grep -v '^ *+' conftest.er1
>conftest.err
14904 cat conftest.err
>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } &&
14907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try
='test -s conftest.$ac_objext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 bakefile_cv_cxx_compiler___HP_aCC
=yes
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.
$ac_ext >&5
14924 bakefile_cv_cxx_compiler___HP_aCC
=no
14927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14931 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14932 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14934 ac_cpp
='$CXXCPP $CPPFLAGS'
14935 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14939 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14952 ac_cpp
='$CXXCPP $CPPFLAGS'
14953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14957 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14958 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14959 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14962 cat >conftest.
$ac_ext <<_ACEOF
14965 cat confdefs.h
>>conftest.
$ac_ext
14966 cat >>conftest.
$ac_ext <<_ACEOF
14967 /* end confdefs.h. */
14981 rm -f conftest.
$ac_objext
14982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14983 (eval $ac_compile) 2>conftest.er1
14985 grep -v '^ *+' conftest.er1
>conftest.err
14987 cat conftest.err
>&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } &&
14990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; } &&
14996 { ac_try
='test -s conftest.$ac_objext'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; }; then
15002 bakefile_cv_cxx_compiler___DECCXX
=yes
15004 echo "$as_me: failed program was:" >&5
15005 sed 's/^/| /' conftest.
$ac_ext >&5
15007 bakefile_cv_cxx_compiler___DECCXX
=no
15010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15014 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15015 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15017 ac_cpp
='$CXXCPP $CPPFLAGS'
15018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15022 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15035 ac_cpp
='$CXXCPP $CPPFLAGS'
15036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15040 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15041 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15042 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 cat >conftest.
$ac_ext <<_ACEOF
15048 cat confdefs.h
>>conftest.
$ac_ext
15049 cat >>conftest.
$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15056 #ifndef __SUNPRO_CC
15064 rm -f conftest.
$ac_objext
15065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15066 (eval $ac_compile) 2>conftest.er1
15068 grep -v '^ *+' conftest.er1
>conftest.err
15070 cat conftest.err
>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } &&
15073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try
='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.
$ac_ext >&5
15090 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15097 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15098 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15100 ac_cpp
='$CXXCPP $CPPFLAGS'
15101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15105 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15118 if test -n "$ac_tool_prefix"; then
15119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15120 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15121 echo "$as_me:$LINENO: checking for $ac_word" >&5
15122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15123 if test "${ac_cv_prog_RANLIB+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 if test -n "$RANLIB"; then
15127 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15130 for as_dir
in $PATH
15133 test -z "$as_dir" && as_dir
=.
15134 for ac_exec_ext
in '' $ac_executable_extensions; do
15135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15136 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15145 RANLIB
=$ac_cv_prog_RANLIB
15146 if test -n "$RANLIB"; then
15147 echo "$as_me:$LINENO: result: $RANLIB" >&5
15148 echo "${ECHO_T}$RANLIB" >&6
15150 echo "$as_me:$LINENO: result: no" >&5
15151 echo "${ECHO_T}no" >&6
15155 if test -z "$ac_cv_prog_RANLIB"; then
15156 ac_ct_RANLIB
=$RANLIB
15157 # Extract the first word of "ranlib", so it can be a program name with args.
15158 set dummy ranlib
; ac_word
=$2
15159 echo "$as_me:$LINENO: checking for $ac_word" >&5
15160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 if test -n "$ac_ct_RANLIB"; then
15165 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15168 for as_dir
in $PATH
15171 test -z "$as_dir" && as_dir
=.
15172 for ac_exec_ext
in '' $ac_executable_extensions; do
15173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15174 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15181 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15184 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15185 if test -n "$ac_ct_RANLIB"; then
15186 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15187 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15189 echo "$as_me:$LINENO: result: no" >&5
15190 echo "${ECHO_T}no" >&6
15193 RANLIB
=$ac_ct_RANLIB
15195 RANLIB
="$ac_cv_prog_RANLIB"
15199 if test -n "$ac_tool_prefix"; then
15200 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15201 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15202 echo "$as_me:$LINENO: checking for $ac_word" >&5
15203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15204 if test "${ac_cv_prog_AR+set}" = set; then
15205 echo $ECHO_N "(cached) $ECHO_C" >&6
15207 if test -n "$AR"; then
15208 ac_cv_prog_AR
="$AR" # Let the user override the test.
15210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15211 for as_dir
in $PATH
15214 test -z "$as_dir" && as_dir
=.
15215 for ac_exec_ext
in '' $ac_executable_extensions; do
15216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15217 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15227 if test -n "$AR"; then
15228 echo "$as_me:$LINENO: result: $AR" >&5
15229 echo "${ECHO_T}$AR" >&6
15231 echo "$as_me:$LINENO: result: no" >&5
15232 echo "${ECHO_T}no" >&6
15236 if test -z "$ac_cv_prog_AR"; then
15238 # Extract the first word of "ar", so it can be a program name with args.
15239 set dummy
ar; ac_word
=$2
15240 echo "$as_me:$LINENO: checking for $ac_word" >&5
15241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15242 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 if test -n "$ac_ct_AR"; then
15246 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15249 for as_dir
in $PATH
15252 test -z "$as_dir" && as_dir
=.
15253 for ac_exec_ext
in '' $ac_executable_extensions; do
15254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15255 ac_cv_prog_ac_ct_AR
="ar"
15256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15264 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15265 if test -n "$ac_ct_AR"; then
15266 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15267 echo "${ECHO_T}$ac_ct_AR" >&6
15269 echo "$as_me:$LINENO: result: no" >&5
15270 echo "${ECHO_T}no" >&6
15275 AR
="$ac_cv_prog_AR"
15278 if test "x$AR" = "x" ; then
15279 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15280 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15281 { (exit 1); exit 1; }; }
15284 # Find a good install program. We prefer a C program (faster),
15285 # so one script is as good as another. But avoid the broken or
15286 # incompatible versions:
15287 # SysV /etc/install, /usr/sbin/install
15288 # SunOS /usr/etc/install
15289 # IRIX /sbin/install
15291 # AmigaOS /C/install, which installs bootblocks on floppy discs
15292 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15293 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15294 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15295 # OS/2's system install, which has a completely different semantic
15296 # ./install, which can be erroneously created by make from ./install.sh.
15297 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15298 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15299 if test -z "$INSTALL"; then
15300 if test "${ac_cv_path_install+set}" = set; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15304 for as_dir
in $PATH
15307 test -z "$as_dir" && as_dir
=.
15308 # Account for people who put trailing slashes in PATH elements.
15310 .
/ | .
// | /cC
/* | \
15311 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15312 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15315 # OSF1 and SCO ODT 3.0 have their own names for install.
15316 # Don't use installbsd from OSF since it installs stuff as root
15318 for ac_prog
in ginstall scoinst
install; do
15319 for ac_exec_ext
in '' $ac_executable_extensions; do
15320 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15321 if test $ac_prog = install &&
15322 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15323 # AIX install. It has an incompatible calling convention.
15325 elif test $ac_prog = install &&
15326 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15327 # program-specific install script used by HP pwplus--don't use.
15330 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15342 if test "${ac_cv_path_install+set}" = set; then
15343 INSTALL
=$ac_cv_path_install
15345 # As a last resort, use the slow shell script. We don't cache a
15346 # path for INSTALL within a source directory, because that will
15347 # break other packages using the cache if that directory is
15348 # removed, or if the path is relative.
15349 INSTALL
=$ac_install_sh
15352 echo "$as_me:$LINENO: result: $INSTALL" >&5
15353 echo "${ECHO_T}$INSTALL" >&6
15355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15356 # It thinks the first close brace ends the variable substitution.
15357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15361 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15367 ?
:* ) # Drive letter, considered as absolute.
15370 INSTALL
=`pwd`/${INSTALL} ;;
15377 INSTALL_PROGRAM
="cp -fp"
15378 INSTALL_DATA
="cp -fp"
15384 if test -n "$ac_tool_prefix"; then
15385 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15386 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15387 echo "$as_me:$LINENO: checking for $ac_word" >&5
15388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15389 if test "${ac_cv_prog_STRIP+set}" = set; then
15390 echo $ECHO_N "(cached) $ECHO_C" >&6
15392 if test -n "$STRIP"; then
15393 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15396 for as_dir
in $PATH
15399 test -z "$as_dir" && as_dir
=.
15400 for ac_exec_ext
in '' $ac_executable_extensions; do
15401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15402 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15411 STRIP
=$ac_cv_prog_STRIP
15412 if test -n "$STRIP"; then
15413 echo "$as_me:$LINENO: result: $STRIP" >&5
15414 echo "${ECHO_T}$STRIP" >&6
15416 echo "$as_me:$LINENO: result: no" >&5
15417 echo "${ECHO_T}no" >&6
15421 if test -z "$ac_cv_prog_STRIP"; then
15423 # Extract the first word of "strip", so it can be a program name with args.
15424 set dummy strip
; ac_word
=$2
15425 echo "$as_me:$LINENO: checking for $ac_word" >&5
15426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15427 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15430 if test -n "$ac_ct_STRIP"; then
15431 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15434 for as_dir
in $PATH
15437 test -z "$as_dir" && as_dir
=.
15438 for ac_exec_ext
in '' $ac_executable_extensions; do
15439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15440 ac_cv_prog_ac_ct_STRIP
="strip"
15441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15447 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15450 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15451 if test -n "$ac_ct_STRIP"; then
15452 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15453 echo "${ECHO_T}$ac_ct_STRIP" >&6
15455 echo "$as_me:$LINENO: result: no" >&5
15456 echo "${ECHO_T}no" >&6
15461 STRIP
="$ac_cv_prog_STRIP"
15465 if test "$wxUSE_WINE" = "yes"; then
15466 if test -n "$ac_tool_prefix"; then
15467 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15468 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15469 echo "$as_me:$LINENO: checking for $ac_word" >&5
15470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15471 if test "${ac_cv_prog_WINDRES+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 if test -n "$WINDRES"; then
15475 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15478 for as_dir
in $PATH
15481 test -z "$as_dir" && as_dir
=.
15482 for ac_exec_ext
in '' $ac_executable_extensions; do
15483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15484 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15493 WINDRES
=$ac_cv_prog_WINDRES
15494 if test -n "$WINDRES"; then
15495 echo "$as_me:$LINENO: result: $WINDRES" >&5
15496 echo "${ECHO_T}$WINDRES" >&6
15498 echo "$as_me:$LINENO: result: no" >&5
15499 echo "${ECHO_T}no" >&6
15503 if test -z "$ac_cv_prog_WINDRES"; then
15504 ac_ct_WINDRES
=$WINDRES
15505 # Extract the first word of "wrc", so it can be a program name with args.
15506 set dummy wrc
; ac_word
=$2
15507 echo "$as_me:$LINENO: checking for $ac_word" >&5
15508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15509 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 if test -n "$ac_ct_WINDRES"; then
15513 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15516 for as_dir
in $PATH
15519 test -z "$as_dir" && as_dir
=.
15520 for ac_exec_ext
in '' $ac_executable_extensions; do
15521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15522 ac_cv_prog_ac_ct_WINDRES
="wrc"
15523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15531 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15532 if test -n "$ac_ct_WINDRES"; then
15533 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15534 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15536 echo "$as_me:$LINENO: result: no" >&5
15537 echo "${ECHO_T}no" >&6
15540 WINDRES
=$ac_ct_WINDRES
15542 WINDRES
="$ac_cv_prog_WINDRES"
15548 *-*-cygwin* | *-*-mingw32* )
15549 if test -n "$ac_tool_prefix"; then
15550 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15551 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15552 echo "$as_me:$LINENO: checking for $ac_word" >&5
15553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15554 if test "${ac_cv_prog_WINDRES+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15557 if test -n "$WINDRES"; then
15558 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15561 for as_dir
in $PATH
15564 test -z "$as_dir" && as_dir
=.
15565 for ac_exec_ext
in '' $ac_executable_extensions; do
15566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15567 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15576 WINDRES
=$ac_cv_prog_WINDRES
15577 if test -n "$WINDRES"; then
15578 echo "$as_me:$LINENO: result: $WINDRES" >&5
15579 echo "${ECHO_T}$WINDRES" >&6
15581 echo "$as_me:$LINENO: result: no" >&5
15582 echo "${ECHO_T}no" >&6
15586 if test -z "$ac_cv_prog_WINDRES"; then
15587 ac_ct_WINDRES
=$WINDRES
15588 # Extract the first word of "windres", so it can be a program name with args.
15589 set dummy windres
; ac_word
=$2
15590 echo "$as_me:$LINENO: checking for $ac_word" >&5
15591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15592 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15595 if test -n "$ac_ct_WINDRES"; then
15596 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15599 for as_dir
in $PATH
15602 test -z "$as_dir" && as_dir
=.
15603 for ac_exec_ext
in '' $ac_executable_extensions; do
15604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15605 ac_cv_prog_ac_ct_WINDRES
="windres"
15606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15614 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15615 if test -n "$ac_ct_WINDRES"; then
15616 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15617 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15619 echo "$as_me:$LINENO: result: no" >&5
15620 echo "${ECHO_T}no" >&6
15623 WINDRES
=$ac_ct_WINDRES
15625 WINDRES
="$ac_cv_prog_WINDRES"
15629 if test -n "$ac_tool_prefix"; then
15630 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15631 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15632 echo "$as_me:$LINENO: checking for $ac_word" >&5
15633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15634 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 if test -n "$DLLTOOL"; then
15638 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15641 for as_dir
in $PATH
15644 test -z "$as_dir" && as_dir
=.
15645 for ac_exec_ext
in '' $ac_executable_extensions; do
15646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15647 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15656 DLLTOOL
=$ac_cv_prog_DLLTOOL
15657 if test -n "$DLLTOOL"; then
15658 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15659 echo "${ECHO_T}$DLLTOOL" >&6
15661 echo "$as_me:$LINENO: result: no" >&5
15662 echo "${ECHO_T}no" >&6
15666 if test -z "$ac_cv_prog_DLLTOOL"; then
15667 ac_ct_DLLTOOL
=$DLLTOOL
15668 # Extract the first word of "dlltool", so it can be a program name with args.
15669 set dummy dlltool
; ac_word
=$2
15670 echo "$as_me:$LINENO: checking for $ac_word" >&5
15671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15672 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 if test -n "$ac_ct_DLLTOOL"; then
15676 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15679 for as_dir
in $PATH
15682 test -z "$as_dir" && as_dir
=.
15683 for ac_exec_ext
in '' $ac_executable_extensions; do
15684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15685 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15694 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15695 if test -n "$ac_ct_DLLTOOL"; then
15696 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15697 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15699 echo "$as_me:$LINENO: result: no" >&5
15700 echo "${ECHO_T}no" >&6
15703 DLLTOOL
=$ac_ct_DLLTOOL
15705 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15712 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15713 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15714 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15718 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15719 egrep -s GNU
> /dev
/null
); then
15720 wx_cv_prog_makeisgnu
="yes"
15722 wx_cv_prog_makeisgnu
="no"
15726 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15727 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15729 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15737 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15738 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15739 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15740 if test "${wx_cv_prog_makevpath+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 cat - << EOF > confMake
15750 if test ! -d sub
; then
15753 echo dummy
> sub
/file
15754 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15756 rm -f sub
/file check final_file confMake
15758 if test "$RESULT" = 0; then
15759 wx_cv_prog_makevpath
="yes"
15761 wx_cv_prog_makevpath
="no"
15765 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15766 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15768 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15769 { { echo "$as_me:$LINENO: error:
15770 You need a make-utility that is able to use the variable
15772 If your version of make does not support VPATH correctly,
15773 please install GNU-make (possibly as gmake), and start
15774 configure with the following command:
15775 export MAKE=gmake; ./configure for sh-type shells
15776 setenv MAKE gmake; ./configure for csh-type shells
15777 Also please do remember to use gmake in this case every time
15778 you are trying to compile.
15780 echo "$as_me: error:
15781 You need a make-utility that is able to use the variable
15783 If your version of make does not support VPATH correctly,
15784 please install GNU-make (possibly as gmake), and start
15785 configure with the following command:
15786 export MAKE=gmake; ./configure for sh-type shells
15787 setenv MAKE gmake; ./configure for csh-type shells
15788 Also please do remember to use gmake in this case every time
15789 you are trying to compile.
15791 { (exit 1); exit 1; }; }
15793 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15794 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15796 if test "$LN_S" = "ln -s"; then
15797 echo "$as_me:$LINENO: result: yes" >&5
15798 echo "${ECHO_T}yes" >&6
15800 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15801 echo "${ECHO_T}no, using $LN_S" >&6
15807 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15808 CXXFLAGS
="-qunique $CXXFLAGS"
15812 powerpc
-*-darwin* )
15813 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15814 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15815 cat >conftest.
$ac_ext <<_ACEOF
15818 cat confdefs.h
>>conftest.
$ac_ext
15819 cat >>conftest.
$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15825 #ifndef __POWERPC__
15826 choke me for lack of PowerPC
15833 rm -f conftest.
$ac_objext
15834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15835 (eval $ac_compile) 2>conftest.er1
15837 grep -v '^ *+' conftest.er1
>conftest.err
15839 cat conftest.err
>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } &&
15842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; } &&
15848 { ac_try
='test -s conftest.$ac_objext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15854 echo "$as_me:$LINENO: result: yes" >&5
15855 echo "${ECHO_T}yes" >&6
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.
$ac_ext >&5
15860 echo "$as_me:$LINENO: result: no" >&5
15861 echo "${ECHO_T}no" >&6
15862 cat >>confdefs.h
<<\_ACEOF
15863 #define __POWERPC__ 1
15868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15874 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15875 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $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. */
15882 #include <CoreFoundation/CFBase.h>
15892 rm -f conftest.
$ac_objext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894 (eval $ac_compile) 2>conftest.er1
15896 grep -v '^ *+' conftest.er1
>conftest.err
15898 cat conftest.err
>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } &&
15901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; } &&
15907 { ac_try
='test -s conftest.$ac_objext'
15908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909 (eval $ac_try) 2>&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); }; }; then
15913 echo "$as_me:$LINENO: result: yes" >&5
15914 echo "${ECHO_T}yes" >&6
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.
$ac_ext >&5
15919 echo "$as_me:$LINENO: result: no" >&5
15920 echo "${ECHO_T}no" >&6
15921 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15922 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15923 cat >conftest.
$ac_ext <<_ACEOF
15926 cat confdefs.h
>>conftest.
$ac_ext
15927 cat >>conftest.
$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 #define __CF_USE_FRAMEWORK_INCLUDES__
15930 #include <CoreFoundation/CFBase.h>
15940 rm -f conftest.
$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>conftest.er1
15944 grep -v '^ *+' conftest.er1
>conftest.err
15946 cat conftest.err
>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try
='test -s conftest.$ac_objext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 echo "$as_me:$LINENO: result: yes" >&5
15962 echo "${ECHO_T}yes" >&6
15963 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15969 See \`config.log' for more details." >&5
15970 echo "$as_me: error: no. CoreFoundation not available.
15971 See \`config.log' for more details." >&2;}
15972 { (exit 1); exit 1; }; }
15975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15984 *-pc-os2_emx | *-pc-os2-emx )
15986 ac_cpp
='$CPP $CPPFLAGS'
15987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15991 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15992 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15993 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15994 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15995 echo $ECHO_N "(cached) $ECHO_C" >&6
15997 ac_check_lib_save_LIBS
=$LIBS
15998 LIBS
="-lcExt $LIBS"
15999 cat >conftest.
$ac_ext <<_ACEOF
16002 cat confdefs.h
>>conftest.
$ac_ext
16003 cat >>conftest.
$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16006 /* Override any gcc2 internal prototype to avoid an error. */
16010 /* We use char because int might match the return type of a gcc2
16011 builtin and then its argument prototype would still apply. */
16021 rm -f conftest.
$ac_objext conftest
$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023 (eval $ac_link) 2>conftest.er1
16025 grep -v '^ *+' conftest.er1
>conftest.err
16027 cat conftest.err
>&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } &&
16030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 (eval $ac_try) 2>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; } &&
16036 { ac_try
='test -s conftest$ac_exeext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_cv_lib_cExt_drand48
=yes
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.
$ac_ext >&5
16047 ac_cv_lib_cExt_drand48
=no
16049 rm -f conftest.err conftest.
$ac_objext \
16050 conftest
$ac_exeext conftest.
$ac_ext
16051 LIBS
=$ac_check_lib_save_LIBS
16053 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16054 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16055 if test $ac_cv_lib_cExt_drand48 = yes; then
16056 LIBS
="$LIBS -lcExt"
16060 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16062 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16063 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16064 if test "${wx_cv_gccversion+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 if test "$cross_compiling" = yes; then
16069 wx_cv_gccversion
="EMX2"
16072 cat >conftest.
$ac_ext <<_ACEOF
16075 cat confdefs.h
>>conftest.
$ac_ext
16076 cat >>conftest.
$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16083 FILE *f=fopen("conftestval", "w");
16088 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16090 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16100 rm -f conftest
$ac_exeext
16101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16102 (eval $ac_link) 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 wx_cv_gccversion
=`cat conftestval`
16113 echo "$as_me: program exited with status $ac_status" >&5
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.
$ac_ext >&5
16117 ( exit $ac_status )
16118 wx_cv_gccversion
="EMX2"
16120 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16124 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16125 echo "${ECHO_T}$wx_cv_gccversion" >&6
16127 ac_cpp
='$CXXCPP $CPPFLAGS'
16128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16132 if test "$wx_cv_gccversion" = "EMX2"; then
16133 LIBS
="$LIBS -lstdcpp"
16134 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16136 if test "$wx_cv_gccversion" = "EMX3"; then
16137 LIBS
="$LIBS -lstdcxx -lgcc"
16138 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16140 LIBS
="$LIBS -lstdc++"
16143 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16144 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16145 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16152 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16153 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16154 if test "${ac_cv_string_strcasecmp+set}" = set; then
16155 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 cat >conftest.
$ac_ext <<_ACEOF
16161 cat confdefs.h
>>conftest.
$ac_ext
16162 cat >>conftest.
$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16165 #include <string.h>
16171 strcasecmp("foo", "bar");
16177 rm -f conftest.
$ac_objext conftest
$ac_exeext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16179 (eval $ac_link) 2>conftest.er1
16181 grep -v '^ *+' conftest.er1
>conftest.err
16183 cat conftest.err
>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try
='test -s conftest$ac_exeext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16198 ac_cv_string_strcasecmp
=yes
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.
$ac_ext >&5
16203 ac_cv_string_strcasecmp
=no
16206 rm -f conftest.err conftest.
$ac_objext \
16207 conftest
$ac_exeext conftest.
$ac_ext
16210 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16211 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16213 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16214 cat >>confdefs.h
<<\_ACEOF
16215 #define HAVE_STRCASECMP_IN_STRING_H 1
16219 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16220 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16221 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 cat >conftest.
$ac_ext <<_ACEOF
16228 cat confdefs.h
>>conftest.
$ac_ext
16229 cat >>conftest.
$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16232 #include <strings.h>
16238 strcasecmp("foo", "bar");
16244 rm -f conftest.
$ac_objext conftest
$ac_exeext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16246 (eval $ac_link) 2>conftest.er1
16248 grep -v '^ *+' conftest.er1
>conftest.err
16250 cat conftest.err
>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; } &&
16259 { ac_try
='test -s conftest$ac_exeext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_strings_strcasecmp
=yes
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.
$ac_ext >&5
16270 ac_cv_strings_strcasecmp
=no
16273 rm -f conftest.err conftest.
$ac_objext \
16274 conftest
$ac_exeext conftest.
$ac_ext
16277 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16278 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16280 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16281 cat >>confdefs.h
<<\_ACEOF
16282 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16286 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16287 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16288 { (exit 1); exit 1; }; }
16297 ac_cpp
='$CXXCPP $CPPFLAGS'
16298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16301 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16302 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16303 if test -z "$CXXCPP"; then
16304 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16305 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 # Double quotes because CXXCPP needs to be expanded
16308 for CXXCPP
in "$CXX -E" "/lib/cpp"
16310 ac_preproc_ok
=false
16311 for ac_cxx_preproc_warn_flag
in '' yes
16313 # Use a header file that comes with gcc, so configuring glibc
16314 # with a fresh cross-compiler works.
16315 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16316 # <limits.h> exists even on freestanding compilers.
16317 # On the NeXT, cc -E runs the code through the compiler's parser,
16318 # not just through cpp. "Syntax error" is here to catch this case.
16319 cat >conftest.
$ac_ext <<_ACEOF
16322 cat confdefs.h
>>conftest.
$ac_ext
16323 cat >>conftest.
$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16326 # include <limits.h>
16328 # include <assert.h>
16332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16333 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16335 grep -v '^ *+' conftest.er1
>conftest.err
16337 cat conftest.err
>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } >/dev
/null
; then
16340 if test -s conftest.err
; then
16341 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16342 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16349 if test -z "$ac_cpp_err"; then
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.
$ac_ext >&5
16355 # Broken: fails on valid input.
16358 rm -f conftest.err conftest.
$ac_ext
16360 # OK, works on sane cases. Now check whether non-existent headers
16361 # can be detected and how.
16362 cat >conftest.
$ac_ext <<_ACEOF
16365 cat confdefs.h
>>conftest.
$ac_ext
16366 cat >>conftest.
$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16368 #include <ac_nonexistent.h>
16370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16373 grep -v '^ *+' conftest.er1
>conftest.err
16375 cat conftest.err
>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } >/dev
/null
; then
16378 if test -s conftest.err
; then
16379 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16380 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16387 if test -z "$ac_cpp_err"; then
16388 # Broken: success on invalid input.
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.
$ac_ext >&5
16394 # Passes both tests.
16398 rm -f conftest.err conftest.
$ac_ext
16401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16402 rm -f conftest.err conftest.
$ac_ext
16403 if $ac_preproc_ok; then
16408 ac_cv_prog_CXXCPP
=$CXXCPP
16411 CXXCPP
=$ac_cv_prog_CXXCPP
16413 ac_cv_prog_CXXCPP
=$CXXCPP
16415 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16416 echo "${ECHO_T}$CXXCPP" >&6
16417 ac_preproc_ok
=false
16418 for ac_cxx_preproc_warn_flag
in '' yes
16420 # Use a header file that comes with gcc, so configuring glibc
16421 # with a fresh cross-compiler works.
16422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16423 # <limits.h> exists even on freestanding compilers.
16424 # On the NeXT, cc -E runs the code through the compiler's parser,
16425 # not just through cpp. "Syntax error" is here to catch this case.
16426 cat >conftest.
$ac_ext <<_ACEOF
16429 cat confdefs.h
>>conftest.
$ac_ext
16430 cat >>conftest.
$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16433 # include <limits.h>
16435 # include <assert.h>
16439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16442 grep -v '^ *+' conftest.er1
>conftest.err
16444 cat conftest.err
>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } >/dev
/null
; then
16447 if test -s conftest.err
; then
16448 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16449 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16456 if test -z "$ac_cpp_err"; then
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.
$ac_ext >&5
16462 # Broken: fails on valid input.
16465 rm -f conftest.err conftest.
$ac_ext
16467 # OK, works on sane cases. Now check whether non-existent headers
16468 # can be detected and how.
16469 cat >conftest.
$ac_ext <<_ACEOF
16472 cat confdefs.h
>>conftest.
$ac_ext
16473 cat >>conftest.
$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 #include <ac_nonexistent.h>
16477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16480 grep -v '^ *+' conftest.er1
>conftest.err
16482 cat conftest.err
>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } >/dev
/null
; then
16485 if test -s conftest.err
; then
16486 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16487 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16494 if test -z "$ac_cpp_err"; then
16495 # Broken: success on invalid input.
16498 echo "$as_me: failed program was:" >&5
16499 sed 's/^/| /' conftest.
$ac_ext >&5
16501 # Passes both tests.
16505 rm -f conftest.err conftest.
$ac_ext
16508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16509 rm -f conftest.err conftest.
$ac_ext
16510 if $ac_preproc_ok; then
16513 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16514 See \`config.log' for more details." >&5
16515 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16516 See \`config.log' for more details." >&2;}
16517 { (exit 1); exit 1; }; }
16521 ac_cpp
='$CXXCPP $CPPFLAGS'
16522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16527 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16528 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16529 if test "${ac_cv_header_stdc+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 cat >conftest.
$ac_ext <<_ACEOF
16535 cat confdefs.h
>>conftest.
$ac_ext
16536 cat >>conftest.
$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 #include <stdlib.h>
16539 #include <stdarg.h>
16540 #include <string.h>
16551 rm -f conftest.
$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>conftest.er1
16555 grep -v '^ *+' conftest.er1
>conftest.err
16557 cat conftest.err
>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; } &&
16566 { ac_try
='test -s conftest.$ac_objext'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_header_stdc
=yes
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.
$ac_ext >&5
16577 ac_cv_header_stdc
=no
16579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16581 if test $ac_cv_header_stdc = yes; then
16582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16583 cat >conftest.
$ac_ext <<_ACEOF
16586 cat confdefs.h
>>conftest.
$ac_ext
16587 cat >>conftest.
$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 #include <string.h>
16592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16593 $EGREP "memchr" >/dev
/null
2>&1; then
16596 ac_cv_header_stdc
=no
16602 if test $ac_cv_header_stdc = yes; then
16603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16604 cat >conftest.
$ac_ext <<_ACEOF
16607 cat confdefs.h
>>conftest.
$ac_ext
16608 cat >>conftest.
$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 #include <stdlib.h>
16613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16614 $EGREP "free" >/dev
/null
2>&1; then
16617 ac_cv_header_stdc
=no
16623 if test $ac_cv_header_stdc = yes; then
16624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16625 if test "$cross_compiling" = yes; then
16628 cat >conftest.
$ac_ext <<_ACEOF
16631 cat confdefs.h
>>conftest.
$ac_ext
16632 cat >>conftest.
$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16635 #if ((' ' & 0x0FF) == 0x020)
16636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16639 # define ISLOWER(c) \
16640 (('a' <= (c) && (c) <= 'i') \
16641 || ('j' <= (c) && (c) <= 'r') \
16642 || ('s' <= (c) && (c) <= 'z'))
16643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16651 for (i = 0; i < 256; i++)
16652 if (XOR (islower (i), ISLOWER (i))
16653 || toupper (i) != TOUPPER (i))
16658 rm -f conftest
$ac_exeext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16660 (eval $ac_link) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16671 echo "$as_me: program exited with status $ac_status" >&5
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.
$ac_ext >&5
16675 ( exit $ac_status )
16676 ac_cv_header_stdc
=no
16678 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16682 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16683 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16684 if test $ac_cv_header_stdc = yes; then
16686 cat >>confdefs.h
<<\_ACEOF
16687 #define STDC_HEADERS 1
16692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16702 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16703 inttypes.h stdint.h unistd.h
16705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16706 echo "$as_me:$LINENO: checking for $ac_header" >&5
16707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16711 cat >conftest.
$ac_ext <<_ACEOF
16714 cat confdefs.h
>>conftest.
$ac_ext
16715 cat >>conftest.
$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16717 $ac_includes_default
16719 #include <$ac_header>
16721 rm -f conftest.
$ac_objext
16722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16723 (eval $ac_compile) 2>conftest.er1
16725 grep -v '^ *+' conftest.er1
>conftest.err
16727 cat conftest.err
>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } &&
16730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; } &&
16736 { ac_try
='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 eval "$as_ac_Header=yes"
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.
$ac_ext >&5
16747 eval "$as_ac_Header=no"
16749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16754 cat >>confdefs.h
<<_ACEOF
16755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16764 for ac_header
in stdlib.h
16766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16768 echo "$as_me:$LINENO: checking for $ac_header" >&5
16769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16776 # Is the header compilable?
16777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16779 cat >conftest.
$ac_ext <<_ACEOF
16782 cat confdefs.h
>>conftest.
$ac_ext
16783 cat >>conftest.
$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 $ac_includes_default
16786 #include <$ac_header>
16788 rm -f conftest.
$ac_objext
16789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16790 (eval $ac_compile) 2>conftest.er1
16792 grep -v '^ *+' conftest.er1
>conftest.err
16794 cat conftest.err
>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } &&
16797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; } &&
16803 { ac_try
='test -s conftest.$ac_objext'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; }; then
16809 ac_header_compiler
=yes
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.
$ac_ext >&5
16814 ac_header_compiler
=no
16816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16818 echo "${ECHO_T}$ac_header_compiler" >&6
16820 # Is the header present?
16821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16823 cat >conftest.
$ac_ext <<_ACEOF
16826 cat confdefs.h
>>conftest.
$ac_ext
16827 cat >>conftest.
$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 #include <$ac_header>
16831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16834 grep -v '^ *+' conftest.er1
>conftest.err
16836 cat conftest.err
>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } >/dev
/null
; then
16839 if test -s conftest.err
; then
16840 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16841 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16848 if test -z "$ac_cpp_err"; then
16849 ac_header_preproc
=yes
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.
$ac_ext >&5
16854 ac_header_preproc
=no
16856 rm -f conftest.err conftest.
$ac_ext
16857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16858 echo "${ECHO_T}$ac_header_preproc" >&6
16860 # So? What about this header?
16861 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16867 ac_header_preproc
=yes
16870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16884 ## ----------------------------------------- ##
16885 ## Report this to wx-dev@lists.wxwidgets.org ##
16886 ## ----------------------------------------- ##
16889 sed "s/^/$as_me: WARNING: /" >&2
16892 echo "$as_me:$LINENO: checking for $ac_header" >&5
16893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 eval "$as_ac_Header=\$ac_header_preproc"
16899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16904 cat >>confdefs.h
<<_ACEOF
16905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16913 for ac_header
in malloc.h
16915 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16917 echo "$as_me:$LINENO: checking for $ac_header" >&5
16918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16925 # Is the header compilable?
16926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16935 #include <$ac_header>
16937 rm -f conftest.
$ac_objext
16938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16939 (eval $ac_compile) 2>conftest.er1
16941 grep -v '^ *+' conftest.er1
>conftest.err
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } &&
16946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try
='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_header_compiler
=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 ac_header_compiler
=no
16965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16967 echo "${ECHO_T}$ac_header_compiler" >&6
16969 # Is the header present?
16970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16972 cat >conftest.
$ac_ext <<_ACEOF
16975 cat confdefs.h
>>conftest.
$ac_ext
16976 cat >>conftest.
$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 #include <$ac_header>
16980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16981 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16983 grep -v '^ *+' conftest.er1
>conftest.err
16985 cat conftest.err
>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } >/dev
/null
; then
16988 if test -s conftest.err
; then
16989 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16990 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16997 if test -z "$ac_cpp_err"; then
16998 ac_header_preproc
=yes
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.
$ac_ext >&5
17003 ac_header_preproc
=no
17005 rm -f conftest.err conftest.
$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17007 echo "${ECHO_T}$ac_header_preproc" >&6
17009 # So? What about this header?
17010 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17016 ac_header_preproc
=yes
17019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17033 ## ----------------------------------------- ##
17034 ## Report this to wx-dev@lists.wxwidgets.org ##
17035 ## ----------------------------------------- ##
17038 sed "s/^/$as_me: WARNING: /" >&2
17041 echo "$as_me:$LINENO: checking for $ac_header" >&5
17042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 eval "$as_ac_Header=\$ac_header_preproc"
17048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17053 cat >>confdefs.h
<<_ACEOF
17054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17062 for ac_header
in unistd.h
17064 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17066 echo "$as_me:$LINENO: checking for $ac_header" >&5
17067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17074 # Is the header compilable?
17075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17077 cat >conftest.
$ac_ext <<_ACEOF
17080 cat confdefs.h
>>conftest.
$ac_ext
17081 cat >>conftest.
$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17083 $ac_includes_default
17084 #include <$ac_header>
17086 rm -f conftest.
$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17090 grep -v '^ *+' conftest.er1
>conftest.err
17092 cat conftest.err
>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; } &&
17101 { ac_try
='test -s conftest.$ac_objext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17107 ac_header_compiler
=yes
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.
$ac_ext >&5
17112 ac_header_compiler
=no
17114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17116 echo "${ECHO_T}$ac_header_compiler" >&6
17118 # Is the header present?
17119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17121 cat >conftest.
$ac_ext <<_ACEOF
17124 cat confdefs.h
>>conftest.
$ac_ext
17125 cat >>conftest.
$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 #include <$ac_header>
17129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17132 grep -v '^ *+' conftest.er1
>conftest.err
17134 cat conftest.err
>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } >/dev
/null
; then
17137 if test -s conftest.err
; then
17138 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17139 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17146 if test -z "$ac_cpp_err"; then
17147 ac_header_preproc
=yes
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.
$ac_ext >&5
17152 ac_header_preproc
=no
17154 rm -f conftest.err conftest.
$ac_ext
17155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17156 echo "${ECHO_T}$ac_header_preproc" >&6
17158 # So? What about this header?
17159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17165 ac_header_preproc
=yes
17168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17182 ## ----------------------------------------- ##
17183 ## Report this to wx-dev@lists.wxwidgets.org ##
17184 ## ----------------------------------------- ##
17187 sed "s/^/$as_me: WARNING: /" >&2
17190 echo "$as_me:$LINENO: checking for $ac_header" >&5
17191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 eval "$as_ac_Header=\$ac_header_preproc"
17197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17202 cat >>confdefs.h
<<_ACEOF
17203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17211 for ac_header
in wchar.h
17213 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17215 echo "$as_me:$LINENO: checking for $ac_header" >&5
17216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17223 # Is the header compilable?
17224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17233 #include <$ac_header>
17235 rm -f conftest.
$ac_objext
17236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17237 (eval $ac_compile) 2>conftest.er1
17239 grep -v '^ *+' conftest.er1
>conftest.err
17241 cat conftest.err
>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } &&
17244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; } &&
17250 { ac_try
='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 ac_header_compiler
=yes
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.
$ac_ext >&5
17261 ac_header_compiler
=no
17263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17265 echo "${ECHO_T}$ac_header_compiler" >&6
17267 # Is the header present?
17268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17270 cat >conftest.
$ac_ext <<_ACEOF
17273 cat confdefs.h
>>conftest.
$ac_ext
17274 cat >>conftest.
$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #include <$ac_header>
17278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17279 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17281 grep -v '^ *+' conftest.er1
>conftest.err
17283 cat conftest.err
>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } >/dev
/null
; then
17286 if test -s conftest.err
; then
17287 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17288 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17295 if test -z "$ac_cpp_err"; then
17296 ac_header_preproc
=yes
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.
$ac_ext >&5
17301 ac_header_preproc
=no
17303 rm -f conftest.err conftest.
$ac_ext
17304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17305 echo "${ECHO_T}$ac_header_preproc" >&6
17307 # So? What about this header?
17308 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17314 ac_header_preproc
=yes
17317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17331 ## ----------------------------------------- ##
17332 ## Report this to wx-dev@lists.wxwidgets.org ##
17333 ## ----------------------------------------- ##
17336 sed "s/^/$as_me: WARNING: /" >&2
17339 echo "$as_me:$LINENO: checking for $ac_header" >&5
17340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 eval "$as_ac_Header=\$ac_header_preproc"
17346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17351 cat >>confdefs.h
<<_ACEOF
17352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17360 if test "$ac_cv_header_wchar_h" != "yes"; then
17362 for ac_header
in wcstr.h
17364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17366 echo "$as_me:$LINENO: checking for $ac_header" >&5
17367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17374 # Is the header compilable?
17375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17377 cat >conftest.
$ac_ext <<_ACEOF
17380 cat confdefs.h
>>conftest.
$ac_ext
17381 cat >>conftest.
$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 $ac_includes_default
17384 #include <$ac_header>
17386 rm -f conftest.
$ac_objext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17388 (eval $ac_compile) 2>conftest.er1
17390 grep -v '^ *+' conftest.er1
>conftest.err
17392 cat conftest.err
>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try
='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 ac_header_compiler
=yes
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.
$ac_ext >&5
17412 ac_header_compiler
=no
17414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17416 echo "${ECHO_T}$ac_header_compiler" >&6
17418 # Is the header present?
17419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17421 cat >conftest.
$ac_ext <<_ACEOF
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17427 #include <$ac_header>
17429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17432 grep -v '^ *+' conftest.er1
>conftest.err
17434 cat conftest.err
>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } >/dev
/null
; then
17437 if test -s conftest.err
; then
17438 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17439 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17446 if test -z "$ac_cpp_err"; then
17447 ac_header_preproc
=yes
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.
$ac_ext >&5
17452 ac_header_preproc
=no
17454 rm -f conftest.err conftest.
$ac_ext
17455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17456 echo "${ECHO_T}$ac_header_preproc" >&6
17458 # So? What about this header?
17459 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17465 ac_header_preproc
=yes
17468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17482 ## ----------------------------------------- ##
17483 ## Report this to wx-dev@lists.wxwidgets.org ##
17484 ## ----------------------------------------- ##
17487 sed "s/^/$as_me: WARNING: /" >&2
17490 echo "$as_me:$LINENO: checking for $ac_header" >&5
17491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17495 eval "$as_ac_Header=\$ac_header_preproc"
17497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17502 cat >>confdefs.h
<<_ACEOF
17503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17513 for ac_header
in fnmatch.h
17515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17517 echo "$as_me:$LINENO: checking for $ac_header" >&5
17518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17525 # Is the header compilable?
17526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17528 cat >conftest.
$ac_ext <<_ACEOF
17531 cat confdefs.h
>>conftest.
$ac_ext
17532 cat >>conftest.
$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 $ac_includes_default
17535 #include <$ac_header>
17537 rm -f conftest.
$ac_objext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17539 (eval $ac_compile) 2>conftest.er1
17541 grep -v '^ *+' conftest.er1
>conftest.err
17543 cat conftest.err
>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try
='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_header_compiler
=yes
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ac_header_compiler
=no
17565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17567 echo "${ECHO_T}$ac_header_compiler" >&6
17569 # Is the header present?
17570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17572 cat >conftest.
$ac_ext <<_ACEOF
17575 cat confdefs.h
>>conftest.
$ac_ext
17576 cat >>conftest.
$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 #include <$ac_header>
17580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17583 grep -v '^ *+' conftest.er1
>conftest.err
17585 cat conftest.err
>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } >/dev
/null
; then
17588 if test -s conftest.err
; then
17589 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17590 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17597 if test -z "$ac_cpp_err"; then
17598 ac_header_preproc
=yes
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.
$ac_ext >&5
17603 ac_header_preproc
=no
17605 rm -f conftest.err conftest.
$ac_ext
17606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17607 echo "${ECHO_T}$ac_header_preproc" >&6
17609 # So? What about this header?
17610 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17616 ac_header_preproc
=yes
17619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17633 ## ----------------------------------------- ##
17634 ## Report this to wx-dev@lists.wxwidgets.org ##
17635 ## ----------------------------------------- ##
17638 sed "s/^/$as_me: WARNING: /" >&2
17641 echo "$as_me:$LINENO: checking for $ac_header" >&5
17642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 eval "$as_ac_Header=\$ac_header_preproc"
17648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17653 cat >>confdefs.h
<<_ACEOF
17654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17663 for ac_header
in langinfo.h
17665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17667 echo "$as_me:$LINENO: checking for $ac_header" >&5
17668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17675 # Is the header compilable?
17676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17678 cat >conftest.
$ac_ext <<_ACEOF
17681 cat confdefs.h
>>conftest.
$ac_ext
17682 cat >>conftest.
$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17685 #include <$ac_header>
17687 rm -f conftest.
$ac_objext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17689 (eval $ac_compile) 2>conftest.er1
17691 grep -v '^ *+' conftest.er1
>conftest.err
17693 cat conftest.err
>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } &&
17702 { ac_try
='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 ac_header_compiler
=yes
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.
$ac_ext >&5
17713 ac_header_compiler
=no
17715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17717 echo "${ECHO_T}$ac_header_compiler" >&6
17719 # Is the header present?
17720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17722 cat >conftest.
$ac_ext <<_ACEOF
17725 cat confdefs.h
>>conftest.
$ac_ext
17726 cat >>conftest.
$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728 #include <$ac_header>
17730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17733 grep -v '^ *+' conftest.er1
>conftest.err
17735 cat conftest.err
>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } >/dev
/null
; then
17738 if test -s conftest.err
; then
17739 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17740 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17747 if test -z "$ac_cpp_err"; then
17748 ac_header_preproc
=yes
17750 echo "$as_me: failed program was:" >&5
17751 sed 's/^/| /' conftest.
$ac_ext >&5
17753 ac_header_preproc
=no
17755 rm -f conftest.err conftest.
$ac_ext
17756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17757 echo "${ECHO_T}$ac_header_preproc" >&6
17759 # So? What about this header?
17760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17766 ac_header_preproc
=yes
17769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17783 ## ----------------------------------------- ##
17784 ## Report this to wx-dev@lists.wxwidgets.org ##
17785 ## ----------------------------------------- ##
17788 sed "s/^/$as_me: WARNING: /" >&2
17791 echo "$as_me:$LINENO: checking for $ac_header" >&5
17792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17796 eval "$as_ac_Header=\$ac_header_preproc"
17798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17803 cat >>confdefs.h
<<_ACEOF
17804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17813 *-pc-os2_emx | *-pc-os2-emx )
17814 if test $ac_cv_header_langinfo_h = "yes" \
17815 -a \
( "$wx_cv_gccversion" = "EMX2" \
17816 -o "$wx_cv_gccversion" = "EMX3" \
17817 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17818 LIBS
="$LIBS -lintl"
17823 if test "$USE_UNIX" = 1 ; then
17825 for ac_header
in sys
/select.h
17827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17829 echo "$as_me:$LINENO: checking for $ac_header" >&5
17830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17832 echo $ECHO_N "(cached) $ECHO_C" >&6
17834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17837 # Is the header compilable?
17838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17840 cat >conftest.
$ac_ext <<_ACEOF
17843 cat confdefs.h
>>conftest.
$ac_ext
17844 cat >>conftest.
$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 $ac_includes_default
17847 #include <$ac_header>
17849 rm -f conftest.
$ac_objext
17850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17851 (eval $ac_compile) 2>conftest.er1
17853 grep -v '^ *+' conftest.er1
>conftest.err
17855 cat conftest.err
>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; } &&
17864 { ac_try
='test -s conftest.$ac_objext'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; }; then
17870 ac_header_compiler
=yes
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.
$ac_ext >&5
17875 ac_header_compiler
=no
17877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17879 echo "${ECHO_T}$ac_header_compiler" >&6
17881 # Is the header present?
17882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17884 cat >conftest.
$ac_ext <<_ACEOF
17887 cat confdefs.h
>>conftest.
$ac_ext
17888 cat >>conftest.
$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 #include <$ac_header>
17892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17895 grep -v '^ *+' conftest.er1
>conftest.err
17897 cat conftest.err
>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } >/dev
/null
; then
17900 if test -s conftest.err
; then
17901 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17902 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17909 if test -z "$ac_cpp_err"; then
17910 ac_header_preproc
=yes
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.
$ac_ext >&5
17915 ac_header_preproc
=no
17917 rm -f conftest.err conftest.
$ac_ext
17918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17919 echo "${ECHO_T}$ac_header_preproc" >&6
17921 # So? What about this header?
17922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17928 ac_header_preproc
=yes
17931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17945 ## ----------------------------------------- ##
17946 ## Report this to wx-dev@lists.wxwidgets.org ##
17947 ## ----------------------------------------- ##
17950 sed "s/^/$as_me: WARNING: /" >&2
17953 echo "$as_me:$LINENO: checking for $ac_header" >&5
17954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17956 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 eval "$as_ac_Header=\$ac_header_preproc"
17960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17965 cat >>confdefs.h
<<_ACEOF
17966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17976 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17977 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17978 if test "${ac_cv_c_const+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 cat >conftest.
$ac_ext <<_ACEOF
17984 cat confdefs.h
>>conftest.
$ac_ext
17985 cat >>conftest.
$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17991 /* FIXME: Include the comments suggested by Paul. */
17992 #ifndef __cplusplus
17993 /* Ultrix mips cc rejects this. */
17994 typedef int charset[2];
17996 /* SunOS 4.1.1 cc rejects this. */
17997 char const *const *ccp;
17999 /* NEC SVR4.0.2 mips cc rejects this. */
18000 struct point {int x, y;};
18001 static struct point const zero = {0,0};
18002 /* AIX XL C 1.02.0.0 rejects this.
18003 It does not let you subtract one const X* pointer from another in
18004 an arm of an if-expression whose if-part is not a constant
18006 const char *g = "string";
18007 ccp = &g + (g ? g-g : 0);
18008 /* HPUX 7.0 cc rejects these. */
18011 ccp = (char const *const *) p;
18012 { /* SCO 3.2v4 cc rejects this. */
18014 char const *s = 0 ? (char *) 0 : (char const *) 0;
18018 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18019 int x[] = {25, 17};
18020 const int *foo = &x[0];
18023 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18024 typedef const int *iptr;
18028 { /* AIX XL C 1.02.0.0 rejects this saying
18029 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18030 struct s { int j; const int *ap[3]; };
18031 struct s *b; b->j = 5;
18033 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18034 const int foo = 10;
18042 rm -f conftest.
$ac_objext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18044 (eval $ac_compile) 2>conftest.er1
18046 grep -v '^ *+' conftest.er1
>conftest.err
18048 cat conftest.err
>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } &&
18051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; } &&
18057 { ac_try
='test -s conftest.$ac_objext'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; }; then
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.
$ac_ext >&5
18070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18072 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18073 echo "${ECHO_T}$ac_cv_c_const" >&6
18074 if test $ac_cv_c_const = no
; then
18076 cat >>confdefs.h
<<\_ACEOF
18082 echo "$as_me:$LINENO: checking for inline" >&5
18083 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18084 if test "${ac_cv_c_inline+set}" = set; then
18085 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 for ac_kw
in inline __inline__ __inline
; do
18089 cat >conftest.
$ac_ext <<_ACEOF
18092 cat confdefs.h
>>conftest.
$ac_ext
18093 cat >>conftest.
$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 #ifndef __cplusplus
18097 static $ac_kw foo_t static_foo () {return 0; }
18098 $ac_kw foo_t foo () {return 0; }
18102 rm -f conftest.
$ac_objext
18103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18104 (eval $ac_compile) 2>conftest.er1
18106 grep -v '^ *+' conftest.er1
>conftest.err
18108 cat conftest.err
>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } &&
18111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; } &&
18117 { ac_try
='test -s conftest.$ac_objext'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; }; then
18123 ac_cv_c_inline
=$ac_kw; break
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.
$ac_ext >&5
18129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18133 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18134 echo "${ECHO_T}$ac_cv_c_inline" >&6
18137 case $ac_cv_c_inline in
18140 case $ac_cv_c_inline in
18142 *) ac_val
=$ac_cv_c_inline;;
18144 cat >>confdefs.h
<<_ACEOF
18145 #ifndef __cplusplus
18146 #define inline $ac_val
18153 echo "$as_me:$LINENO: checking for char" >&5
18154 echo $ECHO_N "checking for char... $ECHO_C" >&6
18155 if test "${ac_cv_type_char+set}" = set; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 cat >conftest.
$ac_ext <<_ACEOF
18161 cat confdefs.h
>>conftest.
$ac_ext
18162 cat >>conftest.
$ac_ext <<_ACEOF
18163 /* end confdefs.h. */
18164 $ac_includes_default
18176 rm -f conftest.
$ac_objext
18177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18178 (eval $ac_compile) 2>conftest.er1
18180 grep -v '^ *+' conftest.er1
>conftest.err
18182 cat conftest.err
>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } &&
18185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; } &&
18191 { ac_try
='test -s conftest.$ac_objext'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; }; then
18197 ac_cv_type_char
=yes
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.
$ac_ext >&5
18204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18206 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18207 echo "${ECHO_T}$ac_cv_type_char" >&6
18209 echo "$as_me:$LINENO: checking size of char" >&5
18210 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18211 if test "${ac_cv_sizeof_char+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 if test "$ac_cv_type_char" = yes; then
18215 # The cast to unsigned long works around a bug in the HP C Compiler
18216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18218 # This bug is HP SR number 8606223364.
18219 if test "$cross_compiling" = yes; then
18220 # Depending upon the size, compute the lo and hi bounds.
18221 cat >conftest.
$ac_ext <<_ACEOF
18224 cat confdefs.h
>>conftest.
$ac_ext
18225 cat >>conftest.
$ac_ext <<_ACEOF
18226 /* end confdefs.h. */
18227 $ac_includes_default
18231 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18238 rm -f conftest.
$ac_objext
18239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18240 (eval $ac_compile) 2>conftest.er1
18242 grep -v '^ *+' conftest.er1
>conftest.err
18244 cat conftest.err
>&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } &&
18247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; } &&
18253 { ac_try
='test -s conftest.$ac_objext'
18254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18255 (eval $ac_try) 2>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); }; }; then
18261 cat >conftest.
$ac_ext <<_ACEOF
18264 cat confdefs.h
>>conftest.
$ac_ext
18265 cat >>conftest.
$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 $ac_includes_default
18271 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18278 rm -f conftest.
$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try
='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_hi
=$ac_mid; break
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.
$ac_ext >&5
18304 ac_lo
=`expr $ac_mid + 1`
18305 if test $ac_lo -le $ac_mid; then
18309 ac_mid
=`expr 2 '*' $ac_mid + 1`
18311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.
$ac_ext >&5
18317 cat >conftest.
$ac_ext <<_ACEOF
18320 cat confdefs.h
>>conftest.
$ac_ext
18321 cat >>conftest.
$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 $ac_includes_default
18327 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18334 rm -f conftest.
$ac_objext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18336 (eval $ac_compile) 2>conftest.er1
18338 grep -v '^ *+' conftest.er1
>conftest.err
18340 cat conftest.err
>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try
='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18357 cat >conftest.
$ac_ext <<_ACEOF
18360 cat confdefs.h
>>conftest.
$ac_ext
18361 cat >>conftest.
$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 $ac_includes_default
18367 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18374 rm -f conftest.
$ac_objext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18376 (eval $ac_compile) 2>conftest.er1
18378 grep -v '^ *+' conftest.er1
>conftest.err
18380 cat conftest.err
>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } &&
18383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18389 { ac_try
='test -s conftest.$ac_objext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18395 ac_lo
=$ac_mid; break
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.
$ac_ext >&5
18400 ac_hi
=`expr '(' $ac_mid ')' - 1`
18401 if test $ac_mid -le $ac_hi; then
18405 ac_mid
=`expr 2 '*' $ac_mid`
18407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18418 # Binary search between lo and hi bounds.
18419 while test "x$ac_lo" != "x$ac_hi"; do
18420 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18421 cat >conftest.
$ac_ext <<_ACEOF
18424 cat confdefs.h
>>conftest.
$ac_ext
18425 cat >>conftest.
$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 $ac_includes_default
18431 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18438 rm -f conftest.
$ac_objext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18440 (eval $ac_compile) 2>conftest.er1
18442 grep -v '^ *+' conftest.er1
>conftest.err
18444 cat conftest.err
>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } &&
18447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18449 (eval $ac_try) 2>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }; } &&
18453 { ac_try
='test -s conftest.$ac_objext'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; }; then
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.
$ac_ext >&5
18464 ac_lo
=`expr '(' $ac_mid ')' + 1`
18466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18469 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18470 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18471 See \`config.log' for more details." >&5
18472 echo "$as_me: error: cannot compute sizeof (char), 77
18473 See \`config.log' for more details." >&2;}
18474 { (exit 1); exit 1; }; } ;;
18477 if test "$cross_compiling" = yes; then
18478 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18479 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18480 { (exit 1); exit 1; }; }
18482 cat >conftest.
$ac_ext <<_ACEOF
18485 cat confdefs.h
>>conftest.
$ac_ext
18486 cat >>conftest.
$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 $ac_includes_default
18489 long longval () { return (long) (sizeof (char)); }
18490 unsigned long ulongval () { return (long) (sizeof (char)); }
18492 #include <stdlib.h>
18497 FILE *f = fopen ("conftest.val", "w");
18500 if (((long) (sizeof (char))) < 0)
18502 long i = longval ();
18503 if (i != ((long) (sizeof (char))))
18505 fprintf (f, "%ld\n", i);
18509 unsigned long i = ulongval ();
18510 if (i != ((long) (sizeof (char))))
18512 fprintf (f, "%lu\n", i);
18514 exit (ferror (f) || fclose (f) != 0);
18520 rm -f conftest
$ac_exeext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18522 (eval $ac_link) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; }; then
18531 ac_cv_sizeof_char
=`cat conftest.val`
18533 echo "$as_me: program exited with status $ac_status" >&5
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.
$ac_ext >&5
18537 ( exit $ac_status )
18538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18539 See \`config.log' for more details." >&5
18540 echo "$as_me: error: cannot compute sizeof (char), 77
18541 See \`config.log' for more details." >&2;}
18542 { (exit 1); exit 1; }; }
18544 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18549 ac_cv_sizeof_char
=0
18552 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18553 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18554 cat >>confdefs.h
<<_ACEOF
18555 #define SIZEOF_CHAR $ac_cv_sizeof_char
18559 echo "$as_me:$LINENO: checking for short" >&5
18560 echo $ECHO_N "checking for short... $ECHO_C" >&6
18561 if test "${ac_cv_type_short+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 cat >conftest.
$ac_ext <<_ACEOF
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 $ac_includes_default
18576 if (sizeof (short))
18582 rm -f conftest.
$ac_objext
18583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18584 (eval $ac_compile) 2>conftest.er1
18586 grep -v '^ *+' conftest.er1
>conftest.err
18588 cat conftest.err
>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } &&
18597 { ac_try
='test -s conftest.$ac_objext'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18603 ac_cv_type_short
=yes
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.
$ac_ext >&5
18608 ac_cv_type_short
=no
18610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18612 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18613 echo "${ECHO_T}$ac_cv_type_short" >&6
18615 echo "$as_me:$LINENO: checking size of short" >&5
18616 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18617 if test "${ac_cv_sizeof_short+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 if test "$ac_cv_type_short" = yes; then
18621 # The cast to unsigned long works around a bug in the HP C Compiler
18622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18624 # This bug is HP SR number 8606223364.
18625 if test "$cross_compiling" = yes; then
18626 # Depending upon the size, compute the lo and hi bounds.
18627 cat >conftest.
$ac_ext <<_ACEOF
18630 cat confdefs.h
>>conftest.
$ac_ext
18631 cat >>conftest.
$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 $ac_includes_default
18637 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18644 rm -f conftest.
$ac_objext
18645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18646 (eval $ac_compile) 2>conftest.er1
18648 grep -v '^ *+' conftest.er1
>conftest.err
18650 cat conftest.err
>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; } &&
18659 { ac_try
='test -s conftest.$ac_objext'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; }; then
18667 cat >conftest.
$ac_ext <<_ACEOF
18670 cat confdefs.h
>>conftest.
$ac_ext
18671 cat >>conftest.
$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18673 $ac_includes_default
18677 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18684 rm -f conftest.
$ac_objext
18685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18686 (eval $ac_compile) 2>conftest.er1
18688 grep -v '^ *+' conftest.er1
>conftest.err
18690 cat conftest.err
>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } &&
18693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; } &&
18699 { ac_try
='test -s conftest.$ac_objext'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; }; then
18705 ac_hi
=$ac_mid; break
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.
$ac_ext >&5
18710 ac_lo
=`expr $ac_mid + 1`
18711 if test $ac_lo -le $ac_mid; then
18715 ac_mid
=`expr 2 '*' $ac_mid + 1`
18717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.
$ac_ext >&5
18723 cat >conftest.
$ac_ext <<_ACEOF
18726 cat confdefs.h
>>conftest.
$ac_ext
18727 cat >>conftest.
$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 $ac_includes_default
18733 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18740 rm -f conftest.
$ac_objext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18742 (eval $ac_compile) 2>conftest.er1
18744 grep -v '^ *+' conftest.er1
>conftest.err
18746 cat conftest.err
>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; } &&
18755 { ac_try
='test -s conftest.$ac_objext'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; }; then
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $ac_includes_default
18773 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18780 rm -f conftest.
$ac_objext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18782 (eval $ac_compile) 2>conftest.er1
18784 grep -v '^ *+' conftest.er1
>conftest.err
18786 cat conftest.err
>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try
='test -s conftest.$ac_objext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 ac_lo
=$ac_mid; break
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.
$ac_ext >&5
18806 ac_hi
=`expr '(' $ac_mid ')' - 1`
18807 if test $ac_mid -le $ac_hi; then
18811 ac_mid
=`expr 2 '*' $ac_mid`
18813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18824 # Binary search between lo and hi bounds.
18825 while test "x$ac_lo" != "x$ac_hi"; do
18826 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $ac_includes_default
18837 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18844 rm -f conftest.
$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18848 grep -v '^ *+' conftest.er1
>conftest.err
18850 cat conftest.err
>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18855 (eval $ac_try) 2>&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try
='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.
$ac_ext >&5
18870 ac_lo
=`expr '(' $ac_mid ')' + 1`
18872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18875 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18876 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18877 See \`config.log' for more details." >&5
18878 echo "$as_me: error: cannot compute sizeof (short), 77
18879 See \`config.log' for more details." >&2;}
18880 { (exit 1); exit 1; }; } ;;
18883 if test "$cross_compiling" = yes; then
18884 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18885 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18886 { (exit 1); exit 1; }; }
18888 cat >conftest.
$ac_ext <<_ACEOF
18891 cat confdefs.h
>>conftest.
$ac_ext
18892 cat >>conftest.
$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18894 $ac_includes_default
18895 long longval () { return (long) (sizeof (short)); }
18896 unsigned long ulongval () { return (long) (sizeof (short)); }
18898 #include <stdlib.h>
18903 FILE *f = fopen ("conftest.val", "w");
18906 if (((long) (sizeof (short))) < 0)
18908 long i = longval ();
18909 if (i != ((long) (sizeof (short))))
18911 fprintf (f, "%ld\n", i);
18915 unsigned long i = ulongval ();
18916 if (i != ((long) (sizeof (short))))
18918 fprintf (f, "%lu\n", i);
18920 exit (ferror (f) || fclose (f) != 0);
18926 rm -f conftest
$ac_exeext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18928 (eval $ac_link) 2>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; }; then
18937 ac_cv_sizeof_short
=`cat conftest.val`
18939 echo "$as_me: program exited with status $ac_status" >&5
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.
$ac_ext >&5
18943 ( exit $ac_status )
18944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18945 See \`config.log' for more details." >&5
18946 echo "$as_me: error: cannot compute sizeof (short), 77
18947 See \`config.log' for more details." >&2;}
18948 { (exit 1); exit 1; }; }
18950 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18955 ac_cv_sizeof_short
=0
18958 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18959 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18960 cat >>confdefs.h
<<_ACEOF
18961 #define SIZEOF_SHORT $ac_cv_sizeof_short
18965 echo "$as_me:$LINENO: checking for void *" >&5
18966 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18967 if test "${ac_cv_type_void_p+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 $ac_includes_default
18982 if (sizeof (void *))
18988 rm -f conftest.
$ac_objext
18989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18990 (eval $ac_compile) 2>conftest.er1
18992 grep -v '^ *+' conftest.er1
>conftest.err
18994 cat conftest.err
>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } &&
18997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try
='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009 ac_cv_type_void_p
=yes
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.
$ac_ext >&5
19014 ac_cv_type_void_p
=no
19016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19018 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19019 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19021 echo "$as_me:$LINENO: checking size of void *" >&5
19022 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19023 if test "${ac_cv_sizeof_void_p+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19026 if test "$ac_cv_type_void_p" = yes; then
19027 # The cast to unsigned long works around a bug in the HP C Compiler
19028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19030 # This bug is HP SR number 8606223364.
19031 if test "$cross_compiling" = yes; then
19032 # Depending upon the size, compute the lo and hi bounds.
19033 cat >conftest.
$ac_ext <<_ACEOF
19036 cat confdefs.h
>>conftest.
$ac_ext
19037 cat >>conftest.
$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 $ac_includes_default
19043 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19050 rm -f conftest.
$ac_objext
19051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19052 (eval $ac_compile) 2>conftest.er1
19054 grep -v '^ *+' conftest.er1
>conftest.err
19056 cat conftest.err
>&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } &&
19059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try
='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19073 cat >conftest.
$ac_ext <<_ACEOF
19076 cat confdefs.h
>>conftest.
$ac_ext
19077 cat >>conftest.
$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 $ac_includes_default
19083 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19090 rm -f conftest.
$ac_objext
19091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19092 (eval $ac_compile) 2>conftest.er1
19094 grep -v '^ *+' conftest.er1
>conftest.err
19096 cat conftest.err
>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } &&
19099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101 (eval $ac_try) 2>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; } &&
19105 { ac_try
='test -s conftest.$ac_objext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_hi
=$ac_mid; break
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.
$ac_ext >&5
19116 ac_lo
=`expr $ac_mid + 1`
19117 if test $ac_lo -le $ac_mid; then
19121 ac_mid
=`expr 2 '*' $ac_mid + 1`
19123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.
$ac_ext >&5
19129 cat >conftest.
$ac_ext <<_ACEOF
19132 cat confdefs.h
>>conftest.
$ac_ext
19133 cat >>conftest.
$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 $ac_includes_default
19139 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19146 rm -f conftest.
$ac_objext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19148 (eval $ac_compile) 2>conftest.er1
19150 grep -v '^ *+' conftest.er1
>conftest.err
19152 cat conftest.err
>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; } &&
19161 { ac_try
='test -s conftest.$ac_objext'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; }; then
19169 cat >conftest.
$ac_ext <<_ACEOF
19172 cat confdefs.h
>>conftest.
$ac_ext
19173 cat >>conftest.
$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 $ac_includes_default
19179 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19186 rm -f conftest.
$ac_objext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19188 (eval $ac_compile) 2>conftest.er1
19190 grep -v '^ *+' conftest.er1
>conftest.err
19192 cat conftest.err
>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try
='test -s conftest.$ac_objext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_lo
=$ac_mid; break
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.
$ac_ext >&5
19212 ac_hi
=`expr '(' $ac_mid ')' - 1`
19213 if test $ac_mid -le $ac_hi; then
19217 ac_mid
=`expr 2 '*' $ac_mid`
19219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.
$ac_ext >&5
19227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 # Binary search between lo and hi bounds.
19231 while test "x$ac_lo" != "x$ac_hi"; do
19232 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19233 cat >conftest.
$ac_ext <<_ACEOF
19236 cat confdefs.h
>>conftest.
$ac_ext
19237 cat >>conftest.
$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19243 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19250 rm -f conftest.
$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252 (eval $ac_compile) 2>conftest.er1
19254 grep -v '^ *+' conftest.er1
>conftest.err
19256 cat conftest.err
>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } &&
19259 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try
='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.
$ac_ext >&5
19276 ac_lo
=`expr '(' $ac_mid ')' + 1`
19278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19281 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19282 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19283 See \`config.log' for more details." >&5
19284 echo "$as_me: error: cannot compute sizeof (void *), 77
19285 See \`config.log' for more details." >&2;}
19286 { (exit 1); exit 1; }; } ;;
19289 if test "$cross_compiling" = yes; then
19290 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19291 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19292 { (exit 1); exit 1; }; }
19294 cat >conftest.
$ac_ext <<_ACEOF
19297 cat confdefs.h
>>conftest.
$ac_ext
19298 cat >>conftest.
$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19301 long longval () { return (long) (sizeof (void *)); }
19302 unsigned long ulongval () { return (long) (sizeof (void *)); }
19304 #include <stdlib.h>
19309 FILE *f = fopen ("conftest.val", "w");
19312 if (((long) (sizeof (void *))) < 0)
19314 long i = longval ();
19315 if (i != ((long) (sizeof (void *))))
19317 fprintf (f, "%ld\n", i);
19321 unsigned long i = ulongval ();
19322 if (i != ((long) (sizeof (void *))))
19324 fprintf (f, "%lu\n", i);
19326 exit (ferror (f) || fclose (f) != 0);
19332 rm -f conftest
$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334 (eval $ac_link) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_sizeof_void_p
=`cat conftest.val`
19345 echo "$as_me: program exited with status $ac_status" >&5
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.
$ac_ext >&5
19349 ( exit $ac_status )
19350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19351 See \`config.log' for more details." >&5
19352 echo "$as_me: error: cannot compute sizeof (void *), 77
19353 See \`config.log' for more details." >&2;}
19354 { (exit 1); exit 1; }; }
19356 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19361 ac_cv_sizeof_void_p
=0
19364 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19365 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19366 cat >>confdefs.h
<<_ACEOF
19367 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19371 echo "$as_me:$LINENO: checking for int" >&5
19372 echo $ECHO_N "checking for int... $ECHO_C" >&6
19373 if test "${ac_cv_type_int+set}" = set; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 cat >conftest.
$ac_ext <<_ACEOF
19379 cat confdefs.h
>>conftest.
$ac_ext
19380 cat >>conftest.
$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 $ac_includes_default
19394 rm -f conftest.
$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; } &&
19409 { ac_try
='test -s conftest.$ac_objext'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; }; then
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.
$ac_ext >&5
19422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19424 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19425 echo "${ECHO_T}$ac_cv_type_int" >&6
19427 echo "$as_me:$LINENO: checking size of int" >&5
19428 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19429 if test "${ac_cv_sizeof_int+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 if test "$ac_cv_type_int" = yes; then
19433 # The cast to unsigned long works around a bug in the HP C Compiler
19434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19436 # This bug is HP SR number 8606223364.
19437 if test "$cross_compiling" = yes; then
19438 # Depending upon the size, compute the lo and hi bounds.
19439 cat >conftest.
$ac_ext <<_ACEOF
19442 cat confdefs.h
>>conftest.
$ac_ext
19443 cat >>conftest.
$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19449 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19456 rm -f conftest.
$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458 (eval $ac_compile) 2>conftest.er1
19460 grep -v '^ *+' conftest.er1
>conftest.err
19462 cat conftest.err
>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; } &&
19471 { ac_try
='test -s conftest.$ac_objext'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; }; then
19479 cat >conftest.
$ac_ext <<_ACEOF
19482 cat confdefs.h
>>conftest.
$ac_ext
19483 cat >>conftest.
$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19489 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19496 rm -f conftest.
$ac_objext
19497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19498 (eval $ac_compile) 2>conftest.er1
19500 grep -v '^ *+' conftest.er1
>conftest.err
19502 cat conftest.err
>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } &&
19505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; } &&
19511 { ac_try
='test -s conftest.$ac_objext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_hi
=$ac_mid; break
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.
$ac_ext >&5
19522 ac_lo
=`expr $ac_mid + 1`
19523 if test $ac_lo -le $ac_mid; then
19527 ac_mid
=`expr 2 '*' $ac_mid + 1`
19529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19532 echo "$as_me: failed program was:" >&5
19533 sed 's/^/| /' conftest.
$ac_ext >&5
19535 cat >conftest.
$ac_ext <<_ACEOF
19538 cat confdefs.h
>>conftest.
$ac_ext
19539 cat >>conftest.
$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 $ac_includes_default
19545 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19552 rm -f conftest.
$ac_objext
19553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19554 (eval $ac_compile) 2>conftest.er1
19556 grep -v '^ *+' conftest.er1
>conftest.err
19558 cat conftest.err
>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } &&
19561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; } &&
19567 { ac_try
='test -s conftest.$ac_objext'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; }; then
19575 cat >conftest.
$ac_ext <<_ACEOF
19578 cat confdefs.h
>>conftest.
$ac_ext
19579 cat >>conftest.
$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19585 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19592 rm -f conftest.
$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_lo
=$ac_mid; break
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19618 ac_hi
=`expr '(' $ac_mid ')' - 1`
19619 if test $ac_mid -le $ac_hi; then
19623 ac_mid
=`expr 2 '*' $ac_mid`
19625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.
$ac_ext >&5
19633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19636 # Binary search between lo and hi bounds.
19637 while test "x$ac_lo" != "x$ac_hi"; do
19638 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19639 cat >conftest.
$ac_ext <<_ACEOF
19642 cat confdefs.h
>>conftest.
$ac_ext
19643 cat >>conftest.
$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 $ac_includes_default
19649 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19656 rm -f conftest.
$ac_objext
19657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19658 (eval $ac_compile) 2>conftest.er1
19660 grep -v '^ *+' conftest.er1
>conftest.err
19662 cat conftest.err
>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; } &&
19671 { ac_try
='test -s conftest.$ac_objext'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.
$ac_ext >&5
19682 ac_lo
=`expr '(' $ac_mid ')' + 1`
19684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19687 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19688 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19689 See \`config.log' for more details." >&5
19690 echo "$as_me: error: cannot compute sizeof (int), 77
19691 See \`config.log' for more details." >&2;}
19692 { (exit 1); exit 1; }; } ;;
19695 if test "$cross_compiling" = yes; then
19696 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19697 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19698 { (exit 1); exit 1; }; }
19700 cat >conftest.
$ac_ext <<_ACEOF
19703 cat confdefs.h
>>conftest.
$ac_ext
19704 cat >>conftest.
$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 $ac_includes_default
19707 long longval () { return (long) (sizeof (int)); }
19708 unsigned long ulongval () { return (long) (sizeof (int)); }
19710 #include <stdlib.h>
19715 FILE *f = fopen ("conftest.val", "w");
19718 if (((long) (sizeof (int))) < 0)
19720 long i = longval ();
19721 if (i != ((long) (sizeof (int))))
19723 fprintf (f, "%ld\n", i);
19727 unsigned long i = ulongval ();
19728 if (i != ((long) (sizeof (int))))
19730 fprintf (f, "%lu\n", i);
19732 exit (ferror (f) || fclose (f) != 0);
19738 rm -f conftest
$ac_exeext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19740 (eval $ac_link) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19749 ac_cv_sizeof_int
=`cat conftest.val`
19751 echo "$as_me: program exited with status $ac_status" >&5
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.
$ac_ext >&5
19755 ( exit $ac_status )
19756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19757 See \`config.log' for more details." >&5
19758 echo "$as_me: error: cannot compute sizeof (int), 77
19759 See \`config.log' for more details." >&2;}
19760 { (exit 1); exit 1; }; }
19762 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19770 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19771 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19772 cat >>confdefs.h
<<_ACEOF
19773 #define SIZEOF_INT $ac_cv_sizeof_int
19777 echo "$as_me:$LINENO: checking for long" >&5
19778 echo $ECHO_N "checking for long... $ECHO_C" >&6
19779 if test "${ac_cv_type_long+set}" = set; then
19780 echo $ECHO_N "(cached) $ECHO_C" >&6
19782 cat >conftest.
$ac_ext <<_ACEOF
19785 cat confdefs.h
>>conftest.
$ac_ext
19786 cat >>conftest.
$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788 $ac_includes_default
19800 rm -f conftest.
$ac_objext
19801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19802 (eval $ac_compile) 2>conftest.er1
19804 grep -v '^ *+' conftest.er1
>conftest.err
19806 cat conftest.err
>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; } &&
19815 { ac_try
='test -s conftest.$ac_objext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 ac_cv_type_long
=yes
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.
$ac_ext >&5
19828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19830 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19831 echo "${ECHO_T}$ac_cv_type_long" >&6
19833 echo "$as_me:$LINENO: checking size of long" >&5
19834 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19835 if test "${ac_cv_sizeof_long+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 if test "$ac_cv_type_long" = yes; then
19839 # The cast to unsigned long works around a bug in the HP C Compiler
19840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19842 # This bug is HP SR number 8606223364.
19843 if test "$cross_compiling" = yes; then
19844 # Depending upon the size, compute the lo and hi bounds.
19845 cat >conftest.
$ac_ext <<_ACEOF
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19855 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19862 rm -f conftest.
$ac_objext
19863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19864 (eval $ac_compile) 2>conftest.er1
19866 grep -v '^ *+' conftest.er1
>conftest.err
19868 cat conftest.err
>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } &&
19871 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try
='test -s conftest.$ac_objext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19885 cat >conftest.
$ac_ext <<_ACEOF
19888 cat confdefs.h
>>conftest.
$ac_ext
19889 cat >>conftest.
$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 $ac_includes_default
19895 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19902 rm -f conftest.
$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19906 grep -v '^ *+' conftest.er1
>conftest.err
19908 cat conftest.err
>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; } &&
19917 { ac_try
='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 ac_hi
=$ac_mid; break
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.
$ac_ext >&5
19928 ac_lo
=`expr $ac_mid + 1`
19929 if test $ac_lo -le $ac_mid; then
19933 ac_mid
=`expr 2 '*' $ac_mid + 1`
19935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.
$ac_ext >&5
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19951 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19958 rm -f conftest.
$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19962 grep -v '^ *+' conftest.er1
>conftest.err
19964 cat conftest.err
>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try
='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19981 cat >conftest.
$ac_ext <<_ACEOF
19984 cat confdefs.h
>>conftest.
$ac_ext
19985 cat >>conftest.
$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19991 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19998 rm -f conftest.
$ac_objext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20000 (eval $ac_compile) 2>conftest.er1
20002 grep -v '^ *+' conftest.er1
>conftest.err
20004 cat conftest.err
>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try
='test -s conftest.$ac_objext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 ac_lo
=$ac_mid; break
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.
$ac_ext >&5
20024 ac_hi
=`expr '(' $ac_mid ')' - 1`
20025 if test $ac_mid -le $ac_hi; then
20029 ac_mid
=`expr 2 '*' $ac_mid`
20031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.
$ac_ext >&5
20039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20042 # Binary search between lo and hi bounds.
20043 while test "x$ac_lo" != "x$ac_hi"; do
20044 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20045 cat >conftest.
$ac_ext <<_ACEOF
20048 cat confdefs.h
>>conftest.
$ac_ext
20049 cat >>conftest.
$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 $ac_includes_default
20055 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20062 rm -f conftest.
$ac_objext
20063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20064 (eval $ac_compile) 2>conftest.er1
20066 grep -v '^ *+' conftest.er1
>conftest.err
20068 cat conftest.err
>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } &&
20071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; } &&
20077 { ac_try
='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.
$ac_ext >&5
20088 ac_lo
=`expr '(' $ac_mid ')' + 1`
20090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20093 ?
*) ac_cv_sizeof_long
=$ac_lo;;
20094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20095 See \`config.log' for more details." >&5
20096 echo "$as_me: error: cannot compute sizeof (long), 77
20097 See \`config.log' for more details." >&2;}
20098 { (exit 1); exit 1; }; } ;;
20101 if test "$cross_compiling" = yes; then
20102 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20103 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20104 { (exit 1); exit 1; }; }
20106 cat >conftest.
$ac_ext <<_ACEOF
20109 cat confdefs.h
>>conftest.
$ac_ext
20110 cat >>conftest.
$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 $ac_includes_default
20113 long longval () { return (long) (sizeof (long)); }
20114 unsigned long ulongval () { return (long) (sizeof (long)); }
20116 #include <stdlib.h>
20121 FILE *f = fopen ("conftest.val", "w");
20124 if (((long) (sizeof (long))) < 0)
20126 long i = longval ();
20127 if (i != ((long) (sizeof (long))))
20129 fprintf (f, "%ld\n", i);
20133 unsigned long i = ulongval ();
20134 if (i != ((long) (sizeof (long))))
20136 fprintf (f, "%lu\n", i);
20138 exit (ferror (f) || fclose (f) != 0);
20144 rm -f conftest
$ac_exeext
20145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20146 (eval $ac_link) 2>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 ac_cv_sizeof_long
=`cat conftest.val`
20157 echo "$as_me: program exited with status $ac_status" >&5
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.
$ac_ext >&5
20161 ( exit $ac_status )
20162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20163 See \`config.log' for more details." >&5
20164 echo "$as_me: error: cannot compute sizeof (long), 77
20165 See \`config.log' for more details." >&2;}
20166 { (exit 1); exit 1; }; }
20168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20173 ac_cv_sizeof_long
=0
20176 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20177 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20178 cat >>confdefs.h
<<_ACEOF
20179 #define SIZEOF_LONG $ac_cv_sizeof_long
20183 echo "$as_me:$LINENO: checking for size_t" >&5
20184 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20185 if test "${ac_cv_type_size_t+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20188 cat >conftest.
$ac_ext <<_ACEOF
20191 cat confdefs.h
>>conftest.
$ac_ext
20192 cat >>conftest.
$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 $ac_includes_default
20200 if (sizeof (size_t))
20206 rm -f conftest.
$ac_objext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20208 (eval $ac_compile) 2>conftest.er1
20210 grep -v '^ *+' conftest.er1
>conftest.err
20212 cat conftest.err
>&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } &&
20215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try
='test -s conftest.$ac_objext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 ac_cv_type_size_t
=yes
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.
$ac_ext >&5
20232 ac_cv_type_size_t
=no
20234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20236 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20237 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20239 echo "$as_me:$LINENO: checking size of size_t" >&5
20240 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20241 if test "${ac_cv_sizeof_size_t+set}" = set; then
20242 echo $ECHO_N "(cached) $ECHO_C" >&6
20244 if test "$ac_cv_type_size_t" = yes; then
20245 # The cast to unsigned long works around a bug in the HP C Compiler
20246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20248 # This bug is HP SR number 8606223364.
20249 if test "$cross_compiling" = yes; then
20250 # Depending upon the size, compute the lo and hi bounds.
20251 cat >conftest.
$ac_ext <<_ACEOF
20254 cat confdefs.h
>>conftest.
$ac_ext
20255 cat >>conftest.
$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 $ac_includes_default
20261 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20268 rm -f conftest.
$ac_objext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20270 (eval $ac_compile) 2>conftest.er1
20272 grep -v '^ *+' conftest.er1
>conftest.err
20274 cat conftest.err
>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } &&
20277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; } &&
20283 { ac_try
='test -s conftest.$ac_objext'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; }; then
20291 cat >conftest.
$ac_ext <<_ACEOF
20294 cat confdefs.h
>>conftest.
$ac_ext
20295 cat >>conftest.
$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 $ac_includes_default
20301 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20308 rm -f conftest.
$ac_objext
20309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20310 (eval $ac_compile) 2>conftest.er1
20312 grep -v '^ *+' conftest.er1
>conftest.err
20314 cat conftest.err
>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } &&
20317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try
='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 ac_hi
=$ac_mid; break
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.
$ac_ext >&5
20334 ac_lo
=`expr $ac_mid + 1`
20335 if test $ac_lo -le $ac_mid; then
20339 ac_mid
=`expr 2 '*' $ac_mid + 1`
20341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.
$ac_ext >&5
20347 cat >conftest.
$ac_ext <<_ACEOF
20350 cat confdefs.h
>>conftest.
$ac_ext
20351 cat >>conftest.
$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 $ac_includes_default
20357 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20364 rm -f conftest.
$ac_objext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20366 (eval $ac_compile) 2>conftest.er1
20368 grep -v '^ *+' conftest.er1
>conftest.err
20370 cat conftest.err
>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } &&
20373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; } &&
20379 { ac_try
='test -s conftest.$ac_objext'
20380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20381 (eval $ac_try) 2>&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; }; then
20387 cat >conftest.
$ac_ext <<_ACEOF
20390 cat confdefs.h
>>conftest.
$ac_ext
20391 cat >>conftest.
$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20397 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20404 rm -f conftest.
$ac_objext
20405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20406 (eval $ac_compile) 2>conftest.er1
20408 grep -v '^ *+' conftest.er1
>conftest.err
20410 cat conftest.err
>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } &&
20413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try
='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_lo
=$ac_mid; break
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.
$ac_ext >&5
20430 ac_hi
=`expr '(' $ac_mid ')' - 1`
20431 if test $ac_mid -le $ac_hi; then
20435 ac_mid
=`expr 2 '*' $ac_mid`
20437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.
$ac_ext >&5
20445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20448 # Binary search between lo and hi bounds.
20449 while test "x$ac_lo" != "x$ac_hi"; do
20450 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20451 cat >conftest.
$ac_ext <<_ACEOF
20454 cat confdefs.h
>>conftest.
$ac_ext
20455 cat >>conftest.
$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 $ac_includes_default
20461 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20468 rm -f conftest.
$ac_objext
20469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20470 (eval $ac_compile) 2>conftest.er1
20472 grep -v '^ *+' conftest.er1
>conftest.err
20474 cat conftest.err
>&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } &&
20477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479 (eval $ac_try) 2>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; } &&
20483 { ac_try
='test -s conftest.$ac_objext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.
$ac_ext >&5
20494 ac_lo
=`expr '(' $ac_mid ')' + 1`
20496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20499 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20500 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20501 See \`config.log' for more details." >&5
20502 echo "$as_me: error: cannot compute sizeof (size_t), 77
20503 See \`config.log' for more details." >&2;}
20504 { (exit 1); exit 1; }; } ;;
20507 if test "$cross_compiling" = yes; then
20508 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20509 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20510 { (exit 1); exit 1; }; }
20512 cat >conftest.
$ac_ext <<_ACEOF
20515 cat confdefs.h
>>conftest.
$ac_ext
20516 cat >>conftest.
$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 long longval () { return (long) (sizeof (size_t)); }
20520 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20522 #include <stdlib.h>
20527 FILE *f = fopen ("conftest.val", "w");
20530 if (((long) (sizeof (size_t))) < 0)
20532 long i = longval ();
20533 if (i != ((long) (sizeof (size_t))))
20535 fprintf (f, "%ld\n", i);
20539 unsigned long i = ulongval ();
20540 if (i != ((long) (sizeof (size_t))))
20542 fprintf (f, "%lu\n", i);
20544 exit (ferror (f) || fclose (f) != 0);
20550 rm -f conftest
$ac_exeext
20551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20552 (eval $ac_link) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_sizeof_size_t
=`cat conftest.val`
20563 echo "$as_me: program exited with status $ac_status" >&5
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.
$ac_ext >&5
20567 ( exit $ac_status )
20568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20569 See \`config.log' for more details." >&5
20570 echo "$as_me: error: cannot compute sizeof (size_t), 77
20571 See \`config.log' for more details." >&2;}
20572 { (exit 1); exit 1; }; }
20574 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20579 ac_cv_sizeof_size_t
=0
20582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20584 cat >>confdefs.h
<<_ACEOF
20585 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20592 echo "$as_me:$LINENO: checking for long long" >&5
20593 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20594 if test "${ac_cv_type_long_long+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20597 cat >conftest.
$ac_ext <<_ACEOF
20600 cat confdefs.h
>>conftest.
$ac_ext
20601 cat >>conftest.
$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20607 if ((long long *) 0)
20609 if (sizeof (long long))
20615 rm -f conftest.
$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20619 grep -v '^ *+' conftest.er1
>conftest.err
20621 cat conftest.err
>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try
='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_cv_type_long_long
=yes
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.
$ac_ext >&5
20641 ac_cv_type_long_long
=no
20643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20645 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20646 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20648 echo "$as_me:$LINENO: checking size of long long" >&5
20649 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20650 if test "${ac_cv_sizeof_long_long+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 if test "$ac_cv_type_long_long" = yes; then
20654 # The cast to unsigned long works around a bug in the HP C Compiler
20655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20657 # This bug is HP SR number 8606223364.
20658 if test "$cross_compiling" = yes; then
20659 # Depending upon the size, compute the lo and hi bounds.
20660 cat >conftest.
$ac_ext <<_ACEOF
20663 cat confdefs.h
>>conftest.
$ac_ext
20664 cat >>conftest.
$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20677 rm -f conftest.
$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20681 grep -v '^ *+' conftest.er1
>conftest.err
20683 cat conftest.err
>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; } &&
20692 { ac_try
='test -s conftest.$ac_objext'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; }; then
20700 cat >conftest.
$ac_ext <<_ACEOF
20703 cat confdefs.h
>>conftest.
$ac_ext
20704 cat >>conftest.
$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 $ac_includes_default
20710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20717 rm -f conftest.
$ac_objext
20718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20719 (eval $ac_compile) 2>conftest.er1
20721 grep -v '^ *+' conftest.er1
>conftest.err
20723 cat conftest.err
>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } &&
20726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; } &&
20732 { ac_try
='test -s conftest.$ac_objext'
20733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734 (eval $ac_try) 2>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; }; then
20738 ac_hi
=$ac_mid; break
20740 echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.
$ac_ext >&5
20743 ac_lo
=`expr $ac_mid + 1`
20744 if test $ac_lo -le $ac_mid; then
20748 ac_mid
=`expr 2 '*' $ac_mid + 1`
20750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.
$ac_ext >&5
20756 cat >conftest.
$ac_ext <<_ACEOF
20759 cat confdefs.h
>>conftest.
$ac_ext
20760 cat >>conftest.
$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20773 rm -f conftest.
$ac_objext
20774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20775 (eval $ac_compile) 2>conftest.er1
20777 grep -v '^ *+' conftest.er1
>conftest.err
20779 cat conftest.err
>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } &&
20782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try
='test -s conftest.$ac_objext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20796 cat >conftest.
$ac_ext <<_ACEOF
20799 cat confdefs.h
>>conftest.
$ac_ext
20800 cat >>conftest.
$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 $ac_includes_default
20806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20813 rm -f conftest.
$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20817 grep -v '^ *+' conftest.er1
>conftest.err
20819 cat conftest.err
>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; } &&
20828 { ac_try
='test -s conftest.$ac_objext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20834 ac_lo
=$ac_mid; break
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.
$ac_ext >&5
20839 ac_hi
=`expr '(' $ac_mid ')' - 1`
20840 if test $ac_mid -le $ac_hi; then
20844 ac_mid
=`expr 2 '*' $ac_mid`
20846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20849 echo "$as_me: failed program was:" >&5
20850 sed 's/^/| /' conftest.
$ac_ext >&5
20854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20857 # Binary search between lo and hi bounds.
20858 while test "x$ac_lo" != "x$ac_hi"; do
20859 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20860 cat >conftest.
$ac_ext <<_ACEOF
20863 cat confdefs.h
>>conftest.
$ac_ext
20864 cat >>conftest.
$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20877 rm -f conftest.
$ac_objext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20879 (eval $ac_compile) 2>conftest.er1
20881 grep -v '^ *+' conftest.er1
>conftest.err
20883 cat conftest.err
>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try
='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.
$ac_ext >&5
20903 ac_lo
=`expr '(' $ac_mid ')' + 1`
20905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20908 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20909 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20910 See \`config.log' for more details." >&5
20911 echo "$as_me: error: cannot compute sizeof (long long), 77
20912 See \`config.log' for more details." >&2;}
20913 { (exit 1); exit 1; }; } ;;
20916 if test "$cross_compiling" = yes; then
20917 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20918 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20919 { (exit 1); exit 1; }; }
20921 cat >conftest.
$ac_ext <<_ACEOF
20924 cat confdefs.h
>>conftest.
$ac_ext
20925 cat >>conftest.
$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20928 long longval () { return (long) (sizeof (long long)); }
20929 unsigned long ulongval () { return (long) (sizeof (long long)); }
20931 #include <stdlib.h>
20936 FILE *f = fopen ("conftest.val", "w");
20939 if (((long) (sizeof (long long))) < 0)
20941 long i = longval ();
20942 if (i != ((long) (sizeof (long long))))
20944 fprintf (f, "%ld\n", i);
20948 unsigned long i = ulongval ();
20949 if (i != ((long) (sizeof (long long))))
20951 fprintf (f, "%lu\n", i);
20953 exit (ferror (f) || fclose (f) != 0);
20959 rm -f conftest
$ac_exeext
20960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20961 (eval $ac_link) 2>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_sizeof_long_long
=`cat conftest.val`
20972 echo "$as_me: program exited with status $ac_status" >&5
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.
$ac_ext >&5
20976 ( exit $ac_status )
20977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20978 See \`config.log' for more details." >&5
20979 echo "$as_me: error: cannot compute sizeof (long long), 77
20980 See \`config.log' for more details." >&2;}
20981 { (exit 1); exit 1; }; }
20983 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20988 ac_cv_sizeof_long_long
=0
20991 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20992 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20993 cat >>confdefs.h
<<_ACEOF
20994 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21000 echo "$as_me:$LINENO: checking for long long" >&5
21001 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21002 if test "${ac_cv_type_long_long+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21005 cat >conftest.
$ac_ext <<_ACEOF
21008 cat confdefs.h
>>conftest.
$ac_ext
21009 cat >>conftest.
$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21015 if ((long long *) 0)
21017 if (sizeof (long long))
21023 rm -f conftest.
$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025 (eval $ac_compile) 2>conftest.er1
21027 grep -v '^ *+' conftest.er1
>conftest.err
21029 cat conftest.err
>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try
='test -s conftest.$ac_objext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 ac_cv_type_long_long
=yes
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.
$ac_ext >&5
21049 ac_cv_type_long_long
=no
21051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21053 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21056 echo "$as_me:$LINENO: checking size of long long" >&5
21057 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21058 if test "${ac_cv_sizeof_long_long+set}" = set; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21061 if test "$ac_cv_type_long_long" = yes; then
21062 # The cast to unsigned long works around a bug in the HP C Compiler
21063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21065 # This bug is HP SR number 8606223364.
21066 if test "$cross_compiling" = yes; then
21067 # Depending upon the size, compute the lo and hi bounds.
21068 cat >conftest.
$ac_ext <<_ACEOF
21071 cat confdefs.h
>>conftest.
$ac_ext
21072 cat >>conftest.
$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 $ac_includes_default
21078 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21085 rm -f conftest.
$ac_objext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21087 (eval $ac_compile) 2>conftest.er1
21089 grep -v '^ *+' conftest.er1
>conftest.err
21091 cat conftest.err
>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } &&
21094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try
='test -s conftest.$ac_objext'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; }; then
21108 cat >conftest.
$ac_ext <<_ACEOF
21111 cat confdefs.h
>>conftest.
$ac_ext
21112 cat >>conftest.
$ac_ext <<_ACEOF
21113 /* end confdefs.h. */
21114 $ac_includes_default
21118 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21125 rm -f conftest.
$ac_objext
21126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21127 (eval $ac_compile) 2>conftest.er1
21129 grep -v '^ *+' conftest.er1
>conftest.err
21131 cat conftest.err
>&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } &&
21134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; } &&
21140 { ac_try
='test -s conftest.$ac_objext'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; }; then
21146 ac_hi
=$ac_mid; break
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.
$ac_ext >&5
21151 ac_lo
=`expr $ac_mid + 1`
21152 if test $ac_lo -le $ac_mid; then
21156 ac_mid
=`expr 2 '*' $ac_mid + 1`
21158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.
$ac_ext >&5
21164 cat >conftest.
$ac_ext <<_ACEOF
21167 cat confdefs.h
>>conftest.
$ac_ext
21168 cat >>conftest.
$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21181 rm -f conftest.
$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21185 grep -v '^ *+' conftest.er1
>conftest.err
21187 cat conftest.err
>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; } &&
21196 { ac_try
='test -s conftest.$ac_objext'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21204 cat >conftest.
$ac_ext <<_ACEOF
21207 cat confdefs.h
>>conftest.
$ac_ext
21208 cat >>conftest.
$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21214 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21221 rm -f conftest.
$ac_objext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21223 (eval $ac_compile) 2>conftest.er1
21225 grep -v '^ *+' conftest.er1
>conftest.err
21227 cat conftest.err
>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try
='test -s conftest.$ac_objext'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; }; then
21242 ac_lo
=$ac_mid; break
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.
$ac_ext >&5
21247 ac_hi
=`expr '(' $ac_mid ')' - 1`
21248 if test $ac_mid -le $ac_hi; then
21252 ac_mid
=`expr 2 '*' $ac_mid`
21254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.
$ac_ext >&5
21262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21265 # Binary search between lo and hi bounds.
21266 while test "x$ac_lo" != "x$ac_hi"; do
21267 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21268 cat >conftest.
$ac_ext <<_ACEOF
21271 cat confdefs.h
>>conftest.
$ac_ext
21272 cat >>conftest.
$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21278 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21285 rm -f conftest.
$ac_objext
21286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21287 (eval $ac_compile) 2>conftest.er1
21289 grep -v '^ *+' conftest.er1
>conftest.err
21291 cat conftest.err
>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } &&
21294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; } &&
21300 { ac_try
='test -s conftest.$ac_objext'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; }; then
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.
$ac_ext >&5
21311 ac_lo
=`expr '(' $ac_mid ')' + 1`
21313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21316 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21317 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21318 See \`config.log' for more details." >&5
21319 echo "$as_me: error: cannot compute sizeof (long long), 77
21320 See \`config.log' for more details." >&2;}
21321 { (exit 1); exit 1; }; } ;;
21324 if test "$cross_compiling" = yes; then
21325 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21326 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21327 { (exit 1); exit 1; }; }
21329 cat >conftest.
$ac_ext <<_ACEOF
21332 cat confdefs.h
>>conftest.
$ac_ext
21333 cat >>conftest.
$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 $ac_includes_default
21336 long longval () { return (long) (sizeof (long long)); }
21337 unsigned long ulongval () { return (long) (sizeof (long long)); }
21339 #include <stdlib.h>
21344 FILE *f = fopen ("conftest.val", "w");
21347 if (((long) (sizeof (long long))) < 0)
21349 long i = longval ();
21350 if (i != ((long) (sizeof (long long))))
21352 fprintf (f, "%ld\n", i);
21356 unsigned long i = ulongval ();
21357 if (i != ((long) (sizeof (long long))))
21359 fprintf (f, "%lu\n", i);
21361 exit (ferror (f) || fclose (f) != 0);
21367 rm -f conftest
$ac_exeext
21368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21369 (eval $ac_link) 2>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_cv_sizeof_long_long
=`cat conftest.val`
21380 echo "$as_me: program exited with status $ac_status" >&5
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.
$ac_ext >&5
21384 ( exit $ac_status )
21385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21386 See \`config.log' for more details." >&5
21387 echo "$as_me: error: cannot compute sizeof (long long), 77
21388 See \`config.log' for more details." >&2;}
21389 { (exit 1); exit 1; }; }
21391 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21396 ac_cv_sizeof_long_long
=0
21399 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21400 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21401 cat >>confdefs.h
<<_ACEOF
21402 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21406 if test "$ac_cv_sizeof_long_long" != "0"; then
21407 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21411 echo "$as_me:$LINENO: checking for long long" >&5
21412 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21413 if test "${ac_cv_type_long_long+set}" = set; then
21414 echo $ECHO_N "(cached) $ECHO_C" >&6
21416 cat >conftest.
$ac_ext <<_ACEOF
21419 cat confdefs.h
>>conftest.
$ac_ext
21420 cat >>conftest.
$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21426 if ((long long *) 0)
21428 if (sizeof (long long))
21434 rm -f conftest.
$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21438 grep -v '^ *+' conftest.er1
>conftest.err
21440 cat conftest.err
>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; } &&
21449 { ac_try
='test -s conftest.$ac_objext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_type_long_long
=yes
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.
$ac_ext >&5
21460 ac_cv_type_long_long
=no
21462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21464 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21465 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21467 echo "$as_me:$LINENO: checking size of long long" >&5
21468 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21469 if test "${ac_cv_sizeof_long_long+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 if test "$ac_cv_type_long_long" = yes; then
21473 # The cast to unsigned long works around a bug in the HP C Compiler
21474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21476 # This bug is HP SR number 8606223364.
21477 if test "$cross_compiling" = yes; then
21478 # Depending upon the size, compute the lo and hi bounds.
21479 cat >conftest.
$ac_ext <<_ACEOF
21482 cat confdefs.h
>>conftest.
$ac_ext
21483 cat >>conftest.
$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21489 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21496 rm -f conftest.
$ac_objext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21498 (eval $ac_compile) 2>conftest.er1
21500 grep -v '^ *+' conftest.er1
>conftest.err
21502 cat conftest.err
>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try
='test -s conftest.$ac_objext'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21519 cat >conftest.
$ac_ext <<_ACEOF
21522 cat confdefs.h
>>conftest.
$ac_ext
21523 cat >>conftest.
$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 $ac_includes_default
21529 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21536 rm -f conftest.
$ac_objext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21538 (eval $ac_compile) 2>conftest.er1
21540 grep -v '^ *+' conftest.er1
>conftest.err
21542 cat conftest.err
>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try
='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 ac_hi
=$ac_mid; break
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.
$ac_ext >&5
21562 ac_lo
=`expr $ac_mid + 1`
21563 if test $ac_lo -le $ac_mid; then
21567 ac_mid
=`expr 2 '*' $ac_mid + 1`
21569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.
$ac_ext >&5
21575 cat >conftest.
$ac_ext <<_ACEOF
21578 cat confdefs.h
>>conftest.
$ac_ext
21579 cat >>conftest.
$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21592 rm -f conftest.
$ac_objext
21593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21594 (eval $ac_compile) 2>conftest.er1
21596 grep -v '^ *+' conftest.er1
>conftest.err
21598 cat conftest.err
>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; } &&
21607 { ac_try
='test -s conftest.$ac_objext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21615 cat >conftest.
$ac_ext <<_ACEOF
21618 cat confdefs.h
>>conftest.
$ac_ext
21619 cat >>conftest.
$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21621 $ac_includes_default
21625 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21632 rm -f conftest.
$ac_objext
21633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21634 (eval $ac_compile) 2>conftest.er1
21636 grep -v '^ *+' conftest.er1
>conftest.err
21638 cat conftest.err
>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } &&
21641 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try
='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 ac_lo
=$ac_mid; break
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.
$ac_ext >&5
21658 ac_hi
=`expr '(' $ac_mid ')' - 1`
21659 if test $ac_mid -le $ac_hi; then
21663 ac_mid
=`expr 2 '*' $ac_mid`
21665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.
$ac_ext >&5
21673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21676 # Binary search between lo and hi bounds.
21677 while test "x$ac_lo" != "x$ac_hi"; do
21678 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21679 cat >conftest.
$ac_ext <<_ACEOF
21682 cat confdefs.h
>>conftest.
$ac_ext
21683 cat >>conftest.
$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 $ac_includes_default
21689 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21696 rm -f conftest.
$ac_objext
21697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21698 (eval $ac_compile) 2>conftest.er1
21700 grep -v '^ *+' conftest.er1
>conftest.err
21702 cat conftest.err
>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } &&
21705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try
='test -s conftest.$ac_objext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.
$ac_ext >&5
21722 ac_lo
=`expr '(' $ac_mid ')' + 1`
21724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21727 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21728 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21729 See \`config.log' for more details." >&5
21730 echo "$as_me: error: cannot compute sizeof (long long), 77
21731 See \`config.log' for more details." >&2;}
21732 { (exit 1); exit 1; }; } ;;
21735 if test "$cross_compiling" = yes; then
21736 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21737 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21738 { (exit 1); exit 1; }; }
21740 cat >conftest.
$ac_ext <<_ACEOF
21743 cat confdefs.h
>>conftest.
$ac_ext
21744 cat >>conftest.
$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 $ac_includes_default
21747 long longval () { return (long) (sizeof (long long)); }
21748 unsigned long ulongval () { return (long) (sizeof (long long)); }
21750 #include <stdlib.h>
21755 FILE *f = fopen ("conftest.val", "w");
21758 if (((long) (sizeof (long long))) < 0)
21760 long i = longval ();
21761 if (i != ((long) (sizeof (long long))))
21763 fprintf (f, "%ld\n", i);
21767 unsigned long i = ulongval ();
21768 if (i != ((long) (sizeof (long long))))
21770 fprintf (f, "%lu\n", i);
21772 exit (ferror (f) || fclose (f) != 0);
21778 rm -f conftest
$ac_exeext
21779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21780 (eval $ac_link) 2>&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; }; then
21789 ac_cv_sizeof_long_long
=`cat conftest.val`
21791 echo "$as_me: program exited with status $ac_status" >&5
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 ( exit $ac_status )
21796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21797 See \`config.log' for more details." >&5
21798 echo "$as_me: error: cannot compute sizeof (long long), 77
21799 See \`config.log' for more details." >&2;}
21800 { (exit 1); exit 1; }; }
21802 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21807 ac_cv_sizeof_long_long
=0
21810 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21811 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21812 cat >>confdefs.h
<<_ACEOF
21813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21819 echo "$as_me:$LINENO: checking for wchar_t" >&5
21820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21821 if test "${ac_cv_type_wchar_t+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6
21824 cat >conftest.
$ac_ext <<_ACEOF
21827 cat confdefs.h
>>conftest.
$ac_ext
21828 cat >>conftest.
$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21831 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21833 # error "fake wchar_t"
21835 #ifdef HAVE_WCHAR_H
21837 # include <stddef.h>
21839 # include <wchar.h>
21841 #ifdef HAVE_STDLIB_H
21842 # include <stdlib.h>
21853 if (sizeof (wchar_t))
21859 rm -f conftest.
$ac_objext
21860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21861 (eval $ac_compile) 2>conftest.er1
21863 grep -v '^ *+' conftest.er1
>conftest.err
21865 cat conftest.err
>&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } &&
21868 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; } &&
21874 { ac_try
='test -s conftest.$ac_objext'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; }; then
21880 ac_cv_type_wchar_t
=yes
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.
$ac_ext >&5
21885 ac_cv_type_wchar_t
=no
21887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21889 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21890 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21892 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21893 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21894 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21895 echo $ECHO_N "(cached) $ECHO_C" >&6
21897 if test "$ac_cv_type_wchar_t" = yes; then
21898 # The cast to unsigned long works around a bug in the HP C Compiler
21899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21901 # This bug is HP SR number 8606223364.
21902 if test "$cross_compiling" = yes; then
21903 # Depending upon the size, compute the lo and hi bounds.
21904 cat >conftest.
$ac_ext <<_ACEOF
21907 cat confdefs.h
>>conftest.
$ac_ext
21908 cat >>conftest.
$ac_ext <<_ACEOF
21909 /* end confdefs.h. */
21911 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21912 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21913 # error "fake wchar_t"
21915 #ifdef HAVE_WCHAR_H
21917 # include <stddef.h>
21919 # include <wchar.h>
21921 #ifdef HAVE_STDLIB_H
21922 # include <stdlib.h>
21931 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21938 rm -f conftest.
$ac_objext
21939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21940 (eval $ac_compile) 2>conftest.er1
21942 grep -v '^ *+' conftest.er1
>conftest.err
21944 cat conftest.err
>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } &&
21947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; } &&
21953 { ac_try
='test -s conftest.$ac_objext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21961 cat >conftest.
$ac_ext <<_ACEOF
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21968 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21969 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21970 # error "fake wchar_t"
21972 #ifdef HAVE_WCHAR_H
21974 # include <stddef.h>
21976 # include <wchar.h>
21978 #ifdef HAVE_STDLIB_H
21979 # include <stdlib.h>
21988 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21995 rm -f conftest.
$ac_objext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21997 (eval $ac_compile) 2>conftest.er1
21999 grep -v '^ *+' conftest.er1
>conftest.err
22001 cat conftest.err
>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try
='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_hi
=$ac_mid; break
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.
$ac_ext >&5
22021 ac_lo
=`expr $ac_mid + 1`
22022 if test $ac_lo -le $ac_mid; then
22026 ac_mid
=`expr 2 '*' $ac_mid + 1`
22028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.
$ac_ext >&5
22034 cat >conftest.
$ac_ext <<_ACEOF
22037 cat confdefs.h
>>conftest.
$ac_ext
22038 cat >>conftest.
$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22041 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22042 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22043 # error "fake wchar_t"
22045 #ifdef HAVE_WCHAR_H
22047 # include <stddef.h>
22049 # include <wchar.h>
22051 #ifdef HAVE_STDLIB_H
22052 # include <stdlib.h>
22061 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22068 rm -f conftest.
$ac_objext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22070 (eval $ac_compile) 2>conftest.er1
22072 grep -v '^ *+' conftest.er1
>conftest.err
22074 cat conftest.err
>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } &&
22077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22079 (eval $ac_try) 2>&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; } &&
22083 { ac_try
='test -s conftest.$ac_objext'
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085 (eval $ac_try) 2>&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; }; then
22091 cat >conftest.
$ac_ext <<_ACEOF
22094 cat confdefs.h
>>conftest.
$ac_ext
22095 cat >>conftest.
$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22098 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22099 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22100 # error "fake wchar_t"
22102 #ifdef HAVE_WCHAR_H
22104 # include <stddef.h>
22106 # include <wchar.h>
22108 #ifdef HAVE_STDLIB_H
22109 # include <stdlib.h>
22118 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22125 rm -f conftest.
$ac_objext
22126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22127 (eval $ac_compile) 2>conftest.er1
22129 grep -v '^ *+' conftest.er1
>conftest.err
22131 cat conftest.err
>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; } &&
22140 { ac_try
='test -s conftest.$ac_objext'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; }; then
22146 ac_lo
=$ac_mid; break
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.
$ac_ext >&5
22151 ac_hi
=`expr '(' $ac_mid ')' - 1`
22152 if test $ac_mid -le $ac_hi; then
22156 ac_mid
=`expr 2 '*' $ac_mid`
22158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.
$ac_ext >&5
22166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22169 # Binary search between lo and hi bounds.
22170 while test "x$ac_lo" != "x$ac_hi"; do
22171 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22172 cat >conftest.
$ac_ext <<_ACEOF
22175 cat confdefs.h
>>conftest.
$ac_ext
22176 cat >>conftest.
$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22179 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22180 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22181 # error "fake wchar_t"
22183 #ifdef HAVE_WCHAR_H
22185 # include <stddef.h>
22187 # include <wchar.h>
22189 #ifdef HAVE_STDLIB_H
22190 # include <stdlib.h>
22199 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22206 rm -f conftest.
$ac_objext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22208 (eval $ac_compile) 2>conftest.er1
22210 grep -v '^ *+' conftest.er1
>conftest.err
22212 cat conftest.err
>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try
='test -s conftest.$ac_objext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.
$ac_ext >&5
22232 ac_lo
=`expr '(' $ac_mid ')' + 1`
22234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22237 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22239 See \`config.log' for more details." >&5
22240 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22241 See \`config.log' for more details." >&2;}
22242 { (exit 1); exit 1; }; } ;;
22245 if test "$cross_compiling" = yes; then
22246 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22247 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22248 { (exit 1); exit 1; }; }
22250 cat >conftest.
$ac_ext <<_ACEOF
22253 cat confdefs.h
>>conftest.
$ac_ext
22254 cat >>conftest.
$ac_ext <<_ACEOF
22255 /* end confdefs.h. */
22257 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22258 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22259 # error "fake wchar_t"
22261 #ifdef HAVE_WCHAR_H
22263 # include <stddef.h>
22265 # include <wchar.h>
22267 #ifdef HAVE_STDLIB_H
22268 # include <stdlib.h>
22274 long longval () { return (long) (sizeof (wchar_t)); }
22275 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22277 #include <stdlib.h>
22282 FILE *f = fopen ("conftest.val", "w");
22285 if (((long) (sizeof (wchar_t))) < 0)
22287 long i = longval ();
22288 if (i != ((long) (sizeof (wchar_t))))
22290 fprintf (f, "%ld\n", i);
22294 unsigned long i = ulongval ();
22295 if (i != ((long) (sizeof (wchar_t))))
22297 fprintf (f, "%lu\n", i);
22299 exit (ferror (f) || fclose (f) != 0);
22305 rm -f conftest
$ac_exeext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22307 (eval $ac_link) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312 (eval $ac_try) 2>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); }; }; then
22316 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22318 echo "$as_me: program exited with status $ac_status" >&5
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.
$ac_ext >&5
22322 ( exit $ac_status )
22323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22324 See \`config.log' for more details." >&5
22325 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22326 See \`config.log' for more details." >&2;}
22327 { (exit 1); exit 1; }; }
22329 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22334 ac_cv_sizeof_wchar_t
=0
22337 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22338 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22339 cat >>confdefs.h
<<_ACEOF
22340 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22344 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22350 echo "$as_me:$LINENO: checking for va_copy" >&5
22351 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22352 if test "${wx_cv_func_va_copy+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 cat >conftest.
$ac_ext <<_ACEOF
22358 #include <stdarg.h>
22359 void foo(char *f, ...)
22373 rm -f conftest.
$ac_objext conftest
$ac_exeext
22374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22375 (eval $ac_link) 2>conftest.er1
22377 grep -v '^ *+' conftest.er1
>conftest.err
22379 cat conftest.err
>&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } &&
22382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22388 { ac_try
='test -s conftest$ac_exeext'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; }; then
22394 wx_cv_func_va_copy
=yes
22396 echo "$as_me: failed program was:" >&5
22397 sed 's/^/| /' conftest.
$ac_ext >&5
22399 wx_cv_func_va_copy
=no
22402 rm -f conftest.err conftest.
$ac_objext \
22403 conftest
$ac_exeext conftest.
$ac_ext
22407 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22408 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22410 if test $wx_cv_func_va_copy = "yes"; then
22411 cat >>confdefs.h
<<\_ACEOF
22412 #define HAVE_VA_COPY 1
22416 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22417 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22418 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 if test "$cross_compiling" = yes; then
22423 wx_cv_type_va_list_lvalue
=yes
22426 cat >conftest.
$ac_ext <<_ACEOF
22428 #include <stdarg.h>
22429 int foo(char *f, ...)
22434 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22442 return foo("hi", 17);
22445 rm -f conftest
$ac_exeext
22446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22447 (eval $ac_link) 2>&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; }; then
22456 wx_cv_type_va_list_lvalue
=yes
22458 echo "$as_me: program exited with status $ac_status" >&5
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.
$ac_ext >&5
22462 ( exit $ac_status )
22463 wx_cv_type_va_list_lvalue
=no
22465 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22470 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22471 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22473 if test $wx_cv_type_va_list_lvalue != "yes"; then
22474 cat >>confdefs.h
<<\_ACEOF
22475 #define VA_LIST_IS_ARRAY 1
22481 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22482 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22483 if test "${wx_cv_have_variadic_macros+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22487 cat >conftest.
$ac_ext <<_ACEOF
22490 cat confdefs.h
>>conftest.
$ac_ext
22491 cat >>conftest.
$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22495 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22501 test("%s %d %p", "test", 1, 0);
22508 rm -f conftest.
$ac_objext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>conftest.er1
22512 grep -v '^ *+' conftest.er1
>conftest.err
22514 cat conftest.err
>&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try
='test -s conftest.$ac_objext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 wx_cv_have_variadic_macros
=yes
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.
$ac_ext >&5
22534 wx_cv_have_variadic_macros
=no
22537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22541 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22542 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22544 if test $wx_cv_have_variadic_macros = "yes"; then
22545 cat >>confdefs.h
<<\_ACEOF
22546 #define HAVE_VARIADIC_MACROS 1
22551 # Check whether --enable-largefile or --disable-largefile was given.
22552 if test "${enable_largefile+set}" = set; then
22553 enableval
="$enable_largefile"
22556 if test "$enable_largefile" != no
; then
22559 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22560 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22561 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22565 cat >conftest.
$ac_ext <<_ACEOF
22568 cat confdefs.h
>>conftest.
$ac_ext
22569 cat >>conftest.
$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22571 #define _FILE_OFFSET_BITS 64
22572 #include <sys/types.h>
22577 unsigned int field: sizeof(off_t) == 8;
22584 rm -f conftest.
$ac_objext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22586 (eval $ac_compile) 2>conftest.er1
22588 grep -v '^ *+' conftest.er1
>conftest.err
22590 cat conftest.err
>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; } &&
22599 { ac_try
='test -s conftest.$ac_objext'
22600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22601 (eval $ac_try) 2>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22605 ac_cv_sys_file_offset_bits
=64
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.
$ac_ext >&5
22610 ac_cv_sys_file_offset_bits
=no
22612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22616 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22617 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22619 if test "$ac_cv_sys_file_offset_bits" != no
; then
22621 cat >>confdefs.h
<<_ACEOF
22622 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22627 if test "x$wx_largefile" != "xyes"; then
22629 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22630 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22631 if test "${ac_cv_sys_large_files+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22635 cat >conftest.
$ac_ext <<_ACEOF
22638 cat confdefs.h
>>conftest.
$ac_ext
22639 cat >>conftest.
$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 #define _LARGE_FILES 1
22642 #include <sys/types.h>
22647 unsigned int field: sizeof(off_t) == 8;
22654 rm -f conftest.
$ac_objext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22656 (eval $ac_compile) 2>conftest.er1
22658 grep -v '^ *+' conftest.er1
>conftest.err
22660 cat conftest.err
>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try
='test -s conftest.$ac_objext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_sys_large_files
=1
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.
$ac_ext >&5
22680 ac_cv_sys_large_files
=no
22682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22686 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22687 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22689 if test "$ac_cv_sys_large_files" != no
; then
22691 cat >>confdefs.h
<<_ACEOF
22692 #define _LARGE_FILES $ac_cv_sys_large_files
22699 echo "$as_me:$LINENO: checking if large file support is available" >&5
22700 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22701 if test "x$wx_largefile" = "xyes"; then
22702 cat >>confdefs.h
<<\_ACEOF
22703 #define HAVE_LARGEFILE_SUPPORT 1
22707 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22708 echo "${ECHO_T}$wx_largefile" >&6
22712 if test "x$wx_largefile" = "xyes"; then
22713 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22714 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22716 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22717 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22718 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22719 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22723 cat >conftest.
$ac_ext <<_ACEOF
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22734 #ifndef __STDC_EXT__
22742 rm -f conftest.
$ac_objext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22744 (eval $ac_compile) 2>conftest.er1
22746 grep -v '^ *+' conftest.er1
>conftest.err
22748 cat conftest.err
>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try
='test -s conftest.$ac_objext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 wx_cv_STDC_EXT_required
=no
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.
$ac_ext >&5
22768 wx_cv_STDC_EXT_required
=yes
22771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22775 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22776 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22777 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22778 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22782 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22784 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22785 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22786 if test "${ac_cv_sys_largefile_source+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 ac_cv_sys_largefile_source
=no
22791 cat >conftest.
$ac_ext <<_ACEOF
22794 cat confdefs.h
>>conftest.
$ac_ext
22795 cat >>conftest.
$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22806 rm -f conftest.
$ac_objext
22807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22808 (eval $ac_compile) 2>conftest.er1
22810 grep -v '^ *+' conftest.er1
>conftest.err
22812 cat conftest.err
>&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); } &&
22815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); }; } &&
22821 { ac_try
='test -s conftest.$ac_objext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22834 cat >conftest.
$ac_ext <<_ACEOF
22837 cat confdefs.h
>>conftest.
$ac_ext
22838 cat >>conftest.
$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840 #define _LARGEFILE_SOURCE 1
22850 rm -f conftest.
$ac_objext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22852 (eval $ac_compile) 2>conftest.er1
22854 grep -v '^ *+' conftest.er1
>conftest.err
22856 cat conftest.err
>&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; } &&
22865 { ac_try
='test -s conftest.$ac_objext'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; }; then
22871 ac_cv_sys_largefile_source
=1; break
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.
$ac_ext >&5
22877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22881 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22882 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22883 if test "$ac_cv_sys_largefile_source" != no
; then
22885 cat >>confdefs.h
<<_ACEOF
22886 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22892 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22893 # in glibc 2.1.3, but that breaks too many other things.
22894 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22895 echo "$as_me:$LINENO: checking for fseeko" >&5
22896 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22897 if test "${ac_cv_func_fseeko+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22900 cat >conftest.
$ac_ext <<_ACEOF
22903 cat confdefs.h
>>conftest.
$ac_ext
22904 cat >>conftest.
$ac_ext <<_ACEOF
22905 /* end confdefs.h. */
22910 return fseeko && fseeko (stdin, 0, 0);
22915 rm -f conftest.
$ac_objext conftest
$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917 (eval $ac_link) 2>conftest.er1
22919 grep -v '^ *+' conftest.er1
>conftest.err
22921 cat conftest.err
>&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } &&
22924 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926 (eval $ac_try) 2>&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); }; } &&
22930 { ac_try
='test -s conftest$ac_exeext'
22931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932 (eval $ac_try) 2>&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; }; then
22936 ac_cv_func_fseeko
=yes
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.
$ac_ext >&5
22941 ac_cv_func_fseeko
=no
22943 rm -f conftest.err conftest.
$ac_objext \
22944 conftest
$ac_exeext conftest.
$ac_ext
22946 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22947 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22948 if test $ac_cv_func_fseeko = yes; then
22950 cat >>confdefs.h
<<\_ACEOF
22951 #define HAVE_FSEEKO 1
22956 if test "$ac_cv_sys_largefile_source" != no
; then
22957 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22961 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22962 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22963 if test "${ac_cv_c_bigendian+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22966 ac_cv_c_bigendian
=unknown
22967 # See if sys/param.h defines the BYTE_ORDER macro.
22968 cat >conftest.
$ac_ext <<_ACEOF
22971 cat confdefs.h
>>conftest.
$ac_ext
22972 cat >>conftest.
$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974 #include <sys/types.h>
22975 #include <sys/param.h>
22980 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22981 bogus endian macros
22987 rm -f conftest.
$ac_objext
22988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22989 (eval $ac_compile) 2>conftest.er1
22991 grep -v '^ *+' conftest.er1
>conftest.err
22993 cat conftest.err
>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } &&
22996 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22998 (eval $ac_try) 2>&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); }; } &&
23002 { ac_try
='test -s conftest.$ac_objext'
23003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004 (eval $ac_try) 2>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); }; }; then
23008 # It does; now see whether it defined to BIG_ENDIAN or not.
23009 cat >conftest.
$ac_ext <<_ACEOF
23012 cat confdefs.h
>>conftest.
$ac_ext
23013 cat >>conftest.
$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #include <sys/types.h>
23016 #include <sys/param.h>
23021 #if BYTE_ORDER != BIG_ENDIAN
23028 rm -f conftest.
$ac_objext
23029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23030 (eval $ac_compile) 2>conftest.er1
23032 grep -v '^ *+' conftest.er1
>conftest.err
23034 cat conftest.err
>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } &&
23037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; } &&
23043 { ac_try
='test -s conftest.$ac_objext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 ac_cv_c_bigendian
=yes
23051 echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.
$ac_ext >&5
23054 ac_cv_c_bigendian
=no
23056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23058 echo "$as_me: failed program was:" >&5
23059 sed 's/^/| /' conftest.
$ac_ext >&5
23062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23063 if test $ac_cv_c_bigendian = unknown
; then
23064 if test "$cross_compiling" = yes; then
23065 ac_cv_c_bigendian
=unknown
23067 cat >conftest.
$ac_ext <<_ACEOF
23070 cat confdefs.h
>>conftest.
$ac_ext
23071 cat >>conftest.
$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23074 /* Are we little or big endian? From Harbison&Steele. */
23078 char c[sizeof (long)];
23081 exit (u.c[sizeof (long) - 1] == 1);
23084 rm -f conftest
$ac_exeext
23085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23086 (eval $ac_link) 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; }; then
23095 ac_cv_c_bigendian
=no
23097 echo "$as_me: program exited with status $ac_status" >&5
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.
$ac_ext >&5
23101 ( exit $ac_status )
23102 ac_cv_c_bigendian
=yes
23104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23108 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23109 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23110 if test $ac_cv_c_bigendian = unknown
; then
23111 { 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
23112 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;}
23114 if test $ac_cv_c_bigendian = yes; then
23115 cat >>confdefs.h
<<\_ACEOF
23116 #define WORDS_BIGENDIAN 1
23126 ac_cpp
='$CXXCPP $CPPFLAGS'
23127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23133 for ac_header
in iostream
23135 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23137 echo "$as_me:$LINENO: checking for $ac_header" >&5
23138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23140 echo $ECHO_N "(cached) $ECHO_C" >&6
23142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23145 # Is the header compilable?
23146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23148 cat >conftest.
$ac_ext <<_ACEOF
23151 cat confdefs.h
>>conftest.
$ac_ext
23152 cat >>conftest.
$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 $ac_includes_default
23155 #include <$ac_header>
23157 rm -f conftest.
$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23161 grep -v '^ *+' conftest.er1
>conftest.err
23163 cat conftest.err
>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23168 (eval $ac_try) 2>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); }; } &&
23172 { ac_try
='test -s conftest.$ac_objext'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; }; then
23178 ac_header_compiler
=yes
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.
$ac_ext >&5
23183 ac_header_compiler
=no
23185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23187 echo "${ECHO_T}$ac_header_compiler" >&6
23189 # Is the header present?
23190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23192 cat >conftest.
$ac_ext <<_ACEOF
23195 cat confdefs.h
>>conftest.
$ac_ext
23196 cat >>conftest.
$ac_ext <<_ACEOF
23197 /* end confdefs.h. */
23198 #include <$ac_header>
23200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23203 grep -v '^ *+' conftest.er1
>conftest.err
23205 cat conftest.err
>&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); } >/dev
/null
; then
23208 if test -s conftest.err
; then
23209 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23210 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23217 if test -z "$ac_cpp_err"; then
23218 ac_header_preproc
=yes
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.
$ac_ext >&5
23223 ac_header_preproc
=no
23225 rm -f conftest.err conftest.
$ac_ext
23226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23227 echo "${ECHO_T}$ac_header_preproc" >&6
23229 # So? What about this header?
23230 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23236 ac_header_preproc
=yes
23239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23253 ## ----------------------------------------- ##
23254 ## Report this to wx-dev@lists.wxwidgets.org ##
23255 ## ----------------------------------------- ##
23258 sed "s/^/$as_me: WARNING: /" >&2
23261 echo "$as_me:$LINENO: checking for $ac_header" >&5
23262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 eval "$as_ac_Header=\$ac_header_preproc"
23268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23273 cat >>confdefs.h
<<_ACEOF
23274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23282 if test "$ac_cv_header_iostream" = "yes" ; then
23285 cat >>confdefs.h
<<\_ACEOF
23286 #define wxUSE_IOSTREAMH 1
23292 ac_cpp
='$CXXCPP $CPPFLAGS'
23293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23300 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23301 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23302 if test "${wx_cv_cpp_bool+set}" = set; then
23303 echo $ECHO_N "(cached) $ECHO_C" >&6
23309 ac_cpp
='$CXXCPP $CPPFLAGS'
23310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23315 cat >conftest.
$ac_ext <<_ACEOF
23318 cat confdefs.h
>>conftest.
$ac_ext
23319 cat >>conftest.
$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23335 rm -f conftest.
$ac_objext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23337 (eval $ac_compile) 2>conftest.er1
23339 grep -v '^ *+' conftest.er1
>conftest.err
23341 cat conftest.err
>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); } &&
23344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; } &&
23350 { ac_try
='test -s conftest.$ac_objext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.
$ac_ext >&5
23368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23371 ac_cpp
='$CXXCPP $CPPFLAGS'
23372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23378 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23379 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23381 if test "$wx_cv_cpp_bool" = "yes"; then
23382 cat >>confdefs.h
<<\_ACEOF
23383 #define HAVE_BOOL 1
23390 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23391 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23392 if test "${wx_cv_explicit+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 ac_cpp
='$CXXCPP $CPPFLAGS'
23400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23405 cat >conftest.
$ac_ext <<_ACEOF
23408 cat confdefs.h
>>conftest.
$ac_ext
23409 cat >>conftest.
$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23412 class Foo { public: explicit Foo(int) {} };
23424 rm -f conftest.
$ac_objext
23425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23426 (eval $ac_compile) 2>conftest.er1
23428 grep -v '^ *+' conftest.er1
>conftest.err
23430 cat conftest.err
>&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } &&
23433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; } &&
23439 { ac_try
='test -s conftest.$ac_objext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23446 cat >conftest.
$ac_ext <<_ACEOF
23449 cat confdefs.h
>>conftest.
$ac_ext
23450 cat >>conftest.
$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23453 class Foo { public: explicit Foo(int) {} };
23454 static void TakeFoo(const Foo& foo) { }
23467 rm -f conftest.
$ac_objext
23468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23469 (eval $ac_compile) 2>conftest.er1
23471 grep -v '^ *+' conftest.er1
>conftest.err
23473 cat conftest.err
>&5
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } &&
23476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; } &&
23482 { ac_try
='test -s conftest.$ac_objext'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.
$ac_ext >&5
23496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.
$ac_ext >&5
23505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23508 ac_cpp
='$CXXCPP $CPPFLAGS'
23509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23515 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23516 echo "${ECHO_T}$wx_cv_explicit" >&6
23518 if test "$wx_cv_explicit" = "yes"; then
23519 cat >>confdefs.h
<<\_ACEOF
23520 #define HAVE_EXPLICIT 1
23526 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23527 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23528 if test "${ac_cv_cxx_const_cast+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23534 ac_cpp
='$CXXCPP $CPPFLAGS'
23535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23539 cat >conftest.
$ac_ext <<_ACEOF
23542 cat confdefs.h
>>conftest.
$ac_ext
23543 cat >>conftest.
$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23549 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23554 rm -f conftest.
$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>conftest.er1
23558 grep -v '^ *+' conftest.er1
>conftest.err
23560 cat conftest.err
>&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; } &&
23569 { ac_try
='test -s conftest.$ac_objext'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; }; then
23575 ac_cv_cxx_const_cast
=yes
23577 echo "$as_me: failed program was:" >&5
23578 sed 's/^/| /' conftest.
$ac_ext >&5
23580 ac_cv_cxx_const_cast
=no
23582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23584 ac_cpp
='$CXXCPP $CPPFLAGS'
23585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23591 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23592 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23593 if test "$ac_cv_cxx_const_cast" = yes; then
23595 cat >>confdefs.h
<<\_ACEOF
23596 #define HAVE_CONST_CAST
23601 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23602 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23603 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 ac_cpp
='$CXXCPP $CPPFLAGS'
23610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23614 cat >conftest.
$ac_ext <<_ACEOF
23617 cat confdefs.h
>>conftest.
$ac_ext
23618 cat >>conftest.
$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23620 #include <typeinfo>
23621 class Base { public : Base () {} virtual void f () = 0;};
23622 class Derived : public Base { public : Derived () {} virtual void f () {} };
23623 class Unrelated { public : Unrelated () {} };
23624 int g (Unrelated&) { return 0; }
23629 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23634 rm -f conftest.
$ac_objext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23636 (eval $ac_compile) 2>conftest.er1
23638 grep -v '^ *+' conftest.er1
>conftest.err
23640 cat conftest.err
>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; } &&
23649 { ac_try
='test -s conftest.$ac_objext'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; }; then
23655 ac_cv_cxx_reinterpret_cast
=yes
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.
$ac_ext >&5
23660 ac_cv_cxx_reinterpret_cast
=no
23662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23664 ac_cpp
='$CXXCPP $CPPFLAGS'
23665 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23671 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23672 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23673 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23675 cat >>confdefs.h
<<\_ACEOF
23676 #define HAVE_REINTERPRET_CAST
23681 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23682 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23683 if test "${ac_cv_cxx_static_cast+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 ac_cpp
='$CXXCPP $CPPFLAGS'
23690 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23691 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23692 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23694 cat >conftest.
$ac_ext <<_ACEOF
23697 cat confdefs.h
>>conftest.
$ac_ext
23698 cat >>conftest.
$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 #include <typeinfo>
23701 class Base { public : Base () {} virtual void f () = 0; };
23702 class Derived : public Base { public : Derived () {} virtual void f () {} };
23703 int g (Derived&) { return 0; }
23708 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23713 rm -f conftest.
$ac_objext
23714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23715 (eval $ac_compile) 2>conftest.er1
23717 grep -v '^ *+' conftest.er1
>conftest.err
23719 cat conftest.err
>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } &&
23722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; } &&
23728 { ac_try
='test -s conftest.$ac_objext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23734 ac_cv_cxx_static_cast
=yes
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.
$ac_ext >&5
23739 ac_cv_cxx_static_cast
=no
23741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23743 ac_cpp
='$CXXCPP $CPPFLAGS'
23744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23750 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23751 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23752 if test "$ac_cv_cxx_static_cast" = yes; then
23754 cat >>confdefs.h
<<\_ACEOF
23755 #define HAVE_STATIC_CAST
23761 if test "x$SUNCXX" = xyes
; then
23762 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23765 if test "x$SUNCC" = xyes
; then
23766 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23769 if test "x$SGICC" = "xyes"; then
23770 CFLAGS
="-woff 3970 $CFLAGS"
23772 if test "x$SGICXX" = "xyes"; then
23773 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23776 if test "x$HPCC" = "xyes"; then
23777 CFLAGS
="+W 2011,2450 $CFLAGS"
23779 if test "x$HPCXX" = "xyes"; then
23780 CXXFLAGS
="+W 2340 $CXXFLAGS"
23783 if test "x$COMPAQCXX" = "xyes"; then
23784 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23787 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23788 if test "$wxUSE_UNICODE" = "yes"; then
23789 std_string
="std::wstring"
23790 char_type
="wchar_t"
23792 std_string
="std::string"
23796 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23797 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23798 cat >conftest.
$ac_ext <<_ACEOF
23801 cat confdefs.h
>>conftest.
$ac_ext
23802 cat >>conftest.
$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23813 rm -f conftest.
$ac_objext
23814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23815 (eval $ac_compile) 2>conftest.er1
23817 grep -v '^ *+' conftest.er1
>conftest.err
23819 cat conftest.err
>&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } &&
23822 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; } &&
23828 { ac_try
='test -s conftest.$ac_objext'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; }; then
23834 echo "$as_me:$LINENO: result: yes" >&5
23835 echo "${ECHO_T}yes" >&6
23836 cat >>confdefs.h
<<\_ACEOF
23837 #define HAVE_STD_WSTRING 1
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.
$ac_ext >&5
23844 echo "$as_me:$LINENO: result: no" >&5
23845 echo "${ECHO_T}no" >&6
23846 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23847 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23848 cat >conftest.
$ac_ext <<_ACEOF
23851 cat confdefs.h
>>conftest.
$ac_ext
23852 cat >>conftest.
$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23855 #ifdef HAVE_WCHAR_H
23857 # include <stddef.h>
23859 # include <wchar.h>
23861 #ifdef HAVE_STDLIB_H
23862 # include <stdlib.h>
23870 std::basic_string<$char_type> foo;
23871 const $char_type* dummy = foo.c_str();
23876 rm -f conftest.
$ac_objext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23878 (eval $ac_compile) 2>conftest.er1
23880 grep -v '^ *+' conftest.er1
>conftest.err
23882 cat conftest.err
>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; } &&
23891 { ac_try
='test -s conftest.$ac_objext'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; }; then
23897 echo "$as_me:$LINENO: result: yes" >&5
23898 echo "${ECHO_T}yes" >&6
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.
$ac_ext >&5
23903 echo "$as_me:$LINENO: result: no" >&5
23904 echo "${ECHO_T}no" >&6
23905 if test "$wxUSE_STL" = "yes"; then
23906 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23907 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23908 { (exit 1); exit 1; }; }
23909 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23910 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23911 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23912 { (exit 1); exit 1; }; }
23914 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23915 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23916 wxUSE_STD_STRING
=no
23921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23927 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23928 echo "$as_me:$LINENO: checking for std::istream" >&5
23929 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23930 if test "${ac_cv_type_std__istream+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23933 cat >conftest.
$ac_ext <<_ACEOF
23936 cat confdefs.h
>>conftest.
$ac_ext
23937 cat >>conftest.
$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23939 #include <iostream>
23944 if ((std::istream *) 0)
23946 if (sizeof (std::istream))
23952 rm -f conftest.
$ac_objext
23953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23954 (eval $ac_compile) 2>conftest.er1
23956 grep -v '^ *+' conftest.er1
>conftest.err
23958 cat conftest.err
>&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } &&
23961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try
='test -s conftest.$ac_objext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23973 ac_cv_type_std__istream
=yes
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.
$ac_ext >&5
23978 ac_cv_type_std__istream
=no
23980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23982 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23983 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23984 if test $ac_cv_type_std__istream = yes; then
23986 cat >>confdefs.h
<<_ACEOF
23987 #define HAVE_STD__ISTREAM 1
23992 wxUSE_STD_IOSTREAM
=no
23994 echo "$as_me:$LINENO: checking for std::ostream" >&5
23995 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23996 if test "${ac_cv_type_std__ostream+set}" = set; then
23997 echo $ECHO_N "(cached) $ECHO_C" >&6
23999 cat >conftest.
$ac_ext <<_ACEOF
24002 cat confdefs.h
>>conftest.
$ac_ext
24003 cat >>conftest.
$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24005 #include <iostream>
24010 if ((std::ostream *) 0)
24012 if (sizeof (std::ostream))
24018 rm -f conftest.
$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>conftest.er1
24022 grep -v '^ *+' conftest.er1
>conftest.err
24024 cat conftest.err
>&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try
='test -s conftest.$ac_objext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 ac_cv_type_std__ostream
=yes
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.
$ac_ext >&5
24044 ac_cv_type_std__ostream
=no
24046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24048 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24049 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24050 if test $ac_cv_type_std__ostream = yes; then
24052 cat >>confdefs.h
<<_ACEOF
24053 #define HAVE_STD__OSTREAM 1
24058 wxUSE_STD_IOSTREAM
=no
24062 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24063 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24064 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24065 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24066 { (exit 1); exit 1; }; }
24068 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24069 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24074 if test "$wxUSE_STL" = "yes"; then
24075 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24076 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24077 cat >conftest.
$ac_ext <<_ACEOF
24080 cat confdefs.h
>>conftest.
$ac_ext
24081 cat >>conftest.
$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24084 #include <functional>
24085 #include <algorithm>
24091 std::vector<int> moo;
24092 std::list<int> foo;
24093 std::vector<int>::iterator it =
24094 std::find_if(moo.begin(), moo.end(),
24095 std::bind2nd(std::less<int>(), 3));
24100 rm -f conftest.
$ac_objext
24101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24102 (eval $ac_compile) 2>conftest.er1
24104 grep -v '^ *+' conftest.er1
>conftest.err
24106 cat conftest.err
>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); } &&
24109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; } &&
24115 { ac_try
='test -s conftest.$ac_objext'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; }; then
24121 echo "$as_me:$LINENO: result: yes" >&5
24122 echo "${ECHO_T}yes" >&6
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.
$ac_ext >&5
24127 echo "$as_me:$LINENO: result: no" >&5
24128 echo "${ECHO_T}no" >&6
24129 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24130 echo "$as_me: error: Basic STL functionality missing" >&2;}
24131 { (exit 1); exit 1; }; }
24133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24135 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24136 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24137 cat >conftest.
$ac_ext <<_ACEOF
24140 cat confdefs.h
>>conftest.
$ac_ext
24141 cat >>conftest.
$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24147 std::string foo, bar;
24149 foo.compare(1, 1, bar);
24150 foo.compare(1, 1, bar, 1, 1);
24152 foo.compare(1, 1, "");
24153 foo.compare(1, 1, "", 2);
24158 rm -f conftest.
$ac_objext
24159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24160 (eval $ac_compile) 2>conftest.er1
24162 grep -v '^ *+' conftest.er1
>conftest.err
24164 cat conftest.err
>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); } &&
24167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; } &&
24173 { ac_try
='test -s conftest.$ac_objext'
24174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24175 (eval $ac_try) 2>&5
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; }; then
24179 echo "$as_me:$LINENO: result: yes" >&5
24180 echo "${ECHO_T}yes" >&6
24181 cat >>confdefs.h
<<\_ACEOF
24182 #define HAVE_STD_STRING_COMPARE 1
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.
$ac_ext >&5
24189 echo "$as_me:$LINENO: result: no" >&5
24190 echo "${ECHO_T}no" >&6
24192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24194 if test "${ac_cv_header_hash_map+set}" = set; then
24195 echo "$as_me:$LINENO: checking for hash_map" >&5
24196 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24197 if test "${ac_cv_header_hash_map+set}" = set; then
24198 echo $ECHO_N "(cached) $ECHO_C" >&6
24200 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24201 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24203 # Is the header compilable?
24204 echo "$as_me:$LINENO: checking hash_map usability" >&5
24205 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24206 cat >conftest.
$ac_ext <<_ACEOF
24209 cat confdefs.h
>>conftest.
$ac_ext
24210 cat >>conftest.
$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 $ac_includes_default
24213 #include <hash_map>
24215 rm -f conftest.
$ac_objext
24216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24217 (eval $ac_compile) 2>conftest.er1
24219 grep -v '^ *+' conftest.er1
>conftest.err
24221 cat conftest.err
>&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } &&
24224 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24226 (eval $ac_try) 2>&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); }; } &&
24230 { ac_try
='test -s conftest.$ac_objext'
24231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24232 (eval $ac_try) 2>&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; }; then
24236 ac_header_compiler
=yes
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.
$ac_ext >&5
24241 ac_header_compiler
=no
24243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24245 echo "${ECHO_T}$ac_header_compiler" >&6
24247 # Is the header present?
24248 echo "$as_me:$LINENO: checking hash_map presence" >&5
24249 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24250 cat >conftest.
$ac_ext <<_ACEOF
24253 cat confdefs.h
>>conftest.
$ac_ext
24254 cat >>conftest.
$ac_ext <<_ACEOF
24255 /* end confdefs.h. */
24256 #include <hash_map>
24258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24261 grep -v '^ *+' conftest.er1
>conftest.err
24263 cat conftest.err
>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } >/dev
/null
; then
24266 if test -s conftest.err
; then
24267 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24268 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24275 if test -z "$ac_cpp_err"; then
24276 ac_header_preproc
=yes
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.
$ac_ext >&5
24281 ac_header_preproc
=no
24283 rm -f conftest.err conftest.
$ac_ext
24284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24285 echo "${ECHO_T}$ac_header_preproc" >&6
24287 # So? What about this header?
24288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24290 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24291 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24292 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24293 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24294 ac_header_preproc
=yes
24297 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24298 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24299 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24300 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24301 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24302 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24303 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24304 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24305 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24306 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24307 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24308 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24311 ## ----------------------------------------- ##
24312 ## Report this to wx-dev@lists.wxwidgets.org ##
24313 ## ----------------------------------------- ##
24316 sed "s/^/$as_me: WARNING: /" >&2
24319 echo "$as_me:$LINENO: checking for hash_map" >&5
24320 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24321 if test "${ac_cv_header_hash_map+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 ac_cv_header_hash_map
=$ac_header_preproc
24326 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24327 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24330 if test $ac_cv_header_hash_map = yes; then
24331 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24332 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24333 cat >conftest.
$ac_ext <<_ACEOF
24336 cat confdefs.h
>>conftest.
$ac_ext
24337 cat >>conftest.
$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24339 #include <hash_map>
24340 #include <hash_set>
24344 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24345 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24350 rm -f conftest.
$ac_objext
24351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24352 (eval $ac_compile) 2>conftest.er1
24354 grep -v '^ *+' conftest.er1
>conftest.err
24356 cat conftest.err
>&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); } &&
24359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try
='test -s conftest.$ac_objext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24371 echo "$as_me:$LINENO: result: yes" >&5
24372 echo "${ECHO_T}yes" >&6
24373 cat >>confdefs.h
<<\_ACEOF
24374 #define HAVE_HASH_MAP 1
24377 cat >>confdefs.h
<<\_ACEOF
24378 #define HAVE_STD_HASH_MAP 1
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.
$ac_ext >&5
24385 echo "$as_me:$LINENO: result: no" >&5
24386 echo "${ECHO_T}no" >&6
24388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24394 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24395 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24396 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24397 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24400 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24401 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24403 # Is the header compilable?
24404 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24405 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24406 cat >conftest.
$ac_ext <<_ACEOF
24409 cat confdefs.h
>>conftest.
$ac_ext
24410 cat >>conftest.
$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24412 $ac_includes_default
24413 #include <ext/hash_map>
24415 rm -f conftest.
$ac_objext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24417 (eval $ac_compile) 2>conftest.er1
24419 grep -v '^ *+' conftest.er1
>conftest.err
24421 cat conftest.err
>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; } &&
24430 { ac_try
='test -s conftest.$ac_objext'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; }; then
24436 ac_header_compiler
=yes
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.
$ac_ext >&5
24441 ac_header_compiler
=no
24443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24445 echo "${ECHO_T}$ac_header_compiler" >&6
24447 # Is the header present?
24448 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24449 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24450 cat >conftest.
$ac_ext <<_ACEOF
24453 cat confdefs.h
>>conftest.
$ac_ext
24454 cat >>conftest.
$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 #include <ext/hash_map>
24458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24461 grep -v '^ *+' conftest.er1
>conftest.err
24463 cat conftest.err
>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } >/dev
/null
; then
24466 if test -s conftest.err
; then
24467 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24468 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24475 if test -z "$ac_cpp_err"; then
24476 ac_header_preproc
=yes
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.
$ac_ext >&5
24481 ac_header_preproc
=no
24483 rm -f conftest.err conftest.
$ac_ext
24484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24485 echo "${ECHO_T}$ac_header_preproc" >&6
24487 # So? What about this header?
24488 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24490 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24491 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24492 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24493 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24494 ac_header_preproc
=yes
24497 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24498 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24499 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24500 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24501 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24502 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24503 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24504 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24505 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24506 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24507 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24508 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24511 ## ----------------------------------------- ##
24512 ## Report this to wx-dev@lists.wxwidgets.org ##
24513 ## ----------------------------------------- ##
24516 sed "s/^/$as_me: WARNING: /" >&2
24519 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24520 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24521 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24524 ac_cv_header_ext_hash_map
=$ac_header_preproc
24526 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24527 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24530 if test $ac_cv_header_ext_hash_map = yes; then
24531 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24532 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24533 cat >conftest.
$ac_ext <<_ACEOF
24536 cat confdefs.h
>>conftest.
$ac_ext
24537 cat >>conftest.
$ac_ext <<_ACEOF
24538 /* end confdefs.h. */
24539 #include <ext/hash_map>
24540 #include <ext/hash_set>
24544 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24545 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24550 rm -f conftest.
$ac_objext
24551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24552 (eval $ac_compile) 2>conftest.er1
24554 grep -v '^ *+' conftest.er1
>conftest.err
24556 cat conftest.err
>&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } &&
24559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
24565 { ac_try
='test -s conftest.$ac_objext'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; }; then
24571 echo "$as_me:$LINENO: result: yes" >&5
24572 echo "${ECHO_T}yes" >&6
24573 cat >>confdefs.h
<<\_ACEOF
24574 #define HAVE_EXT_HASH_MAP 1
24577 cat >>confdefs.h
<<\_ACEOF
24578 #define HAVE_GNU_CXX_HASH_MAP 1
24582 echo "$as_me: failed program was:" >&5
24583 sed 's/^/| /' conftest.
$ac_ext >&5
24585 echo "$as_me:$LINENO: result: no" >&5
24586 echo "${ECHO_T}no" >&6
24588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24597 /usr/local/include \
24599 /usr/Motif-2.1/include \
24600 /usr/Motif-1.2/include \
24601 /usr/include/Motif1.2 \
24604 /usr/openwin/include \
24608 /usr/X11R6/include \
24609 /usr/X11R6.4/include \
24610 /usr/X11R5/include \
24611 /usr/X11R4/include \
24613 /usr/include/X11R6 \
24614 /usr/include/X11R5 \
24615 /usr/include/X11R4 \
24617 /usr/local/X11R6/include \
24618 /usr/local/X11R5/include \
24619 /usr/local/X11R4/include \
24621 /usr/local/include/X11R6 \
24622 /usr/local/include/X11R5 \
24623 /usr/local/include/X11R4 \
24627 /usr/local/X11/include \
24628 /usr/local/include/X11 \
24630 /usr/XFree86/include/X11 \
24633 /usr/openwin/share/include"
24635 echo "$as_me:$LINENO: checking for libraries directory" >&5
24636 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24640 if test "${wx_cv_std_libpath+set}" = set; then
24641 echo $ECHO_N "(cached) $ECHO_C" >&6
24644 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24645 for e
in a so sl dylib dll.a
; do
24647 if test -f $libc; then
24650 cat >conftest.
$ac_ext <<_ACEOF
24651 int main() { return 0; }
24653 rm -f conftest.
$ac_objext conftest
$ac_exeext
24654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24655 (eval $ac_link) 2>conftest.er1
24657 grep -v '^ *+' conftest.er1
>conftest.err
24659 cat conftest.err
>&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); } &&
24662 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; } &&
24668 { ac_try
='test -s conftest$ac_exeext'
24669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24670 (eval $ac_try) 2>&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); }; }; then
24674 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24676 echo "$as_me: failed program was:" >&5
24677 sed 's/^/| /' conftest.
$ac_ext >&5
24680 rm -f conftest.err conftest.
$ac_objext \
24681 conftest
$ac_exeext conftest.
$ac_ext
24683 if test "x$wx_cv_std_libpath" != "x"; then
24689 if test "x$wx_cv_std_libpath" = "x"; then
24690 wx_cv_std_libpath
="lib"
24699 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24700 wx_cv_std_libpath
="lib/64"
24702 wx_cv_std_libpath
="lib"
24707 if test "$ac_cv_sizeof_void_p" = 8 -a \
24708 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24709 wx_cv_std_libpath
="lib64"
24711 wx_cv_std_libpath
="lib"
24716 wx_cv_std_libpath
="lib";
24720 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24721 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24723 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24725 if test "$build" != "$host" -a "$GCC" = yes; then
24726 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24727 cross_root
=`dirname $cross_root`
24728 cross_root
=`dirname $cross_root`
24730 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24731 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24732 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24734 if test -z "$PKG_CONFIG_PATH"; then
24735 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24736 export PKG_CONFIG_PATH
24739 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24742 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24744 if test -f "$ac_dir/X11/Intrinsic.h"; then
24745 ac_find_includes
=$ac_dir
24750 x_includes
=$ac_find_includes
24752 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24755 for ac_dir
in $SEARCH_LIB;
24757 for ac_extension
in a so sl dylib dll.a
; do
24758 if test -f "$ac_dir/libXt.$ac_extension"; then
24759 ac_find_libraries
=$ac_dir
24765 x_libraries
=$ac_find_libraries
24771 cat >confcache
<<\_ACEOF
24772 # This file is a shell script that caches the results of configure
24773 # tests run on this system so they can be shared between configure
24774 # scripts and configure runs, see configure's option --config-cache.
24775 # It is not useful on other systems. If it contains results you don't
24776 # want to keep, you may remove or edit it.
24778 # config.status only pays attention to the cache file if you give it
24779 # the --recheck option to rerun configure.
24781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24783 # following values.
24787 # The following way of writing the cache mishandles newlines in values,
24788 # but we know of no workaround that is simple, portable, and efficient.
24789 # So, don't put newlines in cache variables' values.
24790 # Ultrix sh set writes to stderr and can't be redirected directly,
24791 # and sets the high bit in the cache file unless we assign to the vars.
24794 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24796 # `set' does not quote correctly, so add quotes (double-quote
24797 # substitution turns \\\\ into \\, and sed turns \\ into \).
24800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24803 # `set' quotes correctly as required by POSIX, so do not add quotes.
24805 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24814 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24816 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24817 if test -w $cache_file; then
24818 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24819 cat confcache
>$cache_file
24821 echo "not updating unwritable cache $cache_file"
24826 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24827 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24828 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24829 if test "${wx_cv_lib_glibc21+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24833 cat >conftest.
$ac_ext <<_ACEOF
24836 cat confdefs.h
>>conftest.
$ac_ext
24837 cat >>conftest.
$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839 #include <features.h>
24844 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24852 rm -f conftest.
$ac_objext
24853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24854 (eval $ac_compile) 2>conftest.er1
24856 grep -v '^ *+' conftest.er1
>conftest.err
24858 cat conftest.err
>&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } &&
24861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863 (eval $ac_try) 2>&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; } &&
24867 { ac_try
='test -s conftest.$ac_objext'
24868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24869 (eval $ac_try) 2>&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); }; }; then
24874 wx_cv_lib_glibc21
=yes
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.
$ac_ext >&5
24881 wx_cv_lib_glibc21
=no
24885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24888 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24889 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24890 if test "$wx_cv_lib_glibc21" = "yes"; then
24891 cat >>confdefs.h
<<\_ACEOF
24892 #define wxHAVE_GLIBC2 1
24898 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24899 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24900 cat >>confdefs.h
<<\_ACEOF
24901 #define _GNU_SOURCE 1
24912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24913 echo "$as_me:$LINENO: checking for $ac_func" >&5
24914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24915 if eval "test \"\${$as_ac_var+set}\" = set"; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24918 cat >conftest.
$ac_ext <<_ACEOF
24921 cat confdefs.h
>>conftest.
$ac_ext
24922 cat >>conftest.
$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24926 #define $ac_func innocuous_$ac_func
24928 /* System header to define __stub macros and hopefully few prototypes,
24929 which can conflict with char $ac_func (); below.
24930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24931 <limits.h> exists even on freestanding compilers. */
24934 # include <limits.h>
24936 # include <assert.h>
24941 /* Override any gcc2 internal prototype to avoid an error. */
24946 /* We use char because int might match the return type of a gcc2
24947 builtin and then its argument prototype would still apply. */
24949 /* The GNU C library defines this for functions which it implements
24950 to always fail with ENOSYS. Some functions are actually named
24951 something starting with __ and the normal name is an alias. */
24952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24955 char (*f) () = $ac_func;
24964 return f != $ac_func;
24969 rm -f conftest.
$ac_objext conftest
$ac_exeext
24970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24971 (eval $ac_link) 2>conftest.er1
24973 grep -v '^ *+' conftest.er1
>conftest.err
24975 cat conftest.err
>&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } &&
24978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; } &&
24984 { ac_try
='test -s conftest$ac_exeext'
24985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986 (eval $ac_try) 2>&5
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); }; }; then
24990 eval "$as_ac_var=yes"
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.
$ac_ext >&5
24995 eval "$as_ac_var=no"
24997 rm -f conftest.err conftest.
$ac_objext \
24998 conftest
$ac_exeext conftest.
$ac_ext
25000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25002 if test `eval echo '${'$as_ac_var'}'` = yes; then
25003 cat >>confdefs.h
<<_ACEOF
25004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25011 for ac_func
in floor
25013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25014 echo "$as_me:$LINENO: checking for $ac_func" >&5
25015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25016 if eval "test \"\${$as_ac_var+set}\" = set"; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 cat >conftest.
$ac_ext <<_ACEOF
25022 cat confdefs.h
>>conftest.
$ac_ext
25023 cat >>conftest.
$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25027 #define $ac_func innocuous_$ac_func
25029 /* System header to define __stub macros and hopefully few prototypes,
25030 which can conflict with char $ac_func (); below.
25031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25032 <limits.h> exists even on freestanding compilers. */
25035 # include <limits.h>
25037 # include <assert.h>
25042 /* Override any gcc2 internal prototype to avoid an error. */
25047 /* We use char because int might match the return type of a gcc2
25048 builtin and then its argument prototype would still apply. */
25050 /* The GNU C library defines this for functions which it implements
25051 to always fail with ENOSYS. Some functions are actually named
25052 something starting with __ and the normal name is an alias. */
25053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25056 char (*f) () = $ac_func;
25065 return f != $ac_func;
25070 rm -f conftest.
$ac_objext conftest
$ac_exeext
25071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25072 (eval $ac_link) 2>conftest.er1
25074 grep -v '^ *+' conftest.er1
>conftest.err
25076 cat conftest.err
>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } &&
25079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; } &&
25085 { ac_try
='test -s conftest$ac_exeext'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; }; then
25091 eval "$as_ac_var=yes"
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.
$ac_ext >&5
25096 eval "$as_ac_var=no"
25098 rm -f conftest.err conftest.
$ac_objext \
25099 conftest
$ac_exeext conftest.
$ac_ext
25101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25103 if test `eval echo '${'$as_ac_var'}'` = yes; then
25104 cat >>confdefs.h
<<_ACEOF
25105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25111 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25112 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25113 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25114 echo "$as_me:$LINENO: result: yes" >&5
25115 echo "${ECHO_T}yes" >&6
25117 echo "$as_me:$LINENO: result: no" >&5
25118 echo "${ECHO_T}no" >&6
25120 # use different functions to avoid configure caching
25126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25127 echo "$as_me:$LINENO: checking for $ac_func" >&5
25128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25129 if eval "test \"\${$as_ac_var+set}\" = set"; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25132 cat >conftest.
$ac_ext <<_ACEOF
25135 cat confdefs.h
>>conftest.
$ac_ext
25136 cat >>conftest.
$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25140 #define $ac_func innocuous_$ac_func
25142 /* System header to define __stub macros and hopefully few prototypes,
25143 which can conflict with char $ac_func (); below.
25144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25145 <limits.h> exists even on freestanding compilers. */
25148 # include <limits.h>
25150 # include <assert.h>
25155 /* Override any gcc2 internal prototype to avoid an error. */
25160 /* We use char because int might match the return type of a gcc2
25161 builtin and then its argument prototype would still apply. */
25163 /* The GNU C library defines this for functions which it implements
25164 to always fail with ENOSYS. Some functions are actually named
25165 something starting with __ and the normal name is an alias. */
25166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25169 char (*f) () = $ac_func;
25178 return f != $ac_func;
25183 rm -f conftest.
$ac_objext conftest
$ac_exeext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25185 (eval $ac_link) 2>conftest.er1
25187 grep -v '^ *+' conftest.er1
>conftest.err
25189 cat conftest.err
>&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25194 (eval $ac_try) 2>&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); }; } &&
25198 { ac_try
='test -s conftest$ac_exeext'
25199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25200 (eval $ac_try) 2>&5
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); }; }; then
25204 eval "$as_ac_var=yes"
25206 echo "$as_me: failed program was:" >&5
25207 sed 's/^/| /' conftest.
$ac_ext >&5
25209 eval "$as_ac_var=no"
25211 rm -f conftest.err conftest.
$ac_objext \
25212 conftest
$ac_exeext conftest.
$ac_ext
25214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25216 if test `eval echo '${'$as_ac_var'}'` = yes; then
25217 cat >>confdefs.h
<<_ACEOF
25218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25225 for ac_func
in ceil
25227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25228 echo "$as_me:$LINENO: checking for $ac_func" >&5
25229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25230 if eval "test \"\${$as_ac_var+set}\" = set"; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25233 cat >conftest.
$ac_ext <<_ACEOF
25236 cat confdefs.h
>>conftest.
$ac_ext
25237 cat >>conftest.
$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25241 #define $ac_func innocuous_$ac_func
25243 /* System header to define __stub macros and hopefully few prototypes,
25244 which can conflict with char $ac_func (); below.
25245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25246 <limits.h> exists even on freestanding compilers. */
25249 # include <limits.h>
25251 # include <assert.h>
25256 /* Override any gcc2 internal prototype to avoid an error. */
25261 /* We use char because int might match the return type of a gcc2
25262 builtin and then its argument prototype would still apply. */
25264 /* The GNU C library defines this for functions which it implements
25265 to always fail with ENOSYS. Some functions are actually named
25266 something starting with __ and the normal name is an alias. */
25267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25270 char (*f) () = $ac_func;
25279 return f != $ac_func;
25284 rm -f conftest.
$ac_objext conftest
$ac_exeext
25285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25286 (eval $ac_link) 2>conftest.er1
25288 grep -v '^ *+' conftest.er1
>conftest.err
25290 cat conftest.err
>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } &&
25293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25295 (eval $ac_try) 2>&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; } &&
25299 { ac_try
='test -s conftest$ac_exeext'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; }; then
25305 eval "$as_ac_var=yes"
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.
$ac_ext >&5
25310 eval "$as_ac_var=no"
25312 rm -f conftest.err conftest.
$ac_objext \
25313 conftest
$ac_exeext conftest.
$ac_ext
25315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25317 if test `eval echo '${'$as_ac_var'}'` = yes; then
25318 cat >>confdefs.h
<<_ACEOF
25319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25325 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25326 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25327 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25328 echo "$as_me:$LINENO: result: yes" >&5
25329 echo "${ECHO_T}yes" >&6
25331 echo "$as_me:$LINENO: result: no" >&5
25332 echo "${ECHO_T}no" >&6
25333 # not sure we should warn the user, crash, etc.
25337 if test "wxUSE_UNICODE" = "yes"; then
25339 for ac_func
in wcstoull
25341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25342 echo "$as_me:$LINENO: checking for $ac_func" >&5
25343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25344 if eval "test \"\${$as_ac_var+set}\" = set"; then
25345 echo $ECHO_N "(cached) $ECHO_C" >&6
25347 cat >conftest.
$ac_ext <<_ACEOF
25350 cat confdefs.h
>>conftest.
$ac_ext
25351 cat >>conftest.
$ac_ext <<_ACEOF
25352 /* end confdefs.h. */
25353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25355 #define $ac_func innocuous_$ac_func
25357 /* System header to define __stub macros and hopefully few prototypes,
25358 which can conflict with char $ac_func (); below.
25359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25360 <limits.h> exists even on freestanding compilers. */
25363 # include <limits.h>
25365 # include <assert.h>
25370 /* Override any gcc2 internal prototype to avoid an error. */
25375 /* We use char because int might match the return type of a gcc2
25376 builtin and then its argument prototype would still apply. */
25378 /* The GNU C library defines this for functions which it implements
25379 to always fail with ENOSYS. Some functions are actually named
25380 something starting with __ and the normal name is an alias. */
25381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25384 char (*f) () = $ac_func;
25393 return f != $ac_func;
25398 rm -f conftest.
$ac_objext conftest
$ac_exeext
25399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25400 (eval $ac_link) 2>conftest.er1
25402 grep -v '^ *+' conftest.er1
>conftest.err
25404 cat conftest.err
>&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); } &&
25407 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25409 (eval $ac_try) 2>&5
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); }; } &&
25413 { ac_try
='test -s conftest$ac_exeext'
25414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25415 (eval $ac_try) 2>&5
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); }; }; then
25419 eval "$as_ac_var=yes"
25421 echo "$as_me: failed program was:" >&5
25422 sed 's/^/| /' conftest.
$ac_ext >&5
25424 eval "$as_ac_var=no"
25426 rm -f conftest.err conftest.
$ac_objext \
25427 conftest
$ac_exeext conftest.
$ac_ext
25429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25431 if test `eval echo '${'$as_ac_var'}'` = yes; then
25432 cat >>confdefs.h
<<_ACEOF
25433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25441 for ac_func
in strtoull
25443 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25444 echo "$as_me:$LINENO: checking for $ac_func" >&5
25445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25446 if eval "test \"\${$as_ac_var+set}\" = set"; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25449 cat >conftest.
$ac_ext <<_ACEOF
25452 cat confdefs.h
>>conftest.
$ac_ext
25453 cat >>conftest.
$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25457 #define $ac_func innocuous_$ac_func
25459 /* System header to define __stub macros and hopefully few prototypes,
25460 which can conflict with char $ac_func (); below.
25461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25462 <limits.h> exists even on freestanding compilers. */
25465 # include <limits.h>
25467 # include <assert.h>
25472 /* Override any gcc2 internal prototype to avoid an error. */
25477 /* We use char because int might match the return type of a gcc2
25478 builtin and then its argument prototype would still apply. */
25480 /* The GNU C library defines this for functions which it implements
25481 to always fail with ENOSYS. Some functions are actually named
25482 something starting with __ and the normal name is an alias. */
25483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25486 char (*f) () = $ac_func;
25495 return f != $ac_func;
25500 rm -f conftest.
$ac_objext conftest
$ac_exeext
25501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25502 (eval $ac_link) 2>conftest.er1
25504 grep -v '^ *+' conftest.er1
>conftest.err
25506 cat conftest.err
>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } &&
25509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; } &&
25515 { ac_try
='test -s conftest$ac_exeext'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; }; then
25521 eval "$as_ac_var=yes"
25523 echo "$as_me: failed program was:" >&5
25524 sed 's/^/| /' conftest.
$ac_ext >&5
25526 eval "$as_ac_var=no"
25528 rm -f conftest.err conftest.
$ac_objext \
25529 conftest
$ac_exeext conftest.
$ac_ext
25531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25533 if test `eval echo '${'$as_ac_var'}'` = yes; then
25534 cat >>confdefs.h
<<_ACEOF
25535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25545 if test "$wxUSE_REGEX" != "no"; then
25546 cat >>confdefs.h
<<\_ACEOF
25547 #define wxUSE_REGEX 1
25551 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25552 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25553 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25554 wxUSE_REGEX
=builtin
25557 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25558 if test "${ac_cv_header_regex_h+set}" = set; then
25559 echo "$as_me:$LINENO: checking for regex.h" >&5
25560 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25561 if test "${ac_cv_header_regex_h+set}" = set; then
25562 echo $ECHO_N "(cached) $ECHO_C" >&6
25564 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25565 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25567 # Is the header compilable?
25568 echo "$as_me:$LINENO: checking regex.h usability" >&5
25569 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25570 cat >conftest.
$ac_ext <<_ACEOF
25573 cat confdefs.h
>>conftest.
$ac_ext
25574 cat >>conftest.
$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25576 $ac_includes_default
25579 rm -f conftest.
$ac_objext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25581 (eval $ac_compile) 2>conftest.er1
25583 grep -v '^ *+' conftest.er1
>conftest.err
25585 cat conftest.err
>&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590 (eval $ac_try) 2>&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); }; } &&
25594 { ac_try
='test -s conftest.$ac_objext'
25595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596 (eval $ac_try) 2>&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); }; }; then
25600 ac_header_compiler
=yes
25602 echo "$as_me: failed program was:" >&5
25603 sed 's/^/| /' conftest.
$ac_ext >&5
25605 ac_header_compiler
=no
25607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25609 echo "${ECHO_T}$ac_header_compiler" >&6
25611 # Is the header present?
25612 echo "$as_me:$LINENO: checking regex.h presence" >&5
25613 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25614 cat >conftest.
$ac_ext <<_ACEOF
25617 cat confdefs.h
>>conftest.
$ac_ext
25618 cat >>conftest.
$ac_ext <<_ACEOF
25619 /* end confdefs.h. */
25622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25625 grep -v '^ *+' conftest.er1
>conftest.err
25627 cat conftest.err
>&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } >/dev
/null
; then
25630 if test -s conftest.err
; then
25631 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25632 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25639 if test -z "$ac_cpp_err"; then
25640 ac_header_preproc
=yes
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.
$ac_ext >&5
25645 ac_header_preproc
=no
25647 rm -f conftest.err conftest.
$ac_ext
25648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25649 echo "${ECHO_T}$ac_header_preproc" >&6
25651 # So? What about this header?
25652 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25654 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25655 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25656 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25657 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25658 ac_header_preproc
=yes
25661 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25662 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25663 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25664 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25665 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25666 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25667 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25668 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25669 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25670 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25671 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25672 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25675 ## ----------------------------------------- ##
25676 ## Report this to wx-dev@lists.wxwidgets.org ##
25677 ## ----------------------------------------- ##
25680 sed "s/^/$as_me: WARNING: /" >&2
25683 echo "$as_me:$LINENO: checking for regex.h" >&5
25684 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25685 if test "${ac_cv_header_regex_h+set}" = set; then
25686 echo $ECHO_N "(cached) $ECHO_C" >&6
25688 ac_cv_header_regex_h
=$ac_header_preproc
25690 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25691 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25694 if test $ac_cv_header_regex_h = yes; then
25697 for ac_func
in regcomp re_search
25699 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25700 echo "$as_me:$LINENO: checking for $ac_func" >&5
25701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25702 if eval "test \"\${$as_ac_var+set}\" = set"; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 cat >conftest.
$ac_ext <<_ACEOF
25708 cat confdefs.h
>>conftest.
$ac_ext
25709 cat >>conftest.
$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25713 #define $ac_func innocuous_$ac_func
25715 /* System header to define __stub macros and hopefully few prototypes,
25716 which can conflict with char $ac_func (); below.
25717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25718 <limits.h> exists even on freestanding compilers. */
25721 # include <limits.h>
25723 # include <assert.h>
25728 /* Override any gcc2 internal prototype to avoid an error. */
25733 /* We use char because int might match the return type of a gcc2
25734 builtin and then its argument prototype would still apply. */
25736 /* The GNU C library defines this for functions which it implements
25737 to always fail with ENOSYS. Some functions are actually named
25738 something starting with __ and the normal name is an alias. */
25739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25742 char (*f) () = $ac_func;
25751 return f != $ac_func;
25756 rm -f conftest.
$ac_objext conftest
$ac_exeext
25757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25758 (eval $ac_link) 2>conftest.er1
25760 grep -v '^ *+' conftest.er1
>conftest.err
25762 cat conftest.err
>&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } &&
25765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25767 (eval $ac_try) 2>&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); }; } &&
25771 { ac_try
='test -s conftest$ac_exeext'
25772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25773 (eval $ac_try) 2>&5
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); }; }; then
25777 eval "$as_ac_var=yes"
25779 echo "$as_me: failed program was:" >&5
25780 sed 's/^/| /' conftest.
$ac_ext >&5
25782 eval "$as_ac_var=no"
25784 rm -f conftest.err conftest.
$ac_objext \
25785 conftest
$ac_exeext conftest.
$ac_ext
25787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25789 if test `eval echo '${'$as_ac_var'}'` = yes; then
25790 cat >>confdefs.h
<<_ACEOF
25791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25801 if test "x$ac_cv_func_regcomp" != "xyes"; then
25802 if test "$wxUSE_REGEX" = "sys" ; then
25803 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25804 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25805 { (exit 1); exit 1; }; }
25807 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25808 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25809 wxUSE_REGEX
=builtin
25813 cat >>confdefs.h
<<\_ACEOF
25814 #define WX_NO_REGEX_ADVANCED 1
25823 if test "$wxUSE_ZLIB" != "no" ; then
25824 cat >>confdefs.h
<<\_ACEOF
25825 #define wxUSE_ZLIB 1
25829 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25830 if test "$USE_DARWIN" = 1; then
25831 system_zlib_h_ok
="yes"
25833 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25834 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25835 if test "${ac_cv_header_zlib_h+set}" = set; then
25836 echo $ECHO_N "(cached) $ECHO_C" >&6
25838 if test "$cross_compiling" = yes; then
25839 unset ac_cv_header_zlib_h
25842 cat >conftest.
$ac_ext <<_ACEOF
25845 cat confdefs.h
>>conftest.
$ac_ext
25846 cat >>conftest.
$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25854 FILE *f=fopen("conftestval", "w");
25857 ZLIB_VERSION[0] == '1' &&
25858 (ZLIB_VERSION[2] > '1' ||
25859 (ZLIB_VERSION[2] == '1' &&
25860 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25865 rm -f conftest
$ac_exeext
25866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25867 (eval $ac_link) 2>&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; }; then
25876 ac_cv_header_zlib_h
=`cat conftestval`
25878 echo "$as_me: program exited with status $ac_status" >&5
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.
$ac_ext >&5
25882 ( exit $ac_status )
25883 ac_cv_header_zlib_h
=no
25885 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25889 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25890 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25891 if test "${ac_cv_header_zlib_h+set}" = set; then
25892 echo "$as_me:$LINENO: checking for zlib.h" >&5
25893 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25894 if test "${ac_cv_header_zlib_h+set}" = set; then
25895 echo $ECHO_N "(cached) $ECHO_C" >&6
25897 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25898 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25900 # Is the header compilable?
25901 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25902 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25903 cat >conftest.
$ac_ext <<_ACEOF
25906 cat confdefs.h
>>conftest.
$ac_ext
25907 cat >>conftest.
$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 $ac_includes_default
25912 rm -f conftest.
$ac_objext
25913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25914 (eval $ac_compile) 2>conftest.er1
25916 grep -v '^ *+' conftest.er1
>conftest.err
25918 cat conftest.err
>&5
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); } &&
25921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; } &&
25927 { ac_try
='test -s conftest.$ac_objext'
25928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929 (eval $ac_try) 2>&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); }; }; then
25933 ac_header_compiler
=yes
25935 echo "$as_me: failed program was:" >&5
25936 sed 's/^/| /' conftest.
$ac_ext >&5
25938 ac_header_compiler
=no
25940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25942 echo "${ECHO_T}$ac_header_compiler" >&6
25944 # Is the header present?
25945 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25946 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25947 cat >conftest.
$ac_ext <<_ACEOF
25950 cat confdefs.h
>>conftest.
$ac_ext
25951 cat >>conftest.
$ac_ext <<_ACEOF
25952 /* end confdefs.h. */
25955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25958 grep -v '^ *+' conftest.er1
>conftest.err
25960 cat conftest.err
>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } >/dev
/null
; then
25963 if test -s conftest.err
; then
25964 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25965 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25972 if test -z "$ac_cpp_err"; then
25973 ac_header_preproc
=yes
25975 echo "$as_me: failed program was:" >&5
25976 sed 's/^/| /' conftest.
$ac_ext >&5
25978 ac_header_preproc
=no
25980 rm -f conftest.err conftest.
$ac_ext
25981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25982 echo "${ECHO_T}$ac_header_preproc" >&6
25984 # So? What about this header?
25985 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25987 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25988 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25989 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25990 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25991 ac_header_preproc
=yes
25994 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25995 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25996 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25997 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25998 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25999 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26000 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26001 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26002 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26003 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26004 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26005 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26008 ## ----------------------------------------- ##
26009 ## Report this to wx-dev@lists.wxwidgets.org ##
26010 ## ----------------------------------------- ##
26013 sed "s/^/$as_me: WARNING: /" >&2
26016 echo "$as_me:$LINENO: checking for zlib.h" >&5
26017 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26018 if test "${ac_cv_header_zlib_h+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26021 ac_cv_header_zlib_h
=$ac_header_preproc
26023 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26024 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26030 system_zlib_h_ok
=$ac_cv_header_zlib_h
26033 if test "$system_zlib_h_ok" = "yes"; then
26034 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26035 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26036 if test "${ac_cv_lib_z_deflate+set}" = set; then
26037 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 ac_check_lib_save_LIBS
=$LIBS
26041 cat >conftest.
$ac_ext <<_ACEOF
26044 cat confdefs.h
>>conftest.
$ac_ext
26045 cat >>conftest.
$ac_ext <<_ACEOF
26046 /* end confdefs.h. */
26048 /* Override any gcc2 internal prototype to avoid an error. */
26052 /* We use char because int might match the return type of a gcc2
26053 builtin and then its argument prototype would still apply. */
26063 rm -f conftest.
$ac_objext conftest
$ac_exeext
26064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26065 (eval $ac_link) 2>conftest.er1
26067 grep -v '^ *+' conftest.er1
>conftest.err
26069 cat conftest.err
>&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } &&
26072 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074 (eval $ac_try) 2>&5
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); }; } &&
26078 { ac_try
='test -s conftest$ac_exeext'
26079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26080 (eval $ac_try) 2>&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); }; }; then
26084 ac_cv_lib_z_deflate
=yes
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.
$ac_ext >&5
26089 ac_cv_lib_z_deflate
=no
26091 rm -f conftest.err conftest.
$ac_objext \
26092 conftest
$ac_exeext conftest.
$ac_ext
26093 LIBS
=$ac_check_lib_save_LIBS
26095 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26096 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26097 if test $ac_cv_lib_z_deflate = yes; then
26103 if test "x$ZLIB_LINK" = "x" ; then
26104 if test "$wxUSE_ZLIB" = "sys" ; then
26105 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26106 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26107 { (exit 1); exit 1; }; }
26109 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26110 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26121 if test "$wxUSE_LIBPNG" != "no" ; then
26122 cat >>confdefs.h
<<\_ACEOF
26123 #define wxUSE_LIBPNG 1
26127 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26128 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26129 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26133 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26134 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26135 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26136 wxUSE_LIBPNG
=builtin
26139 if test "$wxUSE_MGL" != 1 ; then
26140 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26141 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26142 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26143 if test "${ac_cv_header_png_h+set}" = set; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 if test "$cross_compiling" = yes; then
26147 unset ac_cv_header_png_h
26150 cat >conftest.
$ac_ext <<_ACEOF
26153 cat confdefs.h
>>conftest.
$ac_ext
26154 cat >>conftest.
$ac_ext <<_ACEOF
26155 /* end confdefs.h. */
26162 FILE *f=fopen("conftestval", "w");
26165 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26170 rm -f conftest
$ac_exeext
26171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26172 (eval $ac_link) 2>&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26177 (eval $ac_try) 2>&5
26179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26180 (exit $ac_status); }; }; then
26181 ac_cv_header_png_h
=`cat conftestval`
26183 echo "$as_me: program exited with status $ac_status" >&5
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.
$ac_ext >&5
26187 ( exit $ac_status )
26188 ac_cv_header_png_h
=no
26190 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26194 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26195 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26196 if test "${ac_cv_header_png_h+set}" = set; then
26197 echo "$as_me:$LINENO: checking for png.h" >&5
26198 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26199 if test "${ac_cv_header_png_h+set}" = set; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26202 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26203 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26205 # Is the header compilable?
26206 echo "$as_me:$LINENO: checking png.h usability" >&5
26207 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26208 cat >conftest.
$ac_ext <<_ACEOF
26211 cat confdefs.h
>>conftest.
$ac_ext
26212 cat >>conftest.
$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26214 $ac_includes_default
26217 rm -f conftest.
$ac_objext
26218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26219 (eval $ac_compile) 2>conftest.er1
26221 grep -v '^ *+' conftest.er1
>conftest.err
26223 cat conftest.err
>&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); } &&
26226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26228 (eval $ac_try) 2>&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); }; } &&
26232 { ac_try
='test -s conftest.$ac_objext'
26233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26234 (eval $ac_try) 2>&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); }; }; then
26238 ac_header_compiler
=yes
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.
$ac_ext >&5
26243 ac_header_compiler
=no
26245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26247 echo "${ECHO_T}$ac_header_compiler" >&6
26249 # Is the header present?
26250 echo "$as_me:$LINENO: checking png.h presence" >&5
26251 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26252 cat >conftest.
$ac_ext <<_ACEOF
26255 cat confdefs.h
>>conftest.
$ac_ext
26256 cat >>conftest.
$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26263 grep -v '^ *+' conftest.er1
>conftest.err
26265 cat conftest.err
>&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } >/dev
/null
; then
26268 if test -s conftest.err
; then
26269 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26270 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26277 if test -z "$ac_cpp_err"; then
26278 ac_header_preproc
=yes
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.
$ac_ext >&5
26283 ac_header_preproc
=no
26285 rm -f conftest.err conftest.
$ac_ext
26286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26287 echo "${ECHO_T}$ac_header_preproc" >&6
26289 # So? What about this header?
26290 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26292 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26293 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26294 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26295 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26296 ac_header_preproc
=yes
26299 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26300 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26301 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26302 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26303 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26304 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26305 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26306 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26307 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26308 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26309 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26310 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26313 ## ----------------------------------------- ##
26314 ## Report this to wx-dev@lists.wxwidgets.org ##
26315 ## ----------------------------------------- ##
26318 sed "s/^/$as_me: WARNING: /" >&2
26321 echo "$as_me:$LINENO: checking for png.h" >&5
26322 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26323 if test "${ac_cv_header_png_h+set}" = set; then
26324 echo $ECHO_N "(cached) $ECHO_C" >&6
26326 ac_cv_header_png_h
=$ac_header_preproc
26328 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26329 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26335 if test "$ac_cv_header_png_h" = "yes"; then
26336 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26337 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26338 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 ac_check_lib_save_LIBS
=$LIBS
26342 LIBS
="-lpng -lz -lm $LIBS"
26343 cat >conftest.
$ac_ext <<_ACEOF
26346 cat confdefs.h
>>conftest.
$ac_ext
26347 cat >>conftest.
$ac_ext <<_ACEOF
26348 /* end confdefs.h. */
26350 /* Override any gcc2 internal prototype to avoid an error. */
26354 /* We use char because int might match the return type of a gcc2
26355 builtin and then its argument prototype would still apply. */
26356 char png_check_sig ();
26365 rm -f conftest.
$ac_objext conftest
$ac_exeext
26366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26367 (eval $ac_link) 2>conftest.er1
26369 grep -v '^ *+' conftest.er1
>conftest.err
26371 cat conftest.err
>&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); } &&
26374 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26376 (eval $ac_try) 2>&5
26378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26379 (exit $ac_status); }; } &&
26380 { ac_try
='test -s conftest$ac_exeext'
26381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26382 (eval $ac_try) 2>&5
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); }; }; then
26386 ac_cv_lib_png_png_check_sig
=yes
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.
$ac_ext >&5
26391 ac_cv_lib_png_png_check_sig
=no
26393 rm -f conftest.err conftest.
$ac_objext \
26394 conftest
$ac_exeext conftest.
$ac_ext
26395 LIBS
=$ac_check_lib_save_LIBS
26397 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26398 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26399 if test $ac_cv_lib_png_png_check_sig = yes; then
26400 PNG_LINK
=" -lpng -lz"
26405 if test "x$PNG_LINK" = "x" ; then
26406 if test "$wxUSE_LIBPNG" = "sys" ; then
26407 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26408 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26409 { (exit 1); exit 1; }; }
26411 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26412 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26413 wxUSE_LIBPNG
=builtin
26421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26426 if test "$wxUSE_LIBJPEG" != "no" ; then
26427 cat >>confdefs.h
<<\_ACEOF
26428 #define wxUSE_LIBJPEG 1
26432 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26433 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26434 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26438 if test "$wxUSE_MGL" != 1 ; then
26439 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26440 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26441 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26442 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26443 echo $ECHO_N "(cached) $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. */
26452 #undef HAVE_STDLIB_H
26454 #include <jpeglib.h>
26465 rm -f conftest.
$ac_objext
26466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26467 (eval $ac_compile) 2>conftest.er1
26469 grep -v '^ *+' conftest.er1
>conftest.err
26471 cat conftest.err
>&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } &&
26474 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; } &&
26480 { ac_try
='test -s conftest.$ac_objext'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; }; then
26486 ac_cv_header_jpeglib_h
=yes
26488 echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.
$ac_ext >&5
26491 ac_cv_header_jpeglib_h
=no
26494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26498 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26499 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26501 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26502 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26503 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26504 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26505 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 ac_check_lib_save_LIBS
=$LIBS
26508 LIBS
="-ljpeg $LIBS"
26509 cat >conftest.
$ac_ext <<_ACEOF
26512 cat confdefs.h
>>conftest.
$ac_ext
26513 cat >>conftest.
$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26516 /* Override any gcc2 internal prototype to avoid an error. */
26520 /* We use char because int might match the return type of a gcc2
26521 builtin and then its argument prototype would still apply. */
26522 char jpeg_read_header ();
26526 jpeg_read_header ();
26531 rm -f conftest.
$ac_objext conftest
$ac_exeext
26532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26533 (eval $ac_link) 2>conftest.er1
26535 grep -v '^ *+' conftest.er1
>conftest.err
26537 cat conftest.err
>&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); } &&
26540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26542 (eval $ac_try) 2>&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); }; } &&
26546 { ac_try
='test -s conftest$ac_exeext'
26547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26548 (eval $ac_try) 2>&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; }; then
26552 ac_cv_lib_jpeg_jpeg_read_header
=yes
26554 echo "$as_me: failed program was:" >&5
26555 sed 's/^/| /' conftest.
$ac_ext >&5
26557 ac_cv_lib_jpeg_jpeg_read_header
=no
26559 rm -f conftest.err conftest.
$ac_objext \
26560 conftest
$ac_exeext conftest.
$ac_ext
26561 LIBS
=$ac_check_lib_save_LIBS
26563 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26564 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26565 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26566 JPEG_LINK
=" -ljpeg"
26571 if test "x$JPEG_LINK" = "x" ; then
26572 if test "$wxUSE_LIBJPEG" = "sys" ; then
26573 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26574 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26575 { (exit 1); exit 1; }; }
26577 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26578 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26579 wxUSE_LIBJPEG
=builtin
26590 TIFF_PREREQ_LINKS
=-lm
26591 if test "$wxUSE_LIBTIFF" != "no" ; then
26592 cat >>confdefs.h
<<\_ACEOF
26593 #define wxUSE_LIBTIFF 1
26597 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26598 if test "$wxUSE_LIBJPEG" = "sys"; then
26599 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26601 if test "$wxUSE_ZLIB" = "sys"; then
26602 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26604 if test "${ac_cv_header_tiffio_h+set}" = set; then
26605 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26606 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26607 if test "${ac_cv_header_tiffio_h+set}" = set; then
26608 echo $ECHO_N "(cached) $ECHO_C" >&6
26610 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26611 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26613 # Is the header compilable?
26614 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26615 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26616 cat >conftest.
$ac_ext <<_ACEOF
26619 cat confdefs.h
>>conftest.
$ac_ext
26620 cat >>conftest.
$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622 $ac_includes_default
26623 #include <tiffio.h>
26625 rm -f conftest.
$ac_objext
26626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26627 (eval $ac_compile) 2>conftest.er1
26629 grep -v '^ *+' conftest.er1
>conftest.err
26631 cat conftest.err
>&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); } &&
26634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26636 (eval $ac_try) 2>&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); }; } &&
26640 { ac_try
='test -s conftest.$ac_objext'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; }; then
26646 ac_header_compiler
=yes
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.
$ac_ext >&5
26651 ac_header_compiler
=no
26653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26655 echo "${ECHO_T}$ac_header_compiler" >&6
26657 # Is the header present?
26658 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26659 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26660 cat >conftest.
$ac_ext <<_ACEOF
26663 cat confdefs.h
>>conftest.
$ac_ext
26664 cat >>conftest.
$ac_ext <<_ACEOF
26665 /* end confdefs.h. */
26666 #include <tiffio.h>
26668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26669 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26671 grep -v '^ *+' conftest.er1
>conftest.err
26673 cat conftest.err
>&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } >/dev
/null
; then
26676 if test -s conftest.err
; then
26677 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26678 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26685 if test -z "$ac_cpp_err"; then
26686 ac_header_preproc
=yes
26688 echo "$as_me: failed program was:" >&5
26689 sed 's/^/| /' conftest.
$ac_ext >&5
26691 ac_header_preproc
=no
26693 rm -f conftest.err conftest.
$ac_ext
26694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26695 echo "${ECHO_T}$ac_header_preproc" >&6
26697 # So? What about this header?
26698 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26700 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26701 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26702 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26703 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26704 ac_header_preproc
=yes
26707 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26708 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26709 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26710 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26711 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26712 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26713 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26714 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26715 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26716 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26717 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26718 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26721 ## ----------------------------------------- ##
26722 ## Report this to wx-dev@lists.wxwidgets.org ##
26723 ## ----------------------------------------- ##
26726 sed "s/^/$as_me: WARNING: /" >&2
26729 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26730 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26731 if test "${ac_cv_header_tiffio_h+set}" = set; then
26732 echo $ECHO_N "(cached) $ECHO_C" >&6
26734 ac_cv_header_tiffio_h
=$ac_header_preproc
26736 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26737 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26740 if test $ac_cv_header_tiffio_h = yes; then
26742 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26743 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26744 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26745 echo $ECHO_N "(cached) $ECHO_C" >&6
26747 ac_check_lib_save_LIBS
=$LIBS
26748 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26749 cat >conftest.
$ac_ext <<_ACEOF
26752 cat confdefs.h
>>conftest.
$ac_ext
26753 cat >>conftest.
$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26756 /* Override any gcc2 internal prototype to avoid an error. */
26760 /* We use char because int might match the return type of a gcc2
26761 builtin and then its argument prototype would still apply. */
26771 rm -f conftest.
$ac_objext conftest
$ac_exeext
26772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26773 (eval $ac_link) 2>conftest.er1
26775 grep -v '^ *+' conftest.er1
>conftest.err
26777 cat conftest.err
>&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); } &&
26780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26782 (eval $ac_try) 2>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try
='test -s conftest$ac_exeext'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; }; then
26792 ac_cv_lib_tiff_TIFFError
=yes
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.
$ac_ext >&5
26797 ac_cv_lib_tiff_TIFFError
=no
26799 rm -f conftest.err conftest.
$ac_objext \
26800 conftest
$ac_exeext conftest.
$ac_ext
26801 LIBS
=$ac_check_lib_save_LIBS
26803 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26804 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26805 if test $ac_cv_lib_tiff_TIFFError = yes; then
26806 TIFF_LINK
=" -ltiff"
26815 if test "x$TIFF_LINK" = "x" ; then
26816 if test "$wxUSE_LIBTIFF" = "sys" ; then
26817 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26818 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26819 { (exit 1); exit 1; }; }
26821 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26822 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26823 wxUSE_LIBTIFF
=builtin
26832 if test "$wxUSE_WCHAR_T" != "yes"; then
26833 if test "$wxUSE_EXPAT" != "no"; then
26834 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26835 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26838 if test "$wxUSE_XML" != "no"; then
26839 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26840 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26845 if test "$wxUSE_EXPAT" != "no"; then
26847 cat >>confdefs.h
<<\_ACEOF
26848 #define wxUSE_EXPAT 1
26851 cat >>confdefs.h
<<\_ACEOF
26852 #define wxUSE_XML 1
26856 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26857 if test "${ac_cv_header_expat_h+set}" = set; then
26858 echo "$as_me:$LINENO: checking for expat.h" >&5
26859 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26860 if test "${ac_cv_header_expat_h+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26864 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26866 # Is the header compilable?
26867 echo "$as_me:$LINENO: checking expat.h usability" >&5
26868 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26869 cat >conftest.
$ac_ext <<_ACEOF
26872 cat confdefs.h
>>conftest.
$ac_ext
26873 cat >>conftest.
$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 $ac_includes_default
26878 rm -f conftest.
$ac_objext
26879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26880 (eval $ac_compile) 2>conftest.er1
26882 grep -v '^ *+' conftest.er1
>conftest.err
26884 cat conftest.err
>&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); } &&
26887 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889 (eval $ac_try) 2>&5
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); }; } &&
26893 { ac_try
='test -s conftest.$ac_objext'
26894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895 (eval $ac_try) 2>&5
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); }; }; then
26899 ac_header_compiler
=yes
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.
$ac_ext >&5
26904 ac_header_compiler
=no
26906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26908 echo "${ECHO_T}$ac_header_compiler" >&6
26910 # Is the header present?
26911 echo "$as_me:$LINENO: checking expat.h presence" >&5
26912 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26913 cat >conftest.
$ac_ext <<_ACEOF
26916 cat confdefs.h
>>conftest.
$ac_ext
26917 cat >>conftest.
$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26922 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26924 grep -v '^ *+' conftest.er1
>conftest.err
26926 cat conftest.err
>&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); } >/dev
/null
; then
26929 if test -s conftest.err
; then
26930 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26931 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26938 if test -z "$ac_cpp_err"; then
26939 ac_header_preproc
=yes
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.
$ac_ext >&5
26944 ac_header_preproc
=no
26946 rm -f conftest.err conftest.
$ac_ext
26947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26948 echo "${ECHO_T}$ac_header_preproc" >&6
26950 # So? What about this header?
26951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26953 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26954 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26955 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26956 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26957 ac_header_preproc
=yes
26960 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26961 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26962 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26963 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26964 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26965 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26966 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26967 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26968 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26969 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26970 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26971 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26974 ## ----------------------------------------- ##
26975 ## Report this to wx-dev@lists.wxwidgets.org ##
26976 ## ----------------------------------------- ##
26979 sed "s/^/$as_me: WARNING: /" >&2
26982 echo "$as_me:$LINENO: checking for expat.h" >&5
26983 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26984 if test "${ac_cv_header_expat_h+set}" = set; then
26985 echo $ECHO_N "(cached) $ECHO_C" >&6
26987 ac_cv_header_expat_h
=$ac_header_preproc
26989 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26990 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26993 if test $ac_cv_header_expat_h = yes; then
26998 if test "x$found_expat_h" = "x1"; then
26999 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27000 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27001 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27005 cat >conftest.
$ac_ext <<_ACEOF
27008 cat confdefs.h
>>conftest.
$ac_ext
27009 cat >>conftest.
$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27020 rm -f conftest.
$ac_objext
27021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27022 (eval $ac_compile) 2>conftest.er1
27024 grep -v '^ *+' conftest.er1
>conftest.err
27026 cat conftest.err
>&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } &&
27029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; } &&
27035 { ac_try
='test -s conftest.$ac_objext'
27036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27037 (eval $ac_try) 2>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); }; }; then
27041 wx_cv_expat_is_not_broken
=yes
27043 echo "$as_me: failed program was:" >&5
27044 sed 's/^/| /' conftest.
$ac_ext >&5
27046 wx_cv_expat_is_not_broken
=no
27049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27053 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27054 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27055 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27056 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27057 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27058 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27059 echo $ECHO_N "(cached) $ECHO_C" >&6
27061 ac_check_lib_save_LIBS
=$LIBS
27062 LIBS
="-lexpat $LIBS"
27063 cat >conftest.
$ac_ext <<_ACEOF
27066 cat confdefs.h
>>conftest.
$ac_ext
27067 cat >>conftest.
$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27070 /* Override any gcc2 internal prototype to avoid an error. */
27074 /* We use char because int might match the return type of a gcc2
27075 builtin and then its argument prototype would still apply. */
27076 char XML_ParserCreate ();
27080 XML_ParserCreate ();
27085 rm -f conftest.
$ac_objext conftest
$ac_exeext
27086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27087 (eval $ac_link) 2>conftest.er1
27089 grep -v '^ *+' conftest.er1
>conftest.err
27091 cat conftest.err
>&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); } &&
27094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; } &&
27100 { ac_try
='test -s conftest$ac_exeext'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; }; then
27106 ac_cv_lib_expat_XML_ParserCreate
=yes
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.
$ac_ext >&5
27111 ac_cv_lib_expat_XML_ParserCreate
=no
27113 rm -f conftest.err conftest.
$ac_objext \
27114 conftest
$ac_exeext conftest.
$ac_ext
27115 LIBS
=$ac_check_lib_save_LIBS
27117 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27118 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27119 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27120 EXPAT_LINK
=" -lexpat"
27125 if test "x$EXPAT_LINK" = "x" ; then
27126 if test "$wxUSE_EXPAT" = "sys" ; then
27127 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27128 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27129 { (exit 1); exit 1; }; }
27131 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27132 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27133 wxUSE_EXPAT
=builtin
27139 if test "$wxUSE_EXPAT" = "builtin" ; then
27142 subdirs
="$subdirs src/expat"
27149 if test "$wxUSE_LIBMSPACK" != "no"; then
27150 if test "${ac_cv_header_mspack_h+set}" = set; then
27151 echo "$as_me:$LINENO: checking for mspack.h" >&5
27152 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27153 if test "${ac_cv_header_mspack_h+set}" = set; then
27154 echo $ECHO_N "(cached) $ECHO_C" >&6
27156 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27157 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27159 # Is the header compilable?
27160 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27161 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27162 cat >conftest.
$ac_ext <<_ACEOF
27165 cat confdefs.h
>>conftest.
$ac_ext
27166 cat >>conftest.
$ac_ext <<_ACEOF
27167 /* end confdefs.h. */
27168 $ac_includes_default
27169 #include <mspack.h>
27171 rm -f conftest.
$ac_objext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27173 (eval $ac_compile) 2>conftest.er1
27175 grep -v '^ *+' conftest.er1
>conftest.err
27177 cat conftest.err
>&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27182 (eval $ac_try) 2>&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); }; } &&
27186 { ac_try
='test -s conftest.$ac_objext'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; }; then
27192 ac_header_compiler
=yes
27194 echo "$as_me: failed program was:" >&5
27195 sed 's/^/| /' conftest.
$ac_ext >&5
27197 ac_header_compiler
=no
27199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27201 echo "${ECHO_T}$ac_header_compiler" >&6
27203 # Is the header present?
27204 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27205 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27206 cat >conftest.
$ac_ext <<_ACEOF
27209 cat confdefs.h
>>conftest.
$ac_ext
27210 cat >>conftest.
$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 #include <mspack.h>
27214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27215 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27217 grep -v '^ *+' conftest.er1
>conftest.err
27219 cat conftest.err
>&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); } >/dev
/null
; then
27222 if test -s conftest.err
; then
27223 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27224 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27231 if test -z "$ac_cpp_err"; then
27232 ac_header_preproc
=yes
27234 echo "$as_me: failed program was:" >&5
27235 sed 's/^/| /' conftest.
$ac_ext >&5
27237 ac_header_preproc
=no
27239 rm -f conftest.err conftest.
$ac_ext
27240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27241 echo "${ECHO_T}$ac_header_preproc" >&6
27243 # So? What about this header?
27244 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27246 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27247 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27248 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27249 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27250 ac_header_preproc
=yes
27253 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27254 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27255 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27256 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27257 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27258 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27259 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27260 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27261 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27262 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27263 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27264 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27267 ## ----------------------------------------- ##
27268 ## Report this to wx-dev@lists.wxwidgets.org ##
27269 ## ----------------------------------------- ##
27272 sed "s/^/$as_me: WARNING: /" >&2
27275 echo "$as_me:$LINENO: checking for mspack.h" >&5
27276 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27277 if test "${ac_cv_header_mspack_h+set}" = set; then
27278 echo $ECHO_N "(cached) $ECHO_C" >&6
27280 ac_cv_header_mspack_h
=$ac_header_preproc
27282 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27283 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27286 if test $ac_cv_header_mspack_h = yes; then
27291 if test "x$found_mspack_h" = "x1"; then
27292 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27293 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27294 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27295 echo $ECHO_N "(cached) $ECHO_C" >&6
27297 ac_check_lib_save_LIBS
=$LIBS
27298 LIBS
="-lmspack $LIBS"
27299 cat >conftest.
$ac_ext <<_ACEOF
27302 cat confdefs.h
>>conftest.
$ac_ext
27303 cat >>conftest.
$ac_ext <<_ACEOF
27304 /* end confdefs.h. */
27306 /* Override any gcc2 internal prototype to avoid an error. */
27310 /* We use char because int might match the return type of a gcc2
27311 builtin and then its argument prototype would still apply. */
27312 char mspack_create_chm_decompressor ();
27316 mspack_create_chm_decompressor ();
27321 rm -f conftest.
$ac_objext conftest
$ac_exeext
27322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27323 (eval $ac_link) 2>conftest.er1
27325 grep -v '^ *+' conftest.er1
>conftest.err
27327 cat conftest.err
>&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } &&
27330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; } &&
27336 { ac_try
='test -s conftest$ac_exeext'
27337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27338 (eval $ac_try) 2>&5
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); }; }; then
27342 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.
$ac_ext >&5
27347 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27349 rm -f conftest.err conftest.
$ac_objext \
27350 conftest
$ac_exeext conftest.
$ac_ext
27351 LIBS
=$ac_check_lib_save_LIBS
27353 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27354 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27355 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27356 MSPACK_LINK
=" -lmspack"
27360 if test "x$MSPACK_LINK" = "x" ; then
27365 if test "$wxUSE_LIBMSPACK" != "no"; then
27366 cat >>confdefs.h
<<\_ACEOF
27367 #define wxUSE_LIBMSPACK 1
27381 if test "$USE_WIN32" = 1 ; then
27383 for ac_header
in w32api.h
27385 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27387 echo "$as_me:$LINENO: checking for $ac_header" >&5
27388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27390 echo $ECHO_N "(cached) $ECHO_C" >&6
27392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27395 # Is the header compilable?
27396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27398 cat >conftest.
$ac_ext <<_ACEOF
27401 cat confdefs.h
>>conftest.
$ac_ext
27402 cat >>conftest.
$ac_ext <<_ACEOF
27403 /* end confdefs.h. */
27404 $ac_includes_default
27405 #include <$ac_header>
27407 rm -f conftest.
$ac_objext
27408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27409 (eval $ac_compile) 2>conftest.er1
27411 grep -v '^ *+' conftest.er1
>conftest.err
27413 cat conftest.err
>&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); } &&
27416 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418 (eval $ac_try) 2>&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; } &&
27422 { ac_try
='test -s conftest.$ac_objext'
27423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27424 (eval $ac_try) 2>&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); }; }; then
27428 ac_header_compiler
=yes
27430 echo "$as_me: failed program was:" >&5
27431 sed 's/^/| /' conftest.
$ac_ext >&5
27433 ac_header_compiler
=no
27435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27437 echo "${ECHO_T}$ac_header_compiler" >&6
27439 # Is the header present?
27440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27442 cat >conftest.
$ac_ext <<_ACEOF
27445 cat confdefs.h
>>conftest.
$ac_ext
27446 cat >>conftest.
$ac_ext <<_ACEOF
27447 /* end confdefs.h. */
27448 #include <$ac_header>
27450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27453 grep -v '^ *+' conftest.er1
>conftest.err
27455 cat conftest.err
>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); } >/dev
/null
; then
27458 if test -s conftest.err
; then
27459 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27460 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27467 if test -z "$ac_cpp_err"; then
27468 ac_header_preproc
=yes
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.
$ac_ext >&5
27473 ac_header_preproc
=no
27475 rm -f conftest.err conftest.
$ac_ext
27476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27477 echo "${ECHO_T}$ac_header_preproc" >&6
27479 # So? What about this header?
27480 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27486 ac_header_preproc
=yes
27489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27503 ## ----------------------------------------- ##
27504 ## Report this to wx-dev@lists.wxwidgets.org ##
27505 ## ----------------------------------------- ##
27508 sed "s/^/$as_me: WARNING: /" >&2
27511 echo "$as_me:$LINENO: checking for $ac_header" >&5
27512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27516 eval "$as_ac_Header=\$ac_header_preproc"
27518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27523 cat >>confdefs.h
<<_ACEOF
27524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27531 if test "${ac_cv_header_windows_h+set}" = set; then
27532 echo "$as_me:$LINENO: checking for windows.h" >&5
27533 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27534 if test "${ac_cv_header_windows_h+set}" = set; then
27535 echo $ECHO_N "(cached) $ECHO_C" >&6
27537 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27538 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27540 # Is the header compilable?
27541 echo "$as_me:$LINENO: checking windows.h usability" >&5
27542 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27543 cat >conftest.
$ac_ext <<_ACEOF
27546 cat confdefs.h
>>conftest.
$ac_ext
27547 cat >>conftest.
$ac_ext <<_ACEOF
27548 /* end confdefs.h. */
27549 $ac_includes_default
27550 #include <windows.h>
27552 rm -f conftest.
$ac_objext
27553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27554 (eval $ac_compile) 2>conftest.er1
27556 grep -v '^ *+' conftest.er1
>conftest.err
27558 cat conftest.err
>&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); } &&
27561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27563 (eval $ac_try) 2>&5
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); }; } &&
27567 { ac_try
='test -s conftest.$ac_objext'
27568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27569 (eval $ac_try) 2>&5
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); }; }; then
27573 ac_header_compiler
=yes
27575 echo "$as_me: failed program was:" >&5
27576 sed 's/^/| /' conftest.
$ac_ext >&5
27578 ac_header_compiler
=no
27580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27582 echo "${ECHO_T}$ac_header_compiler" >&6
27584 # Is the header present?
27585 echo "$as_me:$LINENO: checking windows.h presence" >&5
27586 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27587 cat >conftest.
$ac_ext <<_ACEOF
27590 cat confdefs.h
>>conftest.
$ac_ext
27591 cat >>conftest.
$ac_ext <<_ACEOF
27592 /* end confdefs.h. */
27593 #include <windows.h>
27595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27596 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27598 grep -v '^ *+' conftest.er1
>conftest.err
27600 cat conftest.err
>&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); } >/dev
/null
; then
27603 if test -s conftest.err
; then
27604 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27605 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27612 if test -z "$ac_cpp_err"; then
27613 ac_header_preproc
=yes
27615 echo "$as_me: failed program was:" >&5
27616 sed 's/^/| /' conftest.
$ac_ext >&5
27618 ac_header_preproc
=no
27620 rm -f conftest.err conftest.
$ac_ext
27621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27622 echo "${ECHO_T}$ac_header_preproc" >&6
27624 # So? What about this header?
27625 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27627 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27628 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27629 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27630 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27631 ac_header_preproc
=yes
27634 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27635 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27636 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27637 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27638 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27639 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27640 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27641 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27642 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27643 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27644 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27645 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27648 ## ----------------------------------------- ##
27649 ## Report this to wx-dev@lists.wxwidgets.org ##
27650 ## ----------------------------------------- ##
27653 sed "s/^/$as_me: WARNING: /" >&2
27656 echo "$as_me:$LINENO: checking for windows.h" >&5
27657 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27658 if test "${ac_cv_header_windows_h+set}" = set; then
27659 echo $ECHO_N "(cached) $ECHO_C" >&6
27661 ac_cv_header_windows_h
=$ac_header_preproc
27663 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27664 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27667 if test $ac_cv_header_windows_h = yes; then
27671 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27672 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27673 { (exit 1); exit 1; }; }
27679 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27681 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27682 LIBS
="$LIBS -loleacc"
27687 LIBS
="$LIBS -lkernel32 -luser32"
27690 if test "$wxUSE_ODBC" = "sys" ; then
27693 if test "$wxUSE_ODBC" = "yes" ; then
27694 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27695 cat >>confdefs.h
<<\_ACEOF
27696 #define wxUSE_ODBC 1
27701 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27702 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27704 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27706 WIN32INSTALL
=win32install
27708 echo "$as_me:$LINENO: checking for boolean" >&5
27709 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27710 if test "${ac_cv_type_boolean+set}" = set; then
27711 echo $ECHO_N "(cached) $ECHO_C" >&6
27713 cat >conftest.
$ac_ext <<_ACEOF
27716 cat confdefs.h
>>conftest.
$ac_ext
27717 cat >>conftest.
$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27719 #include <windows.h>
27726 if (sizeof (boolean))
27732 rm -f conftest.
$ac_objext
27733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27734 (eval $ac_compile) 2>conftest.er1
27736 grep -v '^ *+' conftest.er1
>conftest.err
27738 cat conftest.err
>&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); } &&
27741 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27743 (eval $ac_try) 2>&5
27745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27746 (exit $ac_status); }; } &&
27747 { ac_try
='test -s conftest.$ac_objext'
27748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27749 (eval $ac_try) 2>&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); }; }; then
27753 ac_cv_type_boolean
=yes
27755 echo "$as_me: failed program was:" >&5
27756 sed 's/^/| /' conftest.
$ac_ext >&5
27758 ac_cv_type_boolean
=no
27760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27762 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27763 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27764 if test $ac_cv_type_boolean = yes; then
27766 cat >>confdefs.h
<<_ACEOF
27767 #define HAVE_BOOLEAN 1
27775 for ac_header
in pbt.h
27777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27779 echo "$as_me:$LINENO: checking for $ac_header" >&5
27780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27782 echo $ECHO_N "(cached) $ECHO_C" >&6
27784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27787 # Is the header compilable?
27788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27790 cat >conftest.
$ac_ext <<_ACEOF
27793 cat confdefs.h
>>conftest.
$ac_ext
27794 cat >>conftest.
$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796 $ac_includes_default
27797 #include <$ac_header>
27799 rm -f conftest.
$ac_objext
27800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27801 (eval $ac_compile) 2>conftest.er1
27803 grep -v '^ *+' conftest.er1
>conftest.err
27805 cat conftest.err
>&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); } &&
27808 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; } &&
27814 { ac_try
='test -s conftest.$ac_objext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 ac_header_compiler
=yes
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.
$ac_ext >&5
27825 ac_header_compiler
=no
27827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27829 echo "${ECHO_T}$ac_header_compiler" >&6
27831 # Is the header present?
27832 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27834 cat >conftest.
$ac_ext <<_ACEOF
27837 cat confdefs.h
>>conftest.
$ac_ext
27838 cat >>conftest.
$ac_ext <<_ACEOF
27839 /* end confdefs.h. */
27840 #include <$ac_header>
27842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27845 grep -v '^ *+' conftest.er1
>conftest.err
27847 cat conftest.err
>&5
27848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27849 (exit $ac_status); } >/dev
/null
; then
27850 if test -s conftest.err
; then
27851 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27852 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27859 if test -z "$ac_cpp_err"; then
27860 ac_header_preproc
=yes
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.
$ac_ext >&5
27865 ac_header_preproc
=no
27867 rm -f conftest.err conftest.
$ac_ext
27868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27869 echo "${ECHO_T}$ac_header_preproc" >&6
27871 # So? What about this header?
27872 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27878 ac_header_preproc
=yes
27881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27895 ## ----------------------------------------- ##
27896 ## Report this to wx-dev@lists.wxwidgets.org ##
27897 ## ----------------------------------------- ##
27900 sed "s/^/$as_me: WARNING: /" >&2
27903 echo "$as_me:$LINENO: checking for $ac_header" >&5
27904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27906 echo $ECHO_N "(cached) $ECHO_C" >&6
27908 eval "$as_ac_Header=\$ac_header_preproc"
27910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27915 cat >>confdefs.h
<<_ACEOF
27916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27920 cat >>confdefs.h
<<\_ACEOF
27921 #define NEED_PBT_H 1
27930 if test "$wxUSE_GUI" = "yes"; then
27940 if test "$wxUSE_COCOA" = 1 ; then
27941 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27942 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27943 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27944 wxUSE_PRINTING_ARCHITECTURE
=no
27946 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27947 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27948 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27949 wxUSE_DRAG_AND_DROP
=no
27951 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27952 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27953 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27958 if test "$wxUSE_MSW" = 1 ; then
27964 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27968 if test "$wxUSE_GTK" = 1; then
27970 ac_cpp
='$CPP $CPPFLAGS'
27971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27976 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27977 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27979 gtk_version_cached
=1
27980 if test "${wx_cv_lib_gtk+set}" = set; then
27981 echo $ECHO_N "(cached) $ECHO_C" >&6
27984 gtk_version_cached
=0
27985 echo "$as_me:$LINENO: result: " >&5
27986 echo "${ECHO_T}" >&6
27989 if test "$wxUSE_THREADS" = "yes"; then
27990 GTK_MODULES
=gthread
27994 if test "x$wxGTK_VERSION" != "x1"
27998 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28003 # Check whether --enable-gtktest or --disable-gtktest was given.
28004 if test "${enable_gtktest+set}" = set; then
28005 enableval
="$enable_gtktest"
28011 pkg_config_args
=gtk
+-2.0
28012 for module
in .
$GTK_MODULES
28016 pkg_config_args
="$pkg_config_args gthread-2.0"
28023 # Extract the first word of "pkg-config", so it can be a program name with args.
28024 set dummy pkg
-config; ac_word
=$2
28025 echo "$as_me:$LINENO: checking for $ac_word" >&5
28026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28030 case $PKG_CONFIG in
28032 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28036 for as_dir
in $PATH
28039 test -z "$as_dir" && as_dir
=.
28040 for ac_exec_ext
in '' $ac_executable_extensions; do
28041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28042 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28049 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28053 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28055 if test -n "$PKG_CONFIG"; then
28056 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28057 echo "${ECHO_T}$PKG_CONFIG" >&6
28059 echo "$as_me:$LINENO: result: no" >&5
28060 echo "${ECHO_T}no" >&6
28064 if test x
$PKG_CONFIG != xno
; then
28065 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
28068 echo "*** pkg-config too old; version 0.7 or better required."
28076 min_gtk_version
=2.0.0
28077 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28078 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28080 if test x
$PKG_CONFIG != xno
; then
28081 ## don't try to run the test against uninstalled libtool libs
28082 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28083 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28087 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28094 if test x
"$no_gtk" = x
; then
28095 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28096 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28097 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28099 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28101 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28103 if test "x$enable_gtktest" = "xyes" ; then
28104 ac_save_CFLAGS
="$CFLAGS"
28105 ac_save_LIBS
="$LIBS"
28106 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28107 LIBS
="$GTK_LIBS $LIBS"
28109 if test "$cross_compiling" = yes; then
28110 echo $ac_n "cross compiling; assumed OK... $ac_c"
28112 cat >conftest.
$ac_ext <<_ACEOF
28115 cat confdefs.h
>>conftest.
$ac_ext
28116 cat >>conftest.
$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28119 #include <gtk/gtk.h>
28121 #include <stdlib.h>
28126 int major, minor, micro;
28129 system ("touch conf.gtktest");
28131 /* HP/UX 9 (%@#!) writes to sscanf strings */
28132 tmp_version = g_strdup("$min_gtk_version");
28133 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28134 printf("%s, bad version string\n", "$min_gtk_version");
28138 if ((gtk_major_version != $gtk_config_major_version) ||
28139 (gtk_minor_version != $gtk_config_minor_version) ||
28140 (gtk_micro_version != $gtk_config_micro_version))
28142 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28143 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28144 gtk_major_version, gtk_minor_version, gtk_micro_version);
28145 printf ("*** was found! If pkg-config was correct, then it is best\n");
28146 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28147 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28148 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28149 printf("*** required on your system.\n");
28150 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28151 printf("*** to point to the correct configuration files\n");
28153 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28154 (gtk_minor_version != GTK_MINOR_VERSION) ||
28155 (gtk_micro_version != GTK_MICRO_VERSION))
28157 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28158 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28159 printf("*** library (version %d.%d.%d)\n",
28160 gtk_major_version, gtk_minor_version, gtk_micro_version);
28164 if ((gtk_major_version > major) ||
28165 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28166 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28172 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28173 gtk_major_version, gtk_minor_version, gtk_micro_version);
28174 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28175 major, minor, micro);
28176 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28178 printf("*** If you have already installed a sufficiently new version, this error\n");
28179 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28180 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28181 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28182 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28183 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28184 printf("*** so that the correct libraries are found at run-time))\n");
28191 rm -f conftest
$ac_exeext
28192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28193 (eval $ac_link) 2>&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; }; then
28204 echo "$as_me: program exited with status $ac_status" >&5
28205 echo "$as_me: failed program was:" >&5
28206 sed 's/^/| /' conftest.
$ac_ext >&5
28208 ( exit $ac_status )
28211 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28213 CFLAGS
="$ac_save_CFLAGS"
28214 LIBS
="$ac_save_LIBS"
28217 if test "x$no_gtk" = x
; then
28218 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28219 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28222 echo "$as_me:$LINENO: result: no" >&5
28223 echo "${ECHO_T}no" >&6
28224 if test "$PKG_CONFIG" = "no" ; then
28225 echo "*** A new enough version of pkg-config was not found."
28226 echo "*** See http://pkgconfig.sourceforge.net"
28228 if test -f conf.gtktest
; then
28231 echo "*** Could not run GTK+ test program, checking why..."
28232 ac_save_CFLAGS
="$CFLAGS"
28233 ac_save_LIBS
="$LIBS"
28234 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28235 LIBS
="$LIBS $GTK_LIBS"
28236 cat >conftest.
$ac_ext <<_ACEOF
28239 cat confdefs.h
>>conftest.
$ac_ext
28240 cat >>conftest.
$ac_ext <<_ACEOF
28241 /* end confdefs.h. */
28243 #include <gtk/gtk.h>
28249 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28254 rm -f conftest.
$ac_objext conftest
$ac_exeext
28255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28256 (eval $ac_link) 2>conftest.er1
28258 grep -v '^ *+' conftest.er1
>conftest.err
28260 cat conftest.err
>&5
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); } &&
28263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28265 (eval $ac_try) 2>&5
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); }; } &&
28269 { ac_try
='test -s conftest$ac_exeext'
28270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28271 (eval $ac_try) 2>&5
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); }; }; then
28275 echo "*** The test program compiled, but did not run. This usually means"
28276 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28277 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28278 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28279 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28280 echo "*** is required on your system"
28282 echo "*** If you have an old version installed, it is best to remove it, although"
28283 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28285 echo "$as_me: failed program was:" >&5
28286 sed 's/^/| /' conftest.
$ac_ext >&5
28288 echo "*** The test program failed to compile or link. See the file config.log for the"
28289 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28291 rm -f conftest.err conftest.
$ac_objext \
28292 conftest
$ac_exeext conftest.
$ac_ext
28293 CFLAGS
="$ac_save_CFLAGS"
28294 LIBS
="$ac_save_LIBS"
28308 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28309 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28310 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28312 if test "$wxUSE_SHARED" != "yes"; then
28313 GTK_LIBS
="$GTK_LIBS -lX11"
28318 if test -z "$wx_cv_lib_gtk"; then
28319 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28321 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28322 if test "${with_gtk_prefix+set}" = set; then
28323 withval
="$with_gtk_prefix"
28324 gtk_config_prefix
="$withval"
28326 gtk_config_prefix
=""
28329 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28330 if test "${with_gtk_exec_prefix+set}" = set; then
28331 withval
="$with_gtk_exec_prefix"
28332 gtk_config_exec_prefix
="$withval"
28334 gtk_config_exec_prefix
=""
28336 # Check whether --enable-gtktest or --disable-gtktest was given.
28337 if test "${enable_gtktest+set}" = set; then
28338 enableval
="$enable_gtktest"
28344 for module
in .
$GTK_MODULES
28348 gtk_config_args
="$gtk_config_args gthread"
28353 if test x
$gtk_config_exec_prefix != x
; then
28354 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28355 if test x
${GTK_CONFIG+set} != xset
; then
28356 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28359 if test x
$gtk_config_prefix != x
; then
28360 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28361 if test x
${GTK_CONFIG+set} != xset
; then
28362 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28366 # Extract the first word of "gtk-config", so it can be a program name with args.
28367 set dummy gtk
-config; ac_word
=$2
28368 echo "$as_me:$LINENO: checking for $ac_word" >&5
28369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28370 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28371 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 case $GTK_CONFIG in
28375 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28379 for as_dir
in $PATH
28382 test -z "$as_dir" && as_dir
=.
28383 for ac_exec_ext
in '' $ac_executable_extensions; do
28384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28385 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28392 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28396 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28398 if test -n "$GTK_CONFIG"; then
28399 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28400 echo "${ECHO_T}$GTK_CONFIG" >&6
28402 echo "$as_me:$LINENO: result: no" >&5
28403 echo "${ECHO_T}no" >&6
28406 min_gtk_version
=1.2.7
28407 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28408 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28410 if test "$GTK_CONFIG" = "no" ; then
28413 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28414 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28415 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28416 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28417 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28419 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28421 if test "x$enable_gtktest" = "xyes" ; then
28422 ac_save_CFLAGS
="$CFLAGS"
28423 ac_save_LIBS
="$LIBS"
28424 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28425 LIBS
="$GTK_LIBS $LIBS"
28427 if test "$cross_compiling" = yes; then
28428 echo $ac_n "cross compiling; assumed OK... $ac_c"
28430 cat >conftest.
$ac_ext <<_ACEOF
28433 cat confdefs.h
>>conftest.
$ac_ext
28434 cat >>conftest.
$ac_ext <<_ACEOF
28435 /* end confdefs.h. */
28437 #include <gtk/gtk.h>
28439 #include <stdlib.h>
28444 int major, minor, micro;
28447 system ("touch conf.gtktest");
28449 /* HP/UX 9 (%@#!) writes to sscanf strings */
28450 tmp_version = g_strdup("$min_gtk_version");
28451 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28452 printf("%s, bad version string\n", "$min_gtk_version");
28456 if ((gtk_major_version != $gtk_config_major_version) ||
28457 (gtk_minor_version != $gtk_config_minor_version) ||
28458 (gtk_micro_version != $gtk_config_micro_version))
28460 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28461 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28462 gtk_major_version, gtk_minor_version, gtk_micro_version);
28463 printf ("*** was found! If gtk-config was correct, then it is best\n");
28464 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28465 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28466 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28467 printf("*** required on your system.\n");
28468 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28469 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28470 printf("*** before re-running configure\n");
28472 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28473 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28474 (gtk_minor_version != GTK_MINOR_VERSION) ||
28475 (gtk_micro_version != GTK_MICRO_VERSION))
28477 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28478 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28479 printf("*** library (version %d.%d.%d)\n",
28480 gtk_major_version, gtk_minor_version, gtk_micro_version);
28482 #endif /* defined (GTK_MAJOR_VERSION) ... */
28485 if ((gtk_major_version > major) ||
28486 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28487 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28493 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28494 gtk_major_version, gtk_minor_version, gtk_micro_version);
28495 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28496 major, minor, micro);
28497 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28499 printf("*** If you have already installed a sufficiently new version, this error\n");
28500 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28501 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28502 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28503 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28504 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28505 printf("*** so that the correct libraries are found at run-time))\n");
28512 rm -f conftest
$ac_exeext
28513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28514 (eval $ac_link) 2>&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28519 (eval $ac_try) 2>&5
28521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28522 (exit $ac_status); }; }; then
28525 echo "$as_me: program exited with status $ac_status" >&5
28526 echo "$as_me: failed program was:" >&5
28527 sed 's/^/| /' conftest.
$ac_ext >&5
28529 ( exit $ac_status )
28532 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28534 CFLAGS
="$ac_save_CFLAGS"
28535 LIBS
="$ac_save_LIBS"
28538 if test "x$no_gtk" = x
; then
28539 echo "$as_me:$LINENO: result: yes" >&5
28540 echo "${ECHO_T}yes" >&6
28541 wx_cv_lib_gtk
=1.2.7
28543 echo "$as_me:$LINENO: result: no" >&5
28544 echo "${ECHO_T}no" >&6
28545 if test "$GTK_CONFIG" = "no" ; then
28546 echo "*** The gtk-config script installed by GTK could not be found"
28547 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28548 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28549 echo "*** full path to gtk-config."
28551 if test -f conf.gtktest
; then
28554 echo "*** Could not run GTK test program, checking why..."
28555 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28556 LIBS
="$LIBS $GTK_LIBS"
28557 cat >conftest.
$ac_ext <<_ACEOF
28560 cat confdefs.h
>>conftest.
$ac_ext
28561 cat >>conftest.
$ac_ext <<_ACEOF
28562 /* end confdefs.h. */
28564 #include <gtk/gtk.h>
28570 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28575 rm -f conftest.
$ac_objext conftest
$ac_exeext
28576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28577 (eval $ac_link) 2>conftest.er1
28579 grep -v '^ *+' conftest.er1
>conftest.err
28581 cat conftest.err
>&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); } &&
28584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28586 (eval $ac_try) 2>&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); }; } &&
28590 { ac_try
='test -s conftest$ac_exeext'
28591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28592 (eval $ac_try) 2>&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); }; }; then
28596 echo "*** The test program compiled, but did not run. This usually means"
28597 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28598 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28601 echo "*** is required on your system"
28603 echo "*** If you have an old version installed, it is best to remove it, although"
28604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28606 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28607 echo "*** came with the system with the command"
28609 echo "*** rpm --erase --nodeps gtk gtk-devel"
28611 echo "$as_me: failed program was:" >&5
28612 sed 's/^/| /' conftest.
$ac_ext >&5
28614 echo "*** The test program failed to compile or link. See the file config.log for the"
28615 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28616 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28617 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28619 rm -f conftest.err conftest.
$ac_objext \
28620 conftest
$ac_exeext conftest.
$ac_ext
28621 CFLAGS
="$ac_save_CFLAGS"
28622 LIBS
="$ac_save_LIBS"
28634 if test -z "$wx_cv_lib_gtk"; then
28636 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28637 if test "${with_gtk_prefix+set}" = set; then
28638 withval
="$with_gtk_prefix"
28639 gtk_config_prefix
="$withval"
28641 gtk_config_prefix
=""
28644 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28645 if test "${with_gtk_exec_prefix+set}" = set; then
28646 withval
="$with_gtk_exec_prefix"
28647 gtk_config_exec_prefix
="$withval"
28649 gtk_config_exec_prefix
=""
28651 # Check whether --enable-gtktest or --disable-gtktest was given.
28652 if test "${enable_gtktest+set}" = set; then
28653 enableval
="$enable_gtktest"
28659 for module
in .
$GTK_MODULES
28663 gtk_config_args
="$gtk_config_args gthread"
28668 if test x
$gtk_config_exec_prefix != x
; then
28669 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28670 if test x
${GTK_CONFIG+set} != xset
; then
28671 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28674 if test x
$gtk_config_prefix != x
; then
28675 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28676 if test x
${GTK_CONFIG+set} != xset
; then
28677 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28681 # Extract the first word of "gtk-config", so it can be a program name with args.
28682 set dummy gtk
-config; ac_word
=$2
28683 echo "$as_me:$LINENO: checking for $ac_word" >&5
28684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28685 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28686 echo $ECHO_N "(cached) $ECHO_C" >&6
28688 case $GTK_CONFIG in
28690 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28694 for as_dir
in $PATH
28697 test -z "$as_dir" && as_dir
=.
28698 for ac_exec_ext
in '' $ac_executable_extensions; do
28699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28700 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28707 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28711 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28713 if test -n "$GTK_CONFIG"; then
28714 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28715 echo "${ECHO_T}$GTK_CONFIG" >&6
28717 echo "$as_me:$LINENO: result: no" >&5
28718 echo "${ECHO_T}no" >&6
28721 min_gtk_version
=1.2.3
28722 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28723 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28725 if test "$GTK_CONFIG" = "no" ; then
28728 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28729 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28730 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28731 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28732 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28734 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28736 if test "x$enable_gtktest" = "xyes" ; then
28737 ac_save_CFLAGS
="$CFLAGS"
28738 ac_save_LIBS
="$LIBS"
28739 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28740 LIBS
="$GTK_LIBS $LIBS"
28742 if test "$cross_compiling" = yes; then
28743 echo $ac_n "cross compiling; assumed OK... $ac_c"
28745 cat >conftest.
$ac_ext <<_ACEOF
28748 cat confdefs.h
>>conftest.
$ac_ext
28749 cat >>conftest.
$ac_ext <<_ACEOF
28750 /* end confdefs.h. */
28752 #include <gtk/gtk.h>
28754 #include <stdlib.h>
28759 int major, minor, micro;
28762 system ("touch conf.gtktest");
28764 /* HP/UX 9 (%@#!) writes to sscanf strings */
28765 tmp_version = g_strdup("$min_gtk_version");
28766 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28767 printf("%s, bad version string\n", "$min_gtk_version");
28771 if ((gtk_major_version != $gtk_config_major_version) ||
28772 (gtk_minor_version != $gtk_config_minor_version) ||
28773 (gtk_micro_version != $gtk_config_micro_version))
28775 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28776 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28777 gtk_major_version, gtk_minor_version, gtk_micro_version);
28778 printf ("*** was found! If gtk-config was correct, then it is best\n");
28779 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28780 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28781 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28782 printf("*** required on your system.\n");
28783 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28784 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28785 printf("*** before re-running configure\n");
28787 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28788 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28789 (gtk_minor_version != GTK_MINOR_VERSION) ||
28790 (gtk_micro_version != GTK_MICRO_VERSION))
28792 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28793 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28794 printf("*** library (version %d.%d.%d)\n",
28795 gtk_major_version, gtk_minor_version, gtk_micro_version);
28797 #endif /* defined (GTK_MAJOR_VERSION) ... */
28800 if ((gtk_major_version > major) ||
28801 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28802 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28808 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28809 gtk_major_version, gtk_minor_version, gtk_micro_version);
28810 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28811 major, minor, micro);
28812 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28814 printf("*** If you have already installed a sufficiently new version, this error\n");
28815 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28816 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28817 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28818 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28819 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28820 printf("*** so that the correct libraries are found at run-time))\n");
28827 rm -f conftest
$ac_exeext
28828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28829 (eval $ac_link) 2>&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28834 (eval $ac_try) 2>&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); }; }; then
28840 echo "$as_me: program exited with status $ac_status" >&5
28841 echo "$as_me: failed program was:" >&5
28842 sed 's/^/| /' conftest.
$ac_ext >&5
28844 ( exit $ac_status )
28847 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28849 CFLAGS
="$ac_save_CFLAGS"
28850 LIBS
="$ac_save_LIBS"
28853 if test "x$no_gtk" = x
; then
28854 echo "$as_me:$LINENO: result: yes" >&5
28855 echo "${ECHO_T}yes" >&6
28856 wx_cv_lib_gtk
=1.2.3
28858 echo "$as_me:$LINENO: result: no" >&5
28859 echo "${ECHO_T}no" >&6
28860 if test "$GTK_CONFIG" = "no" ; then
28861 echo "*** The gtk-config script installed by GTK could not be found"
28862 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28863 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28864 echo "*** full path to gtk-config."
28866 if test -f conf.gtktest
; then
28869 echo "*** Could not run GTK test program, checking why..."
28870 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28871 LIBS
="$LIBS $GTK_LIBS"
28872 cat >conftest.
$ac_ext <<_ACEOF
28875 cat confdefs.h
>>conftest.
$ac_ext
28876 cat >>conftest.
$ac_ext <<_ACEOF
28877 /* end confdefs.h. */
28879 #include <gtk/gtk.h>
28885 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28890 rm -f conftest.
$ac_objext conftest
$ac_exeext
28891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28892 (eval $ac_link) 2>conftest.er1
28894 grep -v '^ *+' conftest.er1
>conftest.err
28896 cat conftest.err
>&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); } &&
28899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28901 (eval $ac_try) 2>&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); }; } &&
28905 { ac_try
='test -s conftest$ac_exeext'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; }; then
28911 echo "*** The test program compiled, but did not run. This usually means"
28912 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28913 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28914 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28915 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28916 echo "*** is required on your system"
28918 echo "*** If you have an old version installed, it is best to remove it, although"
28919 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28921 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28922 echo "*** came with the system with the command"
28924 echo "*** rpm --erase --nodeps gtk gtk-devel"
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.
$ac_ext >&5
28929 echo "*** The test program failed to compile or link. See the file config.log for the"
28930 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28931 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28932 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28934 rm -f conftest.err conftest.
$ac_objext \
28935 conftest
$ac_exeext conftest.
$ac_ext
28936 CFLAGS
="$ac_save_CFLAGS"
28937 LIBS
="$ac_save_LIBS"
28952 if test -z "$wx_cv_lib_gtk"; then
28955 wx_cv_cflags_gtk
=$GTK_CFLAGS
28956 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28963 if test "$gtk_version_cached" = 1; then
28964 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28965 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28968 case "$wx_cv_lib_gtk" in
28977 *) { { echo "$as_me:$LINENO: error:
28978 The development files for GTK+ were not found. For GTK+ 2, please
28979 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28980 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28981 and that the version is 1.2.3 or above. Also check that the
28982 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28983 --libs' are in the LD_LIBRARY_PATH or equivalent.
28985 echo "$as_me: error:
28986 The development files for GTK+ were not found. For GTK+ 2, please
28987 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28988 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28989 and that the version is 1.2.3 or above. Also check that the
28990 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28991 --libs' are in the LD_LIBRARY_PATH or equivalent.
28993 { (exit 1); exit 1; }; }
28997 if test "$WXGTK20" = 1; then
28998 save_CFLAGS
="$CFLAGS"
29000 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
29001 LIBS
="$LIBS $wx_cv_libs_gtk"
29003 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29004 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29005 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29006 echo $ECHO_N "(cached) $ECHO_C" >&6
29008 cat >conftest.
$ac_ext <<_ACEOF
29011 cat confdefs.h
>>conftest.
$ac_ext
29012 cat >>conftest.
$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29014 #include <gtk/gtk.h>
29019 #ifndef gtk_icon_size_lookup
29020 char *p = (char *) gtk_icon_size_lookup;
29027 rm -f conftest.
$ac_objext
29028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29029 (eval $ac_compile) 2>conftest.er1
29031 grep -v '^ *+' conftest.er1
>conftest.err
29033 cat conftest.err
>&5
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); } &&
29036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29038 (eval $ac_try) 2>&5
29040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29041 (exit $ac_status); }; } &&
29042 { ac_try
='test -s conftest.$ac_objext'
29043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29044 (eval $ac_try) 2>&5
29046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047 (exit $ac_status); }; }; then
29048 ac_cv_have_decl_gtk_icon_size_lookup
=yes
29050 echo "$as_me: failed program was:" >&5
29051 sed 's/^/| /' conftest.
$ac_ext >&5
29053 ac_cv_have_decl_gtk_icon_size_lookup
=no
29055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29057 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29058 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29059 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29061 cat >>confdefs.h
<<_ACEOF
29062 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29067 cat >>confdefs.h
<<_ACEOF
29068 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29071 cat >>confdefs.h
<<\_ACEOF
29072 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29079 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29080 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29081 cat >conftest.
$ac_ext <<_ACEOF
29084 cat confdefs.h
>>conftest.
$ac_ext
29085 cat >>conftest.
$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29088 #include <gtk/gtk.h>
29094 #if !GTK_CHECK_VERSION(2,6,0)
29102 rm -f conftest.
$ac_objext
29103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29104 (eval $ac_compile) 2>conftest.er1
29106 grep -v '^ *+' conftest.er1
>conftest.err
29108 cat conftest.err
>&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); } &&
29111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29113 (eval $ac_try) 2>&5
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); }; } &&
29117 { ac_try
='test -s conftest.$ac_objext'
29118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29119 (eval $ac_try) 2>&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); }; }; then
29124 cat >>confdefs.h
<<\_ACEOF
29125 #define __WXGTK26__ 1
29128 cat >>confdefs.h
<<\_ACEOF
29129 #define __WXGTK24__ 1
29132 echo "$as_me:$LINENO: result: yes" >&5
29133 echo "${ECHO_T}yes" >&6
29137 echo "$as_me: failed program was:" >&5
29138 sed 's/^/| /' conftest.
$ac_ext >&5
29141 echo "$as_me:$LINENO: result: no" >&5
29142 echo "${ECHO_T}no" >&6
29146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29148 if test "$ac_wxgtk26" = 0; then
29149 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29150 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29151 cat >conftest.
$ac_ext <<_ACEOF
29154 cat confdefs.h
>>conftest.
$ac_ext
29155 cat >>conftest.
$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29158 #include <gtk/gtk.h>
29164 #if !GTK_CHECK_VERSION(2,4,0)
29172 rm -f conftest.
$ac_objext
29173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29174 (eval $ac_compile) 2>conftest.er1
29176 grep -v '^ *+' conftest.er1
>conftest.err
29178 cat conftest.err
>&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } &&
29181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; } &&
29187 { ac_try
='test -s conftest.$ac_objext'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; }; then
29194 cat >>confdefs.h
<<\_ACEOF
29195 #define __WXGTK24__ 1
29198 echo "$as_me:$LINENO: result: yes" >&5
29199 echo "${ECHO_T}yes" >&6
29202 echo "$as_me: failed program was:" >&5
29203 sed 's/^/| /' conftest.
$ac_ext >&5
29206 echo "$as_me:$LINENO: result: no" >&5
29207 echo "${ECHO_T}no" >&6
29210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29213 CFLAGS
="$save_CFLAGS"
29216 if test "$wxUSE_UNICODE" = "yes"; then
29217 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29218 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29222 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29223 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29224 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 ac_check_lib_save_LIBS
=$LIBS
29229 cat >conftest.
$ac_ext <<_ACEOF
29232 cat confdefs.h
>>conftest.
$ac_ext
29233 cat >>conftest.
$ac_ext <<_ACEOF
29234 /* end confdefs.h. */
29236 /* Override any gcc2 internal prototype to avoid an error. */
29240 /* We use char because int might match the return type of a gcc2
29241 builtin and then its argument prototype would still apply. */
29242 char gdk_im_open ();
29251 rm -f conftest.
$ac_objext conftest
$ac_exeext
29252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29253 (eval $ac_link) 2>conftest.er1
29255 grep -v '^ *+' conftest.er1
>conftest.err
29257 cat conftest.err
>&5
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); } &&
29260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; } &&
29266 { ac_try
='test -s conftest$ac_exeext'
29267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29268 (eval $ac_try) 2>&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; }; then
29272 ac_cv_lib_gdk_gdk_im_open
=yes
29274 echo "$as_me: failed program was:" >&5
29275 sed 's/^/| /' conftest.
$ac_ext >&5
29277 ac_cv_lib_gdk_gdk_im_open
=no
29279 rm -f conftest.err conftest.
$ac_objext \
29280 conftest
$ac_exeext conftest.
$ac_ext
29281 LIBS
=$ac_check_lib_save_LIBS
29283 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29284 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29285 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29286 cat >>confdefs.h
<<\_ACEOF
29295 ac_cpp
='$CXXCPP $CPPFLAGS'
29296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29301 if test "$USE_DARWIN" != 1; then
29303 for ac_func
in poll
29305 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29306 echo "$as_me:$LINENO: checking for $ac_func" >&5
29307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29308 if eval "test \"\${$as_ac_var+set}\" = set"; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29311 cat >conftest.
$ac_ext <<_ACEOF
29314 cat confdefs.h
>>conftest.
$ac_ext
29315 cat >>conftest.
$ac_ext <<_ACEOF
29316 /* end confdefs.h. */
29317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29319 #define $ac_func innocuous_$ac_func
29321 /* System header to define __stub macros and hopefully few prototypes,
29322 which can conflict with char $ac_func (); below.
29323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29324 <limits.h> exists even on freestanding compilers. */
29327 # include <limits.h>
29329 # include <assert.h>
29334 /* Override any gcc2 internal prototype to avoid an error. */
29339 /* We use char because int might match the return type of a gcc2
29340 builtin and then its argument prototype would still apply. */
29342 /* The GNU C library defines this for functions which it implements
29343 to always fail with ENOSYS. Some functions are actually named
29344 something starting with __ and the normal name is an alias. */
29345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29348 char (*f) () = $ac_func;
29357 return f != $ac_func;
29362 rm -f conftest.
$ac_objext conftest
$ac_exeext
29363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29364 (eval $ac_link) 2>conftest.er1
29366 grep -v '^ *+' conftest.er1
>conftest.err
29368 cat conftest.err
>&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } &&
29371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; } &&
29377 { ac_try
='test -s conftest$ac_exeext'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; }; then
29383 eval "$as_ac_var=yes"
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.
$ac_ext >&5
29388 eval "$as_ac_var=no"
29390 rm -f conftest.err conftest.
$ac_objext \
29391 conftest
$ac_exeext conftest.
$ac_ext
29393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29395 if test `eval echo '${'$as_ac_var'}'` = yes; then
29396 cat >>confdefs.h
<<_ACEOF
29397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29405 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29406 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29408 AFMINSTALL
=afminstall
29412 if test "$wxUSE_GPE" = "yes"; then
29413 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29414 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29417 for ac_dir
in $SEARCH_LIB;
29419 for ac_extension
in a so sl dylib dll.a
; do
29420 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29421 ac_find_libraries
=$ac_dir
29427 if test "$ac_find_libraries" != "" ; then
29429 if test "$ac_find_libraries" = "default location"; then
29432 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29434 if test $result = 0; then
29437 ac_path_to_link
=" -L$ac_find_libraries"
29441 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29443 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29444 echo "${ECHO_T}found in $ac_find_libraries" >&6
29446 echo "$as_me:$LINENO: result: not found" >&5
29447 echo "${ECHO_T}not found" >&6
29453 if test "$wxUSE_MGL" = 1; then
29454 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29455 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29456 if test "x$MGL_ROOT" = x
; then
29457 echo "$as_me:$LINENO: result: not found" >&5
29458 echo "${ECHO_T}not found" >&6
29459 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29460 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29461 { (exit 1); exit 1; }; }
29463 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29464 echo "${ECHO_T}$MGL_ROOT" >&6
29467 echo "$as_me:$LINENO: checking for libmgl location" >&5
29468 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29471 if test "x$wxUSE_SHARED" = xyes
; then
29472 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29474 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29478 mgl_os_candidates
="dos32/dj2"
29481 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29482 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29483 { (exit 1); exit 1; }; }
29489 for mgl_os_i
in $mgl_os_candidates ; do
29490 if test "x$mgl_os" = x
; then
29491 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29492 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29493 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29498 if test "x$mgl_lib_type" = x
; then
29499 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29500 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29501 mgl_lib_type
=release
29508 if test "x$mgl_os" = x
; then
29509 echo "$as_me:$LINENO: result: not found" >&5
29510 echo "${ECHO_T}not found" >&6
29511 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29512 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29513 { (exit 1); exit 1; }; }
29515 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29516 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29518 wxUSE_UNIVERSAL
="yes"
29520 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29521 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29523 AFMINSTALL
=afminstall
29528 if test "$wxUSE_DFB" = 1; then
29531 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29532 if test -n "$ac_tool_prefix"; then
29533 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29534 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29535 echo "$as_me:$LINENO: checking for $ac_word" >&5
29536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29537 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29540 case $PKG_CONFIG in
29542 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29546 for as_dir
in $PATH
29549 test -z "$as_dir" && as_dir
=.
29550 for ac_exec_ext
in '' $ac_executable_extensions; do
29551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29552 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29562 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29564 if test -n "$PKG_CONFIG"; then
29565 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29566 echo "${ECHO_T}$PKG_CONFIG" >&6
29568 echo "$as_me:$LINENO: result: no" >&5
29569 echo "${ECHO_T}no" >&6
29573 if test -z "$ac_cv_path_PKG_CONFIG"; then
29574 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29575 # Extract the first word of "pkg-config", so it can be a program name with args.
29576 set dummy pkg
-config; ac_word
=$2
29577 echo "$as_me:$LINENO: checking for $ac_word" >&5
29578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29579 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29582 case $ac_pt_PKG_CONFIG in
29584 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29588 for as_dir
in $PATH
29591 test -z "$as_dir" && as_dir
=.
29592 for ac_exec_ext
in '' $ac_executable_extensions; do
29593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29594 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29604 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29606 if test -n "$ac_pt_PKG_CONFIG"; then
29607 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29608 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29610 echo "$as_me:$LINENO: result: no" >&5
29611 echo "${ECHO_T}no" >&6
29614 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29616 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29620 if test -n "$PKG_CONFIG"; then
29621 _pkg_min_version
=0.9.0
29622 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29623 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29624 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29625 echo "$as_me:$LINENO: result: yes" >&5
29626 echo "${ECHO_T}yes" >&6
29628 echo "$as_me:$LINENO: result: no" >&5
29629 echo "${ECHO_T}no" >&6
29637 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29638 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29640 if test -n "$PKG_CONFIG"; then
29641 if test -n "$DIRECTFB_CFLAGS"; then
29642 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29644 if test -n "$PKG_CONFIG" && \
29645 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29646 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); }; then
29650 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29658 if test -n "$PKG_CONFIG"; then
29659 if test -n "$DIRECTFB_LIBS"; then
29660 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29662 if test -n "$PKG_CONFIG" && \
29663 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29664 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); }; then
29668 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29679 if test $pkg_failed = yes; then
29681 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29682 _pkg_short_errors_supported
=yes
29684 _pkg_short_errors_supported
=no
29686 if test $_pkg_short_errors_supported = yes; then
29687 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29689 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29691 # Put the nasty error message in config.log where it belongs
29692 echo "$DIRECTFB_PKG_ERRORS" >&5
29695 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29696 echo "$as_me: error: DirectFB not found." >&2;}
29697 { (exit 1); exit 1; }; }
29700 elif test $pkg_failed = untried
; then
29702 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29703 echo "$as_me: error: DirectFB not found." >&2;}
29704 { (exit 1); exit 1; }; }
29708 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29709 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29710 echo "$as_me:$LINENO: result: yes" >&5
29711 echo "${ECHO_T}yes" >&6
29713 wxUSE_UNIVERSAL
="yes"
29714 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29715 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29722 if test "$wxUSE_MICROWIN" = 1; then
29723 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29724 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29725 if test "x$MICROWINDOWS" = x
; then
29726 echo "$as_me:$LINENO: result: not found" >&5
29727 echo "${ECHO_T}not found" >&6
29728 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29729 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29730 { (exit 1); exit 1; }; }
29732 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29733 echo "${ECHO_T}$MICROWINDOWS" >&6
29736 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29737 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29738 echo "${ECHO_T}MicroWindows' libraries found." >&6
29740 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29741 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29742 { (exit 1); exit 1; }; }
29745 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29746 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29748 wxUSE_UNIVERSAL
="yes"
29750 AFMINSTALL
=afminstall
29752 GUIDIST
=MICROWIN_DIST
29754 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29757 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29759 if test "x$ac_path_x_has_been_run" != xyes
; then
29760 echo "$as_me:$LINENO: checking for X" >&5
29761 echo $ECHO_N "checking for X... $ECHO_C" >&6
29763 ac_path_x_has_been_run
=yes
29765 # Check whether --with-x or --without-x was given.
29766 if test "${with_x+set}" = set; then
29770 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29771 if test "x$with_x" = xno
; then
29772 # The user explicitly disabled X.
29775 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29776 # Both variables are already set.
29779 if test "${ac_cv_have_x+set}" = set; then
29780 echo $ECHO_N "(cached) $ECHO_C" >&6
29782 # One or both of the vars are not set, and there is no cached value.
29783 ac_x_includes
=no ac_x_libraries
=no
29784 rm -fr conftest.dir
29785 if mkdir conftest.dir
; then
29787 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29788 cat >Imakefile
<<'_ACEOF'
29790 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29792 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29793 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29794 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29795 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29796 for ac_extension
in a so sl
; do
29797 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29798 test -f $ac_im_libdir/libX11.
$ac_extension; then
29799 ac_im_usrlibdir
=$ac_im_libdir; break
29802 # Screen out bogus values from the imake configuration. They are
29803 # bogus both because they are the default anyway, and because
29804 # using them would break gcc on systems where it needs fixed includes.
29805 case $ac_im_incroot in
29807 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29809 case $ac_im_usrlibdir in
29810 /usr
/lib
| /lib
) ;;
29811 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29815 rm -fr conftest.dir
29818 # Standard set of common directories for X headers.
29819 # Check X11 before X11Rn because it is often a symlink to the current release.
29831 /usr/local/X11/include
29832 /usr/local/X11R6/include
29833 /usr/local/X11R5/include
29834 /usr/local/X11R4/include
29836 /usr/local/include/X11
29837 /usr/local/include/X11R6
29838 /usr/local/include/X11R5
29839 /usr/local/include/X11R4
29843 /usr/XFree86/include/X11
29847 /usr/unsupported/include
29848 /usr/athena/include
29849 /usr/local/x11r5/include
29850 /usr/lpp/Xamples/include
29852 /usr/openwin/include
29853 /usr/openwin/share/include'
29855 if test "$ac_x_includes" = no
; then
29856 # Guess where to find include files, by looking for a specified header file.
29857 # First, try using that file with no special directory specified.
29858 cat >conftest.
$ac_ext <<_ACEOF
29861 cat confdefs.h
>>conftest.
$ac_ext
29862 cat >>conftest.
$ac_ext <<_ACEOF
29863 /* end confdefs.h. */
29864 #include <X11/Xlib.h>
29866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29869 grep -v '^ *+' conftest.er1
>conftest.err
29871 cat conftest.err
>&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } >/dev
/null
; then
29874 if test -s conftest.err
; then
29875 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29876 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29883 if test -z "$ac_cpp_err"; then
29884 # We can compile using X headers with no special include directory.
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.
$ac_ext >&5
29890 for ac_dir
in $ac_x_header_dirs; do
29891 if test -r "$ac_dir/X11/Xlib.h"; then
29892 ac_x_includes
=$ac_dir
29897 rm -f conftest.err conftest.
$ac_ext
29898 fi # $ac_x_includes = no
29900 if test "$ac_x_libraries" = no
; then
29901 # Check for the libraries.
29902 # See if we find them without any special options.
29903 # Don't add to $LIBS permanently.
29906 cat >conftest.
$ac_ext <<_ACEOF
29909 cat confdefs.h
>>conftest.
$ac_ext
29910 cat >>conftest.
$ac_ext <<_ACEOF
29911 /* end confdefs.h. */
29912 #include <X11/Xlib.h>
29921 rm -f conftest.
$ac_objext conftest
$ac_exeext
29922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29923 (eval $ac_link) 2>conftest.er1
29925 grep -v '^ *+' conftest.er1
>conftest.err
29927 cat conftest.err
>&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); } &&
29930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } &&
29936 { ac_try
='test -s conftest$ac_exeext'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; }; then
29943 # We can link X programs with no special library path.
29946 echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.
$ac_ext >&5
29950 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29952 # Don't even attempt the hair of trying to link an X program!
29953 for ac_extension
in a so sl
; do
29954 if test -r $ac_dir/libX11.
$ac_extension; then
29955 ac_x_libraries
=$ac_dir
29961 rm -f conftest.err conftest.
$ac_objext \
29962 conftest
$ac_exeext conftest.
$ac_ext
29963 fi # $ac_x_libraries = no
29965 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29966 # Didn't find X anywhere. Cache the known absence of X.
29967 ac_cv_have_x
="have_x=no"
29969 # Record where we found X for the cache.
29970 ac_cv_have_x
="have_x=yes \
29971 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29976 eval "$ac_cv_have_x"
29979 if test "$have_x" != yes; then
29980 echo "$as_me:$LINENO: result: $have_x" >&5
29981 echo "${ECHO_T}$have_x" >&6
29984 # If each of the values was on the command line, it overrides each guess.
29985 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29986 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29987 # Update the cache value to reflect the command line values.
29988 ac_cv_have_x
="have_x=yes \
29989 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29990 # It might be that x_includes is empty (headers are found in the
29991 # standard search path. Then output the corresponding message
29992 ac_out_x_includes
=$x_includes
29993 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29994 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29995 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29999 if test "$no_x" = yes; then
30000 # Not all programs may use this symbol, but it does not hurt to define it.
30002 cat >>confdefs.h
<<\_ACEOF
30003 #define X_DISPLAY_MISSING 1
30006 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
30008 if test -n "$x_includes"; then
30009 X_CFLAGS
="$X_CFLAGS -I$x_includes"
30012 # It would also be nice to do this for all -L options, not just this one.
30013 if test -n "$x_libraries"; then
30014 X_LIBS
="$X_LIBS -L$x_libraries"
30015 # For Solaris; some versions of Sun CC require a space after -R and
30016 # others require no space. Words are not sufficient . . . .
30017 case `(uname -sr) 2>/dev/null` in
30019 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30020 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30021 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
30022 cat >conftest.
$ac_ext <<_ACEOF
30025 cat confdefs.h
>>conftest.
$ac_ext
30026 cat >>conftest.
$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30037 rm -f conftest.
$ac_objext conftest
$ac_exeext
30038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30039 (eval $ac_link) 2>conftest.er1
30041 grep -v '^ *+' conftest.er1
>conftest.err
30043 cat conftest.err
>&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); } &&
30046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try
='test -s conftest$ac_exeext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.
$ac_ext >&5
30065 rm -f conftest.err conftest.
$ac_objext \
30066 conftest
$ac_exeext conftest.
$ac_ext
30067 if test $ac_R_nospace = yes; then
30068 echo "$as_me:$LINENO: result: no" >&5
30069 echo "${ECHO_T}no" >&6
30070 X_LIBS
="$X_LIBS -R$x_libraries"
30072 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30073 cat >conftest.
$ac_ext <<_ACEOF
30076 cat confdefs.h
>>conftest.
$ac_ext
30077 cat >>conftest.
$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30088 rm -f conftest.
$ac_objext conftest
$ac_exeext
30089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30090 (eval $ac_link) 2>conftest.er1
30092 grep -v '^ *+' conftest.er1
>conftest.err
30094 cat conftest.err
>&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); } &&
30097 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
30103 { ac_try
='test -s conftest$ac_exeext'
30104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30105 (eval $ac_try) 2>&5
30107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108 (exit $ac_status); }; }; then
30111 echo "$as_me: failed program was:" >&5
30112 sed 's/^/| /' conftest.
$ac_ext >&5
30116 rm -f conftest.err conftest.
$ac_objext \
30117 conftest
$ac_exeext conftest.
$ac_ext
30118 if test $ac_R_space = yes; then
30119 echo "$as_me:$LINENO: result: yes" >&5
30120 echo "${ECHO_T}yes" >&6
30121 X_LIBS
="$X_LIBS -R $x_libraries"
30123 echo "$as_me:$LINENO: result: neither works" >&5
30124 echo "${ECHO_T}neither works" >&6
30127 LIBS
=$ac_xsave_LIBS
30131 # Check for system-dependent libraries X programs must link with.
30132 # Do this before checking for the system-independent R6 libraries
30133 # (-lICE), since we may need -lsocket or whatever for X linking.
30135 if test "$ISC" = yes; then
30136 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30138 # Martyn Johnson says this is needed for Ultrix, if the X
30139 # libraries were built with DECnet support. And Karl Berry says
30140 # the Alpha needs dnet_stub (dnet does not exist).
30141 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30142 cat >conftest.
$ac_ext <<_ACEOF
30145 cat confdefs.h
>>conftest.
$ac_ext
30146 cat >>conftest.
$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30149 /* Override any gcc2 internal prototype to avoid an error. */
30153 /* We use char because int might match the return type of a gcc2
30154 builtin and then its argument prototype would still apply. */
30155 char XOpenDisplay ();
30164 rm -f conftest.
$ac_objext conftest
$ac_exeext
30165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30166 (eval $ac_link) 2>conftest.er1
30168 grep -v '^ *+' conftest.er1
>conftest.err
30170 cat conftest.err
>&5
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); } &&
30173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30175 (eval $ac_try) 2>&5
30177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); }; } &&
30179 { ac_try
='test -s conftest$ac_exeext'
30180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30181 (eval $ac_try) 2>&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); }; }; then
30187 echo "$as_me: failed program was:" >&5
30188 sed 's/^/| /' conftest.
$ac_ext >&5
30190 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30191 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30192 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30193 echo $ECHO_N "(cached) $ECHO_C" >&6
30195 ac_check_lib_save_LIBS
=$LIBS
30196 LIBS
="-ldnet $LIBS"
30197 cat >conftest.
$ac_ext <<_ACEOF
30200 cat confdefs.h
>>conftest.
$ac_ext
30201 cat >>conftest.
$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30204 /* Override any gcc2 internal prototype to avoid an error. */
30208 /* We use char because int might match the return type of a gcc2
30209 builtin and then its argument prototype would still apply. */
30219 rm -f conftest.
$ac_objext conftest
$ac_exeext
30220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30221 (eval $ac_link) 2>conftest.er1
30223 grep -v '^ *+' conftest.er1
>conftest.err
30225 cat conftest.err
>&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30230 (eval $ac_try) 2>&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; } &&
30234 { ac_try
='test -s conftest$ac_exeext'
30235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30236 (eval $ac_try) 2>&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); }; }; then
30240 ac_cv_lib_dnet_dnet_ntoa
=yes
30242 echo "$as_me: failed program was:" >&5
30243 sed 's/^/| /' conftest.
$ac_ext >&5
30245 ac_cv_lib_dnet_dnet_ntoa
=no
30247 rm -f conftest.err conftest.
$ac_objext \
30248 conftest
$ac_exeext conftest.
$ac_ext
30249 LIBS
=$ac_check_lib_save_LIBS
30251 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30252 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30253 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30254 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30257 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30259 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30260 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30261 echo $ECHO_N "(cached) $ECHO_C" >&6
30263 ac_check_lib_save_LIBS
=$LIBS
30264 LIBS
="-ldnet_stub $LIBS"
30265 cat >conftest.
$ac_ext <<_ACEOF
30268 cat confdefs.h
>>conftest.
$ac_ext
30269 cat >>conftest.
$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30272 /* Override any gcc2 internal prototype to avoid an error. */
30276 /* We use char because int might match the return type of a gcc2
30277 builtin and then its argument prototype would still apply. */
30287 rm -f conftest.
$ac_objext conftest
$ac_exeext
30288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30289 (eval $ac_link) 2>conftest.er1
30291 grep -v '^ *+' conftest.er1
>conftest.err
30293 cat conftest.err
>&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); } &&
30296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30298 (eval $ac_try) 2>&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); }; } &&
30302 { ac_try
='test -s conftest$ac_exeext'
30303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30304 (eval $ac_try) 2>&5
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); }; }; then
30308 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30310 echo "$as_me: failed program was:" >&5
30311 sed 's/^/| /' conftest.
$ac_ext >&5
30313 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30315 rm -f conftest.err conftest.
$ac_objext \
30316 conftest
$ac_exeext conftest.
$ac_ext
30317 LIBS
=$ac_check_lib_save_LIBS
30319 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30320 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30321 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30322 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30327 rm -f conftest.err conftest.
$ac_objext \
30328 conftest
$ac_exeext conftest.
$ac_ext
30329 LIBS
="$ac_xsave_LIBS"
30331 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30332 # to get the SysV transport functions.
30333 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30335 # The nsl library prevents programs from opening the X display
30336 # on Irix 5.2, according to T.E. Dickey.
30337 # The functions gethostbyname, getservbyname, and inet_addr are
30338 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30339 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30340 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30341 if test "${ac_cv_func_gethostbyname+set}" = set; then
30342 echo $ECHO_N "(cached) $ECHO_C" >&6
30344 cat >conftest.
$ac_ext <<_ACEOF
30347 cat confdefs.h
>>conftest.
$ac_ext
30348 cat >>conftest.
$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30350 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30352 #define gethostbyname innocuous_gethostbyname
30354 /* System header to define __stub macros and hopefully few prototypes,
30355 which can conflict with char gethostbyname (); below.
30356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30357 <limits.h> exists even on freestanding compilers. */
30360 # include <limits.h>
30362 # include <assert.h>
30365 #undef gethostbyname
30367 /* Override any gcc2 internal prototype to avoid an error. */
30372 /* We use char because int might match the return type of a gcc2
30373 builtin and then its argument prototype would still apply. */
30374 char gethostbyname ();
30375 /* The GNU C library defines this for functions which it implements
30376 to always fail with ENOSYS. Some functions are actually named
30377 something starting with __ and the normal name is an alias. */
30378 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30381 char (*f) () = gethostbyname;
30390 return f != gethostbyname;
30395 rm -f conftest.
$ac_objext conftest
$ac_exeext
30396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30397 (eval $ac_link) 2>conftest.er1
30399 grep -v '^ *+' conftest.er1
>conftest.err
30401 cat conftest.err
>&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } &&
30404 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30406 (eval $ac_try) 2>&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); }; } &&
30410 { ac_try
='test -s conftest$ac_exeext'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; }; then
30416 ac_cv_func_gethostbyname
=yes
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.
$ac_ext >&5
30421 ac_cv_func_gethostbyname
=no
30423 rm -f conftest.err conftest.
$ac_objext \
30424 conftest
$ac_exeext conftest.
$ac_ext
30426 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30427 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30429 if test $ac_cv_func_gethostbyname = no
; then
30430 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30431 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30432 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30433 echo $ECHO_N "(cached) $ECHO_C" >&6
30435 ac_check_lib_save_LIBS
=$LIBS
30437 cat >conftest.
$ac_ext <<_ACEOF
30440 cat confdefs.h
>>conftest.
$ac_ext
30441 cat >>conftest.
$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30444 /* Override any gcc2 internal prototype to avoid an error. */
30448 /* We use char because int might match the return type of a gcc2
30449 builtin and then its argument prototype would still apply. */
30450 char gethostbyname ();
30459 rm -f conftest.
$ac_objext conftest
$ac_exeext
30460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30461 (eval $ac_link) 2>conftest.er1
30463 grep -v '^ *+' conftest.er1
>conftest.err
30465 cat conftest.err
>&5
30466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30467 (exit $ac_status); } &&
30468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30470 (eval $ac_try) 2>&5
30472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30473 (exit $ac_status); }; } &&
30474 { ac_try
='test -s conftest$ac_exeext'
30475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30476 (eval $ac_try) 2>&5
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); }; }; then
30480 ac_cv_lib_nsl_gethostbyname
=yes
30482 echo "$as_me: failed program was:" >&5
30483 sed 's/^/| /' conftest.
$ac_ext >&5
30485 ac_cv_lib_nsl_gethostbyname
=no
30487 rm -f conftest.err conftest.
$ac_objext \
30488 conftest
$ac_exeext conftest.
$ac_ext
30489 LIBS
=$ac_check_lib_save_LIBS
30491 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30492 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30493 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30494 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30497 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30498 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30499 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30500 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30501 echo $ECHO_N "(cached) $ECHO_C" >&6
30503 ac_check_lib_save_LIBS
=$LIBS
30505 cat >conftest.
$ac_ext <<_ACEOF
30508 cat confdefs.h
>>conftest.
$ac_ext
30509 cat >>conftest.
$ac_ext <<_ACEOF
30510 /* end confdefs.h. */
30512 /* Override any gcc2 internal prototype to avoid an error. */
30516 /* We use char because int might match the return type of a gcc2
30517 builtin and then its argument prototype would still apply. */
30518 char gethostbyname ();
30527 rm -f conftest.
$ac_objext conftest
$ac_exeext
30528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30529 (eval $ac_link) 2>conftest.er1
30531 grep -v '^ *+' conftest.er1
>conftest.err
30533 cat conftest.err
>&5
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); } &&
30536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; } &&
30542 { ac_try
='test -s conftest$ac_exeext'
30543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30544 (eval $ac_try) 2>&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); }; }; then
30548 ac_cv_lib_bsd_gethostbyname
=yes
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.
$ac_ext >&5
30553 ac_cv_lib_bsd_gethostbyname
=no
30555 rm -f conftest.err conftest.
$ac_objext \
30556 conftest
$ac_exeext conftest.
$ac_ext
30557 LIBS
=$ac_check_lib_save_LIBS
30559 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30560 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30561 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30562 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30568 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30569 # socket/setsockopt and other routines are undefined under SCO ODT
30570 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30571 # on later versions), says Simon Leinen: it contains gethostby*
30572 # variants that don't use the name server (or something). -lsocket
30573 # must be given before -lnsl if both are needed. We assume that
30574 # if connect needs -lnsl, so does gethostbyname.
30575 echo "$as_me:$LINENO: checking for connect" >&5
30576 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30577 if test "${ac_cv_func_connect+set}" = set; then
30578 echo $ECHO_N "(cached) $ECHO_C" >&6
30580 cat >conftest.
$ac_ext <<_ACEOF
30583 cat confdefs.h
>>conftest.
$ac_ext
30584 cat >>conftest.
$ac_ext <<_ACEOF
30585 /* end confdefs.h. */
30586 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30588 #define connect innocuous_connect
30590 /* System header to define __stub macros and hopefully few prototypes,
30591 which can conflict with char connect (); below.
30592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30593 <limits.h> exists even on freestanding compilers. */
30596 # include <limits.h>
30598 # include <assert.h>
30603 /* Override any gcc2 internal prototype to avoid an error. */
30608 /* We use char because int might match the return type of a gcc2
30609 builtin and then its argument prototype would still apply. */
30611 /* The GNU C library defines this for functions which it implements
30612 to always fail with ENOSYS. Some functions are actually named
30613 something starting with __ and the normal name is an alias. */
30614 #if defined (__stub_connect) || defined (__stub___connect)
30617 char (*f) () = connect;
30626 return f != connect;
30631 rm -f conftest.
$ac_objext conftest
$ac_exeext
30632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30633 (eval $ac_link) 2>conftest.er1
30635 grep -v '^ *+' conftest.er1
>conftest.err
30637 cat conftest.err
>&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } &&
30640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30642 (eval $ac_try) 2>&5
30644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30645 (exit $ac_status); }; } &&
30646 { ac_try
='test -s conftest$ac_exeext'
30647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30648 (eval $ac_try) 2>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); }; }; then
30652 ac_cv_func_connect
=yes
30654 echo "$as_me: failed program was:" >&5
30655 sed 's/^/| /' conftest.
$ac_ext >&5
30657 ac_cv_func_connect
=no
30659 rm -f conftest.err conftest.
$ac_objext \
30660 conftest
$ac_exeext conftest.
$ac_ext
30662 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30663 echo "${ECHO_T}$ac_cv_func_connect" >&6
30665 if test $ac_cv_func_connect = no
; then
30666 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30667 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30668 if test "${ac_cv_lib_socket_connect+set}" = set; then
30669 echo $ECHO_N "(cached) $ECHO_C" >&6
30671 ac_check_lib_save_LIBS
=$LIBS
30672 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30673 cat >conftest.
$ac_ext <<_ACEOF
30676 cat confdefs.h
>>conftest.
$ac_ext
30677 cat >>conftest.
$ac_ext <<_ACEOF
30678 /* end confdefs.h. */
30680 /* Override any gcc2 internal prototype to avoid an error. */
30684 /* We use char because int might match the return type of a gcc2
30685 builtin and then its argument prototype would still apply. */
30695 rm -f conftest.
$ac_objext conftest
$ac_exeext
30696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30697 (eval $ac_link) 2>conftest.er1
30699 grep -v '^ *+' conftest.er1
>conftest.err
30701 cat conftest.err
>&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); } &&
30704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30706 (eval $ac_try) 2>&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); }; } &&
30710 { ac_try
='test -s conftest$ac_exeext'
30711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30712 (eval $ac_try) 2>&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; }; then
30716 ac_cv_lib_socket_connect
=yes
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.
$ac_ext >&5
30721 ac_cv_lib_socket_connect
=no
30723 rm -f conftest.err conftest.
$ac_objext \
30724 conftest
$ac_exeext conftest.
$ac_ext
30725 LIBS
=$ac_check_lib_save_LIBS
30727 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30728 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30729 if test $ac_cv_lib_socket_connect = yes; then
30730 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30735 # Guillermo Gomez says -lposix is necessary on A/UX.
30736 echo "$as_me:$LINENO: checking for remove" >&5
30737 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30738 if test "${ac_cv_func_remove+set}" = set; then
30739 echo $ECHO_N "(cached) $ECHO_C" >&6
30741 cat >conftest.
$ac_ext <<_ACEOF
30744 cat confdefs.h
>>conftest.
$ac_ext
30745 cat >>conftest.
$ac_ext <<_ACEOF
30746 /* end confdefs.h. */
30747 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30749 #define remove innocuous_remove
30751 /* System header to define __stub macros and hopefully few prototypes,
30752 which can conflict with char remove (); below.
30753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30754 <limits.h> exists even on freestanding compilers. */
30757 # include <limits.h>
30759 # include <assert.h>
30764 /* Override any gcc2 internal prototype to avoid an error. */
30769 /* We use char because int might match the return type of a gcc2
30770 builtin and then its argument prototype would still apply. */
30772 /* The GNU C library defines this for functions which it implements
30773 to always fail with ENOSYS. Some functions are actually named
30774 something starting with __ and the normal name is an alias. */
30775 #if defined (__stub_remove) || defined (__stub___remove)
30778 char (*f) () = remove;
30787 return f != remove;
30792 rm -f conftest.
$ac_objext conftest
$ac_exeext
30793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30794 (eval $ac_link) 2>conftest.er1
30796 grep -v '^ *+' conftest.er1
>conftest.err
30798 cat conftest.err
>&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); } &&
30801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30803 (eval $ac_try) 2>&5
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); }; } &&
30807 { ac_try
='test -s conftest$ac_exeext'
30808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30809 (eval $ac_try) 2>&5
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); }; }; then
30813 ac_cv_func_remove
=yes
30815 echo "$as_me: failed program was:" >&5
30816 sed 's/^/| /' conftest.
$ac_ext >&5
30818 ac_cv_func_remove
=no
30820 rm -f conftest.err conftest.
$ac_objext \
30821 conftest
$ac_exeext conftest.
$ac_ext
30823 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30824 echo "${ECHO_T}$ac_cv_func_remove" >&6
30826 if test $ac_cv_func_remove = no
; then
30827 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30828 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30829 if test "${ac_cv_lib_posix_remove+set}" = set; then
30830 echo $ECHO_N "(cached) $ECHO_C" >&6
30832 ac_check_lib_save_LIBS
=$LIBS
30833 LIBS
="-lposix $LIBS"
30834 cat >conftest.
$ac_ext <<_ACEOF
30837 cat confdefs.h
>>conftest.
$ac_ext
30838 cat >>conftest.
$ac_ext <<_ACEOF
30839 /* end confdefs.h. */
30841 /* Override any gcc2 internal prototype to avoid an error. */
30845 /* We use char because int might match the return type of a gcc2
30846 builtin and then its argument prototype would still apply. */
30856 rm -f conftest.
$ac_objext conftest
$ac_exeext
30857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30858 (eval $ac_link) 2>conftest.er1
30860 grep -v '^ *+' conftest.er1
>conftest.err
30862 cat conftest.err
>&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); } &&
30865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867 (eval $ac_try) 2>&5
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); }; } &&
30871 { ac_try
='test -s conftest$ac_exeext'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; }; then
30877 ac_cv_lib_posix_remove
=yes
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.
$ac_ext >&5
30882 ac_cv_lib_posix_remove
=no
30884 rm -f conftest.err conftest.
$ac_objext \
30885 conftest
$ac_exeext conftest.
$ac_ext
30886 LIBS
=$ac_check_lib_save_LIBS
30888 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30889 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30890 if test $ac_cv_lib_posix_remove = yes; then
30891 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30896 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30897 echo "$as_me:$LINENO: checking for shmat" >&5
30898 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30899 if test "${ac_cv_func_shmat+set}" = set; then
30900 echo $ECHO_N "(cached) $ECHO_C" >&6
30902 cat >conftest.
$ac_ext <<_ACEOF
30905 cat confdefs.h
>>conftest.
$ac_ext
30906 cat >>conftest.
$ac_ext <<_ACEOF
30907 /* end confdefs.h. */
30908 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30910 #define shmat innocuous_shmat
30912 /* System header to define __stub macros and hopefully few prototypes,
30913 which can conflict with char shmat (); below.
30914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30915 <limits.h> exists even on freestanding compilers. */
30918 # include <limits.h>
30920 # include <assert.h>
30925 /* Override any gcc2 internal prototype to avoid an error. */
30930 /* We use char because int might match the return type of a gcc2
30931 builtin and then its argument prototype would still apply. */
30933 /* The GNU C library defines this for functions which it implements
30934 to always fail with ENOSYS. Some functions are actually named
30935 something starting with __ and the normal name is an alias. */
30936 #if defined (__stub_shmat) || defined (__stub___shmat)
30939 char (*f) () = shmat;
30953 rm -f conftest.
$ac_objext conftest
$ac_exeext
30954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30955 (eval $ac_link) 2>conftest.er1
30957 grep -v '^ *+' conftest.er1
>conftest.err
30959 cat conftest.err
>&5
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); } &&
30962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964 (eval $ac_try) 2>&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; } &&
30968 { ac_try
='test -s conftest$ac_exeext'
30969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30970 (eval $ac_try) 2>&5
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; }; then
30974 ac_cv_func_shmat
=yes
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.
$ac_ext >&5
30979 ac_cv_func_shmat
=no
30981 rm -f conftest.err conftest.
$ac_objext \
30982 conftest
$ac_exeext conftest.
$ac_ext
30984 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30985 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30987 if test $ac_cv_func_shmat = no
; then
30988 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30989 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30990 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30991 echo $ECHO_N "(cached) $ECHO_C" >&6
30993 ac_check_lib_save_LIBS
=$LIBS
30995 cat >conftest.
$ac_ext <<_ACEOF
30998 cat confdefs.h
>>conftest.
$ac_ext
30999 cat >>conftest.
$ac_ext <<_ACEOF
31000 /* end confdefs.h. */
31002 /* Override any gcc2 internal prototype to avoid an error. */
31006 /* We use char because int might match the return type of a gcc2
31007 builtin and then its argument prototype would still apply. */
31017 rm -f conftest.
$ac_objext conftest
$ac_exeext
31018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31019 (eval $ac_link) 2>conftest.er1
31021 grep -v '^ *+' conftest.er1
>conftest.err
31023 cat conftest.err
>&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } &&
31026 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31028 (eval $ac_try) 2>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; } &&
31032 { ac_try
='test -s conftest$ac_exeext'
31033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31034 (eval $ac_try) 2>&5
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; }; then
31038 ac_cv_lib_ipc_shmat
=yes
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.
$ac_ext >&5
31043 ac_cv_lib_ipc_shmat
=no
31045 rm -f conftest.err conftest.
$ac_objext \
31046 conftest
$ac_exeext conftest.
$ac_ext
31047 LIBS
=$ac_check_lib_save_LIBS
31049 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31050 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31051 if test $ac_cv_lib_ipc_shmat = yes; then
31052 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31058 # Check for libraries that X11R6 Xt/Xaw programs need.
31059 ac_save_LDFLAGS
=$LDFLAGS
31060 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31061 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31062 # check for ICE first), but we must link in the order -lSM -lICE or
31063 # we get undefined symbols. So assume we have SM if we have ICE.
31064 # These have to be linked with before -lX11, unlike the other
31065 # libraries we check for below, so use a different variable.
31066 # John Interrante, Karl Berry
31067 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31068 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31069 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31070 echo $ECHO_N "(cached) $ECHO_C" >&6
31072 ac_check_lib_save_LIBS
=$LIBS
31073 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31074 cat >conftest.
$ac_ext <<_ACEOF
31077 cat confdefs.h
>>conftest.
$ac_ext
31078 cat >>conftest.
$ac_ext <<_ACEOF
31079 /* end confdefs.h. */
31081 /* Override any gcc2 internal prototype to avoid an error. */
31085 /* We use char because int might match the return type of a gcc2
31086 builtin and then its argument prototype would still apply. */
31087 char IceConnectionNumber ();
31091 IceConnectionNumber ();
31096 rm -f conftest.
$ac_objext conftest
$ac_exeext
31097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31098 (eval $ac_link) 2>conftest.er1
31100 grep -v '^ *+' conftest.er1
>conftest.err
31102 cat conftest.err
>&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } &&
31105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; } &&
31111 { ac_try
='test -s conftest$ac_exeext'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; }; then
31117 ac_cv_lib_ICE_IceConnectionNumber
=yes
31119 echo "$as_me: failed program was:" >&5
31120 sed 's/^/| /' conftest.
$ac_ext >&5
31122 ac_cv_lib_ICE_IceConnectionNumber
=no
31124 rm -f conftest.err conftest.
$ac_objext \
31125 conftest
$ac_exeext conftest.
$ac_ext
31126 LIBS
=$ac_check_lib_save_LIBS
31128 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31129 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31130 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31131 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31134 LDFLAGS
=$ac_save_LDFLAGS
31139 if test "$no_x" = "yes"; then
31140 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31141 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31142 { (exit 1); exit 1; }; }
31145 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31146 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31147 AFMINSTALL
=afminstall
31148 COMPILED_X_PROGRAM
=0
31152 if test "$wxUSE_X11" = 1; then
31153 if test "$wxUSE_NANOX" = "yes"; then
31154 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31155 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31156 if test "x$MICROWIN" = x
; then
31157 echo "$as_me:$LINENO: result: not found" >&5
31158 echo "${ECHO_T}not found" >&6
31159 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31160 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31161 { (exit 1); exit 1; }; }
31163 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31164 echo "${ECHO_T}$MICROWIN" >&6
31165 cat >>confdefs.h
<<\_ACEOF
31166 #define wxUSE_NANOX 1
31172 if test "$wxUSE_UNICODE" = "yes"; then
31175 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31176 if test -n "$ac_tool_prefix"; then
31177 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31178 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31179 echo "$as_me:$LINENO: checking for $ac_word" >&5
31180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31181 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31182 echo $ECHO_N "(cached) $ECHO_C" >&6
31184 case $PKG_CONFIG in
31186 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31190 for as_dir
in $PATH
31193 test -z "$as_dir" && as_dir
=.
31194 for ac_exec_ext
in '' $ac_executable_extensions; do
31195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31196 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31206 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31208 if test -n "$PKG_CONFIG"; then
31209 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31210 echo "${ECHO_T}$PKG_CONFIG" >&6
31212 echo "$as_me:$LINENO: result: no" >&5
31213 echo "${ECHO_T}no" >&6
31217 if test -z "$ac_cv_path_PKG_CONFIG"; then
31218 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31219 # Extract the first word of "pkg-config", so it can be a program name with args.
31220 set dummy pkg
-config; ac_word
=$2
31221 echo "$as_me:$LINENO: checking for $ac_word" >&5
31222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31223 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31224 echo $ECHO_N "(cached) $ECHO_C" >&6
31226 case $ac_pt_PKG_CONFIG in
31228 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31232 for as_dir
in $PATH
31235 test -z "$as_dir" && as_dir
=.
31236 for ac_exec_ext
in '' $ac_executable_extensions; do
31237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31238 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31248 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31250 if test -n "$ac_pt_PKG_CONFIG"; then
31251 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31252 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31254 echo "$as_me:$LINENO: result: no" >&5
31255 echo "${ECHO_T}no" >&6
31258 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31260 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31264 if test -n "$PKG_CONFIG"; then
31265 _pkg_min_version
=0.9.0
31266 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31267 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31268 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31269 echo "$as_me:$LINENO: result: yes" >&5
31270 echo "${ECHO_T}yes" >&6
31272 echo "$as_me:$LINENO: result: no" >&5
31273 echo "${ECHO_T}no" >&6
31281 echo "$as_me:$LINENO: checking for PANGOX" >&5
31282 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31284 if test -n "$PKG_CONFIG"; then
31285 if test -n "$PANGOX_CFLAGS"; then
31286 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31288 if test -n "$PKG_CONFIG" && \
31289 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31290 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; then
31294 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31302 if test -n "$PKG_CONFIG"; then
31303 if test -n "$PANGOX_LIBS"; then
31304 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31306 if test -n "$PKG_CONFIG" && \
31307 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31308 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; then
31312 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31323 if test $pkg_failed = yes; then
31325 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31326 _pkg_short_errors_supported
=yes
31328 _pkg_short_errors_supported
=no
31330 if test $_pkg_short_errors_supported = yes; then
31331 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31333 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31335 # Put the nasty error message in config.log where it belongs
31336 echo "$PANGOX_PKG_ERRORS" >&5
31339 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31340 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31341 { (exit 1); exit 1; }; }
31344 elif test $pkg_failed = untried
; then
31346 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31347 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31348 { (exit 1); exit 1; }; }
31352 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31353 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31354 echo "$as_me:$LINENO: result: yes" >&5
31355 echo "${ECHO_T}yes" >&6
31357 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31358 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31363 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31364 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31366 if test -n "$PKG_CONFIG"; then
31367 if test -n "$PANGOFT2_CFLAGS"; then
31368 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31370 if test -n "$PKG_CONFIG" && \
31371 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31372 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; then
31376 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31384 if test -n "$PKG_CONFIG"; then
31385 if test -n "$PANGOFT2_LIBS"; then
31386 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31388 if test -n "$PKG_CONFIG" && \
31389 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31390 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; then
31394 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31405 if test $pkg_failed = yes; then
31407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31408 _pkg_short_errors_supported
=yes
31410 _pkg_short_errors_supported
=no
31412 if test $_pkg_short_errors_supported = yes; then
31413 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31415 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31417 # Put the nasty error message in config.log where it belongs
31418 echo "$PANGOFT2_PKG_ERRORS" >&5
31421 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31422 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31423 wxUSE_PRINTING_ARCHITECTURE
="no"
31426 elif test $pkg_failed = untried
; then
31428 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31429 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31430 wxUSE_PRINTING_ARCHITECTURE
="no"
31434 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31435 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31436 echo "$as_me:$LINENO: result: yes" >&5
31437 echo "${ECHO_T}yes" >&6
31439 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31440 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31445 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31446 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31448 if test -n "$PKG_CONFIG"; then
31449 if test -n "$PANGOXFT_CFLAGS"; then
31450 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31452 if test -n "$PKG_CONFIG" && \
31453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31454 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); }; then
31458 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31466 if test -n "$PKG_CONFIG"; then
31467 if test -n "$PANGOXFT_LIBS"; then
31468 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31470 if test -n "$PKG_CONFIG" && \
31471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31472 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475 (exit $ac_status); }; then
31476 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31487 if test $pkg_failed = yes; then
31489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31490 _pkg_short_errors_supported
=yes
31492 _pkg_short_errors_supported
=no
31494 if test $_pkg_short_errors_supported = yes; then
31495 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31497 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31499 # Put the nasty error message in config.log where it belongs
31500 echo "$PANGOXFT_PKG_ERRORS" >&5
31503 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31504 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31507 elif test $pkg_failed = untried
; then
31509 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31510 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31514 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31515 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31516 echo "$as_me:$LINENO: result: yes" >&5
31517 echo "${ECHO_T}yes" >&6
31519 cat >>confdefs.h
<<\_ACEOF
31520 #define HAVE_PANGO_XFT 1
31523 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31524 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31527 save_CXXFLAGS
="$CXXFLAGS"
31529 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31530 LIBS
="$LIBS $PANGOX_LIBS"
31532 for ac_func
in pango_font_family_is_monospace
31534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31535 echo "$as_me:$LINENO: checking for $ac_func" >&5
31536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31537 if eval "test \"\${$as_ac_var+set}\" = set"; then
31538 echo $ECHO_N "(cached) $ECHO_C" >&6
31540 cat >conftest.
$ac_ext <<_ACEOF
31543 cat confdefs.h
>>conftest.
$ac_ext
31544 cat >>conftest.
$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31548 #define $ac_func innocuous_$ac_func
31550 /* System header to define __stub macros and hopefully few prototypes,
31551 which can conflict with char $ac_func (); below.
31552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31553 <limits.h> exists even on freestanding compilers. */
31556 # include <limits.h>
31558 # include <assert.h>
31563 /* Override any gcc2 internal prototype to avoid an error. */
31568 /* We use char because int might match the return type of a gcc2
31569 builtin and then its argument prototype would still apply. */
31571 /* The GNU C library defines this for functions which it implements
31572 to always fail with ENOSYS. Some functions are actually named
31573 something starting with __ and the normal name is an alias. */
31574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31577 char (*f) () = $ac_func;
31586 return f != $ac_func;
31591 rm -f conftest.
$ac_objext conftest
$ac_exeext
31592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31593 (eval $ac_link) 2>conftest.er1
31595 grep -v '^ *+' conftest.er1
>conftest.err
31597 cat conftest.err
>&5
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); } &&
31600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31602 (eval $ac_try) 2>&5
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); }; } &&
31606 { ac_try
='test -s conftest$ac_exeext'
31607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31608 (eval $ac_try) 2>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; }; then
31612 eval "$as_ac_var=yes"
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.
$ac_ext >&5
31617 eval "$as_ac_var=no"
31619 rm -f conftest.err conftest.
$ac_objext \
31620 conftest
$ac_exeext conftest.
$ac_ext
31622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31624 if test `eval echo '${'$as_ac_var'}'` = yes; then
31625 cat >>confdefs.h
<<_ACEOF
31626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31632 CXXFLAGS
="$save_CXXFLAGS"
31636 wxUSE_UNIVERSAL
="yes"
31638 if test "$wxUSE_NANOX" = "yes"; then
31639 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31640 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"
31641 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31643 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31650 if test "$wxUSE_MOTIF" = 1; then
31651 if test "$wxUSE_UNICODE" = "yes"; then
31652 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31653 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31654 { (exit 1); exit 1; }; }
31657 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31658 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31661 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31663 if test -f "$ac_dir/Xm/Xm.h"; then
31664 ac_find_includes
=$ac_dir
31669 if test "$ac_find_includes" != "" ; then
31670 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31671 echo "${ECHO_T}found in $ac_find_includes" >&6
31673 if test "x$ac_find_includes" = "x/usr/include"; then
31674 ac_path_to_include
=""
31676 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31678 if test $result = 0; then
31679 ac_path_to_include
=""
31681 ac_path_to_include
=" -I$ac_find_includes"
31685 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31687 save_CXXFLAGS
=$CXXFLAGS
31688 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31690 cat >conftest.
$ac_ext <<_ACEOF
31693 cat confdefs.h
>>conftest.
$ac_ext
31694 cat >>conftest.
$ac_ext <<_ACEOF
31695 /* end confdefs.h. */
31704 version = xmUseVersion;
31710 rm -f conftest.
$ac_objext
31711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31712 (eval $ac_compile) 2>conftest.er1
31714 grep -v '^ *+' conftest.er1
>conftest.err
31716 cat conftest.err
>&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); } &&
31719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721 (eval $ac_try) 2>&5
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; } &&
31725 { ac_try
='test -s conftest.$ac_objext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31732 echo "$as_me:$LINENO: result: found in default search path" >&5
31733 echo "${ECHO_T}found in default search path" >&6
31734 COMPILED_X_PROGRAM
=1
31737 echo "$as_me: failed program was:" >&5
31738 sed 's/^/| /' conftest.
$ac_ext >&5
31741 echo "$as_me:$LINENO: result: no" >&5
31742 echo "${ECHO_T}no" >&6
31743 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31744 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31745 { (exit 1); exit 1; }; }
31749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31751 CXXFLAGS
=$save_CXXFLAGS
31755 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31756 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31759 for ac_dir
in $SEARCH_LIB;
31761 for ac_extension
in a so sl dylib dll.a
; do
31762 if test -f "$ac_dir/libXm.$ac_extension"; then
31763 ac_find_libraries
=$ac_dir
31770 if test "x$ac_find_libraries" != "x" ; then
31771 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31772 echo "${ECHO_T}found in $ac_find_libraries" >&6
31775 if test "$ac_find_libraries" = "default location"; then
31778 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31780 if test $result = 0; then
31783 ac_path_to_link
=" -L$ac_find_libraries"
31787 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31789 save_CXXFLAGS
=$CXXFLAGS
31790 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31792 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31794 cat >conftest.
$ac_ext <<_ACEOF
31797 cat confdefs.h
>>conftest.
$ac_ext
31798 cat >>conftest.
$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31808 version = xmUseVersion;
31814 rm -f conftest.
$ac_objext conftest
$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816 (eval $ac_link) 2>conftest.er1
31818 grep -v '^ *+' conftest.er1
>conftest.err
31820 cat conftest.err
>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } &&
31823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; } &&
31829 { ac_try
='test -s conftest$ac_exeext'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31836 echo "$as_me:$LINENO: result: found in default search path" >&5
31837 echo "${ECHO_T}found in default search path" >&6
31838 COMPILED_X_PROGRAM
=1
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.
$ac_ext >&5
31845 echo "$as_me:$LINENO: result: no" >&5
31846 echo "${ECHO_T}no" >&6
31847 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31848 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31849 { (exit 1); exit 1; }; }
31853 rm -f conftest.err conftest.
$ac_objext \
31854 conftest
$ac_exeext conftest.
$ac_ext
31856 CXXFLAGS
=$save_CXXFLAGS
31860 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31861 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31865 for libp
in "" " -lXp"; do
31866 if test "$libs_found" = "0"; then
31867 for libsm_ice
in "" " -lSM -lICE"; do
31868 if test "$libs_found" = "0"; then
31870 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31871 save_CXXFLAGS
=$CXXFLAGS
31872 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31874 cat >conftest.
$ac_ext <<_ACEOF
31877 cat confdefs.h
>>conftest.
$ac_ext
31878 cat >>conftest.
$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31882 #include <Xm/List.h>
31888 XmString string = NULL;
31891 XmListAddItem(w, string, position);
31897 rm -f conftest.
$ac_objext conftest
$ac_exeext
31898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31899 (eval $ac_link) 2>conftest.er1
31901 grep -v '^ *+' conftest.er1
>conftest.err
31903 cat conftest.err
>&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } &&
31906 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908 (eval $ac_try) 2>&5
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); }; } &&
31912 { ac_try
='test -s conftest$ac_exeext'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; }; then
31920 libsm_ice_link
="$libsm_ice"
31921 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31922 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.
$ac_ext >&5
31932 rm -f conftest.err conftest.
$ac_objext \
31933 conftest
$ac_exeext conftest.
$ac_ext
31936 CXXFLAGS
=$save_CXXFLAGS
31942 if test "$libs_found" = "0"; then
31943 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31944 echo "${ECHO_T}can't find the right libraries" >&6
31945 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31946 echo "$as_me: error: can't link a simple motif program" >&2;}
31947 { (exit 1); exit 1; }; }
31950 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31951 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31952 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31953 echo $ECHO_N "(cached) $ECHO_C" >&6
31955 ac_check_lib_save_LIBS
=$LIBS
31957 cat >conftest.
$ac_ext <<_ACEOF
31960 cat confdefs.h
>>conftest.
$ac_ext
31961 cat >>conftest.
$ac_ext <<_ACEOF
31962 /* end confdefs.h. */
31964 /* Override any gcc2 internal prototype to avoid an error. */
31968 /* We use char because int might match the return type of a gcc2
31969 builtin and then its argument prototype would still apply. */
31970 char SgCreateList ();
31979 rm -f conftest.
$ac_objext conftest
$ac_exeext
31980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31981 (eval $ac_link) 2>conftest.er1
31983 grep -v '^ *+' conftest.er1
>conftest.err
31985 cat conftest.err
>&5
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); } &&
31988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31990 (eval $ac_try) 2>&5
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); }; } &&
31994 { ac_try
='test -s conftest$ac_exeext'
31995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31996 (eval $ac_try) 2>&5
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); }; }; then
32000 ac_cv_lib_Sgm_SgCreateList
=yes
32002 echo "$as_me: failed program was:" >&5
32003 sed 's/^/| /' conftest.
$ac_ext >&5
32005 ac_cv_lib_Sgm_SgCreateList
=no
32007 rm -f conftest.err conftest.
$ac_objext \
32008 conftest
$ac_exeext conftest.
$ac_ext
32009 LIBS
=$ac_check_lib_save_LIBS
32011 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32012 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32013 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32014 libsgm_link
=" -lSgm"
32018 save_CXXFLAGS
=$CXXFLAGS
32019 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32021 echo "$as_me:$LINENO: checking for Motif 2" >&5
32022 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32023 if test "${wx_cv_lib_motif2+set}" = set; then
32024 echo $ECHO_N "(cached) $ECHO_C" >&6
32026 cat >conftest.
$ac_ext <<_ACEOF
32029 cat confdefs.h
>>conftest.
$ac_ext
32030 cat >>conftest.
$ac_ext <<_ACEOF
32031 /* end confdefs.h. */
32039 #if XmVersion < 2000
32047 rm -f conftest.
$ac_objext
32048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32049 (eval $ac_compile) 2>conftest.er1
32051 grep -v '^ *+' conftest.er1
>conftest.err
32053 cat conftest.err
>&5
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); } &&
32056 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32058 (eval $ac_try) 2>&5
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); }; } &&
32062 { ac_try
='test -s conftest.$ac_objext'
32063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32064 (eval $ac_try) 2>&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); }; }; then
32068 wx_cv_lib_motif2
="yes"
32070 echo "$as_me: failed program was:" >&5
32071 sed 's/^/| /' conftest.
$ac_ext >&5
32073 wx_cv_lib_motif2
="no"
32075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32077 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32078 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32079 if test "$wx_cv_lib_motif2" = "yes"; then
32080 cat >>confdefs.h
<<\_ACEOF
32081 #define __WXMOTIF20__ 1
32085 cat >>confdefs.h
<<\_ACEOF
32086 #define __WXMOTIF20__ 0
32091 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32092 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32093 if test "${wx_cv_lib_lesstif+set}" = set; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 cat >conftest.
$ac_ext <<_ACEOF
32099 cat confdefs.h
>>conftest.
$ac_ext
32100 cat >>conftest.
$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32109 #if !defined(LesstifVersion) || LesstifVersion <= 0
32117 rm -f conftest.
$ac_objext
32118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32119 (eval $ac_compile) 2>conftest.er1
32121 grep -v '^ *+' conftest.er1
>conftest.err
32123 cat conftest.err
>&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; } &&
32132 { ac_try
='test -s conftest.$ac_objext'
32133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32134 (eval $ac_try) 2>&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); }; }; then
32138 wx_cv_lib_lesstif
="yes"
32140 echo "$as_me: failed program was:" >&5
32141 sed 's/^/| /' conftest.
$ac_ext >&5
32143 wx_cv_lib_lesstif
="no"
32145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32148 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32149 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32150 if test "$wx_cv_lib_lesstif" = "yes"; then
32151 cat >>confdefs.h
<<\_ACEOF
32152 #define __WXLESSTIF__ 1
32156 cat >>confdefs.h
<<\_ACEOF
32157 #define __WXLESSTIF__ 0
32162 CXXFLAGS
=$save_CXXFLAGS
32164 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32169 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32170 if test "$wxUSE_LIBXPM" = "sys"; then
32171 echo "$as_me:$LINENO: checking for Xpm library" >&5
32172 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32175 for ac_dir
in $SEARCH_LIB;
32177 for ac_extension
in a so sl dylib dll.a
; do
32178 if test -f "$ac_dir/libXpm.$ac_extension"; then
32179 ac_find_libraries
=$ac_dir
32185 if test "$ac_find_libraries" != "" ; then
32187 if test "$ac_find_libraries" = "default location"; then
32190 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32192 if test $result = 0; then
32195 ac_path_to_link
=" -L$ac_find_libraries"
32199 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32200 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32201 echo "${ECHO_T}found in $ac_find_libraries" >&6
32203 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32204 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32205 if test "${wx_cv_x11_xpm_h+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32209 save_CXXFLAGS
=$CXXFLAGS
32210 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32212 cat >conftest.
$ac_ext <<_ACEOF
32215 cat confdefs.h
>>conftest.
$ac_ext
32216 cat >>conftest.
$ac_ext <<_ACEOF
32217 /* end confdefs.h. */
32219 #include <X11/xpm.h>
32226 version = XpmLibraryVersion();
32232 rm -f conftest.
$ac_objext
32233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32234 (eval $ac_compile) 2>conftest.er1
32236 grep -v '^ *+' conftest.er1
>conftest.err
32238 cat conftest.err
>&5
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); } &&
32241 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32243 (eval $ac_try) 2>&5
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; } &&
32247 { ac_try
='test -s conftest.$ac_objext'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; }; then
32253 wx_cv_x11_xpm_h
=yes
32255 echo "$as_me: failed program was:" >&5
32256 sed 's/^/| /' conftest.
$ac_ext >&5
32261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32263 CXXFLAGS
=$save_CXXFLAGS
32267 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32268 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32270 if test $wx_cv_x11_xpm_h = "yes"; then
32271 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32272 cat >>confdefs.h
<<\_ACEOF
32273 #define wxHAVE_LIB_XPM 1
32277 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32278 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32284 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32285 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32286 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32289 ac_check_lib_save_LIBS
=$LIBS
32290 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32291 cat >conftest.
$ac_ext <<_ACEOF
32294 cat confdefs.h
>>conftest.
$ac_ext
32295 cat >>conftest.
$ac_ext <<_ACEOF
32296 /* end confdefs.h. */
32298 /* Override any gcc2 internal prototype to avoid an error. */
32302 /* We use char because int might match the return type of a gcc2
32303 builtin and then its argument prototype would still apply. */
32304 char XShapeQueryExtension ();
32308 XShapeQueryExtension ();
32313 rm -f conftest.
$ac_objext conftest
$ac_exeext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32315 (eval $ac_link) 2>conftest.er1
32317 grep -v '^ *+' conftest.er1
>conftest.err
32319 cat conftest.err
>&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } &&
32322 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; } &&
32328 { ac_try
='test -s conftest$ac_exeext'
32329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32330 (eval $ac_try) 2>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); }; }; then
32334 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32336 echo "$as_me: failed program was:" >&5
32337 sed 's/^/| /' conftest.
$ac_ext >&5
32339 ac_cv_lib_Xext_XShapeQueryExtension
=no
32341 rm -f conftest.err conftest.
$ac_objext \
32342 conftest
$ac_exeext conftest.
$ac_ext
32343 LIBS
=$ac_check_lib_save_LIBS
32345 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32346 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32347 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32349 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32355 if test "$wxHAVE_XEXT_LIB" = 1; then
32356 save_CXXFLAGS
="$CXXFLAGS"
32357 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32359 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32360 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32361 cat >conftest.
$ac_ext <<_ACEOF
32364 cat confdefs.h
>>conftest.
$ac_ext
32365 cat >>conftest.
$ac_ext <<_ACEOF
32366 /* end confdefs.h. */
32368 #include <X11/Xlib.h>
32369 #include <X11/extensions/shape.h>
32375 int dummy1, dummy2;
32376 XShapeQueryExtension((Display*)NULL,
32377 (int*)NULL, (int*)NULL);
32383 rm -f conftest.
$ac_objext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32385 (eval $ac_compile) 2>conftest.er1
32387 grep -v '^ *+' conftest.er1
>conftest.err
32389 cat conftest.err
>&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; } &&
32398 { ac_try
='test -s conftest.$ac_objext'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; }; then
32405 cat >>confdefs.h
<<\_ACEOF
32406 #define HAVE_XSHAPE 1
32409 echo "$as_me:$LINENO: result: found" >&5
32410 echo "${ECHO_T}found" >&6
32413 echo "$as_me: failed program was:" >&5
32414 sed 's/^/| /' conftest.
$ac_ext >&5
32417 echo "$as_me:$LINENO: result: not found" >&5
32418 echo "${ECHO_T}not found" >&6
32421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32422 CXXFLAGS
="$save_CXXFLAGS"
32427 if test "$wxUSE_MAC" = 1; then
32428 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32429 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32430 if test "$GCC" = yes; then
32431 echo "$as_me:$LINENO: result: gcc" >&5
32432 echo "${ECHO_T}gcc" >&6
32433 CPPFLAGS_PASCAL
="-fpascal-strings"
32434 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32435 echo "$as_me:$LINENO: result: xlc" >&5
32436 echo "${ECHO_T}xlc" >&6
32437 CPPFLAGS_PASCAL
="-qmacpstr"
32439 echo "$as_me:$LINENO: result: none" >&5
32440 echo "${ECHO_T}none" >&6
32443 if test "x$wxUSE_UNIX" = "xyes"; then
32444 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32446 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32451 WXBASEPORT
="_carbon"
32454 if test "$wxUSE_COCOA" = 1; then
32459 if test "$wxUSE_PM" = 1; then
32462 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32463 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32464 if test "${wx_cv_spbcdata+set}" = set; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32468 cat >conftest.
$ac_ext <<_ACEOF
32471 cat confdefs.h
>>conftest.
$ac_ext
32472 cat >>conftest.
$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32488 rm -f conftest.
$ac_objext
32489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32490 (eval $ac_compile) 2>conftest.er1
32492 grep -v '^ *+' conftest.er1
>conftest.err
32494 cat conftest.err
>&5
32495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496 (exit $ac_status); } &&
32497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32499 (eval $ac_try) 2>&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); }; } &&
32503 { ac_try
='test -s conftest.$ac_objext'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; }; then
32511 echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.
$ac_ext >&5
32517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32521 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32522 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32524 if test $wx_cv_spbcdata = "yes"; then
32525 cat >>confdefs.h
<<\_ACEOF
32526 #define HAVE_SPBCDATA 1
32532 if test "$TOOLKIT" = "PM" ; then
32535 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32538 if test "$wxUSE_UNIVERSAL" = "yes"; then
32539 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32543 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32544 DISTDIR
="wx\$(TOOLKIT)"
32550 if test "$USE_WIN32" = 1 ; then
32554 GUIDIST
="BASE_DIST"
32559 if test "$wxUSE_GUI" = "yes"; then
32560 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32562 for ac_header
in X
11/Xlib.h
32564 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32566 echo "$as_me:$LINENO: checking for $ac_header" >&5
32567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32574 # Is the header compilable?
32575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32577 cat >conftest.
$ac_ext <<_ACEOF
32580 cat confdefs.h
>>conftest.
$ac_ext
32581 cat >>conftest.
$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32583 $ac_includes_default
32584 #include <$ac_header>
32586 rm -f conftest.
$ac_objext
32587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32588 (eval $ac_compile) 2>conftest.er1
32590 grep -v '^ *+' conftest.er1
>conftest.err
32592 cat conftest.err
>&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); } &&
32595 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32597 (eval $ac_try) 2>&5
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); }; } &&
32601 { ac_try
='test -s conftest.$ac_objext'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }; then
32607 ac_header_compiler
=yes
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.
$ac_ext >&5
32612 ac_header_compiler
=no
32614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32616 echo "${ECHO_T}$ac_header_compiler" >&6
32618 # Is the header present?
32619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32621 cat >conftest.
$ac_ext <<_ACEOF
32624 cat confdefs.h
>>conftest.
$ac_ext
32625 cat >>conftest.
$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32627 #include <$ac_header>
32629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32632 grep -v '^ *+' conftest.er1
>conftest.err
32634 cat conftest.err
>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); } >/dev
/null
; then
32637 if test -s conftest.err
; then
32638 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32639 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32646 if test -z "$ac_cpp_err"; then
32647 ac_header_preproc
=yes
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.
$ac_ext >&5
32652 ac_header_preproc
=no
32654 rm -f conftest.err conftest.
$ac_ext
32655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32656 echo "${ECHO_T}$ac_header_preproc" >&6
32658 # So? What about this header?
32659 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32665 ac_header_preproc
=yes
32668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32682 ## ----------------------------------------- ##
32683 ## Report this to wx-dev@lists.wxwidgets.org ##
32684 ## ----------------------------------------- ##
32687 sed "s/^/$as_me: WARNING: /" >&2
32690 echo "$as_me:$LINENO: checking for $ac_header" >&5
32691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32693 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 eval "$as_ac_Header=\$ac_header_preproc"
32697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32702 cat >>confdefs.h
<<_ACEOF
32703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32711 for ac_header
in X
11/XKBlib.h
32713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32714 echo "$as_me:$LINENO: checking for $ac_header" >&5
32715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32717 echo $ECHO_N "(cached) $ECHO_C" >&6
32719 cat >conftest.
$ac_ext <<_ACEOF
32722 cat confdefs.h
>>conftest.
$ac_ext
32723 cat >>conftest.
$ac_ext <<_ACEOF
32724 /* end confdefs.h. */
32726 #if HAVE_X11_XLIB_H
32727 #include <X11/Xlib.h>
32731 #include <$ac_header>
32733 rm -f conftest.
$ac_objext
32734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32735 (eval $ac_compile) 2>conftest.er1
32737 grep -v '^ *+' conftest.er1
>conftest.err
32739 cat conftest.err
>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); } &&
32742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32744 (eval $ac_try) 2>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); }; } &&
32748 { ac_try
='test -s conftest.$ac_objext'
32749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32750 (eval $ac_try) 2>&5
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); }; }; then
32754 eval "$as_ac_Header=yes"
32756 echo "$as_me: failed program was:" >&5
32757 sed 's/^/| /' conftest.
$ac_ext >&5
32759 eval "$as_ac_Header=no"
32761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32766 cat >>confdefs.h
<<_ACEOF
32767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32782 if test "$TOOLKIT" != "MSW" ; then
32784 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32786 if test "${ac_cv_header_sql_h+set}" = set; then
32787 echo "$as_me:$LINENO: checking for sql.h" >&5
32788 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32789 if test "${ac_cv_header_sql_h+set}" = set; then
32790 echo $ECHO_N "(cached) $ECHO_C" >&6
32792 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32793 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32795 # Is the header compilable?
32796 echo "$as_me:$LINENO: checking sql.h usability" >&5
32797 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32798 cat >conftest.
$ac_ext <<_ACEOF
32801 cat confdefs.h
>>conftest.
$ac_ext
32802 cat >>conftest.
$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804 $ac_includes_default
32807 rm -f conftest.
$ac_objext
32808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32809 (eval $ac_compile) 2>conftest.er1
32811 grep -v '^ *+' conftest.er1
>conftest.err
32813 cat conftest.err
>&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); } &&
32816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32818 (eval $ac_try) 2>&5
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); }; } &&
32822 { ac_try
='test -s conftest.$ac_objext'
32823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32824 (eval $ac_try) 2>&5
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); }; }; then
32828 ac_header_compiler
=yes
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.
$ac_ext >&5
32833 ac_header_compiler
=no
32835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32837 echo "${ECHO_T}$ac_header_compiler" >&6
32839 # Is the header present?
32840 echo "$as_me:$LINENO: checking sql.h presence" >&5
32841 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32842 cat >conftest.
$ac_ext <<_ACEOF
32845 cat confdefs.h
>>conftest.
$ac_ext
32846 cat >>conftest.
$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32853 grep -v '^ *+' conftest.er1
>conftest.err
32855 cat conftest.err
>&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); } >/dev
/null
; then
32858 if test -s conftest.err
; then
32859 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32860 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32867 if test -z "$ac_cpp_err"; then
32868 ac_header_preproc
=yes
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.
$ac_ext >&5
32873 ac_header_preproc
=no
32875 rm -f conftest.err conftest.
$ac_ext
32876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32877 echo "${ECHO_T}$ac_header_preproc" >&6
32879 # So? What about this header?
32880 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32882 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32883 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32884 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32885 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32886 ac_header_preproc
=yes
32889 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32890 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32891 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32892 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32893 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32894 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32895 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32896 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32897 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32898 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32899 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32900 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32903 ## ----------------------------------------- ##
32904 ## Report this to wx-dev@lists.wxwidgets.org ##
32905 ## ----------------------------------------- ##
32908 sed "s/^/$as_me: WARNING: /" >&2
32911 echo "$as_me:$LINENO: checking for sql.h" >&5
32912 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32913 if test "${ac_cv_header_sql_h+set}" = set; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32916 ac_cv_header_sql_h
=$ac_header_preproc
32918 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32919 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32922 if test $ac_cv_header_sql_h = yes; then
32927 if test "x$found_sql_h" = "x1" ; then
32928 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32929 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32930 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32931 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 ac_check_lib_save_LIBS
=$LIBS
32934 LIBS
="-liodbc $LIBS"
32935 cat >conftest.
$ac_ext <<_ACEOF
32938 cat confdefs.h
>>conftest.
$ac_ext
32939 cat >>conftest.
$ac_ext <<_ACEOF
32940 /* end confdefs.h. */
32942 /* Override any gcc2 internal prototype to avoid an error. */
32946 /* We use char because int might match the return type of a gcc2
32947 builtin and then its argument prototype would still apply. */
32948 char SQLAllocEnv ();
32957 rm -f conftest.
$ac_objext conftest
$ac_exeext
32958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32959 (eval $ac_link) 2>conftest.er1
32961 grep -v '^ *+' conftest.er1
>conftest.err
32963 cat conftest.err
>&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); } &&
32966 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32968 (eval $ac_try) 2>&5
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); }; } &&
32972 { ac_try
='test -s conftest$ac_exeext'
32973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32974 (eval $ac_try) 2>&5
32976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32977 (exit $ac_status); }; }; then
32978 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32980 echo "$as_me: failed program was:" >&5
32981 sed 's/^/| /' conftest.
$ac_ext >&5
32983 ac_cv_lib_iodbc_SQLAllocEnv
=no
32985 rm -f conftest.err conftest.
$ac_objext \
32986 conftest
$ac_exeext conftest.
$ac_ext
32987 LIBS
=$ac_check_lib_save_LIBS
32989 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32990 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32991 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32992 ODBC_LINK
=" -liodbc"
32995 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32996 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32997 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 ac_check_lib_save_LIBS
=$LIBS
33001 LIBS
="-lunixodbc $LIBS"
33002 cat >conftest.
$ac_ext <<_ACEOF
33005 cat confdefs.h
>>conftest.
$ac_ext
33006 cat >>conftest.
$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33009 /* Override any gcc2 internal prototype to avoid an error. */
33013 /* We use char because int might match the return type of a gcc2
33014 builtin and then its argument prototype would still apply. */
33015 char SQLAllocEnv ();
33024 rm -f conftest.
$ac_objext conftest
$ac_exeext
33025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33026 (eval $ac_link) 2>conftest.er1
33028 grep -v '^ *+' conftest.er1
>conftest.err
33030 cat conftest.err
>&5
33031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33032 (exit $ac_status); } &&
33033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; } &&
33039 { ac_try
='test -s conftest$ac_exeext'
33040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041 (eval $ac_try) 2>&5
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); }; }; then
33045 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
33047 echo "$as_me: failed program was:" >&5
33048 sed 's/^/| /' conftest.
$ac_ext >&5
33050 ac_cv_lib_unixodbc_SQLAllocEnv
=no
33052 rm -f conftest.err conftest.
$ac_objext \
33053 conftest
$ac_exeext conftest.
$ac_ext
33054 LIBS
=$ac_check_lib_save_LIBS
33056 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33057 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33058 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33059 ODBC_LINK
=" -lunixodbc"
33062 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33063 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33064 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 ac_check_lib_save_LIBS
=$LIBS
33068 LIBS
="-lodbc $LIBS"
33069 cat >conftest.
$ac_ext <<_ACEOF
33072 cat confdefs.h
>>conftest.
$ac_ext
33073 cat >>conftest.
$ac_ext <<_ACEOF
33074 /* end confdefs.h. */
33076 /* Override any gcc2 internal prototype to avoid an error. */
33080 /* We use char because int might match the return type of a gcc2
33081 builtin and then its argument prototype would still apply. */
33082 char SQLAllocEnv ();
33091 rm -f conftest.
$ac_objext conftest
$ac_exeext
33092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33093 (eval $ac_link) 2>conftest.er1
33095 grep -v '^ *+' conftest.er1
>conftest.err
33097 cat conftest.err
>&5
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); } &&
33100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33102 (eval $ac_try) 2>&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); }; } &&
33106 { ac_try
='test -s conftest$ac_exeext'
33107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33108 (eval $ac_try) 2>&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; }; then
33112 ac_cv_lib_odbc_SQLAllocEnv
=yes
33114 echo "$as_me: failed program was:" >&5
33115 sed 's/^/| /' conftest.
$ac_ext >&5
33117 ac_cv_lib_odbc_SQLAllocEnv
=no
33119 rm -f conftest.err conftest.
$ac_objext \
33120 conftest
$ac_exeext conftest.
$ac_ext
33121 LIBS
=$ac_check_lib_save_LIBS
33123 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33124 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33125 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33126 ODBC_LINK
=" -lodbc"
33136 if test "x$ODBC_LINK" = "x" ; then
33137 if test "$wxUSE_ODBC" = "sys" ; then
33138 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33139 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33140 { (exit 1); exit 1; }; }
33142 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33143 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33151 if test "$wxUSE_ODBC" = "builtin" ; then
33152 cat >>confdefs.h
<<\_ACEOF
33153 #define wxUSE_BUILTIN_IODBC 1
33159 if test "$wxUSE_ODBC" != "no" ; then
33160 cat >>confdefs.h
<<\_ACEOF
33161 #define wxUSE_ODBC 1
33164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33166 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
33170 if test "$wxUSE_DISPLAY" = "yes"; then
33171 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33172 echo "$as_me:$LINENO: checking for Xinerama" >&5
33173 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33176 for ac_dir
in $SEARCH_LIB;
33178 for ac_extension
in a so sl dylib dll.a
; do
33179 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33180 ac_find_libraries
=$ac_dir
33186 if test "$ac_find_libraries" != "" ; then
33188 if test "$ac_find_libraries" = "default location"; then
33191 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33193 if test $result = 0; then
33196 ac_path_to_link
=" -L$ac_find_libraries"
33200 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33201 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33203 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33204 echo "$as_me:$LINENO: result: yes" >&5
33205 echo "${ECHO_T}yes" >&6
33207 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33208 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33211 for ac_dir
in $SEARCH_LIB;
33213 for ac_extension
in a so sl dylib dll.a
; do
33214 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33215 ac_find_libraries
=$ac_dir
33221 if test "$ac_find_libraries" != "" ; then
33222 echo "$as_me:$LINENO: result: yes" >&5
33223 echo "${ECHO_T}yes" >&6
33225 for ac_header
in X
11/extensions
/xf86vmode.h
33227 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33228 echo "$as_me:$LINENO: checking for $ac_header" >&5
33229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33231 echo $ECHO_N "(cached) $ECHO_C" >&6
33233 cat >conftest.
$ac_ext <<_ACEOF
33236 cat confdefs.h
>>conftest.
$ac_ext
33237 cat >>conftest.
$ac_ext <<_ACEOF
33238 /* end confdefs.h. */
33240 #if HAVE_X11_XLIB_H
33241 #include <X11/Xlib.h>
33245 #include <$ac_header>
33247 rm -f conftest.
$ac_objext
33248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33249 (eval $ac_compile) 2>conftest.er1
33251 grep -v '^ *+' conftest.er1
>conftest.err
33253 cat conftest.err
>&5
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); } &&
33256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33258 (eval $ac_try) 2>&5
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); }; } &&
33262 { ac_try
='test -s conftest.$ac_objext'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; }; then
33268 eval "$as_ac_Header=yes"
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.
$ac_ext >&5
33273 eval "$as_ac_Header=no"
33275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33280 cat >>confdefs.h
<<_ACEOF
33281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33284 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33291 echo "$as_me:$LINENO: result: no" >&5
33292 echo "${ECHO_T}no" >&6
33296 echo "$as_me:$LINENO: result: no" >&5
33297 echo "${ECHO_T}no" >&6
33298 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33299 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33302 elif test "$wxUSE_MSW" = 1; then
33304 for ac_header
in ddraw.h
33306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33307 echo "$as_me:$LINENO: checking for $ac_header" >&5
33308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33310 echo $ECHO_N "(cached) $ECHO_C" >&6
33312 cat >conftest.
$ac_ext <<_ACEOF
33315 cat confdefs.h
>>conftest.
$ac_ext
33316 cat >>conftest.
$ac_ext <<_ACEOF
33317 /* end confdefs.h. */
33318 #include <windows.h>
33320 #include <$ac_header>
33322 rm -f conftest.
$ac_objext
33323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33324 (eval $ac_compile) 2>conftest.er1
33326 grep -v '^ *+' conftest.er1
>conftest.err
33328 cat conftest.err
>&5
33329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330 (exit $ac_status); } &&
33331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33333 (eval $ac_try) 2>&5
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); }; } &&
33337 { ac_try
='test -s conftest.$ac_objext'
33338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33339 (eval $ac_try) 2>&5
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); }; }; then
33343 eval "$as_ac_Header=yes"
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.
$ac_ext >&5
33348 eval "$as_ac_Header=no"
33350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33355 cat >>confdefs.h
<<_ACEOF
33356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33366 if test "$wxUSE_DETECT_SM" = "yes"; then
33367 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33368 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33369 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33372 for ac_dir
in $SEARCH_LIB;
33374 for ac_extension
in a so sl dylib dll.a
; do
33375 if test -f "$ac_dir/libSM.$ac_extension"; then
33376 ac_find_libraries
=$ac_dir
33382 if test "$ac_find_libraries" != "" ; then
33384 if test "$ac_find_libraries" = "default location"; then
33387 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33389 if test $result = 0; then
33392 ac_path_to_link
=" -L$ac_find_libraries"
33396 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33397 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33399 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33400 echo "$as_me:$LINENO: result: yes" >&5
33401 echo "${ECHO_T}yes" >&6
33403 echo "$as_me:$LINENO: result: no" >&5
33404 echo "${ECHO_T}no" >&6
33405 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33406 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33407 wxUSE_DETECT_SM
="no"
33410 wxUSE_DETECT_SM
="no"
33417 if test "$wxUSE_OPENGL" = "yes"; then
33418 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33419 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33420 elif test "$wxUSE_MSW" = 1; then
33421 OPENGL_LIBS
="-lopengl32 -lglu32"
33426 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33428 if test -f "$ac_dir/GL/gl.h"; then
33429 ac_find_includes
=$ac_dir
33434 if test "$ac_find_includes" != "" ; then
33435 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33436 echo "${ECHO_T}found in $ac_find_includes" >&6
33438 if test "x$ac_find_includes" = "x/usr/include"; then
33439 ac_path_to_include
=""
33441 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33443 if test $result = 0; then
33444 ac_path_to_include
=""
33446 ac_path_to_include
=" -I$ac_find_includes"
33450 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33453 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33454 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33455 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33456 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33457 echo $ECHO_N "(cached) $ECHO_C" >&6
33459 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33460 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33462 # Is the header compilable?
33463 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33464 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33465 cat >conftest.
$ac_ext <<_ACEOF
33468 cat confdefs.h
>>conftest.
$ac_ext
33469 cat >>conftest.
$ac_ext <<_ACEOF
33470 /* end confdefs.h. */
33471 $ac_includes_default
33474 rm -f conftest.
$ac_objext
33475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33476 (eval $ac_compile) 2>conftest.er1
33478 grep -v '^ *+' conftest.er1
>conftest.err
33480 cat conftest.err
>&5
33481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33482 (exit $ac_status); } &&
33483 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33485 (eval $ac_try) 2>&5
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); }; } &&
33489 { ac_try
='test -s conftest.$ac_objext'
33490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33491 (eval $ac_try) 2>&5
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); }; }; then
33495 ac_header_compiler
=yes
33497 echo "$as_me: failed program was:" >&5
33498 sed 's/^/| /' conftest.
$ac_ext >&5
33500 ac_header_compiler
=no
33502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33504 echo "${ECHO_T}$ac_header_compiler" >&6
33506 # Is the header present?
33507 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33508 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33509 cat >conftest.
$ac_ext <<_ACEOF
33512 cat confdefs.h
>>conftest.
$ac_ext
33513 cat >>conftest.
$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33520 grep -v '^ *+' conftest.er1
>conftest.err
33522 cat conftest.err
>&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); } >/dev
/null
; then
33525 if test -s conftest.err
; then
33526 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33527 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33534 if test -z "$ac_cpp_err"; then
33535 ac_header_preproc
=yes
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.
$ac_ext >&5
33540 ac_header_preproc
=no
33542 rm -f conftest.err conftest.
$ac_ext
33543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33544 echo "${ECHO_T}$ac_header_preproc" >&6
33546 # So? What about this header?
33547 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33549 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33550 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33551 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33552 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33553 ac_header_preproc
=yes
33556 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33557 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33558 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33559 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33560 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33561 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33562 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33563 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33564 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33565 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33566 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33567 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33570 ## ----------------------------------------- ##
33571 ## Report this to wx-dev@lists.wxwidgets.org ##
33572 ## ----------------------------------------- ##
33575 sed "s/^/$as_me: WARNING: /" >&2
33578 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33579 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33580 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33581 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 ac_cv_header_GL_gl_h
=$ac_header_preproc
33585 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33586 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33589 if test $ac_cv_header_GL_gl_h = yes; then
33593 echo "$as_me:$LINENO: checking for -lGL" >&5
33594 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33597 for ac_dir
in $SEARCH_LIB;
33599 for ac_extension
in a so sl dylib dll.a
; do
33600 if test -f "$ac_dir/libGL.$ac_extension"; then
33601 ac_find_libraries
=$ac_dir
33607 if test "$ac_find_libraries" != "" ; then
33608 echo "$as_me:$LINENO: result: yes" >&5
33609 echo "${ECHO_T}yes" >&6
33612 if test "$ac_find_libraries" = "default location"; then
33615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33617 if test $result = 0; then
33620 ac_path_to_link
=" -L$ac_find_libraries"
33624 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33625 LDFLAGS_GL
="$ac_path_to_link"
33628 echo "$as_me:$LINENO: checking for -lGLU" >&5
33629 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33632 for ac_dir
in $SEARCH_LIB;
33634 for ac_extension
in a so sl dylib dll.a
; do
33635 if test -f "$ac_dir/libGLU.$ac_extension"; then
33636 ac_find_libraries
=$ac_dir
33642 if test "$ac_find_libraries" != "" ; then
33644 if test "$ac_find_libraries" = "default location"; then
33647 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33649 if test $result = 0; then
33652 ac_path_to_link
=" -L$ac_find_libraries"
33656 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33657 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33658 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33662 OPENGL_LIBS
="-lGL -lGLU"
33663 echo "$as_me:$LINENO: result: yes" >&5
33664 echo "${ECHO_T}yes" >&6
33666 echo "$as_me:$LINENO: result: no" >&5
33667 echo "${ECHO_T}no" >&6
33670 echo "$as_me:$LINENO: result: no" >&5
33671 echo "${ECHO_T}no" >&6
33674 if test "$found_gl" != 1; then
33675 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33676 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33679 for ac_dir
in $SEARCH_LIB;
33681 for ac_extension
in a so sl dylib dll.a
; do
33682 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33683 ac_find_libraries
=$ac_dir
33689 if test "$ac_find_libraries" != "" ; then
33691 if test "$ac_find_libraries" = "default location"; then
33694 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33696 if test $result = 0; then
33699 ac_path_to_link
=" -L$ac_find_libraries"
33703 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33704 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33705 echo "$as_me:$LINENO: result: yes" >&5
33706 echo "${ECHO_T}yes" >&6
33708 echo "$as_me:$LINENO: result: no" >&5
33709 echo "${ECHO_T}no" >&6
33717 if test "x$OPENGL_LIBS" = "x"; then
33718 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33719 echo "$as_me: error: OpenGL libraries not available" >&2;}
33720 { (exit 1); exit 1; }; }
33724 if test "$wxUSE_OPENGL" = "yes"; then
33726 cat >>confdefs.h
<<\_ACEOF
33727 #define wxUSE_OPENGL 1
33730 cat >>confdefs.h
<<\_ACEOF
33731 #define wxUSE_GLCANVAS 1
33734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33739 if test -n "$TOOLKIT" ; then
33740 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33745 if test "$wxUSE_SHARED" = "yes"; then
33749 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33750 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33755 if test "$wxUSE_SHARED" = "yes"; then
33758 found_versioning
=no
33761 if test $found_versioning = no
; then
33762 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33763 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33764 if test "${wx_cv_version_script+set}" = set; then
33765 echo $ECHO_N "(cached) $ECHO_C" >&6
33768 echo "VER_1 { *; };" >conftest.sym
33769 echo "int main() { return 0; }" >conftest.cpp
33772 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33773 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; } ; then
33779 if test -s conftest.stderr
; then
33780 wx_cv_version_script
=no
33782 wx_cv_version_script
=yes
33785 wx_cv_version_script
=no
33788 if test $wx_cv_version_script = yes
33790 echo "struct B { virtual ~B() { } }; \
33791 struct D : public B { }; \
33792 void F() { D d; }" > conftest.cpp
33795 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33796 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; } &&
33803 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33804 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; }
33812 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33813 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; }
33820 wx_cv_version_script
=yes
33822 wx_cv_version_script
=no
33827 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33828 rm -f conftest1.output conftest2.output conftest3.output
33831 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33832 echo "${ECHO_T}$wx_cv_version_script" >&6
33833 if test $wx_cv_version_script = yes ; then
33834 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33840 *-*-linux* | *-*-gnu* )
33841 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33842 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33846 if test "$GCC" = yes ; then
33847 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33849 saveLdflags
="$LDFLAGS"
33850 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33851 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33852 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33853 cat >conftest.
$ac_ext <<_ACEOF
33856 cat confdefs.h
>>conftest.
$ac_ext
33857 cat >>conftest.
$ac_ext <<_ACEOF
33858 /* end confdefs.h. */
33868 rm -f conftest.
$ac_objext conftest
$ac_exeext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33870 (eval $ac_link) 2>conftest.er1
33872 grep -v '^ *+' conftest.er1
>conftest.err
33874 cat conftest.err
>&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879 (eval $ac_try) 2>&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); }; } &&
33883 { ac_try
='test -s conftest$ac_exeext'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; }; then
33890 echo "$as_me:$LINENO: result: yes" >&5
33891 echo "${ECHO_T}yes" >&6
33892 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33893 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.
$ac_ext >&5
33900 echo "$as_me:$LINENO: result: no" >&5
33901 echo "${ECHO_T}no" >&6
33902 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33903 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33904 LDFLAGS
="$saveLdflags -Wl,-R,/"
33905 cat >conftest.
$ac_ext <<_ACEOF
33908 cat confdefs.h
>>conftest.
$ac_ext
33909 cat >>conftest.
$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33920 rm -f conftest.
$ac_objext conftest
$ac_exeext
33921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33922 (eval $ac_link) 2>conftest.er1
33924 grep -v '^ *+' conftest.er1
>conftest.err
33926 cat conftest.err
>&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } &&
33929 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33931 (eval $ac_try) 2>&5
33933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934 (exit $ac_status); }; } &&
33935 { ac_try
='test -s conftest$ac_exeext'
33936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33937 (eval $ac_try) 2>&5
33939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940 (exit $ac_status); }; }; then
33942 echo "$as_me:$LINENO: result: yes" >&5
33943 echo "${ECHO_T}yes" >&6
33944 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33945 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33948 echo "$as_me: failed program was:" >&5
33949 sed 's/^/| /' conftest.
$ac_ext >&5
33952 echo "$as_me:$LINENO: result: no" >&5
33953 echo "${ECHO_T}no" >&6
33956 rm -f conftest.err conftest.
$ac_objext \
33957 conftest
$ac_exeext conftest.
$ac_ext
33960 rm -f conftest.err conftest.
$ac_objext \
33961 conftest
$ac_exeext conftest.
$ac_ext
33962 LDFLAGS
="$saveLdflags"
33964 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33965 WXCONFIG_RPATH
="-R\$libdir"
33970 install_name_tool
=`which install_name_tool`
33971 if test "$install_name_tool" -a -x "$install_name_tool"; then
33972 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33973 cat <<EOF >change-install-names
33975 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33976 inst_cmd="install_name_tool "
33977 for i in \${libnames} ; do
33978 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33982 chmod +x change
-install-names
33986 *-*-cygwin* | *-*-mingw32* )
33987 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33991 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33992 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33997 if test $wxUSE_RPATH = "no"; then
33998 SAMPLES_RPATH_FLAG
=''
33999 SAMPLES_RPATH_POSTLINK
=''
34007 config_linkage_component
="-static"
34014 lib_unicode_suffix
=
34016 if test "$wxUSE_UNICODE" = "yes"; then
34017 lib_unicode_suffix
=u
34018 WX_CHARTYPE
="unicode"
34023 WX_DEBUGTYPE
="release"
34025 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34027 WX_DEBUGTYPE
="debug"
34031 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34032 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34035 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34039 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34041 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34043 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34045 if test "$cross_compiling" = "yes"; then
34046 HOST_SUFFIX
="-$host_alias"
34047 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34048 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34051 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34052 if test "${TOOLKIT_DIR}" = "os2"; then
34053 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34055 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34060 if test "$wxUSE_COCOA" = 1; then
34064 ac_cpp
='$CPP $CPPFLAGS'
34065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34071 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34072 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34073 cat >conftest.
$ac_ext <<_ACEOF
34076 cat confdefs.h
>>conftest.
$ac_ext
34077 cat >>conftest.
$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34079 #include <AppKit/NSEvent.h>
34080 #include <CoreFoundation/CoreFoundation.h>
34090 rm -f conftest.
$ac_objext
34091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34092 (eval $ac_compile) 2>conftest.er1
34094 grep -v '^ *+' conftest.er1
>conftest.err
34096 cat conftest.err
>&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } &&
34099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34101 (eval $ac_try) 2>&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; } &&
34105 { ac_try
='test -s conftest.$ac_objext'
34106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34107 (eval $ac_try) 2>&5
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); }; }; then
34111 echo "$as_me:$LINENO: result: no" >&5
34112 echo "${ECHO_T}no" >&6
34114 echo "$as_me: failed program was:" >&5
34115 sed 's/^/| /' conftest.
$ac_ext >&5
34117 echo "$as_me:$LINENO: result: yes" >&5
34118 echo "${ECHO_T}yes" >&6
34119 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34120 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34121 cat >conftest.
$ac_ext <<_ACEOF
34124 cat confdefs.h
>>conftest.
$ac_ext
34125 cat >>conftest.
$ac_ext <<_ACEOF
34126 /* end confdefs.h. */
34127 #define __Point__ 1
34128 #include <AppKit/NSEvent.h>
34129 #include <CoreFoundation/CoreFoundation.h>
34139 rm -f conftest.
$ac_objext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34141 (eval $ac_compile) 2>conftest.er1
34143 grep -v '^ *+' conftest.er1
>conftest.err
34145 cat conftest.err
>&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } &&
34148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34150 (eval $ac_try) 2>&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); }; } &&
34154 { ac_try
='test -s conftest.$ac_objext'
34155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156 (eval $ac_try) 2>&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); }; }; then
34160 echo "$as_me:$LINENO: result: yes" >&5
34161 echo "${ECHO_T}yes" >&6
34162 cat >>confdefs.h
<<\_ACEOF
34163 #define __Point__ 1
34168 echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.
$ac_ext >&5
34171 { { echo "$as_me:$LINENO: error: no
34172 See \`config.log' for more details." >&5
34173 echo "$as_me: error: no
34174 See \`config.log' for more details." >&2;}
34175 { (exit 1); exit 1; }; }
34178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34183 ac_cpp
='$CXXCPP $CPPFLAGS'
34184 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34190 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34191 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34192 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34194 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34196 # Extract the first word of "Rez", so it can be a program name with args.
34197 set dummy Rez
; ac_word
=$2
34198 echo "$as_me:$LINENO: checking for $ac_word" >&5
34199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34200 if test "${ac_cv_prog_REZ+set}" = set; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34203 if test -n "$REZ"; then
34204 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
34206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34207 for as_dir
in $PATH
34210 test -z "$as_dir" && as_dir
=.
34211 for ac_exec_ext
in '' $ac_executable_extensions; do
34212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34213 ac_cv_prog_REZ
="Rez"
34214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34220 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
34223 REZ
=$ac_cv_prog_REZ
34224 if test -n "$REZ"; then
34225 echo "$as_me:$LINENO: result: $REZ" >&5
34226 echo "${ECHO_T}$REZ" >&6
34228 echo "$as_me:$LINENO: result: no" >&5
34229 echo "${ECHO_T}no" >&6
34232 # Extract the first word of "DeRez", so it can be a program name with args.
34233 set dummy DeRez
; ac_word
=$2
34234 echo "$as_me:$LINENO: checking for $ac_word" >&5
34235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34236 if test "${ac_cv_prog_DEREZ+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34239 if test -n "$DEREZ"; then
34240 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
34242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34243 for as_dir
in $PATH
34246 test -z "$as_dir" && as_dir
=.
34247 for ac_exec_ext
in '' $ac_executable_extensions; do
34248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34249 ac_cv_prog_DEREZ
="DeRez"
34250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34256 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
34259 DEREZ
=$ac_cv_prog_DEREZ
34260 if test -n "$DEREZ"; then
34261 echo "$as_me:$LINENO: result: $DEREZ" >&5
34262 echo "${ECHO_T}$DEREZ" >&6
34264 echo "$as_me:$LINENO: result: no" >&5
34265 echo "${ECHO_T}no" >&6
34268 # Extract the first word of "SetFile", so it can be a program name with args.
34269 set dummy SetFile
; ac_word
=$2
34270 echo "$as_me:$LINENO: checking for $ac_word" >&5
34271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34272 if test "${ac_cv_prog_SETFILE+set}" = set; then
34273 echo $ECHO_N "(cached) $ECHO_C" >&6
34275 if test -n "$SETFILE"; then
34276 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34279 for as_dir
in $PATH
34282 test -z "$as_dir" && as_dir
=.
34283 for ac_exec_ext
in '' $ac_executable_extensions; do
34284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34285 ac_cv_prog_SETFILE
="SetFile"
34286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34292 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34295 SETFILE
=$ac_cv_prog_SETFILE
34296 if test -n "$SETFILE"; then
34297 echo "$as_me:$LINENO: result: $SETFILE" >&5
34298 echo "${ECHO_T}$SETFILE" >&6
34300 echo "$as_me:$LINENO: result: no" >&5
34301 echo "${ECHO_T}no" >&6
34305 MACSETFILE
="\$(SETFILE)"
34307 if test "$wxUSE_MAC" = 1; then
34308 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34310 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34312 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34313 RESCOMP
="echo -n \| $REZ"
34314 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34320 if test "$wxUSE_PM" = 1; then
34322 WXCONFIG_RESFLAGS
="-ep"
34324 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34326 POSTLINK_COMMAND
="@true"
34333 echo "$as_me:$LINENO: checking for mode_t" >&5
34334 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34335 if test "${ac_cv_type_mode_t+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 cat >conftest.
$ac_ext <<_ACEOF
34341 cat confdefs.h
>>conftest.
$ac_ext
34342 cat >>conftest.
$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344 $ac_includes_default
34350 if (sizeof (mode_t))
34356 rm -f conftest.
$ac_objext
34357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34358 (eval $ac_compile) 2>conftest.er1
34360 grep -v '^ *+' conftest.er1
>conftest.err
34362 cat conftest.err
>&5
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); } &&
34365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34367 (eval $ac_try) 2>&5
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); }; } &&
34371 { ac_try
='test -s conftest.$ac_objext'
34372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34373 (eval $ac_try) 2>&5
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); }; }; then
34377 ac_cv_type_mode_t
=yes
34379 echo "$as_me: failed program was:" >&5
34380 sed 's/^/| /' conftest.
$ac_ext >&5
34382 ac_cv_type_mode_t
=no
34384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34386 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34387 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34388 if test $ac_cv_type_mode_t = yes; then
34392 cat >>confdefs.h
<<_ACEOF
34398 echo "$as_me:$LINENO: checking for off_t" >&5
34399 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34400 if test "${ac_cv_type_off_t+set}" = set; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 cat >conftest.
$ac_ext <<_ACEOF
34406 cat confdefs.h
>>conftest.
$ac_ext
34407 cat >>conftest.
$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409 $ac_includes_default
34415 if (sizeof (off_t))
34421 rm -f conftest.
$ac_objext
34422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34423 (eval $ac_compile) 2>conftest.er1
34425 grep -v '^ *+' conftest.er1
>conftest.err
34427 cat conftest.err
>&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } &&
34430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34432 (eval $ac_try) 2>&5
34434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34435 (exit $ac_status); }; } &&
34436 { ac_try
='test -s conftest.$ac_objext'
34437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34438 (eval $ac_try) 2>&5
34440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34441 (exit $ac_status); }; }; then
34442 ac_cv_type_off_t
=yes
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.
$ac_ext >&5
34447 ac_cv_type_off_t
=no
34449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34451 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34452 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34453 if test $ac_cv_type_off_t = yes; then
34457 cat >>confdefs.h
<<_ACEOF
34463 echo "$as_me:$LINENO: checking for pid_t" >&5
34464 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34465 if test "${ac_cv_type_pid_t+set}" = set; then
34466 echo $ECHO_N "(cached) $ECHO_C" >&6
34468 cat >conftest.
$ac_ext <<_ACEOF
34471 cat confdefs.h
>>conftest.
$ac_ext
34472 cat >>conftest.
$ac_ext <<_ACEOF
34473 /* end confdefs.h. */
34474 $ac_includes_default
34480 if (sizeof (pid_t))
34486 rm -f conftest.
$ac_objext
34487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34488 (eval $ac_compile) 2>conftest.er1
34490 grep -v '^ *+' conftest.er1
>conftest.err
34492 cat conftest.err
>&5
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); } &&
34495 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34497 (eval $ac_try) 2>&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); }; } &&
34501 { ac_try
='test -s conftest.$ac_objext'
34502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34503 (eval $ac_try) 2>&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); }; }; then
34507 ac_cv_type_pid_t
=yes
34509 echo "$as_me: failed program was:" >&5
34510 sed 's/^/| /' conftest.
$ac_ext >&5
34512 ac_cv_type_pid_t
=no
34514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34516 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34517 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34518 if test $ac_cv_type_pid_t = yes; then
34522 cat >>confdefs.h
<<_ACEOF
34528 echo "$as_me:$LINENO: checking for size_t" >&5
34529 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34530 if test "${ac_cv_type_size_t+set}" = set; then
34531 echo $ECHO_N "(cached) $ECHO_C" >&6
34533 cat >conftest.
$ac_ext <<_ACEOF
34536 cat confdefs.h
>>conftest.
$ac_ext
34537 cat >>conftest.
$ac_ext <<_ACEOF
34538 /* end confdefs.h. */
34539 $ac_includes_default
34545 if (sizeof (size_t))
34551 rm -f conftest.
$ac_objext
34552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34553 (eval $ac_compile) 2>conftest.er1
34555 grep -v '^ *+' conftest.er1
>conftest.err
34557 cat conftest.err
>&5
34558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 (exit $ac_status); } &&
34560 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34562 (eval $ac_try) 2>&5
34564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34565 (exit $ac_status); }; } &&
34566 { ac_try
='test -s conftest.$ac_objext'
34567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34568 (eval $ac_try) 2>&5
34570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 (exit $ac_status); }; }; then
34572 ac_cv_type_size_t
=yes
34574 echo "$as_me: failed program was:" >&5
34575 sed 's/^/| /' conftest.
$ac_ext >&5
34577 ac_cv_type_size_t
=no
34579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34581 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34582 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34583 if test $ac_cv_type_size_t = yes; then
34587 cat >>confdefs.h
<<_ACEOF
34588 #define size_t unsigned
34593 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34594 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34595 if test "${ac_cv_type_uid_t+set}" = set; then
34596 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 cat >conftest.
$ac_ext <<_ACEOF
34601 cat confdefs.h
>>conftest.
$ac_ext
34602 cat >>conftest.
$ac_ext <<_ACEOF
34603 /* end confdefs.h. */
34604 #include <sys/types.h>
34607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34608 $EGREP "uid_t" >/dev
/null
2>&1; then
34609 ac_cv_type_uid_t
=yes
34611 ac_cv_type_uid_t
=no
34616 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34617 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34618 if test $ac_cv_type_uid_t = no
; then
34620 cat >>confdefs.h
<<\_ACEOF
34625 cat >>confdefs.h
<<\_ACEOF
34632 echo "$as_me:$LINENO: checking for ssize_t" >&5
34633 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34634 if test "${ac_cv_type_ssize_t+set}" = set; then
34635 echo $ECHO_N "(cached) $ECHO_C" >&6
34637 cat >conftest.
$ac_ext <<_ACEOF
34640 cat confdefs.h
>>conftest.
$ac_ext
34641 cat >>conftest.
$ac_ext <<_ACEOF
34642 /* end confdefs.h. */
34643 $ac_includes_default
34649 if (sizeof (ssize_t))
34655 rm -f conftest.
$ac_objext
34656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34657 (eval $ac_compile) 2>conftest.er1
34659 grep -v '^ *+' conftest.er1
>conftest.err
34661 cat conftest.err
>&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); } &&
34664 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666 (eval $ac_try) 2>&5
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); }; } &&
34670 { ac_try
='test -s conftest.$ac_objext'
34671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672 (eval $ac_try) 2>&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); }; }; then
34676 ac_cv_type_ssize_t
=yes
34678 echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.
$ac_ext >&5
34681 ac_cv_type_ssize_t
=no
34683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34685 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34686 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34687 if test $ac_cv_type_ssize_t = yes; then
34689 cat >>confdefs.h
<<_ACEOF
34690 #define HAVE_SSIZE_T 1
34697 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34698 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34699 if test "${wx_cv_size_t_is_uint+set}" = set; then
34700 echo $ECHO_N "(cached) $ECHO_C" >&6
34703 cat >conftest.
$ac_ext <<_ACEOF
34706 cat confdefs.h
>>conftest.
$ac_ext
34707 cat >>conftest.
$ac_ext <<_ACEOF
34708 /* end confdefs.h. */
34709 #include <stddef.h>
34716 struct Foo { void foo(size_t); void foo(unsigned int); };
34724 rm -f conftest.
$ac_objext
34725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34726 (eval $ac_compile) 2>conftest.er1
34728 grep -v '^ *+' conftest.er1
>conftest.err
34730 cat conftest.err
>&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); } &&
34733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34735 (eval $ac_try) 2>&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); }; } &&
34739 { ac_try
='test -s conftest.$ac_objext'
34740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34741 (eval $ac_try) 2>&5
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; }; then
34745 wx_cv_size_t_is_uint
=no
34747 echo "$as_me: failed program was:" >&5
34748 sed 's/^/| /' conftest.
$ac_ext >&5
34750 wx_cv_size_t_is_uint
=yes
34753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34757 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34758 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34760 if test "$wx_cv_size_t_is_uint" = "yes"; then
34761 cat >>confdefs.h
<<\_ACEOF
34762 #define wxSIZE_T_IS_UINT 1
34766 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34767 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34768 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34769 echo $ECHO_N "(cached) $ECHO_C" >&6
34771 cat >conftest.
$ac_ext <<_ACEOF
34774 cat confdefs.h
>>conftest.
$ac_ext
34775 cat >>conftest.
$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34777 #include <stddef.h>
34784 struct Foo { void foo(size_t); void foo(unsigned long); };
34792 rm -f conftest.
$ac_objext
34793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34794 (eval $ac_compile) 2>conftest.er1
34796 grep -v '^ *+' conftest.er1
>conftest.err
34798 cat conftest.err
>&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); } &&
34801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803 (eval $ac_try) 2>&5
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); }; } &&
34807 { ac_try
='test -s conftest.$ac_objext'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; }; then
34813 wx_cv_size_t_is_ulong
=no
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.
$ac_ext >&5
34818 wx_cv_size_t_is_ulong
=yes
34821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34824 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34825 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34827 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34828 cat >>confdefs.h
<<\_ACEOF
34829 #define wxSIZE_T_IS_ULONG 1
34836 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34837 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34838 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34842 cat >conftest.
$ac_ext <<_ACEOF
34845 cat confdefs.h
>>conftest.
$ac_ext
34846 cat >>conftest.
$ac_ext <<_ACEOF
34847 /* end confdefs.h. */
34861 rm -f conftest.
$ac_objext
34862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34863 (eval $ac_compile) 2>conftest.er1
34865 grep -v '^ *+' conftest.er1
>conftest.err
34867 cat conftest.err
>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } &&
34870 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; } &&
34876 { ac_try
='test -s conftest.$ac_objext'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }; then
34883 wx_cv_struct_pw_gecos
=yes
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.
$ac_ext >&5
34890 wx_cv_struct_pw_gecos
=no
34894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34898 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34899 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34901 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34902 cat >>confdefs.h
<<\_ACEOF
34903 #define HAVE_PW_GECOS 1
34909 if test "$wxUSE_WCHAR_T" = "yes"; then
34910 cat >>confdefs.h
<<\_ACEOF
34911 #define wxUSE_WCHAR_T 1
34918 for ac_func
in wcslen
34920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34921 echo "$as_me:$LINENO: checking for $ac_func" >&5
34922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34923 if eval "test \"\${$as_ac_var+set}\" = set"; then
34924 echo $ECHO_N "(cached) $ECHO_C" >&6
34926 cat >conftest.
$ac_ext <<_ACEOF
34929 cat confdefs.h
>>conftest.
$ac_ext
34930 cat >>conftest.
$ac_ext <<_ACEOF
34931 /* end confdefs.h. */
34932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34934 #define $ac_func innocuous_$ac_func
34936 /* System header to define __stub macros and hopefully few prototypes,
34937 which can conflict with char $ac_func (); below.
34938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34939 <limits.h> exists even on freestanding compilers. */
34942 # include <limits.h>
34944 # include <assert.h>
34949 /* Override any gcc2 internal prototype to avoid an error. */
34954 /* We use char because int might match the return type of a gcc2
34955 builtin and then its argument prototype would still apply. */
34957 /* The GNU C library defines this for functions which it implements
34958 to always fail with ENOSYS. Some functions are actually named
34959 something starting with __ and the normal name is an alias. */
34960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34963 char (*f) () = $ac_func;
34972 return f != $ac_func;
34977 rm -f conftest.
$ac_objext conftest
$ac_exeext
34978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34979 (eval $ac_link) 2>conftest.er1
34981 grep -v '^ *+' conftest.er1
>conftest.err
34983 cat conftest.err
>&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); } &&
34986 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try
='test -s conftest$ac_exeext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 eval "$as_ac_var=yes"
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.
$ac_ext >&5
35003 eval "$as_ac_var=no"
35005 rm -f conftest.err conftest.
$ac_objext \
35006 conftest
$ac_exeext conftest.
$ac_ext
35008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35010 if test `eval echo '${'$as_ac_var'}'` = yes; then
35011 cat >>confdefs.h
<<_ACEOF
35012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35019 if test "$WCSLEN_FOUND" = 0; then
35020 if test "$TOOLKIT" = "MSW"; then
35021 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35022 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35023 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35024 echo $ECHO_N "(cached) $ECHO_C" >&6
35026 ac_check_lib_save_LIBS
=$LIBS
35027 LIBS
="-lmsvcrt $LIBS"
35028 cat >conftest.
$ac_ext <<_ACEOF
35031 cat confdefs.h
>>conftest.
$ac_ext
35032 cat >>conftest.
$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35035 /* Override any gcc2 internal prototype to avoid an error. */
35039 /* We use char because int might match the return type of a gcc2
35040 builtin and then its argument prototype would still apply. */
35050 rm -f conftest.
$ac_objext conftest
$ac_exeext
35051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35052 (eval $ac_link) 2>conftest.er1
35054 grep -v '^ *+' conftest.er1
>conftest.err
35056 cat conftest.err
>&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); } &&
35059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061 (eval $ac_try) 2>&5
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); }; } &&
35065 { ac_try
='test -s conftest$ac_exeext'
35066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35067 (eval $ac_try) 2>&5
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); }; }; then
35071 ac_cv_lib_msvcrt_wcslen
=yes
35073 echo "$as_me: failed program was:" >&5
35074 sed 's/^/| /' conftest.
$ac_ext >&5
35076 ac_cv_lib_msvcrt_wcslen
=no
35078 rm -f conftest.err conftest.
$ac_objext \
35079 conftest
$ac_exeext conftest.
$ac_ext
35080 LIBS
=$ac_check_lib_save_LIBS
35082 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35083 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35084 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35089 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35090 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35091 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35092 echo $ECHO_N "(cached) $ECHO_C" >&6
35094 ac_check_lib_save_LIBS
=$LIBS
35096 cat >conftest.
$ac_ext <<_ACEOF
35099 cat confdefs.h
>>conftest.
$ac_ext
35100 cat >>conftest.
$ac_ext <<_ACEOF
35101 /* end confdefs.h. */
35103 /* Override any gcc2 internal prototype to avoid an error. */
35107 /* We use char because int might match the return type of a gcc2
35108 builtin and then its argument prototype would still apply. */
35118 rm -f conftest.
$ac_objext conftest
$ac_exeext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35120 (eval $ac_link) 2>conftest.er1
35122 grep -v '^ *+' conftest.er1
>conftest.err
35124 cat conftest.err
>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35129 (eval $ac_try) 2>&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; } &&
35133 { ac_try
='test -s conftest$ac_exeext'
35134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35135 (eval $ac_try) 2>&5
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); }; }; then
35139 ac_cv_lib_w_wcslen
=yes
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.
$ac_ext >&5
35144 ac_cv_lib_w_wcslen
=no
35146 rm -f conftest.err conftest.
$ac_objext \
35147 conftest
$ac_exeext conftest.
$ac_ext
35148 LIBS
=$ac_check_lib_save_LIBS
35150 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35151 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35152 if test $ac_cv_lib_w_wcslen = yes; then
35162 if test "$WCSLEN_FOUND" = 1; then
35163 cat >>confdefs.h
<<\_ACEOF
35164 #define HAVE_WCSLEN 1
35169 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35170 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35173 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35174 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35175 if test "${ac_cv_type_mbstate_t+set}" = set; then
35176 echo $ECHO_N "(cached) $ECHO_C" >&6
35178 cat >conftest.
$ac_ext <<_ACEOF
35181 cat confdefs.h
>>conftest.
$ac_ext
35182 cat >>conftest.
$ac_ext <<_ACEOF
35183 /* end confdefs.h. */
35189 if ((mbstate_t *) 0)
35191 if (sizeof (mbstate_t))
35197 rm -f conftest.
$ac_objext
35198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35199 (eval $ac_compile) 2>conftest.er1
35201 grep -v '^ *+' conftest.er1
>conftest.err
35203 cat conftest.err
>&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } &&
35206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; } &&
35212 { ac_try
='test -s conftest.$ac_objext'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; }; then
35218 ac_cv_type_mbstate_t
=yes
35220 echo "$as_me: failed program was:" >&5
35221 sed 's/^/| /' conftest.
$ac_ext >&5
35223 ac_cv_type_mbstate_t
=no
35225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35227 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35228 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35229 if test $ac_cv_type_mbstate_t = yes; then
35231 cat >>confdefs.h
<<_ACEOF
35232 #define HAVE_MBSTATE_T 1
35236 for ac_func
in wcsrtombs
35238 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35239 echo "$as_me:$LINENO: checking for $ac_func" >&5
35240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35241 if eval "test \"\${$as_ac_var+set}\" = set"; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35244 cat >conftest.
$ac_ext <<_ACEOF
35247 cat confdefs.h
>>conftest.
$ac_ext
35248 cat >>conftest.
$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35252 #define $ac_func innocuous_$ac_func
35254 /* System header to define __stub macros and hopefully few prototypes,
35255 which can conflict with char $ac_func (); below.
35256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35257 <limits.h> exists even on freestanding compilers. */
35260 # include <limits.h>
35262 # include <assert.h>
35267 /* Override any gcc2 internal prototype to avoid an error. */
35272 /* We use char because int might match the return type of a gcc2
35273 builtin and then its argument prototype would still apply. */
35275 /* The GNU C library defines this for functions which it implements
35276 to always fail with ENOSYS. Some functions are actually named
35277 something starting with __ and the normal name is an alias. */
35278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35281 char (*f) () = $ac_func;
35290 return f != $ac_func;
35295 rm -f conftest.
$ac_objext conftest
$ac_exeext
35296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35297 (eval $ac_link) 2>conftest.er1
35299 grep -v '^ *+' conftest.er1
>conftest.err
35301 cat conftest.err
>&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); } &&
35304 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; } &&
35310 { ac_try
='test -s conftest$ac_exeext'
35311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312 (eval $ac_try) 2>&5
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); }; }; then
35316 eval "$as_ac_var=yes"
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.
$ac_ext >&5
35321 eval "$as_ac_var=no"
35323 rm -f conftest.err conftest.
$ac_objext \
35324 conftest
$ac_exeext conftest.
$ac_ext
35326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35328 if test `eval echo '${'$as_ac_var'}'` = yes; then
35329 cat >>confdefs.h
<<_ACEOF
35330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35339 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35340 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35345 for ac_func
in snprintf vsnprintf
35347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35348 echo "$as_me:$LINENO: checking for $ac_func" >&5
35349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35350 if eval "test \"\${$as_ac_var+set}\" = set"; then
35351 echo $ECHO_N "(cached) $ECHO_C" >&6
35353 cat >conftest.
$ac_ext <<_ACEOF
35356 cat confdefs.h
>>conftest.
$ac_ext
35357 cat >>conftest.
$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35361 #define $ac_func innocuous_$ac_func
35363 /* System header to define __stub macros and hopefully few prototypes,
35364 which can conflict with char $ac_func (); below.
35365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35366 <limits.h> exists even on freestanding compilers. */
35369 # include <limits.h>
35371 # include <assert.h>
35376 /* Override any gcc2 internal prototype to avoid an error. */
35381 /* We use char because int might match the return type of a gcc2
35382 builtin and then its argument prototype would still apply. */
35384 /* The GNU C library defines this for functions which it implements
35385 to always fail with ENOSYS. Some functions are actually named
35386 something starting with __ and the normal name is an alias. */
35387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35390 char (*f) () = $ac_func;
35399 return f != $ac_func;
35404 rm -f conftest.
$ac_objext conftest
$ac_exeext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35406 (eval $ac_link) 2>conftest.er1
35408 grep -v '^ *+' conftest.er1
>conftest.err
35410 cat conftest.err
>&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); } &&
35413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35415 (eval $ac_try) 2>&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); }; } &&
35419 { ac_try
='test -s conftest$ac_exeext'
35420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35421 (eval $ac_try) 2>&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); }; }; then
35425 eval "$as_ac_var=yes"
35427 echo "$as_me: failed program was:" >&5
35428 sed 's/^/| /' conftest.
$ac_ext >&5
35430 eval "$as_ac_var=no"
35432 rm -f conftest.err conftest.
$ac_objext \
35433 conftest
$ac_exeext conftest.
$ac_ext
35435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35437 if test `eval echo '${'$as_ac_var'}'` = yes; then
35438 cat >>confdefs.h
<<_ACEOF
35439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35446 if test "$ac_cv_func_vsnprintf" = "yes"; then
35447 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35448 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35449 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35450 echo $ECHO_N "(cached) $ECHO_C" >&6
35453 cat >conftest.
$ac_ext <<_ACEOF
35456 cat confdefs.h
>>conftest.
$ac_ext
35457 cat >>conftest.
$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35461 #include <stdarg.h>
35463 #if __MSL__ >= 0x6000
35465 using namespace std;
35475 vsnprintf(buf, 10u, "%s", ap);
35481 rm -f conftest.
$ac_objext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35483 (eval $ac_compile) 2>conftest.er1
35485 grep -v '^ *+' conftest.er1
>conftest.err
35487 cat conftest.err
>&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } &&
35490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; } &&
35496 { ac_try
='test -s conftest.$ac_objext'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; }; then
35502 wx_cv_func_vsnprintf_decl
=yes
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.
$ac_ext >&5
35507 wx_cv_func_vsnprintf_decl
=no
35510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35514 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35515 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35517 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35518 cat >>confdefs.h
<<\_ACEOF
35519 #define HAVE_VSNPRINTF_DECL 1
35523 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35524 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35525 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35526 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 cat >conftest.
$ac_ext <<_ACEOF
35532 cat confdefs.h
>>conftest.
$ac_ext
35533 cat >>conftest.
$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35537 #include <stdarg.h>
35539 #if __MSL__ >= 0x6000
35541 using namespace std;
35551 const char *fmt = "%s";
35552 vsnprintf(buf, 10u, fmt, ap);
35558 rm -f conftest.
$ac_objext
35559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35560 (eval $ac_compile) 2>conftest.er1
35562 grep -v '^ *+' conftest.er1
>conftest.err
35564 cat conftest.err
>&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); } &&
35567 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; } &&
35573 { ac_try
='test -s conftest.$ac_objext'
35574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35575 (eval $ac_try) 2>&5
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); }; }; then
35579 wx_cv_func_broken_vsnprintf_decl
=no
35581 echo "$as_me: failed program was:" >&5
35582 sed 's/^/| /' conftest.
$ac_ext >&5
35584 wx_cv_func_broken_vsnprintf_decl
=yes
35587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35591 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35592 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35594 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35595 cat >>confdefs.h
<<\_ACEOF
35596 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35603 if test "$ac_cv_func_snprintf" = "yes"; then
35604 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35605 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35606 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35607 echo $ECHO_N "(cached) $ECHO_C" >&6
35610 cat >conftest.
$ac_ext <<_ACEOF
35613 cat confdefs.h
>>conftest.
$ac_ext
35614 cat >>conftest.
$ac_ext <<_ACEOF
35615 /* end confdefs.h. */
35618 #include <stdarg.h>
35620 #if __MSL__ >= 0x6000
35622 using namespace std;
35631 snprintf(buf, 10u, "%s", "wx");
35637 rm -f conftest.
$ac_objext
35638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35639 (eval $ac_compile) 2>conftest.er1
35641 grep -v '^ *+' conftest.er1
>conftest.err
35643 cat conftest.err
>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); } &&
35646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; } &&
35652 { ac_try
='test -s conftest.$ac_objext'
35653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654 (eval $ac_try) 2>&5
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); }; }; then
35658 wx_cv_func_snprintf_decl
=yes
35660 echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.
$ac_ext >&5
35663 wx_cv_func_snprintf_decl
=no
35666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35670 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35671 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35673 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35674 cat >>confdefs.h
<<\_ACEOF
35675 #define HAVE_SNPRINTF_DECL 1
35679 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35680 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35681 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35685 cat >conftest.
$ac_ext <<_ACEOF
35688 cat confdefs.h
>>conftest.
$ac_ext
35689 cat >>conftest.
$ac_ext <<_ACEOF
35690 /* end confdefs.h. */
35693 #include <stdarg.h>
35695 #if __MSL__ >= 0x6000
35697 using namespace std;
35706 const char *fmt = "%s";
35707 snprintf(buf, 10u, fmt, "wx");
35713 rm -f conftest.
$ac_objext
35714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35715 (eval $ac_compile) 2>conftest.er1
35717 grep -v '^ *+' conftest.er1
>conftest.err
35719 cat conftest.err
>&5
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); } &&
35722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; } &&
35728 { ac_try
='test -s conftest.$ac_objext'
35729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35730 (eval $ac_try) 2>&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); }; }; then
35734 wx_cv_func_broken_snprintf_decl
=no
35736 echo "$as_me: failed program was:" >&5
35737 sed 's/^/| /' conftest.
$ac_ext >&5
35739 wx_cv_func_broken_snprintf_decl
=yes
35742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35746 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35747 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35749 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35750 cat >>confdefs.h
<<\_ACEOF
35751 #define HAVE_BROKEN_SNPRINTF_DECL 1
35757 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35759 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35760 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35761 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35762 echo $ECHO_N "(cached) $ECHO_C" >&6
35765 if test "$cross_compiling" = yes; then
35767 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35768 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35769 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35770 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35771 wx_cv_func_snprintf_pos_params
=no
35775 cat >conftest.
$ac_ext <<_ACEOF
35778 cat confdefs.h
>>conftest.
$ac_ext
35779 cat >>conftest.
$ac_ext <<_ACEOF
35780 /* end confdefs.h. */
35787 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35788 if (strcmp ("2 3 1", buffer) == 0)
35794 rm -f conftest
$ac_exeext
35795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35796 (eval $ac_link) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; }; then
35805 wx_cv_func_snprintf_pos_params
=no
35807 echo "$as_me: program exited with status $ac_status" >&5
35808 echo "$as_me: failed program was:" >&5
35809 sed 's/^/| /' conftest.
$ac_ext >&5
35811 ( exit $ac_status )
35812 wx_cv_func_snprintf_pos_params
=yes
35814 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35819 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35820 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35822 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35823 cat >>confdefs.h
<<\_ACEOF
35824 #define HAVE_UNIX98_PRINTF 1
35831 if test "$wxUSE_UNICODE" = yes; then
35834 for ac_func
in swprintf
35836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35837 echo "$as_me:$LINENO: checking for $ac_func" >&5
35838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35839 if eval "test \"\${$as_ac_var+set}\" = set"; then
35840 echo $ECHO_N "(cached) $ECHO_C" >&6
35842 cat >conftest.
$ac_ext <<_ACEOF
35845 cat confdefs.h
>>conftest.
$ac_ext
35846 cat >>conftest.
$ac_ext <<_ACEOF
35847 /* end confdefs.h. */
35848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35850 #define $ac_func innocuous_$ac_func
35852 /* System header to define __stub macros and hopefully few prototypes,
35853 which can conflict with char $ac_func (); below.
35854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35855 <limits.h> exists even on freestanding compilers. */
35858 # include <limits.h>
35860 # include <assert.h>
35865 /* 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. */
35873 /* The GNU C library defines this for functions which it implements
35874 to always fail with ENOSYS. Some functions are actually named
35875 something starting with __ and the normal name is an alias. */
35876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35879 char (*f) () = $ac_func;
35888 return f != $ac_func;
35893 rm -f conftest.
$ac_objext conftest
$ac_exeext
35894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35895 (eval $ac_link) 2>conftest.er1
35897 grep -v '^ *+' conftest.er1
>conftest.err
35899 cat conftest.err
>&5
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); } &&
35902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35904 (eval $ac_try) 2>&5
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); }; } &&
35908 { ac_try
='test -s conftest$ac_exeext'
35909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35910 (eval $ac_try) 2>&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); }; }; then
35914 eval "$as_ac_var=yes"
35916 echo "$as_me: failed program was:" >&5
35917 sed 's/^/| /' conftest.
$ac_ext >&5
35919 eval "$as_ac_var=no"
35921 rm -f conftest.err conftest.
$ac_objext \
35922 conftest
$ac_exeext conftest.
$ac_ext
35924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35926 if test `eval echo '${'$as_ac_var'}'` = yes; then
35927 cat >>confdefs.h
<<_ACEOF
35928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35935 if test "$ac_cv_func_swprintf" = "yes"; then
35936 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35937 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35938 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35939 echo $ECHO_N "(cached) $ECHO_C" >&6
35942 cat >conftest.
$ac_ext <<_ACEOF
35945 cat confdefs.h
>>conftest.
$ac_ext
35946 cat >>conftest.
$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35950 #include <stdarg.h>
35958 const wchar_t *fmt = L"test";
35959 swprintf(buf, 10u, fmt);
35965 rm -f conftest.
$ac_objext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35967 (eval $ac_compile) 2>conftest.er1
35969 grep -v '^ *+' conftest.er1
>conftest.err
35971 cat conftest.err
>&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; } &&
35980 { ac_try
='test -s conftest.$ac_objext'
35981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35982 (eval $ac_try) 2>&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; }; then
35986 wx_cv_func_broken_swprintf_decl
=no
35988 echo "$as_me: failed program was:" >&5
35989 sed 's/^/| /' conftest.
$ac_ext >&5
35991 wx_cv_func_broken_swprintf_decl
=yes
35994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35998 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35999 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36001 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36002 cat >>confdefs.h
<<\_ACEOF
36003 #define HAVE_BROKEN_SWPRINTF_DECL 1
36015 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
36017 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36018 echo "$as_me:$LINENO: checking for $ac_func" >&5
36019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36020 if eval "test \"\${$as_ac_var+set}\" = set"; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36023 cat >conftest.
$ac_ext <<_ACEOF
36026 cat confdefs.h
>>conftest.
$ac_ext
36027 cat >>conftest.
$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36031 #define $ac_func innocuous_$ac_func
36033 /* System header to define __stub macros and hopefully few prototypes,
36034 which can conflict with char $ac_func (); below.
36035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36036 <limits.h> exists even on freestanding compilers. */
36039 # include <limits.h>
36041 # include <assert.h>
36046 /* Override any gcc2 internal prototype to avoid an error. */
36051 /* We use char because int might match the return type of a gcc2
36052 builtin and then its argument prototype would still apply. */
36054 /* The GNU C library defines this for functions which it implements
36055 to always fail with ENOSYS. Some functions are actually named
36056 something starting with __ and the normal name is an alias. */
36057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36060 char (*f) () = $ac_func;
36069 return f != $ac_func;
36074 rm -f conftest.
$ac_objext conftest
$ac_exeext
36075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36076 (eval $ac_link) 2>conftest.er1
36078 grep -v '^ *+' conftest.er1
>conftest.err
36080 cat conftest.err
>&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); } &&
36083 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36085 (eval $ac_try) 2>&5
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); }; } &&
36089 { ac_try
='test -s conftest$ac_exeext'
36090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36091 (eval $ac_try) 2>&5
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); }; }; then
36095 eval "$as_ac_var=yes"
36097 echo "$as_me: failed program was:" >&5
36098 sed 's/^/| /' conftest.
$ac_ext >&5
36100 eval "$as_ac_var=no"
36102 rm -f conftest.err conftest.
$ac_objext \
36103 conftest
$ac_exeext conftest.
$ac_ext
36105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36107 if test `eval echo '${'$as_ac_var'}'` = yes; then
36108 cat >>confdefs.h
<<_ACEOF
36109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36116 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36117 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36118 cat >conftest.
$ac_ext <<_ACEOF
36121 cat confdefs.h
>>conftest.
$ac_ext
36122 cat >>conftest.
$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36133 rm -f conftest.
$ac_objext
36134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36135 (eval $ac_compile) 2>conftest.er1
36137 grep -v '^ *+' conftest.er1
>conftest.err
36139 cat conftest.err
>&5
36140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141 (exit $ac_status); } &&
36142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36144 (eval $ac_try) 2>&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); }; } &&
36148 { ac_try
='test -s conftest.$ac_objext'
36149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36150 (eval $ac_try) 2>&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); }; }; then
36154 echo "$as_me:$LINENO: result: yes" >&5
36155 echo "${ECHO_T}yes" >&6
36156 cat >>confdefs.h
<<\_ACEOF
36157 #define HAVE__VSNWPRINTF 1
36161 echo "$as_me: failed program was:" >&5
36162 sed 's/^/| /' conftest.
$ac_ext >&5
36164 echo "$as_me:$LINENO: result: no" >&5
36165 echo "${ECHO_T}no" >&6
36167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
36170 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36172 for ac_func
in fnmatch
36174 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36175 echo "$as_me:$LINENO: checking for $ac_func" >&5
36176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36177 if eval "test \"\${$as_ac_var+set}\" = set"; then
36178 echo $ECHO_N "(cached) $ECHO_C" >&6
36180 cat >conftest.
$ac_ext <<_ACEOF
36183 cat confdefs.h
>>conftest.
$ac_ext
36184 cat >>conftest.
$ac_ext <<_ACEOF
36185 /* end confdefs.h. */
36186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36188 #define $ac_func innocuous_$ac_func
36190 /* System header to define __stub macros and hopefully few prototypes,
36191 which can conflict with char $ac_func (); below.
36192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36193 <limits.h> exists even on freestanding compilers. */
36196 # include <limits.h>
36198 # include <assert.h>
36203 /* Override any gcc2 internal prototype to avoid an error. */
36208 /* We use char because int might match the return type of a gcc2
36209 builtin and then its argument prototype would still apply. */
36211 /* The GNU C library defines this for functions which it implements
36212 to always fail with ENOSYS. Some functions are actually named
36213 something starting with __ and the normal name is an alias. */
36214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36217 char (*f) () = $ac_func;
36226 return f != $ac_func;
36231 rm -f conftest.
$ac_objext conftest
$ac_exeext
36232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36233 (eval $ac_link) 2>conftest.er1
36235 grep -v '^ *+' conftest.er1
>conftest.err
36237 cat conftest.err
>&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } &&
36240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242 (eval $ac_try) 2>&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); }; } &&
36246 { ac_try
='test -s conftest$ac_exeext'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; }; then
36252 eval "$as_ac_var=yes"
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.
$ac_ext >&5
36257 eval "$as_ac_var=no"
36259 rm -f conftest.err conftest.
$ac_objext \
36260 conftest
$ac_exeext conftest.
$ac_ext
36262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36264 if test `eval echo '${'$as_ac_var'}'` = yes; then
36265 cat >>confdefs.h
<<_ACEOF
36266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36274 if test "$wxUSE_FILE" = "yes"; then
36276 for ac_func
in fsync
36278 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36279 echo "$as_me:$LINENO: checking for $ac_func" >&5
36280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36281 if eval "test \"\${$as_ac_var+set}\" = set"; then
36282 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. */
36290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36292 #define $ac_func innocuous_$ac_func
36294 /* System header to define __stub macros and hopefully few prototypes,
36295 which can conflict with char $ac_func (); below.
36296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36297 <limits.h> exists even on freestanding compilers. */
36300 # include <limits.h>
36302 # include <assert.h>
36307 /* Override any gcc2 internal prototype to avoid an error. */
36312 /* We use char because int might match the return type of a gcc2
36313 builtin and then its argument prototype would still apply. */
36315 /* The GNU C library defines this for functions which it implements
36316 to always fail with ENOSYS. Some functions are actually named
36317 something starting with __ and the normal name is an alias. */
36318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36321 char (*f) () = $ac_func;
36330 return f != $ac_func;
36335 rm -f conftest.
$ac_objext conftest
$ac_exeext
36336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36337 (eval $ac_link) 2>conftest.er1
36339 grep -v '^ *+' conftest.er1
>conftest.err
36341 cat conftest.err
>&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } &&
36344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346 (eval $ac_try) 2>&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); }; } &&
36350 { ac_try
='test -s conftest$ac_exeext'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; }; then
36356 eval "$as_ac_var=yes"
36358 echo "$as_me: failed program was:" >&5
36359 sed 's/^/| /' conftest.
$ac_ext >&5
36361 eval "$as_ac_var=no"
36363 rm -f conftest.err conftest.
$ac_objext \
36364 conftest
$ac_exeext conftest.
$ac_ext
36366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369 cat >>confdefs.h
<<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36379 for ac_func
in round
36381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36382 echo "$as_me:$LINENO: checking for $ac_func" >&5
36383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36384 if eval "test \"\${$as_ac_var+set}\" = set"; then
36385 echo $ECHO_N "(cached) $ECHO_C" >&6
36387 cat >conftest.
$ac_ext <<_ACEOF
36390 cat confdefs.h
>>conftest.
$ac_ext
36391 cat >>conftest.
$ac_ext <<_ACEOF
36392 /* end confdefs.h. */
36393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36395 #define $ac_func innocuous_$ac_func
36397 /* System header to define __stub macros and hopefully few prototypes,
36398 which can conflict with char $ac_func (); below.
36399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36400 <limits.h> exists even on freestanding compilers. */
36403 # include <limits.h>
36405 # include <assert.h>
36410 /* Override any gcc2 internal prototype to avoid an error. */
36415 /* We use char because int might match the return type of a gcc2
36416 builtin and then its argument prototype would still apply. */
36418 /* The GNU C library defines this for functions which it implements
36419 to always fail with ENOSYS. Some functions are actually named
36420 something starting with __ and the normal name is an alias. */
36421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36424 char (*f) () = $ac_func;
36433 return f != $ac_func;
36438 rm -f conftest.
$ac_objext conftest
$ac_exeext
36439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36440 (eval $ac_link) 2>conftest.er1
36442 grep -v '^ *+' conftest.er1
>conftest.err
36444 cat conftest.err
>&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); } &&
36447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; } &&
36453 { ac_try
='test -s conftest$ac_exeext'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; }; then
36459 eval "$as_ac_var=yes"
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.
$ac_ext >&5
36464 eval "$as_ac_var=no"
36466 rm -f conftest.err conftest.
$ac_objext \
36467 conftest
$ac_exeext conftest.
$ac_ext
36469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36471 if test `eval echo '${'$as_ac_var'}'` = yes; then
36472 cat >>confdefs.h
<<_ACEOF
36473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36479 if test "$ac_cv_func_round" = yes; then
36480 echo "$as_me:$LINENO: checking whether round is declared" >&5
36481 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36482 if test "${ac_cv_have_decl_round+set}" = set; then
36483 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 cat >conftest.
$ac_ext <<_ACEOF
36488 cat confdefs.h
>>conftest.
$ac_ext
36489 cat >>conftest.
$ac_ext <<_ACEOF
36490 /* end confdefs.h. */
36497 char *p = (char *) round;
36504 rm -f conftest.
$ac_objext
36505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36506 (eval $ac_compile) 2>conftest.er1
36508 grep -v '^ *+' conftest.er1
>conftest.err
36510 cat conftest.err
>&5
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); } &&
36513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36515 (eval $ac_try) 2>&5
36517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518 (exit $ac_status); }; } &&
36519 { ac_try
='test -s conftest.$ac_objext'
36520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36521 (eval $ac_try) 2>&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); }; }; then
36525 ac_cv_have_decl_round
=yes
36527 echo "$as_me: failed program was:" >&5
36528 sed 's/^/| /' conftest.
$ac_ext >&5
36530 ac_cv_have_decl_round
=no
36532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36534 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36535 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36536 if test $ac_cv_have_decl_round = yes; then
36538 cat >>confdefs.h
<<_ACEOF
36539 #define HAVE_DECL_ROUND 1
36544 cat >>confdefs.h
<<_ACEOF
36545 #define HAVE_DECL_ROUND 0
36555 if test "$TOOLKIT" != "MSW"; then
36561 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36562 if test "${with_libiconv_prefix+set}" = set; then
36563 withval
="$with_libiconv_prefix"
36565 for dir
in `echo "$withval" | tr : ' '`; do
36566 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36567 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36572 echo "$as_me:$LINENO: checking for iconv" >&5
36573 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36574 if test "${am_cv_func_iconv+set}" = set; then
36575 echo $ECHO_N "(cached) $ECHO_C" >&6
36578 am_cv_func_iconv
="no, consider installing GNU libiconv"
36580 cat >conftest.
$ac_ext <<_ACEOF
36583 cat confdefs.h
>>conftest.
$ac_ext
36584 cat >>conftest.
$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 #include <stdlib.h>
36591 iconv_t cd = iconv_open("","");
36592 iconv(cd,NULL,NULL,NULL,NULL);
36598 rm -f conftest.
$ac_objext conftest
$ac_exeext
36599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36600 (eval $ac_link) 2>conftest.er1
36602 grep -v '^ *+' conftest.er1
>conftest.err
36604 cat conftest.err
>&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); } &&
36607 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; } &&
36613 { ac_try
='test -s conftest$ac_exeext'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; }; then
36619 am_cv_func_iconv
=yes
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.
$ac_ext >&5
36625 rm -f conftest.err conftest.
$ac_objext \
36626 conftest
$ac_exeext conftest.
$ac_ext
36627 if test "$am_cv_func_iconv" != yes; then
36628 am_save_LIBS
="$LIBS"
36629 LIBS
="$LIBS -liconv"
36630 cat >conftest.
$ac_ext <<_ACEOF
36633 cat confdefs.h
>>conftest.
$ac_ext
36634 cat >>conftest.
$ac_ext <<_ACEOF
36635 /* end confdefs.h. */
36636 #include <stdlib.h>
36641 iconv_t cd = iconv_open("","");
36642 iconv(cd,NULL,NULL,NULL,NULL);
36648 rm -f conftest.
$ac_objext conftest
$ac_exeext
36649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36650 (eval $ac_link) 2>conftest.er1
36652 grep -v '^ *+' conftest.er1
>conftest.err
36654 cat conftest.err
>&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } &&
36657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659 (eval $ac_try) 2>&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; } &&
36663 { ac_try
='test -s conftest$ac_exeext'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; }; then
36669 am_cv_lib_iconv
=yes
36670 am_cv_func_iconv
=yes
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.
$ac_ext >&5
36676 rm -f conftest.err conftest.
$ac_objext \
36677 conftest
$ac_exeext conftest.
$ac_ext
36678 LIBS
="$am_save_LIBS"
36682 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36683 echo "${ECHO_T}$am_cv_func_iconv" >&6
36684 if test "$am_cv_func_iconv" = yes; then
36686 cat >>confdefs.h
<<\_ACEOF
36687 #define HAVE_ICONV 1
36690 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36691 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36692 if test "${wx_cv_func_iconv_const+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 cat >conftest.
$ac_ext <<_ACEOF
36698 cat confdefs.h
>>conftest.
$ac_ext
36699 cat >>conftest.
$ac_ext <<_ACEOF
36700 /* end confdefs.h. */
36702 #include <stdlib.h>
36708 #if defined(__STDC__) || defined(__cplusplus)
36709 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36722 rm -f conftest.
$ac_objext
36723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36724 (eval $ac_compile) 2>conftest.er1
36726 grep -v '^ *+' conftest.er1
>conftest.err
36728 cat conftest.err
>&5
36729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36730 (exit $ac_status); } &&
36731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36733 (eval $ac_try) 2>&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); }; } &&
36737 { ac_try
='test -s conftest.$ac_objext'
36738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36739 (eval $ac_try) 2>&5
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); }; }; then
36743 wx_cv_func_iconv_const
="no"
36745 echo "$as_me: failed program was:" >&5
36746 sed 's/^/| /' conftest.
$ac_ext >&5
36748 wx_cv_func_iconv_const
="yes"
36751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36754 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36755 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36758 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36759 iconv_const
="const"
36763 cat >>confdefs.h
<<_ACEOF
36764 #define ICONV_CONST $iconv_const
36769 if test "$am_cv_lib_iconv" = yes; then
36774 LIBS
="$LIBICONV $LIBS"
36776 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36778 for ac_func
in sigaction
36780 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36781 echo "$as_me:$LINENO: checking for $ac_func" >&5
36782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36783 if eval "test \"\${$as_ac_var+set}\" = set"; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36786 cat >conftest.
$ac_ext <<_ACEOF
36789 cat confdefs.h
>>conftest.
$ac_ext
36790 cat >>conftest.
$ac_ext <<_ACEOF
36791 /* end confdefs.h. */
36792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36794 #define $ac_func innocuous_$ac_func
36796 /* System header to define __stub macros and hopefully few prototypes,
36797 which can conflict with char $ac_func (); below.
36798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36799 <limits.h> exists even on freestanding compilers. */
36802 # include <limits.h>
36804 # include <assert.h>
36809 /* Override any gcc2 internal prototype to avoid an error. */
36814 /* We use char because int might match the return type of a gcc2
36815 builtin and then its argument prototype would still apply. */
36817 /* The GNU C library defines this for functions which it implements
36818 to always fail with ENOSYS. Some functions are actually named
36819 something starting with __ and the normal name is an alias. */
36820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36823 char (*f) () = $ac_func;
36832 return f != $ac_func;
36837 rm -f conftest.
$ac_objext conftest
$ac_exeext
36838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36839 (eval $ac_link) 2>conftest.er1
36841 grep -v '^ *+' conftest.er1
>conftest.err
36843 cat conftest.err
>&5
36844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36845 (exit $ac_status); } &&
36846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36848 (eval $ac_try) 2>&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); }; } &&
36852 { ac_try
='test -s conftest$ac_exeext'
36853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854 (eval $ac_try) 2>&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); }; }; then
36858 eval "$as_ac_var=yes"
36860 echo "$as_me: failed program was:" >&5
36861 sed 's/^/| /' conftest.
$ac_ext >&5
36863 eval "$as_ac_var=no"
36865 rm -f conftest.err conftest.
$ac_objext \
36866 conftest
$ac_exeext conftest.
$ac_ext
36868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36870 if test `eval echo '${'$as_ac_var'}'` = yes; then
36871 cat >>confdefs.h
<<_ACEOF
36872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36879 if test "$ac_cv_func_sigaction" = "no"; then
36880 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36881 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36882 wxUSE_ON_FATAL_EXCEPTION
=no
36885 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36886 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36887 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36888 if test "${wx_cv_type_sa_handler+set}" = set; then
36889 echo $ECHO_N "(cached) $ECHO_C" >&6
36892 cat >conftest.
$ac_ext <<_ACEOF
36895 cat confdefs.h
>>conftest.
$ac_ext
36896 cat >>conftest.
$ac_ext <<_ACEOF
36897 /* end confdefs.h. */
36898 #include <signal.h>
36903 extern void testSigHandler(int);
36905 struct sigaction sa;
36906 sa.sa_handler = testSigHandler;
36912 rm -f conftest.
$ac_objext
36913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36914 (eval $ac_compile) 2>conftest.er1
36916 grep -v '^ *+' conftest.er1
>conftest.err
36918 cat conftest.err
>&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } &&
36921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; } &&
36927 { ac_try
='test -s conftest.$ac_objext'
36928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36929 (eval $ac_try) 2>&5
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); }; }; then
36934 wx_cv_type_sa_handler
=int
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.
$ac_ext >&5
36941 wx_cv_type_sa_handler
=void
36944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36947 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36948 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36950 cat >>confdefs.h
<<_ACEOF
36951 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36957 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36958 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36959 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36960 if test "${wx_cv_func_backtrace+set}" = set; then
36961 echo $ECHO_N "(cached) $ECHO_C" >&6
36964 cat >conftest.
$ac_ext <<_ACEOF
36967 cat confdefs.h
>>conftest.
$ac_ext
36968 cat >>conftest.
$ac_ext <<_ACEOF
36969 /* end confdefs.h. */
36970 #include <execinfo.h>
36978 backtrace(trace, 1);
36979 messages = backtrace_symbols(trace, 1);
36985 rm -f conftest.
$ac_objext
36986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36987 (eval $ac_compile) 2>conftest.er1
36989 grep -v '^ *+' conftest.er1
>conftest.err
36991 cat conftest.err
>&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); } &&
36994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; } &&
37000 { ac_try
='test -s conftest.$ac_objext'
37001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37002 (eval $ac_try) 2>&5
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); }; }; then
37006 wx_cv_func_backtrace
=yes
37008 echo "$as_me: failed program was:" >&5
37009 sed 's/^/| /' conftest.
$ac_ext >&5
37011 wx_cv_func_backtrace
=no
37014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37018 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37019 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37022 if test "$wx_cv_func_backtrace" = "no"; then
37023 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37024 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37025 wxUSE_STACKWALKER
=no
37027 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37028 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37029 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37030 echo $ECHO_N "(cached) $ECHO_C" >&6
37033 cat >conftest.
$ac_ext <<_ACEOF
37036 cat confdefs.h
>>conftest.
$ac_ext
37037 cat >>conftest.
$ac_ext <<_ACEOF
37038 /* end confdefs.h. */
37039 #include <cxxabi.h>
37045 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37051 rm -f conftest.
$ac_objext conftest
$ac_exeext
37052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37053 (eval $ac_link) 2>conftest.er1
37055 grep -v '^ *+' conftest.er1
>conftest.err
37057 cat conftest.err
>&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); } &&
37060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37062 (eval $ac_try) 2>&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); }; } &&
37066 { ac_try
='test -s conftest$ac_exeext'
37067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37068 (eval $ac_try) 2>&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); }; }; then
37072 wx_cv_func_cxa_demangle
=yes
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.
$ac_ext >&5
37077 wx_cv_func_cxa_demangle
=no
37080 rm -f conftest.err conftest.
$ac_objext \
37081 conftest
$ac_exeext conftest.
$ac_ext
37085 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37086 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37088 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37089 cat >>confdefs.h
<<\_ACEOF
37090 #define HAVE_CXA_DEMANGLE 1
37097 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37098 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37099 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37100 wxUSE_STACKWALKER
=no
37106 for ac_func
in mkstemp mktemp
37108 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37109 echo "$as_me:$LINENO: checking for $ac_func" >&5
37110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37111 if eval "test \"\${$as_ac_var+set}\" = set"; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 cat >conftest.
$ac_ext <<_ACEOF
37117 cat confdefs.h
>>conftest.
$ac_ext
37118 cat >>conftest.
$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37122 #define $ac_func innocuous_$ac_func
37124 /* System header to define __stub macros and hopefully few prototypes,
37125 which can conflict with char $ac_func (); below.
37126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37127 <limits.h> exists even on freestanding compilers. */
37130 # include <limits.h>
37132 # include <assert.h>
37137 /* Override any gcc2 internal prototype to avoid an error. */
37142 /* We use char because int might match the return type of a gcc2
37143 builtin and then its argument prototype would still apply. */
37145 /* The GNU C library defines this for functions which it implements
37146 to always fail with ENOSYS. Some functions are actually named
37147 something starting with __ and the normal name is an alias. */
37148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37151 char (*f) () = $ac_func;
37160 return f != $ac_func;
37165 rm -f conftest.
$ac_objext conftest
$ac_exeext
37166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37167 (eval $ac_link) 2>conftest.er1
37169 grep -v '^ *+' conftest.er1
>conftest.err
37171 cat conftest.err
>&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } &&
37174 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; } &&
37180 { ac_try
='test -s conftest$ac_exeext'
37181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37182 (eval $ac_try) 2>&5
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); }; }; then
37186 eval "$as_ac_var=yes"
37188 echo "$as_me: failed program was:" >&5
37189 sed 's/^/| /' conftest.
$ac_ext >&5
37191 eval "$as_ac_var=no"
37193 rm -f conftest.err conftest.
$ac_objext \
37194 conftest
$ac_exeext conftest.
$ac_ext
37196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37198 if test `eval echo '${'$as_ac_var'}'` = yes; then
37199 cat >>confdefs.h
<<_ACEOF
37200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37207 echo "$as_me:$LINENO: checking for statfs" >&5
37208 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37209 if test "${wx_cv_func_statfs+set}" = set; then
37210 echo $ECHO_N "(cached) $ECHO_C" >&6
37212 cat >conftest.
$ac_ext <<_ACEOF
37215 cat confdefs.h
>>conftest.
$ac_ext
37216 cat >>conftest.
$ac_ext <<_ACEOF
37217 /* end confdefs.h. */
37219 #if defined(__BSD__)
37220 #include <sys/param.h>
37221 #include <sys/mount.h>
37223 #include <sys/vfs.h>
37241 rm -f conftest.
$ac_objext
37242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37243 (eval $ac_compile) 2>conftest.er1
37245 grep -v '^ *+' conftest.er1
>conftest.err
37247 cat conftest.err
>&5
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); } &&
37250 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252 (eval $ac_try) 2>&5
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); }; } &&
37256 { ac_try
='test -s conftest.$ac_objext'
37257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37258 (eval $ac_try) 2>&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); }; }; then
37262 wx_cv_func_statfs
=yes
37264 echo "$as_me: failed program was:" >&5
37265 sed 's/^/| /' conftest.
$ac_ext >&5
37267 wx_cv_func_statfs
=no
37270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37273 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37274 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37276 if test "$wx_cv_func_statfs" = "yes"; then
37277 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37278 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37279 if test "${wx_cv_func_statfs_decl+set}" = set; then
37280 echo $ECHO_N "(cached) $ECHO_C" >&6
37282 cat >conftest.
$ac_ext <<_ACEOF
37285 cat confdefs.h
>>conftest.
$ac_ext
37286 cat >>conftest.
$ac_ext <<_ACEOF
37287 /* end confdefs.h. */
37289 #if defined(__BSD__)
37290 #include <sys/param.h>
37291 #include <sys/mount.h>
37293 #include <sys/vfs.h>
37307 rm -f conftest.
$ac_objext
37308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37309 (eval $ac_compile) 2>conftest.er1
37311 grep -v '^ *+' conftest.er1
>conftest.err
37313 cat conftest.err
>&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); } &&
37316 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37318 (eval $ac_try) 2>&5
37320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37321 (exit $ac_status); }; } &&
37322 { ac_try
='test -s conftest.$ac_objext'
37323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37324 (eval $ac_try) 2>&5
37326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37327 (exit $ac_status); }; }; then
37328 wx_cv_func_statfs_decl
=yes
37330 echo "$as_me: failed program was:" >&5
37331 sed 's/^/| /' conftest.
$ac_ext >&5
37333 wx_cv_func_statfs_decl
=no
37336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37339 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37340 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37342 if test "$wx_cv_func_statfs_decl" = "yes"; then
37343 cat >>confdefs.h
<<\_ACEOF
37344 #define HAVE_STATFS_DECL 1
37349 wx_cv_type_statvfs_t
="struct statfs"
37350 cat >>confdefs.h
<<\_ACEOF
37351 #define HAVE_STATFS 1
37355 echo "$as_me:$LINENO: checking for statvfs" >&5
37356 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37357 if test "${wx_cv_func_statvfs+set}" = set; then
37358 echo $ECHO_N "(cached) $ECHO_C" >&6
37360 cat >conftest.
$ac_ext <<_ACEOF
37363 cat confdefs.h
>>conftest.
$ac_ext
37364 cat >>conftest.
$ac_ext <<_ACEOF
37365 /* end confdefs.h. */
37367 #include <stddef.h>
37368 #include <sys/statvfs.h>
37374 statvfs("/", NULL);
37380 rm -f conftest.
$ac_objext
37381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37382 (eval $ac_compile) 2>conftest.er1
37384 grep -v '^ *+' conftest.er1
>conftest.err
37386 cat conftest.err
>&5
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); } &&
37389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37391 (eval $ac_try) 2>&5
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); }; } &&
37395 { ac_try
='test -s conftest.$ac_objext'
37396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37397 (eval $ac_try) 2>&5
37399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400 (exit $ac_status); }; }; then
37401 wx_cv_func_statvfs
=yes
37403 echo "$as_me: failed program was:" >&5
37404 sed 's/^/| /' conftest.
$ac_ext >&5
37406 wx_cv_func_statvfs
=no
37409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37412 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37413 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37415 if test "$wx_cv_func_statvfs" = "yes"; then
37416 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37417 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37418 if test "${wx_cv_type_statvfs_t+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 cat >conftest.
$ac_ext <<_ACEOF
37424 cat confdefs.h
>>conftest.
$ac_ext
37425 cat >>conftest.
$ac_ext <<_ACEOF
37426 /* end confdefs.h. */
37428 #include <sys/statvfs.h>
37445 rm -f conftest.
$ac_objext
37446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37447 (eval $ac_compile) 2>conftest.er1
37449 grep -v '^ *+' conftest.er1
>conftest.err
37451 cat conftest.err
>&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } &&
37454 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37456 (eval $ac_try) 2>&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); }; } &&
37460 { ac_try
='test -s conftest.$ac_objext'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; }; then
37466 wx_cv_type_statvfs_t
=statvfs_t
37468 echo "$as_me: failed program was:" >&5
37469 sed 's/^/| /' conftest.
$ac_ext >&5
37472 cat >conftest.
$ac_ext <<_ACEOF
37475 cat confdefs.h
>>conftest.
$ac_ext
37476 cat >>conftest.
$ac_ext <<_ACEOF
37477 /* end confdefs.h. */
37479 #include <sys/statvfs.h>
37496 rm -f conftest.
$ac_objext
37497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37498 (eval $ac_compile) 2>conftest.er1
37500 grep -v '^ *+' conftest.er1
>conftest.err
37502 cat conftest.err
>&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } &&
37505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37507 (eval $ac_try) 2>&5
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); }; } &&
37511 { ac_try
='test -s conftest.$ac_objext'
37512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37513 (eval $ac_try) 2>&5
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); }; }; then
37517 wx_cv_type_statvfs_t
="struct statvfs"
37519 echo "$as_me: failed program was:" >&5
37520 sed 's/^/| /' conftest.
$ac_ext >&5
37522 wx_cv_type_statvfs_t
="unknown"
37525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37532 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37533 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37535 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37536 cat >>confdefs.h
<<\_ACEOF
37537 #define HAVE_STATVFS 1
37542 wx_cv_type_statvfs_t
="unknown"
37546 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37547 cat >>confdefs.h
<<_ACEOF
37548 #define WX_STATFS_T $wx_cv_type_statvfs_t
37552 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37553 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37556 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37559 for ac_func
in fcntl flock
37561 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37562 echo "$as_me:$LINENO: checking for $ac_func" >&5
37563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37564 if eval "test \"\${$as_ac_var+set}\" = set"; then
37565 echo $ECHO_N "(cached) $ECHO_C" >&6
37567 cat >conftest.
$ac_ext <<_ACEOF
37570 cat confdefs.h
>>conftest.
$ac_ext
37571 cat >>conftest.
$ac_ext <<_ACEOF
37572 /* end confdefs.h. */
37573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37575 #define $ac_func innocuous_$ac_func
37577 /* System header to define __stub macros and hopefully few prototypes,
37578 which can conflict with char $ac_func (); below.
37579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37580 <limits.h> exists even on freestanding compilers. */
37583 # include <limits.h>
37585 # include <assert.h>
37590 /* Override any gcc2 internal prototype to avoid an error. */
37595 /* We use char because int might match the return type of a gcc2
37596 builtin and then its argument prototype would still apply. */
37598 /* The GNU C library defines this for functions which it implements
37599 to always fail with ENOSYS. Some functions are actually named
37600 something starting with __ and the normal name is an alias. */
37601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37604 char (*f) () = $ac_func;
37613 return f != $ac_func;
37618 rm -f conftest.
$ac_objext conftest
$ac_exeext
37619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37620 (eval $ac_link) 2>conftest.er1
37622 grep -v '^ *+' conftest.er1
>conftest.err
37624 cat conftest.err
>&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); } &&
37627 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37629 (eval $ac_try) 2>&5
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); }; } &&
37633 { ac_try
='test -s conftest$ac_exeext'
37634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37635 (eval $ac_try) 2>&5
37637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37638 (exit $ac_status); }; }; then
37639 eval "$as_ac_var=yes"
37641 echo "$as_me: failed program was:" >&5
37642 sed 's/^/| /' conftest.
$ac_ext >&5
37644 eval "$as_ac_var=no"
37646 rm -f conftest.err conftest.
$ac_objext \
37647 conftest
$ac_exeext conftest.
$ac_ext
37649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37651 if test `eval echo '${'$as_ac_var'}'` = yes; then
37652 cat >>confdefs.h
<<_ACEOF
37653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37660 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37661 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37662 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37663 wxUSE_SNGLINST_CHECKER
=no
37668 for ac_func
in timegm
37670 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37671 echo "$as_me:$LINENO: checking for $ac_func" >&5
37672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37673 if eval "test \"\${$as_ac_var+set}\" = set"; then
37674 echo $ECHO_N "(cached) $ECHO_C" >&6
37676 cat >conftest.
$ac_ext <<_ACEOF
37679 cat confdefs.h
>>conftest.
$ac_ext
37680 cat >>conftest.
$ac_ext <<_ACEOF
37681 /* end confdefs.h. */
37682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37684 #define $ac_func innocuous_$ac_func
37686 /* System header to define __stub macros and hopefully few prototypes,
37687 which can conflict with char $ac_func (); below.
37688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37689 <limits.h> exists even on freestanding compilers. */
37692 # include <limits.h>
37694 # include <assert.h>
37699 /* Override any gcc2 internal prototype to avoid an error. */
37704 /* We use char because int might match the return type of a gcc2
37705 builtin and then its argument prototype would still apply. */
37707 /* The GNU C library defines this for functions which it implements
37708 to always fail with ENOSYS. Some functions are actually named
37709 something starting with __ and the normal name is an alias. */
37710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37713 char (*f) () = $ac_func;
37722 return f != $ac_func;
37727 rm -f conftest.
$ac_objext conftest
$ac_exeext
37728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37729 (eval $ac_link) 2>conftest.er1
37731 grep -v '^ *+' conftest.er1
>conftest.err
37733 cat conftest.err
>&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); } &&
37736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; } &&
37742 { ac_try
='test -s conftest$ac_exeext'
37743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37744 (eval $ac_try) 2>&5
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); }; }; then
37748 eval "$as_ac_var=yes"
37750 echo "$as_me: failed program was:" >&5
37751 sed 's/^/| /' conftest.
$ac_ext >&5
37753 eval "$as_ac_var=no"
37755 rm -f conftest.err conftest.
$ac_objext \
37756 conftest
$ac_exeext conftest.
$ac_ext
37758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37760 if test `eval echo '${'$as_ac_var'}'` = yes; then
37761 cat >>confdefs.h
<<_ACEOF
37762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37771 for ac_func
in putenv setenv
37773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37774 echo "$as_me:$LINENO: checking for $ac_func" >&5
37775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37776 if eval "test \"\${$as_ac_var+set}\" = set"; then
37777 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 cat >conftest.
$ac_ext <<_ACEOF
37782 cat confdefs.h
>>conftest.
$ac_ext
37783 cat >>conftest.
$ac_ext <<_ACEOF
37784 /* end confdefs.h. */
37785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37787 #define $ac_func innocuous_$ac_func
37789 /* System header to define __stub macros and hopefully few prototypes,
37790 which can conflict with char $ac_func (); below.
37791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37792 <limits.h> exists even on freestanding compilers. */
37795 # include <limits.h>
37797 # include <assert.h>
37802 /* Override any gcc2 internal prototype to avoid an error. */
37807 /* We use char because int might match the return type of a gcc2
37808 builtin and then its argument prototype would still apply. */
37810 /* The GNU C library defines this for functions which it implements
37811 to always fail with ENOSYS. Some functions are actually named
37812 something starting with __ and the normal name is an alias. */
37813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37816 char (*f) () = $ac_func;
37825 return f != $ac_func;
37830 rm -f conftest.
$ac_objext conftest
$ac_exeext
37831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37832 (eval $ac_link) 2>conftest.er1
37834 grep -v '^ *+' conftest.er1
>conftest.err
37836 cat conftest.err
>&5
37837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 (exit $ac_status); } &&
37839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841 (eval $ac_try) 2>&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); }; } &&
37845 { ac_try
='test -s conftest$ac_exeext'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; }; then
37851 eval "$as_ac_var=yes"
37853 echo "$as_me: failed program was:" >&5
37854 sed 's/^/| /' conftest.
$ac_ext >&5
37856 eval "$as_ac_var=no"
37858 rm -f conftest.err conftest.
$ac_objext \
37859 conftest
$ac_exeext conftest.
$ac_ext
37861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37863 if test `eval echo '${'$as_ac_var'}'` = yes; then
37864 cat >>confdefs.h
<<_ACEOF
37865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37872 HAVE_SOME_SLEEP_FUNC
=0
37873 if test "$USE_BEOS" = 1; then
37874 cat >>confdefs.h
<<\_ACEOF
37875 #define HAVE_SLEEP 1
37878 HAVE_SOME_SLEEP_FUNC
=1
37881 if test "$USE_DARWIN" = 1; then
37882 cat >>confdefs.h
<<\_ACEOF
37883 #define HAVE_USLEEP 1
37886 HAVE_SOME_SLEEP_FUNC
=1
37889 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37892 for ac_func
in nanosleep
37894 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37895 echo "$as_me:$LINENO: checking for $ac_func" >&5
37896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37897 if eval "test \"\${$as_ac_var+set}\" = set"; then
37898 echo $ECHO_N "(cached) $ECHO_C" >&6
37900 cat >conftest.
$ac_ext <<_ACEOF
37903 cat confdefs.h
>>conftest.
$ac_ext
37904 cat >>conftest.
$ac_ext <<_ACEOF
37905 /* end confdefs.h. */
37906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37908 #define $ac_func innocuous_$ac_func
37910 /* System header to define __stub macros and hopefully few prototypes,
37911 which can conflict with char $ac_func (); below.
37912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37913 <limits.h> exists even on freestanding compilers. */
37916 # include <limits.h>
37918 # include <assert.h>
37923 /* Override any gcc2 internal prototype to avoid an error. */
37928 /* We use char because int might match the return type of a gcc2
37929 builtin and then its argument prototype would still apply. */
37931 /* The GNU C library defines this for functions which it implements
37932 to always fail with ENOSYS. Some functions are actually named
37933 something starting with __ and the normal name is an alias. */
37934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37937 char (*f) () = $ac_func;
37946 return f != $ac_func;
37951 rm -f conftest.
$ac_objext conftest
$ac_exeext
37952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37953 (eval $ac_link) 2>conftest.er1
37955 grep -v '^ *+' conftest.er1
>conftest.err
37957 cat conftest.err
>&5
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); } &&
37960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37962 (eval $ac_try) 2>&5
37964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37965 (exit $ac_status); }; } &&
37966 { ac_try
='test -s conftest$ac_exeext'
37967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37968 (eval $ac_try) 2>&5
37970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971 (exit $ac_status); }; }; then
37972 eval "$as_ac_var=yes"
37974 echo "$as_me: failed program was:" >&5
37975 sed 's/^/| /' conftest.
$ac_ext >&5
37977 eval "$as_ac_var=no"
37979 rm -f conftest.err conftest.
$ac_objext \
37980 conftest
$ac_exeext conftest.
$ac_ext
37982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37984 if test `eval echo '${'$as_ac_var'}'` = yes; then
37985 cat >>confdefs.h
<<_ACEOF
37986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37988 cat >>confdefs.h
<<\_ACEOF
37989 #define HAVE_NANOSLEEP 1
37994 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37995 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37996 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37997 echo $ECHO_N "(cached) $ECHO_C" >&6
37999 ac_check_lib_save_LIBS
=$LIBS
38000 LIBS
="-lposix4 $LIBS"
38001 cat >conftest.
$ac_ext <<_ACEOF
38004 cat confdefs.h
>>conftest.
$ac_ext
38005 cat >>conftest.
$ac_ext <<_ACEOF
38006 /* end confdefs.h. */
38008 /* Override any gcc2 internal prototype to avoid an error. */
38012 /* We use char because int might match the return type of a gcc2
38013 builtin and then its argument prototype would still apply. */
38023 rm -f conftest.
$ac_objext conftest
$ac_exeext
38024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38025 (eval $ac_link) 2>conftest.er1
38027 grep -v '^ *+' conftest.er1
>conftest.err
38029 cat conftest.err
>&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } &&
38032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try
='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 ac_cv_lib_posix4_nanosleep
=yes
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.
$ac_ext >&5
38049 ac_cv_lib_posix4_nanosleep
=no
38051 rm -f conftest.err conftest.
$ac_objext \
38052 conftest
$ac_exeext conftest.
$ac_ext
38053 LIBS
=$ac_check_lib_save_LIBS
38055 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38056 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38057 if test $ac_cv_lib_posix4_nanosleep = yes; then
38059 cat >>confdefs.h
<<\_ACEOF
38060 #define HAVE_NANOSLEEP 1
38063 POSIX4_LINK
=" -lposix4"
38068 for ac_func
in usleep
38070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38071 echo "$as_me:$LINENO: checking for $ac_func" >&5
38072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38073 if eval "test \"\${$as_ac_var+set}\" = set"; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38076 cat >conftest.
$ac_ext <<_ACEOF
38079 cat confdefs.h
>>conftest.
$ac_ext
38080 cat >>conftest.
$ac_ext <<_ACEOF
38081 /* end confdefs.h. */
38082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38084 #define $ac_func innocuous_$ac_func
38086 /* System header to define __stub macros and hopefully few prototypes,
38087 which can conflict with char $ac_func (); below.
38088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38089 <limits.h> exists even on freestanding compilers. */
38092 # include <limits.h>
38094 # include <assert.h>
38099 /* Override any gcc2 internal prototype to avoid an error. */
38104 /* We use char because int might match the return type of a gcc2
38105 builtin and then its argument prototype would still apply. */
38107 /* The GNU C library defines this for functions which it implements
38108 to always fail with ENOSYS. Some functions are actually named
38109 something starting with __ and the normal name is an alias. */
38110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38113 char (*f) () = $ac_func;
38122 return f != $ac_func;
38127 rm -f conftest.
$ac_objext conftest
$ac_exeext
38128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38129 (eval $ac_link) 2>conftest.er1
38131 grep -v '^ *+' conftest.er1
>conftest.err
38133 cat conftest.err
>&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); } &&
38136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try
='test -s conftest$ac_exeext'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; }; then
38148 eval "$as_ac_var=yes"
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.
$ac_ext >&5
38153 eval "$as_ac_var=no"
38155 rm -f conftest.err conftest.
$ac_objext \
38156 conftest
$ac_exeext conftest.
$ac_ext
38158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38160 if test `eval echo '${'$as_ac_var'}'` = yes; then
38161 cat >>confdefs.h
<<_ACEOF
38162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38164 cat >>confdefs.h
<<\_ACEOF
38165 #define HAVE_USLEEP 1
38169 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38170 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38188 for ac_func
in uname gethostname
38190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38191 echo "$as_me:$LINENO: checking for $ac_func" >&5
38192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38193 if eval "test \"\${$as_ac_var+set}\" = set"; then
38194 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 cat >conftest.
$ac_ext <<_ACEOF
38199 cat confdefs.h
>>conftest.
$ac_ext
38200 cat >>conftest.
$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38204 #define $ac_func innocuous_$ac_func
38206 /* System header to define __stub macros and hopefully few prototypes,
38207 which can conflict with char $ac_func (); below.
38208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38209 <limits.h> exists even on freestanding compilers. */
38212 # include <limits.h>
38214 # include <assert.h>
38219 /* Override any gcc2 internal prototype to avoid an error. */
38224 /* We use char because int might match the return type of a gcc2
38225 builtin and then its argument prototype would still apply. */
38227 /* The GNU C library defines this for functions which it implements
38228 to always fail with ENOSYS. Some functions are actually named
38229 something starting with __ and the normal name is an alias. */
38230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38233 char (*f) () = $ac_func;
38242 return f != $ac_func;
38247 rm -f conftest.
$ac_objext conftest
$ac_exeext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38249 (eval $ac_link) 2>conftest.er1
38251 grep -v '^ *+' conftest.er1
>conftest.err
38253 cat conftest.err
>&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } &&
38256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38258 (eval $ac_try) 2>&5
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); }; } &&
38262 { ac_try
='test -s conftest$ac_exeext'
38263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38264 (eval $ac_try) 2>&5
38266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267 (exit $ac_status); }; }; then
38268 eval "$as_ac_var=yes"
38270 echo "$as_me: failed program was:" >&5
38271 sed 's/^/| /' conftest.
$ac_ext >&5
38273 eval "$as_ac_var=no"
38275 rm -f conftest.err conftest.
$ac_objext \
38276 conftest
$ac_exeext conftest.
$ac_ext
38278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38280 if test `eval echo '${'$as_ac_var'}'` = yes; then
38281 cat >>confdefs.h
<<_ACEOF
38282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38290 for wx_func
in strtok_r
38292 echo "$as_me:$LINENO: checking for $wx_func" >&5
38293 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38294 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38295 echo $ECHO_N "(cached) $ECHO_C" >&6
38298 cat >conftest.
$ac_ext <<_ACEOF
38302 cat confdefs.h
>>conftest.
$ac_ext
38303 cat >>conftest.
$ac_ext <<_ACEOF
38304 /* end confdefs.h. */
38307 $ac_includes_default
38323 rm -f conftest.
$ac_objext conftest
$ac_exeext
38324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38325 (eval $ac_link) 2>conftest.er1
38327 grep -v '^ *+' conftest.er1
>conftest.err
38329 cat conftest.err
>&5
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); } &&
38332 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; } &&
38338 { ac_try
='test -s conftest$ac_exeext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 eval wx_cv_func_
$wx_func=yes
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.
$ac_ext >&5
38349 eval wx_cv_func_
$wx_func=no
38351 rm -f conftest.err conftest.
$ac_objext \
38352 conftest
$ac_exeext conftest.
$ac_ext
38355 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38356 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38358 if eval test \
$wx_cv_func_$wx_func = yes
38360 cat >>confdefs.h
<<_ACEOF
38361 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38374 for ac_func
in inet_addr
38376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38377 echo "$as_me:$LINENO: checking for $ac_func" >&5
38378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38379 if eval "test \"\${$as_ac_var+set}\" = set"; then
38380 echo $ECHO_N "(cached) $ECHO_C" >&6
38382 cat >conftest.
$ac_ext <<_ACEOF
38385 cat confdefs.h
>>conftest.
$ac_ext
38386 cat >>conftest.
$ac_ext <<_ACEOF
38387 /* end confdefs.h. */
38388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38390 #define $ac_func innocuous_$ac_func
38392 /* System header to define __stub macros and hopefully few prototypes,
38393 which can conflict with char $ac_func (); below.
38394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38395 <limits.h> exists even on freestanding compilers. */
38398 # include <limits.h>
38400 # include <assert.h>
38405 /* Override any gcc2 internal prototype to avoid an error. */
38410 /* We use char because int might match the return type of a gcc2
38411 builtin and then its argument prototype would still apply. */
38413 /* The GNU C library defines this for functions which it implements
38414 to always fail with ENOSYS. Some functions are actually named
38415 something starting with __ and the normal name is an alias. */
38416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38419 char (*f) () = $ac_func;
38428 return f != $ac_func;
38433 rm -f conftest.
$ac_objext conftest
$ac_exeext
38434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38435 (eval $ac_link) 2>conftest.er1
38437 grep -v '^ *+' conftest.er1
>conftest.err
38439 cat conftest.err
>&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } &&
38442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try
='test -s conftest$ac_exeext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 eval "$as_ac_var=yes"
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.
$ac_ext >&5
38459 eval "$as_ac_var=no"
38461 rm -f conftest.err conftest.
$ac_objext \
38462 conftest
$ac_exeext conftest.
$ac_ext
38464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38466 if test `eval echo '${'$as_ac_var'}'` = yes; then
38467 cat >>confdefs.h
<<_ACEOF
38468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38470 cat >>confdefs.h
<<\_ACEOF
38471 #define HAVE_INET_ADDR 1
38476 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38477 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38478 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38481 ac_check_lib_save_LIBS
=$LIBS
38483 cat >conftest.
$ac_ext <<_ACEOF
38486 cat confdefs.h
>>conftest.
$ac_ext
38487 cat >>conftest.
$ac_ext <<_ACEOF
38488 /* end confdefs.h. */
38490 /* Override any gcc2 internal prototype to avoid an error. */
38494 /* We use char because int might match the return type of a gcc2
38495 builtin and then its argument prototype would still apply. */
38505 rm -f conftest.
$ac_objext conftest
$ac_exeext
38506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38507 (eval $ac_link) 2>conftest.er1
38509 grep -v '^ *+' conftest.er1
>conftest.err
38511 cat conftest.err
>&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); } &&
38514 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38516 (eval $ac_try) 2>&5
38518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38519 (exit $ac_status); }; } &&
38520 { ac_try
='test -s conftest$ac_exeext'
38521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38522 (eval $ac_try) 2>&5
38524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38525 (exit $ac_status); }; }; then
38526 ac_cv_lib_nsl_inet_addr
=yes
38528 echo "$as_me: failed program was:" >&5
38529 sed 's/^/| /' conftest.
$ac_ext >&5
38531 ac_cv_lib_nsl_inet_addr
=no
38533 rm -f conftest.err conftest.
$ac_objext \
38534 conftest
$ac_exeext conftest.
$ac_ext
38535 LIBS
=$ac_check_lib_save_LIBS
38537 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38538 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38539 if test $ac_cv_lib_nsl_inet_addr = yes; then
38543 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38544 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38545 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38546 echo $ECHO_N "(cached) $ECHO_C" >&6
38548 ac_check_lib_save_LIBS
=$LIBS
38549 LIBS
="-lresolv $LIBS"
38550 cat >conftest.
$ac_ext <<_ACEOF
38553 cat confdefs.h
>>conftest.
$ac_ext
38554 cat >>conftest.
$ac_ext <<_ACEOF
38555 /* end confdefs.h. */
38557 /* Override any gcc2 internal prototype to avoid an error. */
38561 /* We use char because int might match the return type of a gcc2
38562 builtin and then its argument prototype would still apply. */
38572 rm -f conftest.
$ac_objext conftest
$ac_exeext
38573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38574 (eval $ac_link) 2>conftest.er1
38576 grep -v '^ *+' conftest.er1
>conftest.err
38578 cat conftest.err
>&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } &&
38581 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38583 (eval $ac_try) 2>&5
38585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586 (exit $ac_status); }; } &&
38587 { ac_try
='test -s conftest$ac_exeext'
38588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38589 (eval $ac_try) 2>&5
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); }; }; then
38593 ac_cv_lib_resolv_inet_addr
=yes
38595 echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.
$ac_ext >&5
38598 ac_cv_lib_resolv_inet_addr
=no
38600 rm -f conftest.err conftest.
$ac_objext \
38601 conftest
$ac_exeext conftest.
$ac_ext
38602 LIBS
=$ac_check_lib_save_LIBS
38604 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38605 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38606 if test $ac_cv_lib_resolv_inet_addr = yes; then
38610 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38611 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38612 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38613 echo $ECHO_N "(cached) $ECHO_C" >&6
38615 ac_check_lib_save_LIBS
=$LIBS
38616 LIBS
="-lsocket $LIBS"
38617 cat >conftest.
$ac_ext <<_ACEOF
38620 cat confdefs.h
>>conftest.
$ac_ext
38621 cat >>conftest.
$ac_ext <<_ACEOF
38622 /* end confdefs.h. */
38624 /* Override any gcc2 internal prototype to avoid an error. */
38628 /* We use char because int might match the return type of a gcc2
38629 builtin and then its argument prototype would still apply. */
38639 rm -f conftest.
$ac_objext conftest
$ac_exeext
38640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38641 (eval $ac_link) 2>conftest.er1
38643 grep -v '^ *+' conftest.er1
>conftest.err
38645 cat conftest.err
>&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } &&
38648 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38650 (eval $ac_try) 2>&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); }; } &&
38654 { ac_try
='test -s conftest$ac_exeext'
38655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38656 (eval $ac_try) 2>&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); }; }; then
38660 ac_cv_lib_socket_inet_addr
=yes
38662 echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.
$ac_ext >&5
38665 ac_cv_lib_socket_inet_addr
=no
38667 rm -f conftest.err conftest.
$ac_objext \
38668 conftest
$ac_exeext conftest.
$ac_ext
38669 LIBS
=$ac_check_lib_save_LIBS
38671 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38672 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38673 if test $ac_cv_lib_socket_inet_addr = yes; then
38693 for ac_func
in inet_aton
38695 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38696 echo "$as_me:$LINENO: checking for $ac_func" >&5
38697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38698 if eval "test \"\${$as_ac_var+set}\" = set"; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38701 cat >conftest.
$ac_ext <<_ACEOF
38704 cat confdefs.h
>>conftest.
$ac_ext
38705 cat >>conftest.
$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38709 #define $ac_func innocuous_$ac_func
38711 /* System header to define __stub macros and hopefully few prototypes,
38712 which can conflict with char $ac_func (); below.
38713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38714 <limits.h> exists even on freestanding compilers. */
38717 # include <limits.h>
38719 # include <assert.h>
38724 /* Override any gcc2 internal prototype to avoid an error. */
38729 /* We use char because int might match the return type of a gcc2
38730 builtin and then its argument prototype would still apply. */
38732 /* The GNU C library defines this for functions which it implements
38733 to always fail with ENOSYS. Some functions are actually named
38734 something starting with __ and the normal name is an alias. */
38735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38738 char (*f) () = $ac_func;
38747 return f != $ac_func;
38752 rm -f conftest.
$ac_objext conftest
$ac_exeext
38753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38754 (eval $ac_link) 2>conftest.er1
38756 grep -v '^ *+' conftest.er1
>conftest.err
38758 cat conftest.err
>&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } &&
38761 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38763 (eval $ac_try) 2>&5
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); }; } &&
38767 { ac_try
='test -s conftest$ac_exeext'
38768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38769 (eval $ac_try) 2>&5
38771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772 (exit $ac_status); }; }; then
38773 eval "$as_ac_var=yes"
38775 echo "$as_me: failed program was:" >&5
38776 sed 's/^/| /' conftest.
$ac_ext >&5
38778 eval "$as_ac_var=no"
38780 rm -f conftest.err conftest.
$ac_objext \
38781 conftest
$ac_exeext conftest.
$ac_ext
38783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38785 if test `eval echo '${'$as_ac_var'}'` = yes; then
38786 cat >>confdefs.h
<<_ACEOF
38787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38789 cat >>confdefs.h
<<\_ACEOF
38790 #define HAVE_INET_ATON 1
38795 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38796 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38797 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38798 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38799 echo $ECHO_N "(cached) $ECHO_C" >&6
38801 ac_check_lib_save_LIBS
=$LIBS
38802 LIBS
="-l$INET_LINK $LIBS"
38803 cat >conftest.
$ac_ext <<_ACEOF
38806 cat confdefs.h
>>conftest.
$ac_ext
38807 cat >>conftest.
$ac_ext <<_ACEOF
38808 /* end confdefs.h. */
38810 /* Override any gcc2 internal prototype to avoid an error. */
38814 /* We use char because int might match the return type of a gcc2
38815 builtin and then its argument prototype would still apply. */
38825 rm -f conftest.
$ac_objext conftest
$ac_exeext
38826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38827 (eval $ac_link) 2>conftest.er1
38829 grep -v '^ *+' conftest.er1
>conftest.err
38831 cat conftest.err
>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); } &&
38834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; } &&
38840 { ac_try
='test -s conftest$ac_exeext'
38841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38842 (eval $ac_try) 2>&5
38844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 (exit $ac_status); }; }; then
38846 eval "$as_ac_Lib=yes"
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.
$ac_ext >&5
38851 eval "$as_ac_Lib=no"
38853 rm -f conftest.err conftest.
$ac_objext \
38854 conftest
$ac_exeext conftest.
$ac_ext
38855 LIBS
=$ac_check_lib_save_LIBS
38857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38858 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38859 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38860 cat >>confdefs.h
<<\_ACEOF
38861 #define HAVE_INET_ATON 1
38871 if test "x$INET_LINK" != "x"; then
38872 cat >>confdefs.h
<<\_ACEOF
38873 #define HAVE_INET_ADDR 1
38876 INET_LINK
=" -l$INET_LINK"
38880 for wx_func
in fdopen
38882 echo "$as_me:$LINENO: checking for $wx_func" >&5
38883 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38884 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38885 echo $ECHO_N "(cached) $ECHO_C" >&6
38888 cat >conftest.
$ac_ext <<_ACEOF
38892 cat confdefs.h
>>conftest.
$ac_ext
38893 cat >>conftest.
$ac_ext <<_ACEOF
38894 /* end confdefs.h. */
38897 $ac_includes_default
38913 rm -f conftest.
$ac_objext conftest
$ac_exeext
38914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38915 (eval $ac_link) 2>conftest.er1
38917 grep -v '^ *+' conftest.er1
>conftest.err
38919 cat conftest.err
>&5
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); } &&
38922 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38924 (eval $ac_try) 2>&5
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); }; } &&
38928 { ac_try
='test -s conftest$ac_exeext'
38929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38930 (eval $ac_try) 2>&5
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); }; }; then
38934 eval wx_cv_func_
$wx_func=yes
38936 echo "$as_me: failed program was:" >&5
38937 sed 's/^/| /' conftest.
$ac_ext >&5
38939 eval wx_cv_func_
$wx_func=no
38941 rm -f conftest.err conftest.
$ac_objext \
38942 conftest
$ac_exeext conftest.
$ac_ext
38945 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38946 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38948 if eval test \
$wx_cv_func_$wx_func = yes
38950 cat >>confdefs.h
<<_ACEOF
38951 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38968 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38969 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38970 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38971 echo $ECHO_N "(cached) $ECHO_C" >&6
38973 ac_check_lib_save_LIBS
=$LIBS
38975 cat >conftest.
$ac_ext <<_ACEOF
38978 cat confdefs.h
>>conftest.
$ac_ext
38979 cat >>conftest.
$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38982 /* Override any gcc2 internal prototype to avoid an error. */
38986 /* We use char because int might match the return type of a gcc2
38987 builtin and then its argument prototype would still apply. */
38997 rm -f conftest.
$ac_objext conftest
$ac_exeext
38998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38999 (eval $ac_link) 2>conftest.er1
39001 grep -v '^ *+' conftest.er1
>conftest.err
39003 cat conftest.err
>&5
39004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39005 (exit $ac_status); } &&
39006 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39008 (eval $ac_try) 2>&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); }; } &&
39012 { ac_try
='test -s conftest$ac_exeext'
39013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39014 (eval $ac_try) 2>&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); }; }; then
39018 ac_cv_lib_esd_esd_close
=yes
39020 echo "$as_me: failed program was:" >&5
39021 sed 's/^/| /' conftest.
$ac_ext >&5
39023 ac_cv_lib_esd_esd_close
=no
39025 rm -f conftest.err conftest.
$ac_objext \
39026 conftest
$ac_exeext conftest.
$ac_ext
39027 LIBS
=$ac_check_lib_save_LIBS
39029 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39030 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39031 if test $ac_cv_lib_esd_esd_close = yes; then
39034 for ac_header
in esd.h
39036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39038 echo "$as_me:$LINENO: checking for $ac_header" >&5
39039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39041 echo $ECHO_N "(cached) $ECHO_C" >&6
39043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39046 # Is the header compilable?
39047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39049 cat >conftest.
$ac_ext <<_ACEOF
39052 cat confdefs.h
>>conftest.
$ac_ext
39053 cat >>conftest.
$ac_ext <<_ACEOF
39054 /* end confdefs.h. */
39055 $ac_includes_default
39056 #include <$ac_header>
39058 rm -f conftest.
$ac_objext
39059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39060 (eval $ac_compile) 2>conftest.er1
39062 grep -v '^ *+' conftest.er1
>conftest.err
39064 cat conftest.err
>&5
39065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39066 (exit $ac_status); } &&
39067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39069 (eval $ac_try) 2>&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); }; } &&
39073 { ac_try
='test -s conftest.$ac_objext'
39074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39075 (eval $ac_try) 2>&5
39077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078 (exit $ac_status); }; }; then
39079 ac_header_compiler
=yes
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.
$ac_ext >&5
39084 ac_header_compiler
=no
39086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39088 echo "${ECHO_T}$ac_header_compiler" >&6
39090 # Is the header present?
39091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39093 cat >conftest.
$ac_ext <<_ACEOF
39096 cat confdefs.h
>>conftest.
$ac_ext
39097 cat >>conftest.
$ac_ext <<_ACEOF
39098 /* end confdefs.h. */
39099 #include <$ac_header>
39101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39104 grep -v '^ *+' conftest.er1
>conftest.err
39106 cat conftest.err
>&5
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); } >/dev
/null
; then
39109 if test -s conftest.err
; then
39110 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39111 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39118 if test -z "$ac_cpp_err"; then
39119 ac_header_preproc
=yes
39121 echo "$as_me: failed program was:" >&5
39122 sed 's/^/| /' conftest.
$ac_ext >&5
39124 ac_header_preproc
=no
39126 rm -f conftest.err conftest.
$ac_ext
39127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39128 echo "${ECHO_T}$ac_header_preproc" >&6
39130 # So? What about this header?
39131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39137 ac_header_preproc
=yes
39140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39154 ## ----------------------------------------- ##
39155 ## Report this to wx-dev@lists.wxwidgets.org ##
39156 ## ----------------------------------------- ##
39159 sed "s/^/$as_me: WARNING: /" >&2
39162 echo "$as_me:$LINENO: checking for $ac_header" >&5
39163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39165 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 eval "$as_ac_Header=\$ac_header_preproc"
39169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39174 cat >>confdefs.h
<<_ACEOF
39175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39178 EXTRALIBS_ESD
="-lesd"
39189 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39190 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39191 cat >conftest.
$ac_ext <<_ACEOF
39194 cat confdefs.h
>>conftest.
$ac_ext
39195 cat >>conftest.
$ac_ext <<_ACEOF
39196 /* end confdefs.h. */
39198 #include <linux/cdrom.h>
39201 #include <sys/cdio.h>
39207 struct cdrom_tocentry entry, old_entry;
39212 rm -f conftest.
$ac_objext
39213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39214 (eval $ac_compile) 2>conftest.er1
39216 grep -v '^ *+' conftest.er1
>conftest.err
39218 cat conftest.err
>&5
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); } &&
39221 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39223 (eval $ac_try) 2>&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); }; } &&
39227 { ac_try
='test -s conftest.$ac_objext'
39228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39229 (eval $ac_try) 2>&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); }; }; then
39233 echo "$as_me:$LINENO: result: yes" >&5
39234 echo "${ECHO_T}yes" >&6
39235 cat >>confdefs.h
<<\_ACEOF
39236 #define HAVE_KNOWN_CDROM_INTERFACE 1
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.
$ac_ext >&5
39243 echo "$as_me:$LINENO: result: no" >&5
39244 echo "${ECHO_T}no" >&6
39246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39249 cat >confcache
<<\_ACEOF
39250 # This file is a shell script that caches the results of configure
39251 # tests run on this system so they can be shared between configure
39252 # scripts and configure runs, see configure's option --config-cache.
39253 # It is not useful on other systems. If it contains results you don't
39254 # want to keep, you may remove or edit it.
39256 # config.status only pays attention to the cache file if you give it
39257 # the --recheck option to rerun configure.
39259 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39260 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39261 # following values.
39265 # The following way of writing the cache mishandles newlines in values,
39266 # but we know of no workaround that is simple, portable, and efficient.
39267 # So, don't put newlines in cache variables' values.
39268 # Ultrix sh set writes to stderr and can't be redirected directly,
39269 # and sets the high bit in the cache file unless we assign to the vars.
39272 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39274 # `set' does not quote correctly, so add quotes (double-quote
39275 # substitution turns \\\\ into \\, and sed turns \\ into \).
39278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39281 # `set' quotes correctly as required by POSIX, so do not add quotes.
39283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39290 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39292 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39294 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39295 if test -w $cache_file; then
39296 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39297 cat confcache
>$cache_file
39299 echo "not updating unwritable cache $cache_file"
39305 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39311 if test "$wxUSE_THREADS" = "yes" ; then
39312 if test "$USE_BEOS" = 1; then
39313 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39314 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39319 if test "$wxUSE_THREADS" = "yes" ; then
39322 THREAD_OPTS
="-pthread"
39324 *-*-solaris2* | *-*-sunos4* )
39325 if test "x$GCC" = "xyes"; then
39326 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39328 THREAD_OPTS
="-mt $THREAD_OPTS"
39332 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39334 *-*-darwin* | *-*-cygwin* )
39338 THREAD_OPTS
="pthreads"
39341 if test "x$GCC" = "xyes"; then
39342 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39350 if test "x$GCC" = "xyes"; then
39356 if test "x$GCC" != "xyes"; then
39357 THREAD_OPTS
="-Ethread"
39362 THREAD_OPTS
="$THREAD_OPTS pthread none"
39365 for flag
in $THREAD_OPTS; do
39368 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39369 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39373 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39374 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39375 THREADS_CXXFLAGS
="$flag"
39379 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39380 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39381 THREADS_LINK
="-l$flag"
39386 save_CXXFLAGS
="$CXXFLAGS"
39387 LIBS
="$THREADS_LINK $LIBS"
39388 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
39390 cat >conftest.
$ac_ext <<_ACEOF
39393 cat confdefs.h
>>conftest.
$ac_ext
39394 cat >>conftest.
$ac_ext <<_ACEOF
39395 /* end confdefs.h. */
39396 #include <pthread.h>
39400 pthread_create(0,0,0,0);
39405 rm -f conftest.
$ac_objext conftest
$ac_exeext
39406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39407 (eval $ac_link) 2>conftest.er1
39409 grep -v '^ *+' conftest.er1
>conftest.err
39411 cat conftest.err
>&5
39412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39413 (exit $ac_status); } &&
39414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39416 (eval $ac_try) 2>&5
39418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39419 (exit $ac_status); }; } &&
39420 { ac_try
='test -s conftest$ac_exeext'
39421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39422 (eval $ac_try) 2>&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); }; }; then
39428 echo "$as_me: failed program was:" >&5
39429 sed 's/^/| /' conftest.
$ac_ext >&5
39432 rm -f conftest.err conftest.
$ac_objext \
39433 conftest
$ac_exeext conftest.
$ac_ext
39436 CXXFLAGS
="$save_CXXFLAGS"
39438 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39439 echo "${ECHO_T}$THREADS_OK" >&6
39440 if test "x$THREADS_OK" = "xyes"; then
39445 THREADS_CXXFLAGS
=""
39448 if test "x$THREADS_OK" != "xyes"; then
39450 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39451 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39453 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39454 LIBS
="$THREADS_LINK $LIBS"
39456 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39457 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39461 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39462 flag
="-D_THREAD_SAFE"
39465 flag
="-D_THREAD_SAFE"
39468 flag
="-D_REENTRANT"
39469 if test "x$GCC" != "xyes"; then
39470 flag
="$flag -D_RWSTD_MULTI_THREAD"
39473 *solaris
* | alpha
*-osf*)
39474 flag
="-D_REENTRANT"
39477 echo "$as_me:$LINENO: result: ${flag}" >&5
39478 echo "${ECHO_T}${flag}" >&6
39479 if test "x$flag" != xno
; then
39480 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39483 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39487 if test "$wxUSE_THREADS" = "yes" ; then
39489 for ac_func
in thr_setconcurrency
39491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39492 echo "$as_me:$LINENO: checking for $ac_func" >&5
39493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39494 if eval "test \"\${$as_ac_var+set}\" = set"; then
39495 echo $ECHO_N "(cached) $ECHO_C" >&6
39497 cat >conftest.
$ac_ext <<_ACEOF
39500 cat confdefs.h
>>conftest.
$ac_ext
39501 cat >>conftest.
$ac_ext <<_ACEOF
39502 /* end confdefs.h. */
39503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39505 #define $ac_func innocuous_$ac_func
39507 /* System header to define __stub macros and hopefully few prototypes,
39508 which can conflict with char $ac_func (); below.
39509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39510 <limits.h> exists even on freestanding compilers. */
39513 # include <limits.h>
39515 # include <assert.h>
39520 /* Override any gcc2 internal prototype to avoid an error. */
39525 /* We use char because int might match the return type of a gcc2
39526 builtin and then its argument prototype would still apply. */
39528 /* The GNU C library defines this for functions which it implements
39529 to always fail with ENOSYS. Some functions are actually named
39530 something starting with __ and the normal name is an alias. */
39531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39534 char (*f) () = $ac_func;
39543 return f != $ac_func;
39548 rm -f conftest.
$ac_objext conftest
$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550 (eval $ac_link) 2>conftest.er1
39552 grep -v '^ *+' conftest.er1
>conftest.err
39554 cat conftest.err
>&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } &&
39557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; } &&
39563 { ac_try
='test -s conftest$ac_exeext'
39564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39565 (eval $ac_try) 2>&5
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); }; }; then
39569 eval "$as_ac_var=yes"
39571 echo "$as_me: failed program was:" >&5
39572 sed 's/^/| /' conftest.
$ac_ext >&5
39574 eval "$as_ac_var=no"
39576 rm -f conftest.err conftest.
$ac_objext \
39577 conftest
$ac_exeext conftest.
$ac_ext
39579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39581 if test `eval echo '${'$as_ac_var'}'` = yes; then
39582 cat >>confdefs.h
<<_ACEOF
39583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39590 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39591 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39592 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39593 echo $ECHO_N "(cached) $ECHO_C" >&6
39596 cat >conftest.
$ac_ext <<_ACEOF
39599 cat confdefs.h
>>conftest.
$ac_ext
39600 cat >>conftest.
$ac_ext <<_ACEOF
39601 /* end confdefs.h. */
39602 #include <pthread.h>
39603 void ThreadCleanupFunc(void *p);
39610 pthread_cleanup_push(ThreadCleanupFunc, p);
39611 pthread_cleanup_pop(0);
39617 rm -f conftest.
$ac_objext
39618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39619 (eval $ac_compile) 2>conftest.er1
39621 grep -v '^ *+' conftest.er1
>conftest.err
39623 cat conftest.err
>&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); } &&
39626 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39628 (eval $ac_try) 2>&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); }; } &&
39632 { ac_try
='test -s conftest.$ac_objext'
39633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39634 (eval $ac_try) 2>&5
39636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637 (exit $ac_status); }; }; then
39639 wx_cv_func_pthread_cleanup
=yes
39642 echo "$as_me: failed program was:" >&5
39643 sed 's/^/| /' conftest.
$ac_ext >&5
39646 wx_cv_func_pthread_cleanup
=no
39650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39653 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39654 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39655 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39656 cat >>confdefs.h
<<\_ACEOF
39657 #define wxHAVE_PTHREAD_CLEANUP 1
39663 for ac_header
in sched.h
39665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39667 echo "$as_me:$LINENO: checking for $ac_header" >&5
39668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39670 echo $ECHO_N "(cached) $ECHO_C" >&6
39672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39675 # Is the header compilable?
39676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39678 cat >conftest.
$ac_ext <<_ACEOF
39681 cat confdefs.h
>>conftest.
$ac_ext
39682 cat >>conftest.
$ac_ext <<_ACEOF
39683 /* end confdefs.h. */
39684 $ac_includes_default
39685 #include <$ac_header>
39687 rm -f conftest.
$ac_objext
39688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39689 (eval $ac_compile) 2>conftest.er1
39691 grep -v '^ *+' conftest.er1
>conftest.err
39693 cat conftest.err
>&5
39694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39695 (exit $ac_status); } &&
39696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39698 (eval $ac_try) 2>&5
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); }; } &&
39702 { ac_try
='test -s conftest.$ac_objext'
39703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39704 (eval $ac_try) 2>&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); }; }; then
39708 ac_header_compiler
=yes
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.
$ac_ext >&5
39713 ac_header_compiler
=no
39715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39717 echo "${ECHO_T}$ac_header_compiler" >&6
39719 # Is the header present?
39720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39722 cat >conftest.
$ac_ext <<_ACEOF
39725 cat confdefs.h
>>conftest.
$ac_ext
39726 cat >>conftest.
$ac_ext <<_ACEOF
39727 /* end confdefs.h. */
39728 #include <$ac_header>
39730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39733 grep -v '^ *+' conftest.er1
>conftest.err
39735 cat conftest.err
>&5
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); } >/dev
/null
; then
39738 if test -s conftest.err
; then
39739 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39740 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39747 if test -z "$ac_cpp_err"; then
39748 ac_header_preproc
=yes
39750 echo "$as_me: failed program was:" >&5
39751 sed 's/^/| /' conftest.
$ac_ext >&5
39753 ac_header_preproc
=no
39755 rm -f conftest.err conftest.
$ac_ext
39756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39757 echo "${ECHO_T}$ac_header_preproc" >&6
39759 # So? What about this header?
39760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39766 ac_header_preproc
=yes
39769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39783 ## ----------------------------------------- ##
39784 ## Report this to wx-dev@lists.wxwidgets.org ##
39785 ## ----------------------------------------- ##
39788 sed "s/^/$as_me: WARNING: /" >&2
39791 echo "$as_me:$LINENO: checking for $ac_header" >&5
39792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39794 echo $ECHO_N "(cached) $ECHO_C" >&6
39796 eval "$as_ac_Header=\$ac_header_preproc"
39798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39803 cat >>confdefs.h
<<_ACEOF
39804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39811 if test "$ac_cv_header_sched_h" = "yes"; then
39812 echo "$as_me:$LINENO: checking for sched_yield" >&5
39813 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39814 if test "${ac_cv_func_sched_yield+set}" = set; then
39815 echo $ECHO_N "(cached) $ECHO_C" >&6
39817 cat >conftest.
$ac_ext <<_ACEOF
39820 cat confdefs.h
>>conftest.
$ac_ext
39821 cat >>conftest.
$ac_ext <<_ACEOF
39822 /* end confdefs.h. */
39823 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39825 #define sched_yield innocuous_sched_yield
39827 /* System header to define __stub macros and hopefully few prototypes,
39828 which can conflict with char sched_yield (); below.
39829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39830 <limits.h> exists even on freestanding compilers. */
39833 # include <limits.h>
39835 # include <assert.h>
39840 /* Override any gcc2 internal prototype to avoid an error. */
39845 /* We use char because int might match the return type of a gcc2
39846 builtin and then its argument prototype would still apply. */
39847 char sched_yield ();
39848 /* The GNU C library defines this for functions which it implements
39849 to always fail with ENOSYS. Some functions are actually named
39850 something starting with __ and the normal name is an alias. */
39851 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39854 char (*f) () = sched_yield;
39863 return f != sched_yield;
39868 rm -f conftest.
$ac_objext conftest
$ac_exeext
39869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39870 (eval $ac_link) 2>conftest.er1
39872 grep -v '^ *+' conftest.er1
>conftest.err
39874 cat conftest.err
>&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } &&
39877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39879 (eval $ac_try) 2>&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); }; } &&
39883 { ac_try
='test -s conftest$ac_exeext'
39884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39885 (eval $ac_try) 2>&5
39887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888 (exit $ac_status); }; }; then
39889 ac_cv_func_sched_yield
=yes
39891 echo "$as_me: failed program was:" >&5
39892 sed 's/^/| /' conftest.
$ac_ext >&5
39894 ac_cv_func_sched_yield
=no
39896 rm -f conftest.err conftest.
$ac_objext \
39897 conftest
$ac_exeext conftest.
$ac_ext
39899 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39900 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39901 if test $ac_cv_func_sched_yield = yes; then
39902 cat >>confdefs.h
<<\_ACEOF
39903 #define HAVE_SCHED_YIELD 1
39908 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39909 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39910 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39913 ac_check_lib_save_LIBS
=$LIBS
39914 LIBS
="-lposix4 $LIBS"
39915 cat >conftest.
$ac_ext <<_ACEOF
39918 cat confdefs.h
>>conftest.
$ac_ext
39919 cat >>conftest.
$ac_ext <<_ACEOF
39920 /* end confdefs.h. */
39922 /* Override any gcc2 internal prototype to avoid an error. */
39926 /* We use char because int might match the return type of a gcc2
39927 builtin and then its argument prototype would still apply. */
39928 char sched_yield ();
39937 rm -f conftest.
$ac_objext conftest
$ac_exeext
39938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39939 (eval $ac_link) 2>conftest.er1
39941 grep -v '^ *+' conftest.er1
>conftest.err
39943 cat conftest.err
>&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); } &&
39946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39948 (eval $ac_try) 2>&5
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); }; } &&
39952 { ac_try
='test -s conftest$ac_exeext'
39953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39954 (eval $ac_try) 2>&5
39956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957 (exit $ac_status); }; }; then
39958 ac_cv_lib_posix4_sched_yield
=yes
39960 echo "$as_me: failed program was:" >&5
39961 sed 's/^/| /' conftest.
$ac_ext >&5
39963 ac_cv_lib_posix4_sched_yield
=no
39965 rm -f conftest.err conftest.
$ac_objext \
39966 conftest
$ac_exeext conftest.
$ac_ext
39967 LIBS
=$ac_check_lib_save_LIBS
39969 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39970 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39971 if test $ac_cv_lib_posix4_sched_yield = yes; then
39972 cat >>confdefs.h
<<\_ACEOF
39973 #define HAVE_SCHED_YIELD 1
39975 POSIX4_LINK
=" -lposix4"
39977 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39978 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39989 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39990 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39991 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39992 echo $ECHO_N "(cached) $ECHO_C" >&6
39994 cat >conftest.
$ac_ext <<_ACEOF
39997 cat confdefs.h
>>conftest.
$ac_ext
39998 cat >>conftest.
$ac_ext <<_ACEOF
39999 /* end confdefs.h. */
40000 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40002 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40004 /* System header to define __stub macros and hopefully few prototypes,
40005 which can conflict with char pthread_attr_getschedpolicy (); below.
40006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40007 <limits.h> exists even on freestanding compilers. */
40010 # include <limits.h>
40012 # include <assert.h>
40015 #undef pthread_attr_getschedpolicy
40017 /* Override any gcc2 internal prototype to avoid an error. */
40022 /* We use char because int might match the return type of a gcc2
40023 builtin and then its argument prototype would still apply. */
40024 char pthread_attr_getschedpolicy ();
40025 /* The GNU C library defines this for functions which it implements
40026 to always fail with ENOSYS. Some functions are actually named
40027 something starting with __ and the normal name is an alias. */
40028 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40031 char (*f) () = pthread_attr_getschedpolicy;
40040 return f != pthread_attr_getschedpolicy;
40045 rm -f conftest.
$ac_objext conftest
$ac_exeext
40046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40047 (eval $ac_link) 2>conftest.er1
40049 grep -v '^ *+' conftest.er1
>conftest.err
40051 cat conftest.err
>&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); } &&
40054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; } &&
40060 { ac_try
='test -s conftest$ac_exeext'
40061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40062 (eval $ac_try) 2>&5
40064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40065 (exit $ac_status); }; }; then
40066 ac_cv_func_pthread_attr_getschedpolicy
=yes
40068 echo "$as_me: failed program was:" >&5
40069 sed 's/^/| /' conftest.
$ac_ext >&5
40071 ac_cv_func_pthread_attr_getschedpolicy
=no
40073 rm -f conftest.err conftest.
$ac_objext \
40074 conftest
$ac_exeext conftest.
$ac_ext
40076 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40077 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40078 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40079 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40080 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40081 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40082 echo $ECHO_N "(cached) $ECHO_C" >&6
40084 cat >conftest.
$ac_ext <<_ACEOF
40087 cat confdefs.h
>>conftest.
$ac_ext
40088 cat >>conftest.
$ac_ext <<_ACEOF
40089 /* end confdefs.h. */
40090 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40092 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40094 /* System header to define __stub macros and hopefully few prototypes,
40095 which can conflict with char pthread_attr_setschedparam (); below.
40096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40097 <limits.h> exists even on freestanding compilers. */
40100 # include <limits.h>
40102 # include <assert.h>
40105 #undef pthread_attr_setschedparam
40107 /* Override any gcc2 internal prototype to avoid an error. */
40112 /* We use char because int might match the return type of a gcc2
40113 builtin and then its argument prototype would still apply. */
40114 char pthread_attr_setschedparam ();
40115 /* The GNU C library defines this for functions which it implements
40116 to always fail with ENOSYS. Some functions are actually named
40117 something starting with __ and the normal name is an alias. */
40118 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40121 char (*f) () = pthread_attr_setschedparam;
40130 return f != pthread_attr_setschedparam;
40135 rm -f conftest.
$ac_objext conftest
$ac_exeext
40136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40137 (eval $ac_link) 2>conftest.er1
40139 grep -v '^ *+' conftest.er1
>conftest.err
40141 cat conftest.err
>&5
40142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143 (exit $ac_status); } &&
40144 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40146 (eval $ac_try) 2>&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); }; } &&
40150 { ac_try
='test -s conftest$ac_exeext'
40151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40152 (eval $ac_try) 2>&5
40154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40155 (exit $ac_status); }; }; then
40156 ac_cv_func_pthread_attr_setschedparam
=yes
40158 echo "$as_me: failed program was:" >&5
40159 sed 's/^/| /' conftest.
$ac_ext >&5
40161 ac_cv_func_pthread_attr_setschedparam
=no
40163 rm -f conftest.err conftest.
$ac_objext \
40164 conftest
$ac_exeext conftest.
$ac_ext
40166 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40167 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40168 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40169 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40170 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40171 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40172 echo $ECHO_N "(cached) $ECHO_C" >&6
40174 cat >conftest.
$ac_ext <<_ACEOF
40177 cat confdefs.h
>>conftest.
$ac_ext
40178 cat >>conftest.
$ac_ext <<_ACEOF
40179 /* end confdefs.h. */
40180 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40182 #define sched_get_priority_max innocuous_sched_get_priority_max
40184 /* System header to define __stub macros and hopefully few prototypes,
40185 which can conflict with char sched_get_priority_max (); below.
40186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40187 <limits.h> exists even on freestanding compilers. */
40190 # include <limits.h>
40192 # include <assert.h>
40195 #undef sched_get_priority_max
40197 /* Override any gcc2 internal prototype to avoid an error. */
40202 /* We use char because int might match the return type of a gcc2
40203 builtin and then its argument prototype would still apply. */
40204 char sched_get_priority_max ();
40205 /* The GNU C library defines this for functions which it implements
40206 to always fail with ENOSYS. Some functions are actually named
40207 something starting with __ and the normal name is an alias. */
40208 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40211 char (*f) () = sched_get_priority_max;
40220 return f != sched_get_priority_max;
40225 rm -f conftest.
$ac_objext conftest
$ac_exeext
40226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40227 (eval $ac_link) 2>conftest.er1
40229 grep -v '^ *+' conftest.er1
>conftest.err
40231 cat conftest.err
>&5
40232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40233 (exit $ac_status); } &&
40234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40236 (eval $ac_try) 2>&5
40238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40239 (exit $ac_status); }; } &&
40240 { ac_try
='test -s conftest$ac_exeext'
40241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40242 (eval $ac_try) 2>&5
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); }; }; then
40246 ac_cv_func_sched_get_priority_max
=yes
40248 echo "$as_me: failed program was:" >&5
40249 sed 's/^/| /' conftest.
$ac_ext >&5
40251 ac_cv_func_sched_get_priority_max
=no
40253 rm -f conftest.err conftest.
$ac_objext \
40254 conftest
$ac_exeext conftest.
$ac_ext
40256 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40257 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40258 if test $ac_cv_func_sched_get_priority_max = yes; then
40261 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40262 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40263 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40264 echo $ECHO_N "(cached) $ECHO_C" >&6
40266 ac_check_lib_save_LIBS
=$LIBS
40267 LIBS
="-lposix4 $LIBS"
40268 cat >conftest.
$ac_ext <<_ACEOF
40271 cat confdefs.h
>>conftest.
$ac_ext
40272 cat >>conftest.
$ac_ext <<_ACEOF
40273 /* end confdefs.h. */
40275 /* Override any gcc2 internal prototype to avoid an error. */
40279 /* We use char because int might match the return type of a gcc2
40280 builtin and then its argument prototype would still apply. */
40281 char sched_get_priority_max ();
40285 sched_get_priority_max ();
40290 rm -f conftest.
$ac_objext conftest
$ac_exeext
40291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40292 (eval $ac_link) 2>conftest.er1
40294 grep -v '^ *+' conftest.er1
>conftest.err
40296 cat conftest.err
>&5
40297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40298 (exit $ac_status); } &&
40299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40301 (eval $ac_try) 2>&5
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); }; } &&
40305 { ac_try
='test -s conftest$ac_exeext'
40306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40307 (eval $ac_try) 2>&5
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); }; }; then
40311 ac_cv_lib_posix4_sched_get_priority_max
=yes
40313 echo "$as_me: failed program was:" >&5
40314 sed 's/^/| /' conftest.
$ac_ext >&5
40316 ac_cv_lib_posix4_sched_get_priority_max
=no
40318 rm -f conftest.err conftest.
$ac_objext \
40319 conftest
$ac_exeext conftest.
$ac_ext
40320 LIBS
=$ac_check_lib_save_LIBS
40322 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40323 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40324 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40327 POSIX4_LINK
=" -lposix4"
40341 if test "$HAVE_PRIOR_FUNCS" = 1; then
40342 cat >>confdefs.h
<<\_ACEOF
40343 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40347 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40348 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40351 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40352 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40353 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40354 echo $ECHO_N "(cached) $ECHO_C" >&6
40356 cat >conftest.
$ac_ext <<_ACEOF
40359 cat confdefs.h
>>conftest.
$ac_ext
40360 cat >>conftest.
$ac_ext <<_ACEOF
40361 /* end confdefs.h. */
40362 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40364 #define pthread_cancel innocuous_pthread_cancel
40366 /* System header to define __stub macros and hopefully few prototypes,
40367 which can conflict with char pthread_cancel (); below.
40368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40369 <limits.h> exists even on freestanding compilers. */
40372 # include <limits.h>
40374 # include <assert.h>
40377 #undef pthread_cancel
40379 /* Override any gcc2 internal prototype to avoid an error. */
40384 /* We use char because int might match the return type of a gcc2
40385 builtin and then its argument prototype would still apply. */
40386 char pthread_cancel ();
40387 /* The GNU C library defines this for functions which it implements
40388 to always fail with ENOSYS. Some functions are actually named
40389 something starting with __ and the normal name is an alias. */
40390 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40393 char (*f) () = pthread_cancel;
40402 return f != pthread_cancel;
40407 rm -f conftest.
$ac_objext conftest
$ac_exeext
40408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40409 (eval $ac_link) 2>conftest.er1
40411 grep -v '^ *+' conftest.er1
>conftest.err
40413 cat conftest.err
>&5
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); } &&
40416 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40418 (eval $ac_try) 2>&5
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); }; } &&
40422 { ac_try
='test -s conftest$ac_exeext'
40423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40424 (eval $ac_try) 2>&5
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); }; }; then
40428 ac_cv_func_pthread_cancel
=yes
40430 echo "$as_me: failed program was:" >&5
40431 sed 's/^/| /' conftest.
$ac_ext >&5
40433 ac_cv_func_pthread_cancel
=no
40435 rm -f conftest.err conftest.
$ac_objext \
40436 conftest
$ac_exeext conftest.
$ac_ext
40438 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40439 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40440 if test $ac_cv_func_pthread_cancel = yes; then
40441 cat >>confdefs.h
<<\_ACEOF
40442 #define HAVE_PTHREAD_CANCEL 1
40446 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40447 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40451 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40452 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40453 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40454 echo $ECHO_N "(cached) $ECHO_C" >&6
40456 cat >conftest.
$ac_ext <<_ACEOF
40459 cat confdefs.h
>>conftest.
$ac_ext
40460 cat >>conftest.
$ac_ext <<_ACEOF
40461 /* end confdefs.h. */
40462 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40464 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40466 /* System header to define __stub macros and hopefully few prototypes,
40467 which can conflict with char pthread_attr_setstacksize (); below.
40468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40469 <limits.h> exists even on freestanding compilers. */
40472 # include <limits.h>
40474 # include <assert.h>
40477 #undef pthread_attr_setstacksize
40479 /* Override any gcc2 internal prototype to avoid an error. */
40484 /* We use char because int might match the return type of a gcc2
40485 builtin and then its argument prototype would still apply. */
40486 char pthread_attr_setstacksize ();
40487 /* The GNU C library defines this for functions which it implements
40488 to always fail with ENOSYS. Some functions are actually named
40489 something starting with __ and the normal name is an alias. */
40490 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40493 char (*f) () = pthread_attr_setstacksize;
40502 return f != pthread_attr_setstacksize;
40507 rm -f conftest.
$ac_objext conftest
$ac_exeext
40508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40509 (eval $ac_link) 2>conftest.er1
40511 grep -v '^ *+' conftest.er1
>conftest.err
40513 cat conftest.err
>&5
40514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40515 (exit $ac_status); } &&
40516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40518 (eval $ac_try) 2>&5
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); }; } &&
40522 { ac_try
='test -s conftest$ac_exeext'
40523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40524 (eval $ac_try) 2>&5
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); }; }; then
40528 ac_cv_func_pthread_attr_setstacksize
=yes
40530 echo "$as_me: failed program was:" >&5
40531 sed 's/^/| /' conftest.
$ac_ext >&5
40533 ac_cv_func_pthread_attr_setstacksize
=no
40535 rm -f conftest.err conftest.
$ac_objext \
40536 conftest
$ac_exeext conftest.
$ac_ext
40538 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40539 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40540 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40541 cat >>confdefs.h
<<\_ACEOF
40542 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40549 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40550 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40551 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40552 echo $ECHO_N "(cached) $ECHO_C" >&6
40555 cat >conftest.
$ac_ext <<_ACEOF
40558 cat confdefs.h
>>conftest.
$ac_ext
40559 cat >>conftest.
$ac_ext <<_ACEOF
40560 /* end confdefs.h. */
40561 #include <pthread.h>
40566 pthread_mutexattr_t attr;
40567 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40573 rm -f conftest.
$ac_objext
40574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40575 (eval $ac_compile) 2>conftest.er1
40577 grep -v '^ *+' conftest.er1
>conftest.err
40579 cat conftest.err
>&5
40580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581 (exit $ac_status); } &&
40582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40584 (eval $ac_try) 2>&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); }; } &&
40588 { ac_try
='test -s conftest.$ac_objext'
40589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40590 (eval $ac_try) 2>&5
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); }; }; then
40594 wx_cv_type_pthread_mutexattr_t
=yes
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.
$ac_ext >&5
40599 wx_cv_type_pthread_mutexattr_t
=no
40602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40605 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40606 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40608 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40609 cat >>confdefs.h
<<\_ACEOF
40610 #define HAVE_PTHREAD_MUTEXATTR_T 1
40614 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40615 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40616 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40617 echo $ECHO_N "(cached) $ECHO_C" >&6
40620 cat >conftest.
$ac_ext <<_ACEOF
40623 cat confdefs.h
>>conftest.
$ac_ext
40624 cat >>conftest.
$ac_ext <<_ACEOF
40625 /* end confdefs.h. */
40626 #include <pthread.h>
40631 pthread_mutexattr_t attr;
40632 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40638 rm -f conftest.
$ac_objext
40639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40640 (eval $ac_compile) 2>conftest.er1
40642 grep -v '^ *+' conftest.er1
>conftest.err
40644 cat conftest.err
>&5
40645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646 (exit $ac_status); } &&
40647 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40649 (eval $ac_try) 2>&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); }; } &&
40653 { ac_try
='test -s conftest.$ac_objext'
40654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40655 (eval $ac_try) 2>&5
40657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40658 (exit $ac_status); }; }; then
40659 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40661 echo "$as_me: failed program was:" >&5
40662 sed 's/^/| /' conftest.
$ac_ext >&5
40664 wx_cv_func_pthread_mutexattr_settype_decl
=no
40667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40670 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40671 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40672 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40673 cat >>confdefs.h
<<\_ACEOF
40674 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40679 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40680 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40681 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40685 cat >conftest.
$ac_ext <<_ACEOF
40688 cat confdefs.h
>>conftest.
$ac_ext
40689 cat >>conftest.
$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40691 #include <pthread.h>
40696 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40702 rm -f conftest.
$ac_objext
40703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40704 (eval $ac_compile) 2>conftest.er1
40706 grep -v '^ *+' conftest.er1
>conftest.err
40708 cat conftest.err
>&5
40709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40710 (exit $ac_status); } &&
40711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40713 (eval $ac_try) 2>&5
40715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40716 (exit $ac_status); }; } &&
40717 { ac_try
='test -s conftest.$ac_objext'
40718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40719 (eval $ac_try) 2>&5
40721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722 (exit $ac_status); }; }; then
40724 wx_cv_type_pthread_rec_mutex_init
=yes
40727 echo "$as_me: failed program was:" >&5
40728 sed 's/^/| /' conftest.
$ac_ext >&5
40731 wx_cv_type_pthread_rec_mutex_init
=no
40735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40738 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40739 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40740 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40741 cat >>confdefs.h
<<\_ACEOF
40742 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40746 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40747 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40753 if test "$wxUSE_THREADS" = "yes" ; then
40756 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40757 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40758 if test "${wx_cv_cflags_mthread+set}" = set; then
40759 echo $ECHO_N "(cached) $ECHO_C" >&6
40762 CXXFLAGS_OLD
="$CXXFLAGS"
40763 CXXFLAGS
="-mthreads $CXXFLAGS"
40764 cat >conftest.
$ac_ext <<_ACEOF
40767 cat confdefs.h
>>conftest.
$ac_ext
40768 cat >>conftest.
$ac_ext <<_ACEOF
40769 /* end confdefs.h. */
40779 rm -f conftest.
$ac_objext
40780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40781 (eval $ac_compile) 2>conftest.er1
40783 grep -v '^ *+' conftest.er1
>conftest.err
40785 cat conftest.err
>&5
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); } &&
40788 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40790 (eval $ac_try) 2>&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); }; } &&
40794 { ac_try
='test -s conftest.$ac_objext'
40795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40796 (eval $ac_try) 2>&5
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); }; }; then
40800 wx_cv_cflags_mthread
=yes
40802 echo "$as_me: failed program was:" >&5
40803 sed 's/^/| /' conftest.
$ac_ext >&5
40805 wx_cv_cflags_mthread
=no
40808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40812 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40813 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40815 if test "$wx_cv_cflags_mthread" = "yes"; then
40816 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40817 LDFLAGS
="$LDFLAGS -mthreads"
40819 CXXFLAGS
="$CXXFLAGS_OLD"
40823 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40824 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40825 LDFLAGS
="$LDFLAGS -Zmt"
40831 echo "$as_me:$LINENO: checking for localtime_r" >&5
40832 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40833 if test "${ac_cv_func_localtime_r+set}" = set; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40836 cat >conftest.
$ac_ext <<_ACEOF
40839 cat confdefs.h
>>conftest.
$ac_ext
40840 cat >>conftest.
$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40842 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40844 #define localtime_r innocuous_localtime_r
40846 /* System header to define __stub macros and hopefully few prototypes,
40847 which can conflict with char localtime_r (); below.
40848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40849 <limits.h> exists even on freestanding compilers. */
40852 # include <limits.h>
40854 # include <assert.h>
40859 /* Override any gcc2 internal prototype to avoid an error. */
40864 /* We use char because int might match the return type of a gcc2
40865 builtin and then its argument prototype would still apply. */
40866 char localtime_r ();
40867 /* The GNU C library defines this for functions which it implements
40868 to always fail with ENOSYS. Some functions are actually named
40869 something starting with __ and the normal name is an alias. */
40870 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40873 char (*f) () = localtime_r;
40882 return f != localtime_r;
40887 rm -f conftest.
$ac_objext conftest
$ac_exeext
40888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40889 (eval $ac_link) 2>conftest.er1
40891 grep -v '^ *+' conftest.er1
>conftest.err
40893 cat conftest.err
>&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } &&
40896 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; } &&
40902 { ac_try
='test -s conftest$ac_exeext'
40903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40904 (eval $ac_try) 2>&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); }; }; then
40908 ac_cv_func_localtime_r
=yes
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.
$ac_ext >&5
40913 ac_cv_func_localtime_r
=no
40915 rm -f conftest.err conftest.
$ac_objext \
40916 conftest
$ac_exeext conftest.
$ac_ext
40918 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40919 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40920 if test $ac_cv_func_localtime_r = yes; then
40921 cat >>confdefs.h
<<\_ACEOF
40922 #define HAVE_LOCALTIME_R 1
40927 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40928 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40929 if test "${ac_cv_func_gmtime_r+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 cat >conftest.
$ac_ext <<_ACEOF
40935 cat confdefs.h
>>conftest.
$ac_ext
40936 cat >>conftest.
$ac_ext <<_ACEOF
40937 /* end confdefs.h. */
40938 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40940 #define gmtime_r innocuous_gmtime_r
40942 /* System header to define __stub macros and hopefully few prototypes,
40943 which can conflict with char gmtime_r (); below.
40944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40945 <limits.h> exists even on freestanding compilers. */
40948 # include <limits.h>
40950 # include <assert.h>
40955 /* Override any gcc2 internal prototype to avoid an error. */
40960 /* We use char because int might match the return type of a gcc2
40961 builtin and then its argument prototype would still apply. */
40963 /* The GNU C library defines this for functions which it implements
40964 to always fail with ENOSYS. Some functions are actually named
40965 something starting with __ and the normal name is an alias. */
40966 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40969 char (*f) () = gmtime_r;
40978 return f != gmtime_r;
40983 rm -f conftest.
$ac_objext conftest
$ac_exeext
40984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40985 (eval $ac_link) 2>conftest.er1
40987 grep -v '^ *+' conftest.er1
>conftest.err
40989 cat conftest.err
>&5
40990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40991 (exit $ac_status); } &&
40992 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40994 (eval $ac_try) 2>&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); }; } &&
40998 { ac_try
='test -s conftest$ac_exeext'
40999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41000 (eval $ac_try) 2>&5
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); }; }; then
41004 ac_cv_func_gmtime_r
=yes
41006 echo "$as_me: failed program was:" >&5
41007 sed 's/^/| /' conftest.
$ac_ext >&5
41009 ac_cv_func_gmtime_r
=no
41011 rm -f conftest.err conftest.
$ac_objext \
41012 conftest
$ac_exeext conftest.
$ac_ext
41014 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41015 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41016 if test $ac_cv_func_gmtime_r = yes; then
41017 cat >>confdefs.h
<<\_ACEOF
41018 #define HAVE_GMTIME_R 1
41023 echo "$as_me:$LINENO: checking for readdir_r" >&5
41024 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41025 if test "${ac_cv_func_readdir_r+set}" = set; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41028 cat >conftest.
$ac_ext <<_ACEOF
41031 cat confdefs.h
>>conftest.
$ac_ext
41032 cat >>conftest.
$ac_ext <<_ACEOF
41033 /* end confdefs.h. */
41034 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41036 #define readdir_r innocuous_readdir_r
41038 /* System header to define __stub macros and hopefully few prototypes,
41039 which can conflict with char readdir_r (); below.
41040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41041 <limits.h> exists even on freestanding compilers. */
41044 # include <limits.h>
41046 # include <assert.h>
41051 /* Override any gcc2 internal prototype to avoid an error. */
41056 /* We use char because int might match the return type of a gcc2
41057 builtin and then its argument prototype would still apply. */
41059 /* The GNU C library defines this for functions which it implements
41060 to always fail with ENOSYS. Some functions are actually named
41061 something starting with __ and the normal name is an alias. */
41062 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41065 char (*f) () = readdir_r;
41074 return f != readdir_r;
41079 rm -f conftest.
$ac_objext conftest
$ac_exeext
41080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41081 (eval $ac_link) 2>conftest.er1
41083 grep -v '^ *+' conftest.er1
>conftest.err
41085 cat conftest.err
>&5
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); } &&
41088 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41090 (eval $ac_try) 2>&5
41092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41093 (exit $ac_status); }; } &&
41094 { ac_try
='test -s conftest$ac_exeext'
41095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41096 (eval $ac_try) 2>&5
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); }; }; then
41100 ac_cv_func_readdir_r
=yes
41102 echo "$as_me: failed program was:" >&5
41103 sed 's/^/| /' conftest.
$ac_ext >&5
41105 ac_cv_func_readdir_r
=no
41107 rm -f conftest.err conftest.
$ac_objext \
41108 conftest
$ac_exeext conftest.
$ac_ext
41110 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41111 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41112 if test $ac_cv_func_readdir_r = yes; then
41113 cat >>confdefs.h
<<\_ACEOF
41114 #define HAVE_READDIR_R 1
41123 ac_cpp
='$CPP $CPPFLAGS'
41124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41128 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41129 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41131 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41132 echo $ECHO_N "(cached) $ECHO_C" >&6
41136 ################################################################
41138 ac_cv_func_which_gethostbyname_r
=unknown
41141 # ONE ARGUMENT (sanity check)
41144 # This should fail, as there is no variant of gethostbyname_r() that takes
41145 # a single argument. If it actually compiles, then we can assume that
41146 # netdb.h is not declaring the function, and the compiler is thereby
41147 # assuming an implicit prototype. In which case, we're out of luck.
41149 cat >conftest.
$ac_ext <<_ACEOF
41152 cat confdefs.h
>>conftest.
$ac_ext
41153 cat >>conftest.
$ac_ext <<_ACEOF
41154 /* end confdefs.h. */
41160 char *name = "www.gnu.org";
41161 (void)gethostbyname_r(name) /* ; */
41167 rm -f conftest.
$ac_objext
41168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41169 (eval $ac_compile) 2>conftest.er1
41171 grep -v '^ *+' conftest.er1
>conftest.err
41173 cat conftest.err
>&5
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); } &&
41176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41178 (eval $ac_try) 2>&5
41180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41181 (exit $ac_status); }; } &&
41182 { ac_try
='test -s conftest.$ac_objext'
41183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41184 (eval $ac_try) 2>&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); }; }; then
41188 ac_cv_func_which_gethostbyname_r
=no
41190 echo "$as_me: failed program was:" >&5
41191 sed 's/^/| /' conftest.
$ac_ext >&5
41194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41201 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41203 cat >conftest.
$ac_ext <<_ACEOF
41206 cat confdefs.h
>>conftest.
$ac_ext
41207 cat >>conftest.
$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41214 char *name = "www.gnu.org";
41215 struct hostent ret, *retp;
41219 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41225 rm -f conftest.
$ac_objext
41226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41227 (eval $ac_compile) 2>conftest.er1
41229 grep -v '^ *+' conftest.er1
>conftest.err
41231 cat conftest.err
>&5
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); } &&
41234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41236 (eval $ac_try) 2>&5
41238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41239 (exit $ac_status); }; } &&
41240 { ac_try
='test -s conftest.$ac_objext'
41241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41242 (eval $ac_try) 2>&5
41244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41245 (exit $ac_status); }; }; then
41246 ac_cv_func_which_gethostbyname_r
=six
41248 echo "$as_me: failed program was:" >&5
41249 sed 's/^/| /' conftest.
$ac_ext >&5
41252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41261 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41263 cat >conftest.
$ac_ext <<_ACEOF
41266 cat confdefs.h
>>conftest.
$ac_ext
41267 cat >>conftest.
$ac_ext <<_ACEOF
41268 /* end confdefs.h. */
41274 char *name = "www.gnu.org";
41275 struct hostent ret;
41279 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41285 rm -f conftest.
$ac_objext
41286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41287 (eval $ac_compile) 2>conftest.er1
41289 grep -v '^ *+' conftest.er1
>conftest.err
41291 cat conftest.err
>&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); } &&
41294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41296 (eval $ac_try) 2>&5
41298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); }; } &&
41300 { ac_try
='test -s conftest.$ac_objext'
41301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41302 (eval $ac_try) 2>&5
41304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305 (exit $ac_status); }; }; then
41306 ac_cv_func_which_gethostbyname_r
=five
41308 echo "$as_me: failed program was:" >&5
41309 sed 's/^/| /' conftest.
$ac_ext >&5
41312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41318 # (e.g. AIX, HP-UX, Tru64)
41321 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41323 cat >conftest.
$ac_ext <<_ACEOF
41326 cat confdefs.h
>>conftest.
$ac_ext
41327 cat >>conftest.
$ac_ext <<_ACEOF
41328 /* end confdefs.h. */
41334 char *name = "www.gnu.org";
41335 struct hostent ret;
41336 struct hostent_data data;
41337 (void)gethostbyname_r(name, &ret, &data) /* ; */
41343 rm -f conftest.
$ac_objext
41344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41345 (eval $ac_compile) 2>conftest.er1
41347 grep -v '^ *+' conftest.er1
>conftest.err
41349 cat conftest.err
>&5
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); } &&
41352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41354 (eval $ac_try) 2>&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); }; } &&
41358 { ac_try
='test -s conftest.$ac_objext'
41359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41360 (eval $ac_try) 2>&5
41362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41363 (exit $ac_status); }; }; then
41364 ac_cv_func_which_gethostbyname_r
=three
41366 echo "$as_me: failed program was:" >&5
41367 sed 's/^/| /' conftest.
$ac_ext >&5
41370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41374 ################################################################
41379 case "$ac_cv_func_which_gethostbyname_r" in
41381 echo "$as_me:$LINENO: result: three" >&5
41382 echo "${ECHO_T}three" >&6
41383 cat >>confdefs.h
<<\_ACEOF
41384 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41390 echo "$as_me:$LINENO: result: five" >&5
41391 echo "${ECHO_T}five" >&6
41392 cat >>confdefs.h
<<\_ACEOF
41393 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41399 echo "$as_me:$LINENO: result: six" >&5
41400 echo "${ECHO_T}six" >&6
41401 cat >>confdefs.h
<<\_ACEOF
41402 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41408 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41409 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41413 echo "$as_me:$LINENO: result: can't tell" >&5
41414 echo "${ECHO_T}can't tell" >&6
41418 { { echo "$as_me:$LINENO: error: internal error" >&5
41419 echo "$as_me: error: internal error" >&2;}
41420 { (exit 1); exit 1; }; }
41425 ac_cpp
='$CXXCPP $CPPFLAGS'
41426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41432 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41433 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41434 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41435 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41436 if test "${ac_cv_func_gethostbyname+set}" = set; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41439 cat >conftest.
$ac_ext <<_ACEOF
41442 cat confdefs.h
>>conftest.
$ac_ext
41443 cat >>conftest.
$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41447 #define gethostbyname innocuous_gethostbyname
41449 /* System header to define __stub macros and hopefully few prototypes,
41450 which can conflict with char gethostbyname (); below.
41451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41452 <limits.h> exists even on freestanding compilers. */
41455 # include <limits.h>
41457 # include <assert.h>
41460 #undef gethostbyname
41462 /* Override any gcc2 internal prototype to avoid an error. */
41467 /* We use char because int might match the return type of a gcc2
41468 builtin and then its argument prototype would still apply. */
41469 char gethostbyname ();
41470 /* The GNU C library defines this for functions which it implements
41471 to always fail with ENOSYS. Some functions are actually named
41472 something starting with __ and the normal name is an alias. */
41473 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41476 char (*f) () = gethostbyname;
41485 return f != gethostbyname;
41490 rm -f conftest.
$ac_objext conftest
$ac_exeext
41491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41492 (eval $ac_link) 2>conftest.er1
41494 grep -v '^ *+' conftest.er1
>conftest.err
41496 cat conftest.err
>&5
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); } &&
41499 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41501 (eval $ac_try) 2>&5
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); }; } &&
41505 { ac_try
='test -s conftest$ac_exeext'
41506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41507 (eval $ac_try) 2>&5
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); }; }; then
41511 ac_cv_func_gethostbyname
=yes
41513 echo "$as_me: failed program was:" >&5
41514 sed 's/^/| /' conftest.
$ac_ext >&5
41516 ac_cv_func_gethostbyname
=no
41518 rm -f conftest.err conftest.
$ac_objext \
41519 conftest
$ac_exeext conftest.
$ac_ext
41521 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41522 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41523 if test $ac_cv_func_gethostbyname = yes; then
41524 cat >>confdefs.h
<<\_ACEOF
41525 #define HAVE_GETHOSTBYNAME 1
41532 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41533 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41534 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41535 echo $ECHO_N "(cached) $ECHO_C" >&6
41538 cat >conftest.
$ac_ext <<_ACEOF
41541 cat confdefs.h
>>conftest.
$ac_ext
41542 cat >>conftest.
$ac_ext <<_ACEOF
41543 /* end confdefs.h. */
41551 struct servent *se, *res;
41554 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41560 rm -f conftest.
$ac_objext
41561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41562 (eval $ac_compile) 2>conftest.er1
41564 grep -v '^ *+' conftest.er1
>conftest.err
41566 cat conftest.err
>&5
41567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568 (exit $ac_status); } &&
41569 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41571 (eval $ac_try) 2>&5
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); }; } &&
41575 { ac_try
='test -s conftest.$ac_objext'
41576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41577 (eval $ac_try) 2>&5
41579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41580 (exit $ac_status); }; }; then
41581 ac_cv_func_which_getservbyname_r
=six
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.
$ac_ext >&5
41587 cat >conftest.
$ac_ext <<_ACEOF
41590 cat confdefs.h
>>conftest.
$ac_ext
41591 cat >>conftest.
$ac_ext <<_ACEOF
41592 /* end confdefs.h. */
41600 struct servent *se;
41603 (void) getservbyname_r(name, proto, se, buffer, buflen)
41609 rm -f conftest.
$ac_objext
41610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41611 (eval $ac_compile) 2>conftest.er1
41613 grep -v '^ *+' conftest.er1
>conftest.err
41615 cat conftest.err
>&5
41616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 (exit $ac_status); } &&
41618 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41620 (eval $ac_try) 2>&5
41622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41623 (exit $ac_status); }; } &&
41624 { ac_try
='test -s conftest.$ac_objext'
41625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41626 (eval $ac_try) 2>&5
41628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41629 (exit $ac_status); }; }; then
41630 ac_cv_func_which_getservbyname_r
=five
41632 echo "$as_me: failed program was:" >&5
41633 sed 's/^/| /' conftest.
$ac_ext >&5
41636 cat >conftest.
$ac_ext <<_ACEOF
41639 cat confdefs.h
>>conftest.
$ac_ext
41640 cat >>conftest.
$ac_ext <<_ACEOF
41641 /* end confdefs.h. */
41649 struct servent *se;
41650 struct servent_data data;
41651 (void) getservbyname_r(name, proto, se, &data);
41657 rm -f conftest.
$ac_objext
41658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41659 (eval $ac_compile) 2>conftest.er1
41661 grep -v '^ *+' conftest.er1
>conftest.err
41663 cat conftest.err
>&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } &&
41666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41668 (eval $ac_try) 2>&5
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); }; } &&
41672 { ac_try
='test -s conftest.$ac_objext'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; }; then
41678 ac_cv_func_which_getservbyname_r
=four
41680 echo "$as_me: failed program was:" >&5
41681 sed 's/^/| /' conftest.
$ac_ext >&5
41683 ac_cv_func_which_getservbyname_r
=no
41686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41698 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41699 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41701 if test $ac_cv_func_which_getservbyname_r = six
; then
41702 cat >>confdefs.h
<<\_ACEOF
41703 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41706 elif test $ac_cv_func_which_getservbyname_r = five
; then
41707 cat >>confdefs.h
<<\_ACEOF
41708 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41711 elif test $ac_cv_func_which_getservbyname_r = four
; then
41712 cat >>confdefs.h
<<\_ACEOF
41713 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41719 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41720 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41722 for ac_func
in getservbyname
41724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41725 echo "$as_me:$LINENO: checking for $ac_func" >&5
41726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41727 if eval "test \"\${$as_ac_var+set}\" = set"; then
41728 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 cat >conftest.
$ac_ext <<_ACEOF
41733 cat confdefs.h
>>conftest.
$ac_ext
41734 cat >>conftest.
$ac_ext <<_ACEOF
41735 /* end confdefs.h. */
41736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41738 #define $ac_func innocuous_$ac_func
41740 /* System header to define __stub macros and hopefully few prototypes,
41741 which can conflict with char $ac_func (); below.
41742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41743 <limits.h> exists even on freestanding compilers. */
41746 # include <limits.h>
41748 # include <assert.h>
41753 /* Override any gcc2 internal prototype to avoid an error. */
41758 /* We use char because int might match the return type of a gcc2
41759 builtin and then its argument prototype would still apply. */
41761 /* The GNU C library defines this for functions which it implements
41762 to always fail with ENOSYS. Some functions are actually named
41763 something starting with __ and the normal name is an alias. */
41764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41767 char (*f) () = $ac_func;
41776 return f != $ac_func;
41781 rm -f conftest.
$ac_objext conftest
$ac_exeext
41782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41783 (eval $ac_link) 2>conftest.er1
41785 grep -v '^ *+' conftest.er1
>conftest.err
41787 cat conftest.err
>&5
41788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41789 (exit $ac_status); } &&
41790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41792 (eval $ac_try) 2>&5
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); }; } &&
41796 { ac_try
='test -s conftest$ac_exeext'
41797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41798 (eval $ac_try) 2>&5
41800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41801 (exit $ac_status); }; }; then
41802 eval "$as_ac_var=yes"
41804 echo "$as_me: failed program was:" >&5
41805 sed 's/^/| /' conftest.
$ac_ext >&5
41807 eval "$as_ac_var=no"
41809 rm -f conftest.err conftest.
$ac_objext \
41810 conftest
$ac_exeext conftest.
$ac_ext
41812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41814 if test `eval echo '${'$as_ac_var'}'` = yes; then
41815 cat >>confdefs.h
<<_ACEOF
41816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41818 cat >>confdefs.h
<<\_ACEOF
41819 #define HAVE_GETSERVBYNAME 1
41827 if test "$wxUSE_THREADS" = "yes"; then
41828 cat >>confdefs.h
<<\_ACEOF
41829 #define wxUSE_THREADS 1
41833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41835 if test "$wx_cv_func_strtok_r" = "yes"; then
41836 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41837 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41838 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41839 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41840 echo "$as_me:$LINENO: result: yes" >&5
41841 echo "${ECHO_T}yes" >&6
41843 echo "$as_me:$LINENO: result: no" >&5
41844 echo "${ECHO_T}no" >&6
41849 if test "$WXGTK20" = 1 ; then
41850 cat >>confdefs.h
<<_ACEOF
41851 #define __WXGTK20__ $WXGTK20
41857 if test "$WXGTK12" = 1 ; then
41858 cat >>confdefs.h
<<_ACEOF
41859 #define __WXGTK12__ $WXGTK12
41864 if test "$WXGTK127" = 1 ; then
41865 cat >>confdefs.h
<<_ACEOF
41866 #define __WXGTK127__ $WXGTK127
41871 if test "$WXGPE" = 1 ; then
41872 cat >>confdefs.h
<<_ACEOF
41873 #define __WXGPE__ $WXGPE
41879 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41884 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41885 wxUSE_DEBUG_INFO
=yes
41886 if test "$GCC" = yes; then
41887 DEBUG_CFLAGS
="-ggdb"
41891 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41892 cat >>confdefs.h
<<\_ACEOF
41896 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41898 if test "$wxUSE_GTK" = 1 ; then
41899 if test "x$wxGTK_VERSION" = "x1" ; then
41900 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41905 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41906 cat >>confdefs.h
<<\_ACEOF
41907 #define wxUSE_MEMORY_TRACING 1
41910 cat >>confdefs.h
<<\_ACEOF
41911 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41914 cat >>confdefs.h
<<\_ACEOF
41915 #define wxUSE_DEBUG_NEW_ALWAYS 1
41918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41921 if test "$wxUSE_DMALLOC" = "yes" ; then
41922 DMALLOC_LIBS
="-ldmallocthcxx"
41926 if test "$wxUSE_PROFILE" = "yes" ; then
41927 PROFILE_FLAGS
=" -pg"
41930 if test "$GCC" = "yes" ; then
41931 if test "$wxUSE_NO_RTTI" = "yes" ; then
41932 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41934 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41935 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41937 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41938 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41943 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41946 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41952 if test "$wxUSE_OPTIMISE" = "no" ; then
41953 if test "$GCC" = yes ; then
41954 OPTIMISE_CFLAGS
="-O0"
41957 if test "$GCC" = yes ; then
41959 *-pc-os2_emx | *-pc-os2-emx )
41960 OPTIMISE_CFLAGS
="-O2"
41963 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41967 OPTIMISE_CFLAGS
="-O"
41972 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41973 cat >>confdefs.h
<<\_ACEOF
41974 #define WXWIN_COMPATIBILITY_2_4 1
41978 WXWIN_COMPATIBILITY_2_6
="yes"
41981 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41982 cat >>confdefs.h
<<\_ACEOF
41983 #define WXWIN_COMPATIBILITY_2_6 1
41989 if test "$wxUSE_GUI" = "yes"; then
41990 cat >>confdefs.h
<<\_ACEOF
41991 #define wxUSE_GUI 1
41998 if test "$wxUSE_UNIX" = "yes"; then
41999 cat >>confdefs.h
<<\_ACEOF
42000 #define wxUSE_UNIX 1
42006 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42010 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42011 if test "$USE_DARWIN" = 1; then
42013 elif test "$USE_DOS" = 1; then
42017 for ac_func
in dlopen
42019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42020 echo "$as_me:$LINENO: checking for $ac_func" >&5
42021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42022 if eval "test \"\${$as_ac_var+set}\" = set"; then
42023 echo $ECHO_N "(cached) $ECHO_C" >&6
42025 cat >conftest.
$ac_ext <<_ACEOF
42028 cat confdefs.h
>>conftest.
$ac_ext
42029 cat >>conftest.
$ac_ext <<_ACEOF
42030 /* end confdefs.h. */
42031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42033 #define $ac_func innocuous_$ac_func
42035 /* System header to define __stub macros and hopefully few prototypes,
42036 which can conflict with char $ac_func (); below.
42037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42038 <limits.h> exists even on freestanding compilers. */
42041 # include <limits.h>
42043 # include <assert.h>
42048 /* Override any gcc2 internal prototype to avoid an error. */
42053 /* We use char because int might match the return type of a gcc2
42054 builtin and then its argument prototype would still apply. */
42056 /* The GNU C library defines this for functions which it implements
42057 to always fail with ENOSYS. Some functions are actually named
42058 something starting with __ and the normal name is an alias. */
42059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42062 char (*f) () = $ac_func;
42071 return f != $ac_func;
42076 rm -f conftest.
$ac_objext conftest
$ac_exeext
42077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42078 (eval $ac_link) 2>conftest.er1
42080 grep -v '^ *+' conftest.er1
>conftest.err
42082 cat conftest.err
>&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } &&
42085 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42087 (eval $ac_try) 2>&5
42089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42090 (exit $ac_status); }; } &&
42091 { ac_try
='test -s conftest$ac_exeext'
42092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42093 (eval $ac_try) 2>&5
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); }; }; then
42097 eval "$as_ac_var=yes"
42099 echo "$as_me: failed program was:" >&5
42100 sed 's/^/| /' conftest.
$ac_ext >&5
42102 eval "$as_ac_var=no"
42104 rm -f conftest.err conftest.
$ac_objext \
42105 conftest
$ac_exeext conftest.
$ac_ext
42107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42109 if test `eval echo '${'$as_ac_var'}'` = yes; then
42110 cat >>confdefs.h
<<_ACEOF
42111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42114 cat >>confdefs.h
<<\_ACEOF
42115 #define HAVE_DLOPEN 1
42122 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42123 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42124 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42125 echo $ECHO_N "(cached) $ECHO_C" >&6
42127 ac_check_lib_save_LIBS
=$LIBS
42129 cat >conftest.
$ac_ext <<_ACEOF
42132 cat confdefs.h
>>conftest.
$ac_ext
42133 cat >>conftest.
$ac_ext <<_ACEOF
42134 /* end confdefs.h. */
42136 /* Override any gcc2 internal prototype to avoid an error. */
42140 /* We use char because int might match the return type of a gcc2
42141 builtin and then its argument prototype would still apply. */
42151 rm -f conftest.
$ac_objext conftest
$ac_exeext
42152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42153 (eval $ac_link) 2>conftest.er1
42155 grep -v '^ *+' conftest.er1
>conftest.err
42157 cat conftest.err
>&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); } &&
42160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42162 (eval $ac_try) 2>&5
42164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42165 (exit $ac_status); }; } &&
42166 { ac_try
='test -s conftest$ac_exeext'
42167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42168 (eval $ac_try) 2>&5
42170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42171 (exit $ac_status); }; }; then
42172 ac_cv_lib_dl_dlopen
=yes
42174 echo "$as_me: failed program was:" >&5
42175 sed 's/^/| /' conftest.
$ac_ext >&5
42177 ac_cv_lib_dl_dlopen
=no
42179 rm -f conftest.err conftest.
$ac_objext \
42180 conftest
$ac_exeext conftest.
$ac_ext
42181 LIBS
=$ac_check_lib_save_LIBS
42183 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42184 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42185 if test $ac_cv_lib_dl_dlopen = yes; then
42187 cat >>confdefs.h
<<\_ACEOF
42188 #define HAVE_DLOPEN 1
42192 DL_LINK
=" -ldl$DL_LINK"
42197 for ac_func
in shl_load
42199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42200 echo "$as_me:$LINENO: checking for $ac_func" >&5
42201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42202 if eval "test \"\${$as_ac_var+set}\" = set"; then
42203 echo $ECHO_N "(cached) $ECHO_C" >&6
42205 cat >conftest.
$ac_ext <<_ACEOF
42208 cat confdefs.h
>>conftest.
$ac_ext
42209 cat >>conftest.
$ac_ext <<_ACEOF
42210 /* end confdefs.h. */
42211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42213 #define $ac_func innocuous_$ac_func
42215 /* System header to define __stub macros and hopefully few prototypes,
42216 which can conflict with char $ac_func (); below.
42217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42218 <limits.h> exists even on freestanding compilers. */
42221 # include <limits.h>
42223 # include <assert.h>
42228 /* Override any gcc2 internal prototype to avoid an error. */
42233 /* We use char because int might match the return type of a gcc2
42234 builtin and then its argument prototype would still apply. */
42236 /* The GNU C library defines this for functions which it implements
42237 to always fail with ENOSYS. Some functions are actually named
42238 something starting with __ and the normal name is an alias. */
42239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42242 char (*f) () = $ac_func;
42251 return f != $ac_func;
42256 rm -f conftest.
$ac_objext conftest
$ac_exeext
42257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42258 (eval $ac_link) 2>conftest.er1
42260 grep -v '^ *+' conftest.er1
>conftest.err
42262 cat conftest.err
>&5
42263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42264 (exit $ac_status); } &&
42265 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42267 (eval $ac_try) 2>&5
42269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42270 (exit $ac_status); }; } &&
42271 { ac_try
='test -s conftest$ac_exeext'
42272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42273 (eval $ac_try) 2>&5
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); }; }; then
42277 eval "$as_ac_var=yes"
42279 echo "$as_me: failed program was:" >&5
42280 sed 's/^/| /' conftest.
$ac_ext >&5
42282 eval "$as_ac_var=no"
42284 rm -f conftest.err conftest.
$ac_objext \
42285 conftest
$ac_exeext conftest.
$ac_ext
42287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42289 if test `eval echo '${'$as_ac_var'}'` = yes; then
42290 cat >>confdefs.h
<<_ACEOF
42291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42294 cat >>confdefs.h
<<\_ACEOF
42295 #define HAVE_SHL_LOAD 1
42302 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42303 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42304 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42305 echo $ECHO_N "(cached) $ECHO_C" >&6
42307 ac_check_lib_save_LIBS
=$LIBS
42308 LIBS
="-lshl_load $LIBS"
42309 cat >conftest.
$ac_ext <<_ACEOF
42312 cat confdefs.h
>>conftest.
$ac_ext
42313 cat >>conftest.
$ac_ext <<_ACEOF
42314 /* end confdefs.h. */
42316 /* Override any gcc2 internal prototype to avoid an error. */
42320 /* We use char because int might match the return type of a gcc2
42321 builtin and then its argument prototype would still apply. */
42331 rm -f conftest.
$ac_objext conftest
$ac_exeext
42332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42333 (eval $ac_link) 2>conftest.er1
42335 grep -v '^ *+' conftest.er1
>conftest.err
42337 cat conftest.err
>&5
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); } &&
42340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42342 (eval $ac_try) 2>&5
42344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42345 (exit $ac_status); }; } &&
42346 { ac_try
='test -s conftest$ac_exeext'
42347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42348 (eval $ac_try) 2>&5
42350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42351 (exit $ac_status); }; }; then
42352 ac_cv_lib_shl_load_dld
=yes
42354 echo "$as_me: failed program was:" >&5
42355 sed 's/^/| /' conftest.
$ac_ext >&5
42357 ac_cv_lib_shl_load_dld
=no
42359 rm -f conftest.err conftest.
$ac_objext \
42360 conftest
$ac_exeext conftest.
$ac_ext
42361 LIBS
=$ac_check_lib_save_LIBS
42363 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42364 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42365 if test $ac_cv_lib_shl_load_dld = yes; then
42368 DL_LINK
=" -ldld$DL_LINK"
42384 if test "$HAVE_DL_FUNCS" = 1; then
42386 for ac_func
in dlerror
42388 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42389 echo "$as_me:$LINENO: checking for $ac_func" >&5
42390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42391 if eval "test \"\${$as_ac_var+set}\" = set"; then
42392 echo $ECHO_N "(cached) $ECHO_C" >&6
42394 cat >conftest.
$ac_ext <<_ACEOF
42397 cat confdefs.h
>>conftest.
$ac_ext
42398 cat >>conftest.
$ac_ext <<_ACEOF
42399 /* end confdefs.h. */
42400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42402 #define $ac_func innocuous_$ac_func
42404 /* System header to define __stub macros and hopefully few prototypes,
42405 which can conflict with char $ac_func (); below.
42406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42407 <limits.h> exists even on freestanding compilers. */
42410 # include <limits.h>
42412 # include <assert.h>
42417 /* Override any gcc2 internal prototype to avoid an error. */
42422 /* We use char because int might match the return type of a gcc2
42423 builtin and then its argument prototype would still apply. */
42425 /* The GNU C library defines this for functions which it implements
42426 to always fail with ENOSYS. Some functions are actually named
42427 something starting with __ and the normal name is an alias. */
42428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42431 char (*f) () = $ac_func;
42440 return f != $ac_func;
42445 rm -f conftest.
$ac_objext conftest
$ac_exeext
42446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42447 (eval $ac_link) 2>conftest.er1
42449 grep -v '^ *+' conftest.er1
>conftest.err
42451 cat conftest.err
>&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); } &&
42454 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42456 (eval $ac_try) 2>&5
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); }; } &&
42460 { ac_try
='test -s conftest$ac_exeext'
42461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42462 (eval $ac_try) 2>&5
42464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42465 (exit $ac_status); }; }; then
42466 eval "$as_ac_var=yes"
42468 echo "$as_me: failed program was:" >&5
42469 sed 's/^/| /' conftest.
$ac_ext >&5
42471 eval "$as_ac_var=no"
42473 rm -f conftest.err conftest.
$ac_objext \
42474 conftest
$ac_exeext conftest.
$ac_ext
42476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42478 if test `eval echo '${'$as_ac_var'}'` = yes; then
42479 cat >>confdefs.h
<<_ACEOF
42480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42482 cat >>confdefs.h
<<\_ACEOF
42483 #define HAVE_DLERROR 1
42488 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42489 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42490 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42493 ac_check_lib_save_LIBS
=$LIBS
42495 cat >conftest.
$ac_ext <<_ACEOF
42498 cat confdefs.h
>>conftest.
$ac_ext
42499 cat >>conftest.
$ac_ext <<_ACEOF
42500 /* end confdefs.h. */
42502 /* Override any gcc2 internal prototype to avoid an error. */
42506 /* We use char because int might match the return type of a gcc2
42507 builtin and then its argument prototype would still apply. */
42517 rm -f conftest.
$ac_objext conftest
$ac_exeext
42518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42519 (eval $ac_link) 2>conftest.er1
42521 grep -v '^ *+' conftest.er1
>conftest.err
42523 cat conftest.err
>&5
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); } &&
42526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42528 (eval $ac_try) 2>&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); }; } &&
42532 { ac_try
='test -s conftest$ac_exeext'
42533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42534 (eval $ac_try) 2>&5
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); }; }; then
42538 ac_cv_lib_dl_dlerror
=yes
42540 echo "$as_me: failed program was:" >&5
42541 sed 's/^/| /' conftest.
$ac_ext >&5
42543 ac_cv_lib_dl_dlerror
=no
42545 rm -f conftest.err conftest.
$ac_objext \
42546 conftest
$ac_exeext conftest.
$ac_ext
42547 LIBS
=$ac_check_lib_save_LIBS
42549 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42550 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42551 if test $ac_cv_lib_dl_dlerror = yes; then
42552 cat >>confdefs.h
<<\_ACEOF
42553 #define HAVE_DLERROR 1
42566 if test "$HAVE_DL_FUNCS" = 0; then
42567 if test "$HAVE_SHL_FUNCS" = 0; then
42568 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42569 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42570 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42571 wxUSE_DYNAMIC_LOADER
=no
42572 wxUSE_DYNLIB_CLASS
=no
42574 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42575 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42582 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42583 cat >>confdefs.h
<<\_ACEOF
42584 #define wxUSE_DYNAMIC_LOADER 1
42588 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42589 cat >>confdefs.h
<<\_ACEOF
42590 #define wxUSE_DYNLIB_CLASS 1
42597 if test "$wxUSE_PLUGINS" = "yes" ; then
42598 if test "$wxUSE_SHARED" = "no" ; then
42599 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42600 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42603 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42604 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42605 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42608 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42609 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42610 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42613 if test "$wxUSE_PLUGINS" = "yes" ; then
42614 cat >>confdefs.h
<<\_ACEOF
42615 #define wxUSE_PLUGINS 1
42622 if test "$wxUSE_STL" = "yes"; then
42623 cat >>confdefs.h
<<\_ACEOF
42624 #define wxUSE_STL 1
42629 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42630 cat >>confdefs.h
<<\_ACEOF
42631 #define wxUSE_APPLE_IEEE 1
42636 if test "$wxUSE_TIMER" = "yes"; then
42637 cat >>confdefs.h
<<\_ACEOF
42638 #define wxUSE_TIMER 1
42643 if test "$USE_UNIX" = "1" ; then
42644 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42645 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42646 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42647 echo $ECHO_N "(cached) $ECHO_C" >&6
42650 cat >conftest.
$ac_ext <<_ACEOF
42653 cat confdefs.h
>>conftest.
$ac_ext
42654 cat >>conftest.
$ac_ext <<_ACEOF
42655 /* end confdefs.h. */
42657 #include <sys/ioctl.h>
42658 #include <sys/soundcard.h>
42664 ioctl(0, SNDCTL_DSP_SPEED, 0);
42670 rm -f conftest.
$ac_objext conftest
$ac_exeext
42671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42672 (eval $ac_link) 2>conftest.er1
42674 grep -v '^ *+' conftest.er1
>conftest.err
42676 cat conftest.err
>&5
42677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678 (exit $ac_status); } &&
42679 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42681 (eval $ac_try) 2>&5
42683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42684 (exit $ac_status); }; } &&
42685 { ac_try
='test -s conftest$ac_exeext'
42686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42687 (eval $ac_try) 2>&5
42689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42690 (exit $ac_status); }; }; then
42691 ac_cv_header_sys_soundcard
=yes
42693 echo "$as_me: failed program was:" >&5
42694 sed 's/^/| /' conftest.
$ac_ext >&5
42698 LIBS
="$saveLibs -lossaudio"
42699 cat >conftest.
$ac_ext <<_ACEOF
42702 cat confdefs.h
>>conftest.
$ac_ext
42703 cat >>conftest.
$ac_ext <<_ACEOF
42704 /* end confdefs.h. */
42706 #include <sys/ioctl.h>
42707 #include <sys/soundcard.h>
42713 ioctl(0, SNDCTL_DSP_SPEED, 0);
42719 rm -f conftest.
$ac_objext conftest
$ac_exeext
42720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42721 (eval $ac_link) 2>conftest.er1
42723 grep -v '^ *+' conftest.er1
>conftest.err
42725 cat conftest.err
>&5
42726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42727 (exit $ac_status); } &&
42728 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42730 (eval $ac_try) 2>&5
42732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42733 (exit $ac_status); }; } &&
42734 { ac_try
='test -s conftest$ac_exeext'
42735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42736 (eval $ac_try) 2>&5
42738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42739 (exit $ac_status); }; }; then
42740 ac_cv_header_sys_soundcard
=yes
42742 echo "$as_me: failed program was:" >&5
42743 sed 's/^/| /' conftest.
$ac_ext >&5
42747 ac_cv_header_sys_soundcard
=no
42751 rm -f conftest.err conftest.
$ac_objext \
42752 conftest
$ac_exeext conftest.
$ac_ext
42756 rm -f conftest.err conftest.
$ac_objext \
42757 conftest
$ac_exeext conftest.
$ac_ext
42760 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42761 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42763 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42764 cat >>confdefs.h
<<\_ACEOF
42765 #define HAVE_SYS_SOUNDCARD_H 1
42769 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42773 if test "$wxUSE_SOUND" = "yes"; then
42774 if test "$USE_UNIX" = "1" ; then
42775 if test "$wxUSE_LIBSDL" != "no"; then
42777 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42778 if test "${with_sdl_prefix+set}" = set; then
42779 withval
="$with_sdl_prefix"
42780 sdl_prefix
="$withval"
42785 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42786 if test "${with_sdl_exec_prefix+set}" = set; then
42787 withval
="$with_sdl_exec_prefix"
42788 sdl_exec_prefix
="$withval"
42792 # Check whether --enable-sdltest or --disable-sdltest was given.
42793 if test "${enable_sdltest+set}" = set; then
42794 enableval
="$enable_sdltest"
42800 if test x
$sdl_exec_prefix != x
; then
42801 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42802 if test x
${SDL_CONFIG+set} != xset
; then
42803 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42806 if test x
$sdl_prefix != x
; then
42807 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42808 if test x
${SDL_CONFIG+set} != xset
; then
42809 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42813 if test "x$prefix" != xNONE
; then
42814 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42816 # Extract the first word of "sdl-config", so it can be a program name with args.
42817 set dummy sdl
-config; ac_word
=$2
42818 echo "$as_me:$LINENO: checking for $ac_word" >&5
42819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42820 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42821 echo $ECHO_N "(cached) $ECHO_C" >&6
42823 case $SDL_CONFIG in
42825 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42829 for as_dir
in $PATH
42832 test -z "$as_dir" && as_dir
=.
42833 for ac_exec_ext
in '' $ac_executable_extensions; do
42834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42835 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42842 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42846 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42848 if test -n "$SDL_CONFIG"; then
42849 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42850 echo "${ECHO_T}$SDL_CONFIG" >&6
42852 echo "$as_me:$LINENO: result: no" >&5
42853 echo "${ECHO_T}no" >&6
42856 min_sdl_version
=1.2.0
42857 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42858 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42860 if test "$SDL_CONFIG" = "no" ; then
42863 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42864 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42866 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42868 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42870 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42872 if test "x$enable_sdltest" = "xyes" ; then
42873 ac_save_CFLAGS
="$CFLAGS"
42874 ac_save_CXXFLAGS
="$CXXFLAGS"
42875 ac_save_LIBS
="$LIBS"
42876 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42877 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42878 LIBS
="$LIBS $SDL_LIBS"
42880 if test "$cross_compiling" = yes; then
42881 echo $ac_n "cross compiling; assumed OK... $ac_c"
42883 cat >conftest.
$ac_ext <<_ACEOF
42886 cat confdefs.h
>>conftest.
$ac_ext
42887 cat >>conftest.
$ac_ext <<_ACEOF
42888 /* end confdefs.h. */
42891 #include <stdlib.h>
42892 #include <string.h>
42896 my_strdup (char *str)
42902 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42903 strcpy (new_str, str);
42911 int main (int argc, char *argv[])
42913 int major, minor, micro;
42916 /* This hangs on some systems (?)
42917 system ("touch conf.sdltest");
42919 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42921 /* HP/UX 9 (%@#!) writes to sscanf strings */
42922 tmp_version = my_strdup("$min_sdl_version");
42923 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42924 printf("%s, bad version string\n", "$min_sdl_version");
42928 if (($sdl_major_version > major) ||
42929 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42930 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42936 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42937 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42938 printf("*** best to upgrade to the required version.\n");
42939 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42940 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42941 printf("*** config.cache before re-running configure\n");
42948 rm -f conftest
$ac_exeext
42949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42950 (eval $ac_link) 2>&5
42952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42953 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42955 (eval $ac_try) 2>&5
42957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42958 (exit $ac_status); }; }; then
42961 echo "$as_me: program exited with status $ac_status" >&5
42962 echo "$as_me: failed program was:" >&5
42963 sed 's/^/| /' conftest.
$ac_ext >&5
42965 ( exit $ac_status )
42968 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42970 CFLAGS
="$ac_save_CFLAGS"
42971 CXXFLAGS
="$ac_save_CXXFLAGS"
42972 LIBS
="$ac_save_LIBS"
42975 if test "x$no_sdl" = x
; then
42976 echo "$as_me:$LINENO: result: yes" >&5
42977 echo "${ECHO_T}yes" >&6
42979 EXTRALIBS_SDL
="$SDL_LIBS"
42980 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42981 cat >>confdefs.h
<<\_ACEOF
42982 #define wxUSE_LIBSDL 1
42987 echo "$as_me:$LINENO: result: no" >&5
42988 echo "${ECHO_T}no" >&6
42989 if test "$SDL_CONFIG" = "no" ; then
42990 echo "*** The sdl-config script installed by SDL could not be found"
42991 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42992 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42993 echo "*** full path to sdl-config."
42995 if test -f conf.sdltest
; then
42998 echo "*** Could not run SDL test program, checking why..."
42999 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43000 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43001 LIBS
="$LIBS $SDL_LIBS"
43002 cat >conftest.
$ac_ext <<_ACEOF
43005 cat confdefs.h
>>conftest.
$ac_ext
43006 cat >>conftest.
$ac_ext <<_ACEOF
43007 /* end confdefs.h. */
43012 int main(int argc, char *argv[])
43015 #define main K_and_R_C_main
43025 rm -f conftest.
$ac_objext conftest
$ac_exeext
43026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43027 (eval $ac_link) 2>conftest.er1
43029 grep -v '^ *+' conftest.er1
>conftest.err
43031 cat conftest.err
>&5
43032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43033 (exit $ac_status); } &&
43034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43036 (eval $ac_try) 2>&5
43038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43039 (exit $ac_status); }; } &&
43040 { ac_try
='test -s conftest$ac_exeext'
43041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43042 (eval $ac_try) 2>&5
43044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045 (exit $ac_status); }; }; then
43046 echo "*** The test program compiled, but did not run. This usually means"
43047 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43048 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43049 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43050 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43051 echo "*** is required on your system"
43053 echo "*** If you have an old version installed, it is best to remove it, although"
43054 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43056 echo "$as_me: failed program was:" >&5
43057 sed 's/^/| /' conftest.
$ac_ext >&5
43059 echo "*** The test program failed to compile or link. See the file config.log for the"
43060 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43061 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43062 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43064 rm -f conftest.err conftest.
$ac_objext \
43065 conftest
$ac_exeext conftest.
$ac_ext
43066 CFLAGS
="$ac_save_CFLAGS"
43067 CXXFLAGS
="$ac_save_CXXFLAGS"
43068 LIBS
="$ac_save_LIBS"
43079 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43085 cat >>confdefs.h
<<\_ACEOF
43086 #define wxUSE_SOUND 1
43089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43092 if test "$WXGTK20" = 1; then
43093 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43094 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43098 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43099 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43101 if test -n "$PKG_CONFIG"; then
43102 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43103 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43105 if test -n "$PKG_CONFIG" && \
43106 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43107 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); }; then
43111 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43119 if test -n "$PKG_CONFIG"; then
43120 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43121 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43123 if test -n "$PKG_CONFIG" && \
43124 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43125 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43128 (exit $ac_status); }; then
43129 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43140 if test $pkg_failed = yes; then
43142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43143 _pkg_short_errors_supported
=yes
43145 _pkg_short_errors_supported
=no
43147 if test $_pkg_short_errors_supported = yes; then
43148 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43150 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43152 # Put the nasty error message in config.log where it belongs
43153 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43156 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43157 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43158 wxUSE_LIBGNOMEPRINT
="no"
43161 elif test $pkg_failed = untried
; then
43163 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43164 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43165 wxUSE_LIBGNOMEPRINT
="no"
43169 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43170 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43171 echo "$as_me:$LINENO: result: yes" >&5
43172 echo "${ECHO_T}yes" >&6
43174 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43175 cat >>confdefs.h
<<\_ACEOF
43176 #define wxUSE_LIBGNOMEPRINT 1
43185 if test "$WXGTK20" = 1; then
43186 if test "$wxUSE_MIMETYPE" = "yes" ; then
43187 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43191 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43192 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43194 if test -n "$PKG_CONFIG"; then
43195 if test -n "$GNOMEVFS_CFLAGS"; then
43196 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43198 if test -n "$PKG_CONFIG" && \
43199 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43200 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); }; then
43204 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43212 if test -n "$PKG_CONFIG"; then
43213 if test -n "$GNOMEVFS_LIBS"; then
43214 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43216 if test -n "$PKG_CONFIG" && \
43217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43218 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); }; then
43222 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43233 if test $pkg_failed = yes; then
43235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43236 _pkg_short_errors_supported
=yes
43238 _pkg_short_errors_supported
=no
43240 if test $_pkg_short_errors_supported = yes; then
43241 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43243 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43245 # Put the nasty error message in config.log where it belongs
43246 echo "$GNOMEVFS_PKG_ERRORS" >&5
43249 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43250 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43251 wxUSE_LIBGNOMEVFS
="no"
43254 elif test $pkg_failed = untried
; then
43256 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43257 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43258 wxUSE_LIBGNOMEVFS
="no"
43262 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43263 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43264 echo "$as_me:$LINENO: result: yes" >&5
43265 echo "${ECHO_T}yes" >&6
43267 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43268 cat >>confdefs.h
<<\_ACEOF
43269 #define wxUSE_LIBGNOMEVFS 1
43278 if test "$WXGTK20" = 1; then
43279 if test "$wxUSE_LIBHILDON" = "yes" ; then
43282 echo "$as_me:$LINENO: checking for HILDON" >&5
43283 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43285 if test -n "$PKG_CONFIG"; then
43286 if test -n "$HILDON_CFLAGS"; then
43287 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43289 if test -n "$PKG_CONFIG" && \
43290 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43291 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); }; then
43295 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43303 if test -n "$PKG_CONFIG"; then
43304 if test -n "$HILDON_LIBS"; then
43305 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43307 if test -n "$PKG_CONFIG" && \
43308 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43309 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43312 (exit $ac_status); }; then
43313 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43324 if test $pkg_failed = yes; then
43326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43327 _pkg_short_errors_supported
=yes
43329 _pkg_short_errors_supported
=no
43331 if test $_pkg_short_errors_supported = yes; then
43332 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43334 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43336 # Put the nasty error message in config.log where it belongs
43337 echo "$HILDON_PKG_ERRORS" >&5
43340 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43341 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43342 wxUSE_LIBHILDON
="no"
43345 elif test $pkg_failed = untried
; then
43347 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43348 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43349 wxUSE_LIBHILDON
="no"
43353 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43354 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43355 echo "$as_me:$LINENO: result: yes" >&5
43356 echo "${ECHO_T}yes" >&6
43358 EXTRALIBS_HILDON
="$HILDON_LIBS"
43359 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43360 cat >>confdefs.h
<<\_ACEOF
43361 #define wxUSE_LIBHILDON 1
43369 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43370 cat >>confdefs.h
<<\_ACEOF
43371 #define wxUSE_CMDLINE_PARSER 1
43376 if test "$wxUSE_STOPWATCH" = "yes"; then
43377 cat >>confdefs.h
<<\_ACEOF
43378 #define wxUSE_STOPWATCH 1
43383 if test "$wxUSE_DATETIME" = "yes"; then
43384 cat >>confdefs.h
<<\_ACEOF
43385 #define wxUSE_DATETIME 1
43390 if test "$wxUSE_FILE" = "yes"; then
43391 cat >>confdefs.h
<<\_ACEOF
43392 #define wxUSE_FILE 1
43397 if test "$wxUSE_FFILE" = "yes"; then
43398 cat >>confdefs.h
<<\_ACEOF
43399 #define wxUSE_FFILE 1
43404 if test "$wxUSE_FILESYSTEM" = "yes"; then
43405 cat >>confdefs.h
<<\_ACEOF
43406 #define wxUSE_FILESYSTEM 1
43411 if test "$wxUSE_FS_ZIP" = "yes"; then
43412 cat >>confdefs.h
<<\_ACEOF
43413 #define wxUSE_FS_ZIP 1
43418 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43419 if test "$wxUSE_STREAMS" != yes; then
43420 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43421 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43423 cat >>confdefs.h
<<\_ACEOF
43424 #define wxUSE_ARCHIVE_STREAMS 1
43430 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43431 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43432 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43433 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43434 elif test "$wxUSE_ZLIB" = "no"; then
43435 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43436 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43438 cat >>confdefs.h
<<\_ACEOF
43439 #define wxUSE_ZIPSTREAM 1
43445 if test "$wxUSE_TARSTREAM" = "yes"; then
43446 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43447 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43448 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43450 cat >>confdefs.h
<<\_ACEOF
43451 #define wxUSE_TARSTREAM 1
43457 if test "$wxUSE_BACKINGFILE" = "yes"; then
43458 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43459 { echo "$as_me:$LINENO: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&5
43460 echo "$as_me: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43462 cat >>confdefs.h
<<\_ACEOF
43463 #define wxUSE_BACKINGFILE 1
43469 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43470 if test "$wxUSE_ARCHIVE_STREAMS" != yes -o "$wxUSE_BACKINGFILE" != yes; then
43471 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxBackingFile... disabled" >&5
43472 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxBackingFile... disabled" >&2;}
43474 cat >>confdefs.h
<<\_ACEOF
43475 #define wxUSE_FS_ARCHIVE 1
43481 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43482 if test "$USE_UNIX" != 1; then
43483 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43484 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43485 wxUSE_ON_FATAL_EXCEPTION
=no
43487 cat >>confdefs.h
<<\_ACEOF
43488 #define wxUSE_ON_FATAL_EXCEPTION 1
43494 if test "$wxUSE_STACKWALKER" = "yes"; then
43495 cat >>confdefs.h
<<\_ACEOF
43496 #define wxUSE_STACKWALKER 1
43501 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43502 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43503 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43504 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43505 wxUSE_DEBUGREPORT
=no
43507 cat >>confdefs.h
<<\_ACEOF
43508 #define wxUSE_DEBUGREPORT 1
43511 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43517 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43518 cat >>confdefs.h
<<\_ACEOF
43519 #define wxUSE_SNGLINST_CHECKER 1
43524 if test "$wxUSE_BUSYINFO" = "yes"; then
43525 cat >>confdefs.h
<<\_ACEOF
43526 #define wxUSE_BUSYINFO 1
43531 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43532 cat >>confdefs.h
<<\_ACEOF
43533 #define wxUSE_STD_IOSTREAM 1
43538 if test "$wxUSE_STD_STRING" = "yes"; then
43539 cat >>confdefs.h
<<\_ACEOF
43540 #define wxUSE_STD_STRING 1
43545 if test "$wxUSE_STDPATHS" = "yes"; then
43546 cat >>confdefs.h
<<\_ACEOF
43547 #define wxUSE_STDPATHS 1
43552 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43553 cat >>confdefs.h
<<\_ACEOF
43554 #define wxUSE_TEXTBUFFER 1
43559 if test "$wxUSE_TEXTFILE" = "yes"; then
43560 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43561 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43562 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43564 cat >>confdefs.h
<<\_ACEOF
43565 #define wxUSE_TEXTFILE 1
43571 if test "$wxUSE_CONFIG" = "yes" ; then
43572 if test "$wxUSE_TEXTFILE" != "yes"; then
43573 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43574 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43576 cat >>confdefs.h
<<\_ACEOF
43577 #define wxUSE_CONFIG 1
43580 cat >>confdefs.h
<<\_ACEOF
43581 #define wxUSE_CONFIG_NATIVE 1
43584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43588 if test "$wxUSE_INTL" = "yes" ; then
43589 if test "$wxUSE_FILE" != "yes"; then
43590 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43591 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43593 cat >>confdefs.h
<<\_ACEOF
43594 #define wxUSE_INTL 1
43597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43598 GUIDIST
="$GUIDIST INTL_DIST"
43602 if test "$wxUSE_LOG" = "yes"; then
43603 cat >>confdefs.h
<<\_ACEOF
43604 #define wxUSE_LOG 1
43608 if test "$wxUSE_LOGGUI" = "yes"; then
43609 cat >>confdefs.h
<<\_ACEOF
43610 #define wxUSE_LOGGUI 1
43615 if test "$wxUSE_LOGWINDOW" = "yes"; then
43616 cat >>confdefs.h
<<\_ACEOF
43617 #define wxUSE_LOGWINDOW 1
43622 if test "$wxUSE_LOGDIALOG" = "yes"; then
43623 cat >>confdefs.h
<<\_ACEOF
43624 #define wxUSE_LOG_DIALOG 1
43629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43632 if test "$wxUSE_LONGLONG" = "yes"; then
43633 cat >>confdefs.h
<<\_ACEOF
43634 #define wxUSE_LONGLONG 1
43639 if test "$wxUSE_GEOMETRY" = "yes"; then
43640 cat >>confdefs.h
<<\_ACEOF
43641 #define wxUSE_GEOMETRY 1
43646 if test "$wxUSE_STREAMS" = "yes" ; then
43647 cat >>confdefs.h
<<\_ACEOF
43648 #define wxUSE_STREAMS 1
43653 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43654 cat >>confdefs.h
<<\_ACEOF
43655 #define wxUSE_PRINTF_POS_PARAMS 1
43662 if test "$wxUSE_DATETIME" = "yes"; then
43664 for ac_func
in strptime
43666 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43667 echo "$as_me:$LINENO: checking for $ac_func" >&5
43668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43669 if eval "test \"\${$as_ac_var+set}\" = set"; then
43670 echo $ECHO_N "(cached) $ECHO_C" >&6
43672 cat >conftest.
$ac_ext <<_ACEOF
43675 cat confdefs.h
>>conftest.
$ac_ext
43676 cat >>conftest.
$ac_ext <<_ACEOF
43677 /* end confdefs.h. */
43678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43680 #define $ac_func innocuous_$ac_func
43682 /* System header to define __stub macros and hopefully few prototypes,
43683 which can conflict with char $ac_func (); below.
43684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43685 <limits.h> exists even on freestanding compilers. */
43688 # include <limits.h>
43690 # include <assert.h>
43695 /* Override any gcc2 internal prototype to avoid an error. */
43700 /* We use char because int might match the return type of a gcc2
43701 builtin and then its argument prototype would still apply. */
43703 /* The GNU C library defines this for functions which it implements
43704 to always fail with ENOSYS. Some functions are actually named
43705 something starting with __ and the normal name is an alias. */
43706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43709 char (*f) () = $ac_func;
43718 return f != $ac_func;
43723 rm -f conftest.
$ac_objext conftest
$ac_exeext
43724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43725 (eval $ac_link) 2>conftest.er1
43727 grep -v '^ *+' conftest.er1
>conftest.err
43729 cat conftest.err
>&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); } &&
43732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43734 (eval $ac_try) 2>&5
43736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737 (exit $ac_status); }; } &&
43738 { ac_try
='test -s conftest$ac_exeext'
43739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43740 (eval $ac_try) 2>&5
43742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743 (exit $ac_status); }; }; then
43744 eval "$as_ac_var=yes"
43746 echo "$as_me: failed program was:" >&5
43747 sed 's/^/| /' conftest.
$ac_ext >&5
43749 eval "$as_ac_var=no"
43751 rm -f conftest.err conftest.
$ac_objext \
43752 conftest
$ac_exeext conftest.
$ac_ext
43754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43756 if test `eval echo '${'$as_ac_var'}'` = yes; then
43757 cat >>confdefs.h
<<_ACEOF
43758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43764 if test "$ac_cv_func_strptime" = "yes"; then
43765 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43766 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43767 if test "${wx_cv_func_strptime_decl+set}" = set; then
43768 echo $ECHO_N "(cached) $ECHO_C" >&6
43771 cat >conftest.
$ac_ext <<_ACEOF
43774 cat confdefs.h
>>conftest.
$ac_ext
43775 cat >>conftest.
$ac_ext <<_ACEOF
43776 /* end confdefs.h. */
43785 strptime("foo", "bar", &t);
43791 rm -f conftest.
$ac_objext
43792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43793 (eval $ac_compile) 2>conftest.er1
43795 grep -v '^ *+' conftest.er1
>conftest.err
43797 cat conftest.err
>&5
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); } &&
43800 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43802 (eval $ac_try) 2>&5
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); }; } &&
43806 { ac_try
='test -s conftest.$ac_objext'
43807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43808 (eval $ac_try) 2>&5
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); }; }; then
43812 wx_cv_func_strptime_decl
=yes
43814 echo "$as_me: failed program was:" >&5
43815 sed 's/^/| /' conftest.
$ac_ext >&5
43817 wx_cv_func_strptime_decl
=no
43820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43824 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43825 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43827 if test "$wx_cv_func_strptime_decl" = "yes"; then
43828 cat >>confdefs.h
<<\_ACEOF
43829 #define HAVE_STRPTIME_DECL 1
43834 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43835 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43836 if test "${wx_cv_var_timezone+set}" = set; then
43837 echo $ECHO_N "(cached) $ECHO_C" >&6
43840 cat >conftest.
$ac_ext <<_ACEOF
43843 cat confdefs.h
>>conftest.
$ac_ext
43844 cat >>conftest.
$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43860 rm -f conftest.
$ac_objext
43861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43862 (eval $ac_compile) 2>conftest.er1
43864 grep -v '^ *+' conftest.er1
>conftest.err
43866 cat conftest.err
>&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } &&
43869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43871 (eval $ac_try) 2>&5
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); }; } &&
43875 { ac_try
='test -s conftest.$ac_objext'
43876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43877 (eval $ac_try) 2>&5
43879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43880 (exit $ac_status); }; }; then
43882 wx_cv_var_timezone
=timezone
43885 echo "$as_me: failed program was:" >&5
43886 sed 's/^/| /' conftest.
$ac_ext >&5
43889 cat >conftest.
$ac_ext <<_ACEOF
43892 cat confdefs.h
>>conftest.
$ac_ext
43893 cat >>conftest.
$ac_ext <<_ACEOF
43894 /* end confdefs.h. */
43909 rm -f conftest.
$ac_objext
43910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43911 (eval $ac_compile) 2>conftest.er1
43913 grep -v '^ *+' conftest.er1
>conftest.err
43915 cat conftest.err
>&5
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); } &&
43918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43920 (eval $ac_try) 2>&5
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); }; } &&
43924 { ac_try
='test -s conftest.$ac_objext'
43925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43926 (eval $ac_try) 2>&5
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); }; }; then
43931 wx_cv_var_timezone
=_timezone
43934 echo "$as_me: failed program was:" >&5
43935 sed 's/^/| /' conftest.
$ac_ext >&5
43938 cat >conftest.
$ac_ext <<_ACEOF
43941 cat confdefs.h
>>conftest.
$ac_ext
43942 cat >>conftest.
$ac_ext <<_ACEOF
43943 /* end confdefs.h. */
43958 rm -f conftest.
$ac_objext
43959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43960 (eval $ac_compile) 2>conftest.er1
43962 grep -v '^ *+' conftest.er1
>conftest.err
43964 cat conftest.err
>&5
43965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43966 (exit $ac_status); } &&
43967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43969 (eval $ac_try) 2>&5
43971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43972 (exit $ac_status); }; } &&
43973 { ac_try
='test -s conftest.$ac_objext'
43974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43975 (eval $ac_try) 2>&5
43977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978 (exit $ac_status); }; }; then
43980 wx_cv_var_timezone
=__timezone
43983 echo "$as_me: failed program was:" >&5
43984 sed 's/^/| /' conftest.
$ac_ext >&5
43987 if test "$USE_DOS" = 0 ; then
43988 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43989 echo "$as_me: WARNING: no timezone variable" >&2;}
43994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44006 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44007 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44009 if test "x$wx_cv_var_timezone" != x
; then
44010 cat >>confdefs.h
<<_ACEOF
44011 #define WX_TIMEZONE $wx_cv_var_timezone
44017 for ac_func
in localtime
44019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44020 echo "$as_me:$LINENO: checking for $ac_func" >&5
44021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44022 if eval "test \"\${$as_ac_var+set}\" = set"; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44025 cat >conftest.
$ac_ext <<_ACEOF
44028 cat confdefs.h
>>conftest.
$ac_ext
44029 cat >>conftest.
$ac_ext <<_ACEOF
44030 /* end confdefs.h. */
44031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44033 #define $ac_func innocuous_$ac_func
44035 /* System header to define __stub macros and hopefully few prototypes,
44036 which can conflict with char $ac_func (); below.
44037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44038 <limits.h> exists even on freestanding compilers. */
44041 # include <limits.h>
44043 # include <assert.h>
44048 /* Override any gcc2 internal prototype to avoid an error. */
44053 /* We use char because int might match the return type of a gcc2
44054 builtin and then its argument prototype would still apply. */
44056 /* The GNU C library defines this for functions which it implements
44057 to always fail with ENOSYS. Some functions are actually named
44058 something starting with __ and the normal name is an alias. */
44059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44062 char (*f) () = $ac_func;
44071 return f != $ac_func;
44076 rm -f conftest.
$ac_objext conftest
$ac_exeext
44077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44078 (eval $ac_link) 2>conftest.er1
44080 grep -v '^ *+' conftest.er1
>conftest.err
44082 cat conftest.err
>&5
44083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084 (exit $ac_status); } &&
44085 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44087 (eval $ac_try) 2>&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); }; } &&
44091 { ac_try
='test -s conftest$ac_exeext'
44092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44093 (eval $ac_try) 2>&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); }; }; then
44097 eval "$as_ac_var=yes"
44099 echo "$as_me: failed program was:" >&5
44100 sed 's/^/| /' conftest.
$ac_ext >&5
44102 eval "$as_ac_var=no"
44104 rm -f conftest.err conftest.
$ac_objext \
44105 conftest
$ac_exeext conftest.
$ac_ext
44107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44109 if test `eval echo '${'$as_ac_var'}'` = yes; then
44110 cat >>confdefs.h
<<_ACEOF
44111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44118 if test "$ac_cv_func_localtime" = "yes"; then
44119 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44120 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44121 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44122 echo $ECHO_N "(cached) $ECHO_C" >&6
44125 cat >conftest.
$ac_ext <<_ACEOF
44128 cat confdefs.h
>>conftest.
$ac_ext
44129 cat >>conftest.
$ac_ext <<_ACEOF
44130 /* end confdefs.h. */
44145 rm -f conftest.
$ac_objext
44146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44147 (eval $ac_compile) 2>conftest.er1
44149 grep -v '^ *+' conftest.er1
>conftest.err
44151 cat conftest.err
>&5
44152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44153 (exit $ac_status); } &&
44154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44156 (eval $ac_try) 2>&5
44158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44159 (exit $ac_status); }; } &&
44160 { ac_try
='test -s conftest.$ac_objext'
44161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44162 (eval $ac_try) 2>&5
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); }; }; then
44167 wx_cv_struct_tm_has_gmtoff
=yes
44170 echo "$as_me: failed program was:" >&5
44171 sed 's/^/| /' conftest.
$ac_ext >&5
44173 wx_cv_struct_tm_has_gmtoff
=no
44176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44179 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44180 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44183 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44184 cat >>confdefs.h
<<\_ACEOF
44185 #define WX_GMTOFF_IN_TM 1
44192 for ac_func
in gettimeofday ftime
44194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44195 echo "$as_me:$LINENO: checking for $ac_func" >&5
44196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44197 if eval "test \"\${$as_ac_var+set}\" = set"; then
44198 echo $ECHO_N "(cached) $ECHO_C" >&6
44200 cat >conftest.
$ac_ext <<_ACEOF
44203 cat confdefs.h
>>conftest.
$ac_ext
44204 cat >>conftest.
$ac_ext <<_ACEOF
44205 /* end confdefs.h. */
44206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44208 #define $ac_func innocuous_$ac_func
44210 /* System header to define __stub macros and hopefully few prototypes,
44211 which can conflict with char $ac_func (); below.
44212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44213 <limits.h> exists even on freestanding compilers. */
44216 # include <limits.h>
44218 # include <assert.h>
44223 /* Override any gcc2 internal prototype to avoid an error. */
44228 /* We use char because int might match the return type of a gcc2
44229 builtin and then its argument prototype would still apply. */
44231 /* The GNU C library defines this for functions which it implements
44232 to always fail with ENOSYS. Some functions are actually named
44233 something starting with __ and the normal name is an alias. */
44234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44237 char (*f) () = $ac_func;
44246 return f != $ac_func;
44251 rm -f conftest.
$ac_objext conftest
$ac_exeext
44252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44253 (eval $ac_link) 2>conftest.er1
44255 grep -v '^ *+' conftest.er1
>conftest.err
44257 cat conftest.err
>&5
44258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44259 (exit $ac_status); } &&
44260 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44262 (eval $ac_try) 2>&5
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); }; } &&
44266 { ac_try
='test -s conftest$ac_exeext'
44267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44268 (eval $ac_try) 2>&5
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); }; }; then
44272 eval "$as_ac_var=yes"
44274 echo "$as_me: failed program was:" >&5
44275 sed 's/^/| /' conftest.
$ac_ext >&5
44277 eval "$as_ac_var=no"
44279 rm -f conftest.err conftest.
$ac_objext \
44280 conftest
$ac_exeext conftest.
$ac_ext
44282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44284 if test `eval echo '${'$as_ac_var'}'` = yes; then
44285 cat >>confdefs.h
<<_ACEOF
44286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44293 if test "$ac_cv_func_gettimeofday" = "yes"; then
44294 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44295 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44296 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44297 echo $ECHO_N "(cached) $ECHO_C" >&6
44300 cat >conftest.
$ac_ext <<_ACEOF
44303 cat confdefs.h
>>conftest.
$ac_ext
44304 cat >>conftest.
$ac_ext <<_ACEOF
44305 /* end confdefs.h. */
44307 #include <sys/time.h>
44308 #include <unistd.h>
44315 gettimeofday(&tv, NULL);
44321 rm -f conftest.
$ac_objext
44322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44323 (eval $ac_compile) 2>conftest.er1
44325 grep -v '^ *+' conftest.er1
>conftest.err
44327 cat conftest.err
>&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } &&
44330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332 (eval $ac_try) 2>&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; } &&
44336 { ac_try
='test -s conftest.$ac_objext'
44337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44338 (eval $ac_try) 2>&5
44340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44341 (exit $ac_status); }; }; then
44342 wx_cv_func_gettimeofday_has_2_args
=yes
44344 echo "$as_me: failed program was:" >&5
44345 sed 's/^/| /' conftest.
$ac_ext >&5
44347 cat >conftest.
$ac_ext <<_ACEOF
44350 cat confdefs.h
>>conftest.
$ac_ext
44351 cat >>conftest.
$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44354 #include <sys/time.h>
44355 #include <unistd.h>
44368 rm -f conftest.
$ac_objext
44369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44370 (eval $ac_compile) 2>conftest.er1
44372 grep -v '^ *+' conftest.er1
>conftest.err
44374 cat conftest.err
>&5
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); } &&
44377 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44379 (eval $ac_try) 2>&5
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; } &&
44383 { ac_try
='test -s conftest.$ac_objext'
44384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44385 (eval $ac_try) 2>&5
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); }; }; then
44389 wx_cv_func_gettimeofday_has_2_args
=no
44391 echo "$as_me: failed program was:" >&5
44392 sed 's/^/| /' conftest.
$ac_ext >&5
44395 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44396 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44397 wx_cv_func_gettimeofday_has_2_args
=unknown
44401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44407 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44408 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44410 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44411 cat >>confdefs.h
<<\_ACEOF
44412 #define WX_GETTIMEOFDAY_NO_TZ 1
44418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44422 if test "$wxUSE_SOCKETS" = "yes"; then
44423 if test "$wxUSE_MGL" = "1"; then
44424 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44425 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44430 if test "$wxUSE_SOCKETS" = "yes"; then
44431 if test "$TOOLKIT" != "MSW"; then
44432 echo "$as_me:$LINENO: checking for socket" >&5
44433 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44434 if test "${ac_cv_func_socket+set}" = set; then
44435 echo $ECHO_N "(cached) $ECHO_C" >&6
44437 cat >conftest.
$ac_ext <<_ACEOF
44440 cat confdefs.h
>>conftest.
$ac_ext
44441 cat >>conftest.
$ac_ext <<_ACEOF
44442 /* end confdefs.h. */
44443 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44445 #define socket innocuous_socket
44447 /* System header to define __stub macros and hopefully few prototypes,
44448 which can conflict with char socket (); below.
44449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44450 <limits.h> exists even on freestanding compilers. */
44453 # include <limits.h>
44455 # include <assert.h>
44460 /* Override any gcc2 internal prototype to avoid an error. */
44465 /* We use char because int might match the return type of a gcc2
44466 builtin and then its argument prototype would still apply. */
44468 /* The GNU C library defines this for functions which it implements
44469 to always fail with ENOSYS. Some functions are actually named
44470 something starting with __ and the normal name is an alias. */
44471 #if defined (__stub_socket) || defined (__stub___socket)
44474 char (*f) () = socket;
44483 return f != socket;
44488 rm -f conftest.
$ac_objext conftest
$ac_exeext
44489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44490 (eval $ac_link) 2>conftest.er1
44492 grep -v '^ *+' conftest.er1
>conftest.err
44494 cat conftest.err
>&5
44495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44496 (exit $ac_status); } &&
44497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44499 (eval $ac_try) 2>&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; } &&
44503 { ac_try
='test -s conftest$ac_exeext'
44504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44505 (eval $ac_try) 2>&5
44507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508 (exit $ac_status); }; }; then
44509 ac_cv_func_socket
=yes
44511 echo "$as_me: failed program was:" >&5
44512 sed 's/^/| /' conftest.
$ac_ext >&5
44514 ac_cv_func_socket
=no
44516 rm -f conftest.err conftest.
$ac_objext \
44517 conftest
$ac_exeext conftest.
$ac_ext
44519 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44520 echo "${ECHO_T}$ac_cv_func_socket" >&6
44521 if test $ac_cv_func_socket = yes; then
44525 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44526 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44527 if test "${ac_cv_lib_socket_socket+set}" = set; then
44528 echo $ECHO_N "(cached) $ECHO_C" >&6
44530 ac_check_lib_save_LIBS
=$LIBS
44531 LIBS
="-lsocket $LIBS"
44532 cat >conftest.
$ac_ext <<_ACEOF
44535 cat confdefs.h
>>conftest.
$ac_ext
44536 cat >>conftest.
$ac_ext <<_ACEOF
44537 /* end confdefs.h. */
44539 /* Override any gcc2 internal prototype to avoid an error. */
44543 /* We use char because int might match the return type of a gcc2
44544 builtin and then its argument prototype would still apply. */
44554 rm -f conftest.
$ac_objext conftest
$ac_exeext
44555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44556 (eval $ac_link) 2>conftest.er1
44558 grep -v '^ *+' conftest.er1
>conftest.err
44560 cat conftest.err
>&5
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); } &&
44563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44565 (eval $ac_try) 2>&5
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); }; } &&
44569 { ac_try
='test -s conftest$ac_exeext'
44570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44571 (eval $ac_try) 2>&5
44573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44574 (exit $ac_status); }; }; then
44575 ac_cv_lib_socket_socket
=yes
44577 echo "$as_me: failed program was:" >&5
44578 sed 's/^/| /' conftest.
$ac_ext >&5
44580 ac_cv_lib_socket_socket
=no
44582 rm -f conftest.err conftest.
$ac_objext \
44583 conftest
$ac_exeext conftest.
$ac_ext
44584 LIBS
=$ac_check_lib_save_LIBS
44586 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44587 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44588 if test $ac_cv_lib_socket_socket = yes; then
44589 if test "$INET_LINK" != " -lsocket"; then
44590 INET_LINK
="$INET_LINK -lsocket"
44594 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44595 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44608 if test "$wxUSE_SOCKETS" = "yes" ; then
44609 if test "$TOOLKIT" != "MSW"; then
44610 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44611 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44612 if test "${wx_cv_type_getsockname3+set}" = set; then
44613 echo $ECHO_N "(cached) $ECHO_C" >&6
44616 cat >conftest.
$ac_ext <<_ACEOF
44619 cat confdefs.h
>>conftest.
$ac_ext
44620 cat >>conftest.
$ac_ext <<_ACEOF
44621 /* end confdefs.h. */
44623 #include <sys/types.h>
44624 #include <sys/socket.h>
44631 getsockname(0, 0, &len);
44637 rm -f conftest.
$ac_objext
44638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44639 (eval $ac_compile) 2>conftest.er1
44641 grep -v '^ *+' conftest.er1
>conftest.err
44643 cat conftest.err
>&5
44644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44645 (exit $ac_status); } &&
44646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44648 (eval $ac_try) 2>&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); }; } &&
44652 { ac_try
='test -s conftest.$ac_objext'
44653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44654 (eval $ac_try) 2>&5
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); }; }; then
44658 wx_cv_type_getsockname3
=socklen_t
44660 echo "$as_me: failed program was:" >&5
44661 sed 's/^/| /' conftest.
$ac_ext >&5
44664 CXXFLAGS_OLD
="$CXXFLAGS"
44665 if test "$GCC" = yes ; then
44666 CXXFLAGS
="-Werror $CXXFLAGS"
44669 cat >conftest.
$ac_ext <<_ACEOF
44672 cat confdefs.h
>>conftest.
$ac_ext
44673 cat >>conftest.
$ac_ext <<_ACEOF
44674 /* end confdefs.h. */
44676 #include <sys/types.h>
44677 #include <sys/socket.h>
44684 getsockname(0, 0, &len);
44690 rm -f conftest.
$ac_objext
44691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44692 (eval $ac_compile) 2>conftest.er1
44694 grep -v '^ *+' conftest.er1
>conftest.err
44696 cat conftest.err
>&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } &&
44699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701 (eval $ac_try) 2>&5
44703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704 (exit $ac_status); }; } &&
44705 { ac_try
='test -s conftest.$ac_objext'
44706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44707 (eval $ac_try) 2>&5
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); }; }; then
44711 wx_cv_type_getsockname3
=size_t
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.
$ac_ext >&5
44716 cat >conftest.
$ac_ext <<_ACEOF
44719 cat confdefs.h
>>conftest.
$ac_ext
44720 cat >>conftest.
$ac_ext <<_ACEOF
44721 /* end confdefs.h. */
44723 #include <sys/types.h>
44724 #include <sys/socket.h>
44731 getsockname(0, 0, &len);
44737 rm -f conftest.
$ac_objext
44738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44739 (eval $ac_compile) 2>conftest.er1
44741 grep -v '^ *+' conftest.er1
>conftest.err
44743 cat conftest.err
>&5
44744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44745 (exit $ac_status); } &&
44746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44748 (eval $ac_try) 2>&5
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); }; } &&
44752 { ac_try
='test -s conftest.$ac_objext'
44753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44754 (eval $ac_try) 2>&5
44756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757 (exit $ac_status); }; }; then
44758 wx_cv_type_getsockname3
=int
44760 echo "$as_me: failed program was:" >&5
44761 sed 's/^/| /' conftest.
$ac_ext >&5
44763 wx_cv_type_getsockname3
=unknown
44766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44771 CXXFLAGS
="$CXXFLAGS_OLD"
44775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44778 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44779 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44781 if test "$wx_cv_type_getsockname3" = "unknown"; then
44783 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44784 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44786 cat >>confdefs.h
<<_ACEOF
44787 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44791 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44792 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44793 if test "${wx_cv_type_getsockopt5+set}" = set; then
44794 echo $ECHO_N "(cached) $ECHO_C" >&6
44797 cat >conftest.
$ac_ext <<_ACEOF
44800 cat confdefs.h
>>conftest.
$ac_ext
44801 cat >>conftest.
$ac_ext <<_ACEOF
44802 /* end confdefs.h. */
44804 #include <sys/types.h>
44805 #include <sys/socket.h>
44812 getsockopt(0, 0, 0, 0, &len);
44818 rm -f conftest.
$ac_objext
44819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44820 (eval $ac_compile) 2>conftest.er1
44822 grep -v '^ *+' conftest.er1
>conftest.err
44824 cat conftest.err
>&5
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); } &&
44827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44829 (eval $ac_try) 2>&5
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); }; } &&
44833 { ac_try
='test -s conftest.$ac_objext'
44834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44835 (eval $ac_try) 2>&5
44837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44838 (exit $ac_status); }; }; then
44839 wx_cv_type_getsockopt5
=socklen_t
44841 echo "$as_me: failed program was:" >&5
44842 sed 's/^/| /' conftest.
$ac_ext >&5
44845 CXXFLAGS_OLD
="$CXXFLAGS"
44846 if test "$GCC" = yes ; then
44847 CXXFLAGS
="-Werror $CXXFLAGS"
44850 cat >conftest.
$ac_ext <<_ACEOF
44853 cat confdefs.h
>>conftest.
$ac_ext
44854 cat >>conftest.
$ac_ext <<_ACEOF
44855 /* end confdefs.h. */
44857 #include <sys/types.h>
44858 #include <sys/socket.h>
44865 getsockopt(0, 0, 0, 0, &len);
44871 rm -f conftest.
$ac_objext
44872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44873 (eval $ac_compile) 2>conftest.er1
44875 grep -v '^ *+' conftest.er1
>conftest.err
44877 cat conftest.err
>&5
44878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879 (exit $ac_status); } &&
44880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44882 (eval $ac_try) 2>&5
44884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44885 (exit $ac_status); }; } &&
44886 { ac_try
='test -s conftest.$ac_objext'
44887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44888 (eval $ac_try) 2>&5
44890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44891 (exit $ac_status); }; }; then
44892 wx_cv_type_getsockopt5
=size_t
44894 echo "$as_me: failed program was:" >&5
44895 sed 's/^/| /' conftest.
$ac_ext >&5
44897 cat >conftest.
$ac_ext <<_ACEOF
44900 cat confdefs.h
>>conftest.
$ac_ext
44901 cat >>conftest.
$ac_ext <<_ACEOF
44902 /* end confdefs.h. */
44904 #include <sys/types.h>
44905 #include <sys/socket.h>
44912 getsockopt(0, 0, 0, 0, &len);
44918 rm -f conftest.
$ac_objext
44919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44920 (eval $ac_compile) 2>conftest.er1
44922 grep -v '^ *+' conftest.er1
>conftest.err
44924 cat conftest.err
>&5
44925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926 (exit $ac_status); } &&
44927 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44929 (eval $ac_try) 2>&5
44931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44932 (exit $ac_status); }; } &&
44933 { ac_try
='test -s conftest.$ac_objext'
44934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44935 (eval $ac_try) 2>&5
44937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938 (exit $ac_status); }; }; then
44939 wx_cv_type_getsockopt5
=int
44941 echo "$as_me: failed program was:" >&5
44942 sed 's/^/| /' conftest.
$ac_ext >&5
44944 wx_cv_type_getsockopt5
=unknown
44947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44952 CXXFLAGS
="$CXXFLAGS_OLD"
44956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44959 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44960 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44962 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44964 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44965 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44967 cat >>confdefs.h
<<_ACEOF
44968 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44975 if test "$wxUSE_SOCKETS" = "yes" ; then
44976 cat >>confdefs.h
<<\_ACEOF
44977 #define wxUSE_SOCKETS 1
44980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44983 if test "$wxUSE_PROTOCOL" = "yes"; then
44984 if test "$wxUSE_SOCKETS" != "yes"; then
44985 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44986 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44991 if test "$wxUSE_PROTOCOL" = "yes"; then
44992 cat >>confdefs.h
<<\_ACEOF
44993 #define wxUSE_PROTOCOL 1
44997 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44998 cat >>confdefs.h
<<\_ACEOF
44999 #define wxUSE_PROTOCOL_HTTP 1
45003 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45004 cat >>confdefs.h
<<\_ACEOF
45005 #define wxUSE_PROTOCOL_FTP 1
45009 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45010 cat >>confdefs.h
<<\_ACEOF
45011 #define wxUSE_PROTOCOL_FILE 1
45016 if test "$wxUSE_FS_INET" = "yes"; then
45017 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45018 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45023 if test "$wxUSE_URL" = "yes"; then
45024 if test "$wxUSE_PROTOCOL" != "yes"; then
45025 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45026 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45029 if test "$wxUSE_URL" = "yes"; then
45030 cat >>confdefs.h
<<\_ACEOF
45031 #define wxUSE_URL 1
45037 if test "$wxUSE_VARIANT" = "yes"; then
45038 cat >>confdefs.h
<<\_ACEOF
45039 #define wxUSE_VARIANT 1
45044 if test "$wxUSE_FS_INET" = "yes"; then
45045 cat >>confdefs.h
<<\_ACEOF
45046 #define wxUSE_FS_INET 1
45052 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45055 if test "$TOOLKIT" = "MSW"; then
45058 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45059 if test "$USE_DARWIN" = 1; then
45060 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45061 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45062 cat >conftest.
$ac_ext <<_ACEOF
45065 cat confdefs.h
>>conftest.
$ac_ext
45066 cat >>conftest.
$ac_ext <<_ACEOF
45067 /* end confdefs.h. */
45068 #include <IOKit/hid/IOHIDLib.h>
45072 IOHIDQueueInterface *qi = NULL;
45073 IOHIDCallbackFunction cb = NULL;
45074 qi->setEventCallout(NULL, cb, NULL, NULL);
45079 rm -f conftest.
$ac_objext
45080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45081 (eval $ac_compile) 2>conftest.er1
45083 grep -v '^ *+' conftest.er1
>conftest.err
45085 cat conftest.err
>&5
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); } &&
45088 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45090 (eval $ac_try) 2>&5
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); }; } &&
45094 { ac_try
='test -s conftest.$ac_objext'
45095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45096 (eval $ac_try) 2>&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; }; then
45103 echo "$as_me: failed program was:" >&5
45104 sed 's/^/| /' conftest.
$ac_ext >&5
45107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45108 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45109 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45114 for ac_header
in linux
/joystick.h
45116 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45118 echo "$as_me:$LINENO: checking for $ac_header" >&5
45119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45121 echo $ECHO_N "(cached) $ECHO_C" >&6
45123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45126 # Is the header compilable?
45127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45129 cat >conftest.
$ac_ext <<_ACEOF
45132 cat confdefs.h
>>conftest.
$ac_ext
45133 cat >>conftest.
$ac_ext <<_ACEOF
45134 /* end confdefs.h. */
45135 $ac_includes_default
45136 #include <$ac_header>
45138 rm -f conftest.
$ac_objext
45139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45140 (eval $ac_compile) 2>conftest.er1
45142 grep -v '^ *+' conftest.er1
>conftest.err
45144 cat conftest.err
>&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } &&
45147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45149 (eval $ac_try) 2>&5
45151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45152 (exit $ac_status); }; } &&
45153 { ac_try
='test -s conftest.$ac_objext'
45154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45155 (eval $ac_try) 2>&5
45157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158 (exit $ac_status); }; }; then
45159 ac_header_compiler
=yes
45161 echo "$as_me: failed program was:" >&5
45162 sed 's/^/| /' conftest.
$ac_ext >&5
45164 ac_header_compiler
=no
45166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45168 echo "${ECHO_T}$ac_header_compiler" >&6
45170 # Is the header present?
45171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45173 cat >conftest.
$ac_ext <<_ACEOF
45176 cat confdefs.h
>>conftest.
$ac_ext
45177 cat >>conftest.
$ac_ext <<_ACEOF
45178 /* end confdefs.h. */
45179 #include <$ac_header>
45181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45184 grep -v '^ *+' conftest.er1
>conftest.err
45186 cat conftest.err
>&5
45187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45188 (exit $ac_status); } >/dev
/null
; then
45189 if test -s conftest.err
; then
45190 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45191 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45198 if test -z "$ac_cpp_err"; then
45199 ac_header_preproc
=yes
45201 echo "$as_me: failed program was:" >&5
45202 sed 's/^/| /' conftest.
$ac_ext >&5
45204 ac_header_preproc
=no
45206 rm -f conftest.err conftest.
$ac_ext
45207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45208 echo "${ECHO_T}$ac_header_preproc" >&6
45210 # So? What about this header?
45211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45217 ac_header_preproc
=yes
45220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45234 ## ----------------------------------------- ##
45235 ## Report this to wx-dev@lists.wxwidgets.org ##
45236 ## ----------------------------------------- ##
45239 sed "s/^/$as_me: WARNING: /" >&2
45242 echo "$as_me:$LINENO: checking for $ac_header" >&5
45243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45245 echo $ECHO_N "(cached) $ECHO_C" >&6
45247 eval "$as_ac_Header=\$ac_header_preproc"
45249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45254 cat >>confdefs.h
<<_ACEOF
45255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45264 if test "$wxUSE_JOYSTICK" = "yes"; then
45265 cat >>confdefs.h
<<\_ACEOF
45266 #define wxUSE_JOYSTICK 1
45269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45271 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45272 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45278 if test "$wxUSE_FONTMAP" = "yes" ; then
45279 cat >>confdefs.h
<<\_ACEOF
45280 #define wxUSE_FONTMAP 1
45285 if test "$wxUSE_UNICODE" = "yes" ; then
45286 cat >>confdefs.h
<<\_ACEOF
45287 #define wxUSE_UNICODE 1
45291 if test "$USE_WIN32" != 1; then
45292 wxUSE_UNICODE_MSLU
=no
45295 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45296 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45297 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45298 if test "${ac_cv_lib_unicows_main+set}" = set; then
45299 echo $ECHO_N "(cached) $ECHO_C" >&6
45301 ac_check_lib_save_LIBS
=$LIBS
45302 LIBS
="-lunicows $LIBS"
45303 cat >conftest.
$ac_ext <<_ACEOF
45306 cat confdefs.h
>>conftest.
$ac_ext
45307 cat >>conftest.
$ac_ext <<_ACEOF
45308 /* end confdefs.h. */
45319 rm -f conftest.
$ac_objext conftest
$ac_exeext
45320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45321 (eval $ac_link) 2>conftest.er1
45323 grep -v '^ *+' conftest.er1
>conftest.err
45325 cat conftest.err
>&5
45326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45327 (exit $ac_status); } &&
45328 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45330 (eval $ac_try) 2>&5
45332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45333 (exit $ac_status); }; } &&
45334 { ac_try
='test -s conftest$ac_exeext'
45335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45336 (eval $ac_try) 2>&5
45338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45339 (exit $ac_status); }; }; then
45340 ac_cv_lib_unicows_main
=yes
45342 echo "$as_me: failed program was:" >&5
45343 sed 's/^/| /' conftest.
$ac_ext >&5
45345 ac_cv_lib_unicows_main
=no
45347 rm -f conftest.err conftest.
$ac_objext \
45348 conftest
$ac_exeext conftest.
$ac_ext
45349 LIBS
=$ac_check_lib_save_LIBS
45351 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45352 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45353 if test $ac_cv_lib_unicows_main = yes; then
45355 cat >>confdefs.h
<<\_ACEOF
45356 #define wxUSE_UNICODE_MSLU 1
45362 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45363 Applications will only run on Windows NT/2000/XP!" >&5
45364 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45365 Applications will only run on Windows NT/2000/XP!" >&2;}
45366 wxUSE_UNICODE_MSLU
=no
45373 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45374 cat >>confdefs.h
<<\_ACEOF
45375 #define wxUSE_EXPERIMENTAL_PRINTF 1
45381 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45382 cat >>confdefs.h
<<\_ACEOF
45383 #define wxUSE_POSTSCRIPT 1
45388 cat >>confdefs.h
<<\_ACEOF
45389 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45393 cat >>confdefs.h
<<\_ACEOF
45394 #define wxUSE_NORMALIZED_PS_FONTS 1
45399 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45400 cat >>confdefs.h
<<\_ACEOF
45401 #define wxUSE_CONSTRAINTS 1
45404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45407 if test "$wxUSE_MDI" = "yes"; then
45408 cat >>confdefs.h
<<\_ACEOF
45409 #define wxUSE_MDI 1
45413 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45414 cat >>confdefs.h
<<\_ACEOF
45415 #define wxUSE_MDI_ARCHITECTURE 1
45418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45422 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45423 cat >>confdefs.h
<<\_ACEOF
45424 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45428 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45433 if test "$wxUSE_HELP" = "yes"; then
45434 cat >>confdefs.h
<<\_ACEOF
45435 #define wxUSE_HELP 1
45438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45440 if test "$wxUSE_MSW" = 1; then
45441 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45442 cat >>confdefs.h
<<\_ACEOF
45443 #define wxUSE_MS_HTML_HELP 1
45449 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45450 if test "$wxUSE_HTML" = "yes"; then
45451 cat >>confdefs.h
<<\_ACEOF
45452 #define wxUSE_WXHTML_HELP 1
45456 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45457 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45458 wxUSE_WXHTML_HELP
=no
45463 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45464 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45465 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45466 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45468 cat >>confdefs.h
<<\_ACEOF
45469 #define wxUSE_PRINTING_ARCHITECTURE 1
45473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45476 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45477 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45478 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45479 { (exit 1); exit 1; }; }
45483 if test "$wxUSE_METAFILE" = "yes"; then
45484 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45485 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45486 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45492 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45493 -o "$wxUSE_CLIPBOARD" = "yes" \
45494 -o "$wxUSE_OLE" = "yes" \
45495 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45497 for ac_header
in ole2.h
45499 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45501 echo "$as_me:$LINENO: checking for $ac_header" >&5
45502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45504 echo $ECHO_N "(cached) $ECHO_C" >&6
45506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45509 # Is the header compilable?
45510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45512 cat >conftest.
$ac_ext <<_ACEOF
45515 cat confdefs.h
>>conftest.
$ac_ext
45516 cat >>conftest.
$ac_ext <<_ACEOF
45517 /* end confdefs.h. */
45518 $ac_includes_default
45519 #include <$ac_header>
45521 rm -f conftest.
$ac_objext
45522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45523 (eval $ac_compile) 2>conftest.er1
45525 grep -v '^ *+' conftest.er1
>conftest.err
45527 cat conftest.err
>&5
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); } &&
45530 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532 (eval $ac_try) 2>&5
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); }; } &&
45536 { ac_try
='test -s conftest.$ac_objext'
45537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45538 (eval $ac_try) 2>&5
45540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45541 (exit $ac_status); }; }; then
45542 ac_header_compiler
=yes
45544 echo "$as_me: failed program was:" >&5
45545 sed 's/^/| /' conftest.
$ac_ext >&5
45547 ac_header_compiler
=no
45549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45551 echo "${ECHO_T}$ac_header_compiler" >&6
45553 # Is the header present?
45554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45556 cat >conftest.
$ac_ext <<_ACEOF
45559 cat confdefs.h
>>conftest.
$ac_ext
45560 cat >>conftest.
$ac_ext <<_ACEOF
45561 /* end confdefs.h. */
45562 #include <$ac_header>
45564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45565 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45567 grep -v '^ *+' conftest.er1
>conftest.err
45569 cat conftest.err
>&5
45570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45571 (exit $ac_status); } >/dev
/null
; then
45572 if test -s conftest.err
; then
45573 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45574 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45581 if test -z "$ac_cpp_err"; then
45582 ac_header_preproc
=yes
45584 echo "$as_me: failed program was:" >&5
45585 sed 's/^/| /' conftest.
$ac_ext >&5
45587 ac_header_preproc
=no
45589 rm -f conftest.err conftest.
$ac_ext
45590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45591 echo "${ECHO_T}$ac_header_preproc" >&6
45593 # So? What about this header?
45594 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45600 ac_header_preproc
=yes
45603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45617 ## ----------------------------------------- ##
45618 ## Report this to wx-dev@lists.wxwidgets.org ##
45619 ## ----------------------------------------- ##
45622 sed "s/^/$as_me: WARNING: /" >&2
45625 echo "$as_me:$LINENO: checking for $ac_header" >&5
45626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45628 echo $ECHO_N "(cached) $ECHO_C" >&6
45630 eval "$as_ac_Header=\$ac_header_preproc"
45632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45637 cat >>confdefs.h
<<_ACEOF
45638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45646 if test "$ac_cv_header_ole2_h" = "yes" ; then
45647 if test "$GCC" = yes ; then
45648 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45649 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45650 cat >conftest.
$ac_ext <<_ACEOF
45653 cat confdefs.h
>>conftest.
$ac_ext
45654 cat >>conftest.
$ac_ext <<_ACEOF
45655 /* end confdefs.h. */
45656 #include <windows.h>
45666 rm -f conftest.
$ac_objext
45667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45668 (eval $ac_compile) 2>conftest.er1
45670 grep -v '^ *+' conftest.er1
>conftest.err
45672 cat conftest.err
>&5
45673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45674 (exit $ac_status); } &&
45675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45677 (eval $ac_try) 2>&5
45679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45680 (exit $ac_status); }; } &&
45681 { ac_try
='test -s conftest.$ac_objext'
45682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45683 (eval $ac_try) 2>&5
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); }; }; then
45687 echo "$as_me:$LINENO: result: no" >&5
45688 echo "${ECHO_T}no" >&6
45690 echo "$as_me: failed program was:" >&5
45691 sed 's/^/| /' conftest.
$ac_ext >&5
45693 echo "$as_me:$LINENO: result: yes" >&5
45694 echo "${ECHO_T}yes" >&6
45695 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45698 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45699 if test "$wxUSE_OLE" = "yes" ; then
45700 cat >>confdefs.h
<<\_ACEOF
45701 #define wxUSE_OLE 1
45704 cat >>confdefs.h
<<\_ACEOF
45705 #define wxUSE_OLE_AUTOMATION 1
45708 cat >>confdefs.h
<<\_ACEOF
45709 #define wxUSE_OLE_ACTIVEX 1
45712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45716 if test "$wxUSE_DATAOBJ" = "yes" ; then
45717 cat >>confdefs.h
<<\_ACEOF
45718 #define wxUSE_DATAOBJ 1
45723 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45724 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45727 wxUSE_DRAG_AND_DROP
=no
45732 if test "$wxUSE_METAFILE" = "yes"; then
45733 cat >>confdefs.h
<<\_ACEOF
45734 #define wxUSE_METAFILE 1
45738 cat >>confdefs.h
<<\_ACEOF
45739 #define wxUSE_ENH_METAFILE 1
45745 if test "$wxUSE_IPC" = "yes"; then
45746 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45747 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45748 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45752 if test "$wxUSE_IPC" = "yes"; then
45753 cat >>confdefs.h
<<\_ACEOF
45754 #define wxUSE_IPC 1
45757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45761 if test "$wxUSE_DATAOBJ" = "yes"; then
45762 if test "$wxUSE_MGL" = 1; then
45763 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45764 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_DATAOBJ 1
45773 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45774 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45776 wxUSE_DRAG_AND_DROP
=no
45779 if test "$wxUSE_CLIPBOARD" = "yes"; then
45780 if test "$wxUSE_MGL" = 1; then
45781 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45782 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45786 if test "$wxUSE_CLIPBOARD" = "yes"; then
45787 cat >>confdefs.h
<<\_ACEOF
45788 #define wxUSE_CLIPBOARD 1
45794 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45795 if test "$wxUSE_GTK" = 1; then
45796 if test "$WXGTK12" != 1; then
45797 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45798 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45799 wxUSE_DRAG_AND_DROP
=no
45803 if test "$wxUSE_MOTIF" = 1; then
45804 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45805 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45806 wxUSE_DRAG_AND_DROP
=no
45809 if test "$wxUSE_X11" = 1; then
45810 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45811 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45812 wxUSE_DRAG_AND_DROP
=no
45815 if test "$wxUSE_MGL" = 1; then
45816 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45817 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45818 wxUSE_DRAG_AND_DROP
=no
45821 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45822 cat >>confdefs.h
<<\_ACEOF
45823 #define wxUSE_DRAG_AND_DROP 1
45830 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45834 if test "$wxUSE_SPLINES" = "yes" ; then
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_SPLINES 1
45841 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45842 cat >>confdefs.h
<<\_ACEOF
45843 #define wxUSE_MOUSEWHEEL 1
45850 if test "$wxUSE_CONTROLS" = "yes"; then
45854 if test "$wxUSE_ACCEL" = "yes"; then
45855 cat >>confdefs.h
<<\_ACEOF
45856 #define wxUSE_ACCEL 1
45862 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45863 cat >>confdefs.h
<<\_ACEOF
45864 #define wxUSE_ANIMATIONCTRL 1
45868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45871 if test "$wxUSE_BUTTON" = "yes"; then
45872 cat >>confdefs.h
<<\_ACEOF
45873 #define wxUSE_BUTTON 1
45879 if test "$wxUSE_BMPBUTTON" = "yes"; then
45880 cat >>confdefs.h
<<\_ACEOF
45881 #define wxUSE_BMPBUTTON 1
45887 if test "$wxUSE_CALCTRL" = "yes"; then
45888 cat >>confdefs.h
<<\_ACEOF
45889 #define wxUSE_CALENDARCTRL 1
45893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45896 if test "$wxUSE_CARET" = "yes"; then
45897 cat >>confdefs.h
<<\_ACEOF
45898 #define wxUSE_CARET 1
45902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45905 if test "$wxUSE_COMBOBOX" = "yes"; then
45906 cat >>confdefs.h
<<\_ACEOF
45907 #define wxUSE_COMBOBOX 1
45913 if test "$wxUSE_COMBOCTRL" = "yes"; then
45914 cat >>confdefs.h
<<\_ACEOF
45915 #define wxUSE_COMBOCTRL 1
45921 if test "$wxUSE_CHOICE" = "yes"; then
45922 cat >>confdefs.h
<<\_ACEOF
45923 #define wxUSE_CHOICE 1
45929 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45930 cat >>confdefs.h
<<\_ACEOF
45931 #define wxUSE_CHOICEBOOK 1
45937 if test "$wxUSE_CHECKBOX" = "yes"; then
45938 cat >>confdefs.h
<<\_ACEOF
45939 #define wxUSE_CHECKBOX 1
45945 if test "$wxUSE_CHECKLST" = "yes"; then
45946 cat >>confdefs.h
<<\_ACEOF
45947 #define wxUSE_CHECKLISTBOX 1
45951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45954 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45955 cat >>confdefs.h
<<\_ACEOF
45956 #define wxUSE_COLOURPICKERCTRL 1
45962 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45963 cat >>confdefs.h
<<\_ACEOF
45964 #define wxUSE_DATEPICKCTRL 1
45970 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45971 cat >>confdefs.h
<<\_ACEOF
45972 #define wxUSE_DIRPICKERCTRL 1
45978 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45979 cat >>confdefs.h
<<\_ACEOF
45980 #define wxUSE_FILEPICKERCTRL 1
45986 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45987 cat >>confdefs.h
<<\_ACEOF
45988 #define wxUSE_FONTPICKERCTRL 1
45994 if test "$wxUSE_DISPLAY" = "yes"; then
45995 cat >>confdefs.h
<<\_ACEOF
45996 #define wxUSE_DISPLAY 1
45999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46002 if test "$wxUSE_DETECT_SM" = "yes"; then
46003 cat >>confdefs.h
<<\_ACEOF
46004 #define wxUSE_DETECT_SM 1
46009 if test "$wxUSE_GAUGE" = "yes"; then
46010 cat >>confdefs.h
<<\_ACEOF
46011 #define wxUSE_GAUGE 1
46017 if test "$wxUSE_GRID" = "yes"; then
46018 cat >>confdefs.h
<<\_ACEOF
46019 #define wxUSE_GRID 1
46023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46026 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46027 cat >>confdefs.h
<<\_ACEOF
46028 #define wxUSE_HYPERLINKCTRL 1
46034 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46035 cat >>confdefs.h
<<\_ACEOF
46036 #define wxUSE_BITMAPCOMBOBOX 1
46042 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46043 cat >>confdefs.h
<<\_ACEOF
46044 #define wxUSE_DATAVIEWCTRL 1
46048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46051 if test "$wxUSE_IMAGLIST" = "yes"; then
46052 cat >>confdefs.h
<<\_ACEOF
46053 #define wxUSE_IMAGLIST 1
46058 if test "$wxUSE_LISTBOOK" = "yes"; then
46059 cat >>confdefs.h
<<\_ACEOF
46060 #define wxUSE_LISTBOOK 1
46066 if test "$wxUSE_LISTBOX" = "yes"; then
46067 cat >>confdefs.h
<<\_ACEOF
46068 #define wxUSE_LISTBOX 1
46072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46075 if test "$wxUSE_LISTCTRL" = "yes"; then
46076 if test "$wxUSE_IMAGLIST" = "yes"; then
46077 cat >>confdefs.h
<<\_ACEOF
46078 #define wxUSE_LISTCTRL 1
46082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46084 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46085 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46089 if test "$wxUSE_NOTEBOOK" = "yes"; then
46090 cat >>confdefs.h
<<\_ACEOF
46091 #define wxUSE_NOTEBOOK 1
46095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46098 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46099 cat >>confdefs.h
<<\_ACEOF
46100 #define wxUSE_ODCOMBOBOX 1
46104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46108 if test "$wxUSE_RADIOBOX" = "yes"; then
46109 cat >>confdefs.h
<<\_ACEOF
46110 #define wxUSE_RADIOBOX 1
46116 if test "$wxUSE_RADIOBTN" = "yes"; then
46117 cat >>confdefs.h
<<\_ACEOF
46118 #define wxUSE_RADIOBTN 1
46124 if test "$wxUSE_SASH" = "yes"; then
46125 cat >>confdefs.h
<<\_ACEOF
46126 #define wxUSE_SASH 1
46129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46132 if test "$wxUSE_SCROLLBAR" = "yes"; then
46133 cat >>confdefs.h
<<\_ACEOF
46134 #define wxUSE_SCROLLBAR 1
46138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46141 if test "$wxUSE_SLIDER" = "yes"; then
46142 cat >>confdefs.h
<<\_ACEOF
46143 #define wxUSE_SLIDER 1
46149 if test "$wxUSE_SPINBTN" = "yes"; then
46150 cat >>confdefs.h
<<\_ACEOF
46151 #define wxUSE_SPINBTN 1
46157 if test "$wxUSE_SPINCTRL" = "yes"; then
46158 cat >>confdefs.h
<<\_ACEOF
46159 #define wxUSE_SPINCTRL 1
46165 if test "$wxUSE_SPLITTER" = "yes"; then
46166 cat >>confdefs.h
<<\_ACEOF
46167 #define wxUSE_SPLITTER 1
46170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46173 if test "$wxUSE_STATBMP" = "yes"; then
46174 cat >>confdefs.h
<<\_ACEOF
46175 #define wxUSE_STATBMP 1
46181 if test "$wxUSE_STATBOX" = "yes"; then
46182 cat >>confdefs.h
<<\_ACEOF
46183 #define wxUSE_STATBOX 1
46189 if test "$wxUSE_STATTEXT" = "yes"; then
46190 cat >>confdefs.h
<<\_ACEOF
46191 #define wxUSE_STATTEXT 1
46197 if test "$wxUSE_STATLINE" = "yes"; then
46198 cat >>confdefs.h
<<\_ACEOF
46199 #define wxUSE_STATLINE 1
46205 if test "$wxUSE_STATUSBAR" = "yes"; then
46206 cat >>confdefs.h
<<\_ACEOF
46207 #define wxUSE_NATIVE_STATUSBAR 1
46210 cat >>confdefs.h
<<\_ACEOF
46211 #define wxUSE_STATUSBAR 1
46216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46219 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46220 cat >>confdefs.h
<<\_ACEOF
46221 #define wxUSE_TAB_DIALOG 1
46226 if test "$wxUSE_TEXTCTRL" = "yes"; then
46227 cat >>confdefs.h
<<\_ACEOF
46228 #define wxUSE_TEXTCTRL 1
46232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46235 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46236 if test "$wxUSE_COCOA" = 1 ; then
46237 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46238 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46242 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46243 cat >>confdefs.h
<<\_ACEOF
46244 #define wxUSE_TOGGLEBTN 1
46251 if test "$wxUSE_TOOLBAR" = "yes"; then
46252 cat >>confdefs.h
<<\_ACEOF
46253 #define wxUSE_TOOLBAR 1
46258 if test "$wxUSE_UNIVERSAL" = "yes"; then
46259 wxUSE_TOOLBAR_NATIVE
="no"
46261 wxUSE_TOOLBAR_NATIVE
="yes"
46262 cat >>confdefs.h
<<\_ACEOF
46263 #define wxUSE_TOOLBAR_NATIVE 1
46268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46271 if test "$wxUSE_TOOLTIPS" = "yes"; then
46272 if test "$wxUSE_MOTIF" = 1; then
46273 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46274 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46276 if test "$wxUSE_UNIVERSAL" = "yes"; then
46277 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46278 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46280 cat >>confdefs.h
<<\_ACEOF
46281 #define wxUSE_TOOLTIPS 1
46288 if test "$wxUSE_TREEBOOK" = "yes"; then
46289 cat >>confdefs.h
<<\_ACEOF
46290 #define wxUSE_TREEBOOK 1
46296 if test "$wxUSE_TOOLBOOK" = "yes"; then
46297 cat >>confdefs.h
<<\_ACEOF
46298 #define wxUSE_TOOLBOOK 1
46304 if test "$wxUSE_TREECTRL" = "yes"; then
46305 if test "$wxUSE_IMAGLIST" = "yes"; then
46306 cat >>confdefs.h
<<\_ACEOF
46307 #define wxUSE_TREECTRL 1
46311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46313 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46314 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46318 if test "$wxUSE_POPUPWIN" = "yes"; then
46319 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46320 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46321 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46323 if test "$wxUSE_PM" = 1; then
46324 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46325 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46327 cat >>confdefs.h
<<\_ACEOF
46328 #define wxUSE_POPUPWIN 1
46331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46338 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46339 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46340 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46341 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46343 cat >>confdefs.h
<<\_ACEOF
46344 #define wxUSE_DIALUP_MANAGER 1
46347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46351 if test "$wxUSE_TIPWINDOW" = "yes"; then
46352 if test "$wxUSE_PM" = 1; then
46353 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46354 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46356 cat >>confdefs.h
<<\_ACEOF
46357 #define wxUSE_TIPWINDOW 1
46363 if test "$USES_CONTROLS" = 1; then
46364 cat >>confdefs.h
<<\_ACEOF
46365 #define wxUSE_CONTROLS 1
46371 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46372 cat >>confdefs.h
<<\_ACEOF
46373 #define wxUSE_ACCESSIBILITY 1
46376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46379 if test "$wxUSE_DC_CACHEING" = "yes"; then
46380 cat >>confdefs.h
<<\_ACEOF
46381 #define wxUSE_DC_CACHEING 1
46386 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46387 cat >>confdefs.h
<<\_ACEOF
46388 #define wxUSE_DRAGIMAGE 1
46391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46394 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46395 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46396 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46397 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46399 cat >>confdefs.h
<<\_ACEOF
46400 #define wxUSE_EXCEPTIONS 1
46403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46408 if test "$wxUSE_HTML" = "yes"; then
46409 cat >>confdefs.h
<<\_ACEOF
46410 #define wxUSE_HTML 1
46414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46415 if test "$wxUSE_MAC" = 1; then
46416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46419 if test "$wxUSE_WEBKIT" = "yes"; then
46420 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46421 old_CPPFLAGS
="$CPPFLAGS"
46422 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46423 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46424 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46425 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46426 echo $ECHO_N "(cached) $ECHO_C" >&6
46428 cat >conftest.
$ac_ext <<_ACEOF
46431 cat confdefs.h
>>conftest.
$ac_ext
46432 cat >>conftest.
$ac_ext <<_ACEOF
46433 /* end confdefs.h. */
46434 #include <Carbon/Carbon.h>
46436 #include <WebKit/HIWebView.h>
46438 rm -f conftest.
$ac_objext
46439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46440 (eval $ac_compile) 2>conftest.er1
46442 grep -v '^ *+' conftest.er1
>conftest.err
46444 cat conftest.err
>&5
46445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46446 (exit $ac_status); } &&
46447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46449 (eval $ac_try) 2>&5
46451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46452 (exit $ac_status); }; } &&
46453 { ac_try
='test -s conftest.$ac_objext'
46454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46455 (eval $ac_try) 2>&5
46457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46458 (exit $ac_status); }; }; then
46459 ac_cv_header_WebKit_HIWebView_h
=yes
46461 echo "$as_me: failed program was:" >&5
46462 sed 's/^/| /' conftest.
$ac_ext >&5
46464 ac_cv_header_WebKit_HIWebView_h
=no
46466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46468 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46469 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46470 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46472 cat >>confdefs.h
<<\_ACEOF
46473 #define wxUSE_WEBKIT 1
46476 WEBKIT_LINK
="-framework WebKit"
46480 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46481 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46487 CPPFLAGS
="$old_CPPFLAGS"
46488 elif test "$wxUSE_COCOA" = 1; then
46489 cat >>confdefs.h
<<\_ACEOF
46490 #define wxUSE_WEBKIT 1
46499 if test "$wxUSE_XRC" = "yes"; then
46500 if test "$wxUSE_XML" != "yes"; then
46501 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46502 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46505 cat >>confdefs.h
<<\_ACEOF
46506 #define wxUSE_XRC 1
46510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46515 if test "$wxUSE_AUI" = "yes"; then
46516 cat >>confdefs.h
<<\_ACEOF
46517 #define wxUSE_AUI 1
46521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46524 if test "$wxUSE_MENUS" = "yes"; then
46525 cat >>confdefs.h
<<\_ACEOF
46526 #define wxUSE_MENUS 1
46529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46532 if test "$wxUSE_METAFILE" = "yes"; then
46533 cat >>confdefs.h
<<\_ACEOF
46534 #define wxUSE_METAFILE 1
46539 if test "$wxUSE_MIMETYPE" = "yes"; then
46540 cat >>confdefs.h
<<\_ACEOF
46541 #define wxUSE_MIMETYPE 1
46546 if test "$wxUSE_MINIFRAME" = "yes"; then
46547 cat >>confdefs.h
<<\_ACEOF
46548 #define wxUSE_MINIFRAME 1
46551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46554 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46555 cat >>confdefs.h
<<\_ACEOF
46556 #define wxUSE_SYSTEM_OPTIONS 1
46559 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46560 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46566 if test "$wxUSE_VALIDATORS" = "yes"; then
46567 cat >>confdefs.h
<<\_ACEOF
46568 #define wxUSE_VALIDATORS 1
46571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46574 if test "$wxUSE_PALETTE" = "yes" ; then
46575 cat >>confdefs.h
<<\_ACEOF
46576 #define wxUSE_PALETTE 1
46581 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46582 LIBS
=" -lunicows $LIBS"
46586 if test "$wxUSE_RICHTEXT" = "yes"; then
46587 cat >>confdefs.h
<<\_ACEOF
46588 #define wxUSE_RICHTEXT 1
46592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46596 if test "$wxUSE_IMAGE" = "yes" ; then
46597 cat >>confdefs.h
<<\_ACEOF
46598 #define wxUSE_IMAGE 1
46602 if test "$wxUSE_GIF" = "yes" ; then
46603 cat >>confdefs.h
<<\_ACEOF
46604 #define wxUSE_GIF 1
46609 if test "$wxUSE_PCX" = "yes" ; then
46610 cat >>confdefs.h
<<\_ACEOF
46611 #define wxUSE_PCX 1
46616 if test "$wxUSE_IFF" = "yes" ; then
46617 cat >>confdefs.h
<<\_ACEOF
46618 #define wxUSE_IFF 1
46623 if test "$wxUSE_PNM" = "yes" ; then
46624 cat >>confdefs.h
<<\_ACEOF
46625 #define wxUSE_PNM 1
46630 if test "$wxUSE_XPM" = "yes" ; then
46631 cat >>confdefs.h
<<\_ACEOF
46632 #define wxUSE_XPM 1
46637 if test "$wxUSE_ICO_CUR" = "yes" ; then
46638 cat >>confdefs.h
<<\_ACEOF
46639 #define wxUSE_ICO_CUR 1
46646 if test "$wxUSE_ABOUTDLG" = "yes"; then
46647 cat >>confdefs.h
<<\_ACEOF
46648 #define wxUSE_ABOUTDLG 1
46653 if test "$wxUSE_CHOICEDLG" = "yes"; then
46654 cat >>confdefs.h
<<\_ACEOF
46655 #define wxUSE_CHOICEDLG 1
46660 if test "$wxUSE_COLOURDLG" = "yes"; then
46661 cat >>confdefs.h
<<\_ACEOF
46662 #define wxUSE_COLOURDLG 1
46667 if test "$wxUSE_FILEDLG" = "yes"; then
46668 cat >>confdefs.h
<<\_ACEOF
46669 #define wxUSE_FILEDLG 1
46674 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46675 cat >>confdefs.h
<<\_ACEOF
46676 #define wxUSE_FINDREPLDLG 1
46681 if test "$wxUSE_FONTDLG" = "yes"; then
46682 cat >>confdefs.h
<<\_ACEOF
46683 #define wxUSE_FONTDLG 1
46688 if test "$wxUSE_DIRDLG" = "yes"; then
46689 if test "$wxUSE_TREECTRL" != "yes"; then
46690 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46691 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46693 cat >>confdefs.h
<<\_ACEOF
46694 #define wxUSE_DIRDLG 1
46700 if test "$wxUSE_MSGDLG" = "yes"; then
46701 cat >>confdefs.h
<<\_ACEOF
46702 #define wxUSE_MSGDLG 1
46707 if test "$wxUSE_NUMBERDLG" = "yes"; then
46708 cat >>confdefs.h
<<\_ACEOF
46709 #define wxUSE_NUMBERDLG 1
46714 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46715 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46716 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46717 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46719 cat >>confdefs.h
<<\_ACEOF
46720 #define wxUSE_PROGRESSDLG 1
46726 if test "$wxUSE_SPLASH" = "yes"; then
46727 cat >>confdefs.h
<<\_ACEOF
46728 #define wxUSE_SPLASH 1
46731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46734 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46735 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46736 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46737 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46739 cat >>confdefs.h
<<\_ACEOF
46740 #define wxUSE_STARTUP_TIPS 1
46746 if test "$wxUSE_TEXTDLG" = "yes"; then
46747 cat >>confdefs.h
<<\_ACEOF
46748 #define wxUSE_TEXTDLG 1
46753 if test "$wxUSE_WIZARDDLG" = "yes"; then
46754 cat >>confdefs.h
<<\_ACEOF
46755 #define wxUSE_WIZARDDLG 1
46758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46762 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46763 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46764 cat >>confdefs.h
<<\_ACEOF
46765 #define wxUSE_GRAPHICS_CONTEXT 1
46768 elif test "$wxUSE_GTK" != 1; then
46769 cat >>confdefs.h
<<\_ACEOF
46770 #define wxUSE_GRAPHICS_CONTEXT 1
46776 echo "$as_me:$LINENO: checking for CAIRO" >&5
46777 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46779 if test -n "$PKG_CONFIG"; then
46780 if test -n "$CAIRO_CFLAGS"; then
46781 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46783 if test -n "$PKG_CONFIG" && \
46784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46785 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46788 (exit $ac_status); }; then
46789 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46797 if test -n "$PKG_CONFIG"; then
46798 if test -n "$CAIRO_LIBS"; then
46799 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46801 if test -n "$PKG_CONFIG" && \
46802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46803 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46806 (exit $ac_status); }; then
46807 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46818 if test $pkg_failed = yes; then
46820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46821 _pkg_short_errors_supported
=yes
46823 _pkg_short_errors_supported
=no
46825 if test $_pkg_short_errors_supported = yes; then
46826 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46828 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46830 # Put the nasty error message in config.log where it belongs
46831 echo "$CAIRO_PKG_ERRORS" >&5
46833 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46834 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46836 elif test $pkg_failed = untried
; then
46837 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46838 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46841 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
46842 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
46843 echo "$as_me:$LINENO: result: yes" >&5
46844 echo "${ECHO_T}yes" >&6
46845 cat >>confdefs.h
<<\_ACEOF
46846 #define wxUSE_GRAPHICS_CONTEXT 1
46856 if test "$wxUSE_MEDIACTRL" = "yes"; then
46859 if test "$wxUSE_GTK" = 1; then
46860 wxUSE_GSTREAMER
="no"
46862 GST_VERSION_MAJOR
=0
46863 GST_VERSION_MINOR
=10
46864 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46866 if test "$wxUSE_GSTREAMER8" = "no"; then
46869 echo "$as_me:$LINENO: checking for GST" >&5
46870 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46872 if test -n "$PKG_CONFIG"; then
46873 if test -n "$GST_CFLAGS"; then
46874 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46876 if test -n "$PKG_CONFIG" && \
46877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46878 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46881 (exit $ac_status); }; then
46882 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46890 if test -n "$PKG_CONFIG"; then
46891 if test -n "$GST_LIBS"; then
46892 pkg_cv_GST_LIBS
="$GST_LIBS"
46894 if test -n "$PKG_CONFIG" && \
46895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46896 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46899 (exit $ac_status); }; then
46900 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46911 if test $pkg_failed = yes; then
46913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46914 _pkg_short_errors_supported
=yes
46916 _pkg_short_errors_supported
=no
46918 if test $_pkg_short_errors_supported = yes; then
46919 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46921 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46923 # Put the nasty error message in config.log where it belongs
46924 echo "$GST_PKG_ERRORS" >&5
46927 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46928 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46929 GST_VERSION_MINOR
=8
46932 elif test $pkg_failed = untried
; then
46934 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46935 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46936 GST_VERSION_MINOR
=8
46940 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46941 GST_LIBS
=$pkg_cv_GST_LIBS
46942 echo "$as_me:$LINENO: result: yes" >&5
46943 echo "${ECHO_T}yes" >&6
46945 wxUSE_GSTREAMER
="yes"
46946 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46950 GST_VERSION_MINOR
=8
46953 if test $GST_VERSION_MINOR = "8"; then
46954 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46957 echo "$as_me:$LINENO: checking for GST" >&5
46958 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46960 if test -n "$PKG_CONFIG"; then
46961 if test -n "$GST_CFLAGS"; then
46962 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46964 if test -n "$PKG_CONFIG" && \
46965 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46966 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); }; then
46970 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46978 if test -n "$PKG_CONFIG"; then
46979 if test -n "$GST_LIBS"; then
46980 pkg_cv_GST_LIBS
="$GST_LIBS"
46982 if test -n "$PKG_CONFIG" && \
46983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46984 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46987 (exit $ac_status); }; then
46988 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46999 if test $pkg_failed = yes; then
47001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47002 _pkg_short_errors_supported
=yes
47004 _pkg_short_errors_supported
=no
47006 if test $_pkg_short_errors_supported = yes; then
47007 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47009 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47011 # Put the nasty error message in config.log where it belongs
47012 echo "$GST_PKG_ERRORS" >&5
47015 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47016 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47018 elif test $pkg_failed = untried
; then
47020 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47021 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47024 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47025 GST_LIBS
=$pkg_cv_GST_LIBS
47026 echo "$as_me:$LINENO: result: yes" >&5
47027 echo "${ECHO_T}yes" >&6
47028 wxUSE_GSTREAMER
="yes"
47033 if test "$wxUSE_GSTREAMER" = "yes"; then
47036 if "$GCC" = yes; then
47037 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
47038 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
47042 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47043 LIBS
="$GST_LIBS $LIBS"
47045 cat >>confdefs.h
<<\_ACEOF
47046 #define wxUSE_GSTREAMER 1
47054 if test $USE_MEDIA = 1; then
47055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47056 cat >>confdefs.h
<<\_ACEOF
47057 #define wxUSE_MEDIACTRL 1
47064 if test "$cross_compiling" = "yes"; then
47067 OSINFO
=`uname -s -r -m`
47068 OSINFO
="\"$OSINFO\""
47071 cat >>confdefs.h
<<_ACEOF
47072 #define WXWIN_OS_DESCRIPTION $OSINFO
47077 if test "x$prefix" != "xNONE"; then
47080 wxPREFIX
=$ac_default_prefix
47083 cat >>confdefs.h
<<_ACEOF
47084 #define wxINSTALL_PREFIX "$wxPREFIX"
47090 CORE_BASE_LIBS
="net base"
47091 CORE_GUI_LIBS
="adv core"
47093 if test "$wxUSE_XML" = "yes" ; then
47094 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
47096 if test "$wxUSE_ODBC" != "no" ; then
47097 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
47098 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
47100 if test "$wxUSE_HTML" = "yes" ; then
47101 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
47103 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47104 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
47106 if test "$wxUSE_XRC" = "yes" ; then
47107 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
47109 if test "$wxUSE_AUI" = "yes" ; then
47110 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
47113 if test "$wxUSE_GUI" != "yes"; then
47122 ac_cpp
='$CPP $CPPFLAGS'
47123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47129 if test "$wxUSE_MAC" = 1 ; then
47130 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47131 if test "$USE_DARWIN" = 1; then
47132 LDFLAGS
="$LDFLAGS -framework QuickTime"
47134 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
47137 if test "$USE_DARWIN" = 1; then
47138 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47140 LDFLAGS
="$LDFLAGS -lCarbonLib"
47143 if test "$wxUSE_COCOA" = 1 ; then
47144 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47145 if test "$wxUSE_MEDIACTRL" = "yes"; then
47146 LDFLAGS
="$LDFLAGS -framework QuickTime"
47149 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47150 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47153 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47155 if test "$wxUSE_GUI" = "yes"; then
47158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47159 dynamic erase event exec font image minimal mobile \
47160 mobile/wxedit mobile/styles propsize render \
47161 rotate shaped vscroll widgets"
47163 if test "$wxUSE_MONOLITHIC" != "yes"; then
47164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47166 if test "$TOOLKIT" = "MSW"; then
47167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47168 if test "$wxUSE_UNIVERSAL" != "yes"; then
47169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47172 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47176 SAMPLES_SUBDIRS
="console"
47180 if test "x$INTELCC" = "xyes" ; then
47181 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
47182 elif test "$GCC" = yes ; then
47183 CWARNINGS
="-Wall -Wundef"
47186 if test "x$INTELCXX" = "xyes" ; then
47187 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
47188 elif test "$GXX" = yes ; then
47189 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
47193 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47194 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47197 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47198 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47199 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47202 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47203 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47204 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47206 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47209 if test "x$MWCC" = "xyes"; then
47211 CC
="$CC -cwd source -I-"
47212 CXX
="$CXX -cwd source -I-"
47217 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47218 EXTRALIBS_XML
="$EXPAT_LINK"
47219 EXTRALIBS_HTML
="$MSPACK_LINK"
47220 EXTRALIBS_ODBC
="$ODBC_LINK"
47221 if test "$wxUSE_GUI" = "yes"; then
47222 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47224 if test "$wxUSE_OPENGL" = "yes"; then
47225 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47228 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47230 WXCONFIG_LIBS
="$LIBS"
47232 if test "$wxUSE_REGEX" = "builtin" ; then
47233 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47235 if test "$wxUSE_EXPAT" = "builtin" ; then
47236 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47238 if test "$wxUSE_ODBC" = "builtin" ; then
47239 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47241 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47242 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47244 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47245 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47247 if test "$wxUSE_LIBPNG" = "builtin" ; then
47248 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47250 if test "$wxUSE_ZLIB" = "builtin" ; then
47251 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47254 for i
in $wxconfig_3rdparty ; do
47255 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47259 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47262 case "$wxUNIV_THEMES" in
47264 cat >>confdefs.h
<<\_ACEOF
47265 #define wxUSE_ALL_THEMES 1
47271 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47272 cat >>confdefs.h
<<_ACEOF
47273 #define wxUSE_THEME_$t 1
47290 if test $wxUSE_MONOLITHIC = "yes" ; then
47296 if test $wxUSE_PLUGINS = "yes" ; then
47302 if test $wxUSE_ODBC != "no" ; then
47308 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47314 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47344 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47355 TOOLKIT_DESC
="GTK+"
47356 if test "$WXGTK20" = 1; then
47357 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47358 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47359 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47361 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47362 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47364 if test "$wxUSE_LIBHILDON" = "yes"; then
47365 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47368 if test "$TOOLKIT_EXTRA" != ""; then
47369 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47375 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47379 TOOLKIT_DESC
="base only"
47383 if test "$wxUSE_WINE" = "yes"; then
47384 BAKEFILE_FORCE_PLATFORM
=win32
47387 if test "$wxUSE_MAC" = 1 ; then
47388 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47389 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47390 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47392 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47394 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47395 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47396 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47397 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47400 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47401 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47404 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47406 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47407 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47408 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47409 echo $ECHO_N "(cached) $ECHO_C" >&6
47412 echo '#include <stdio.h>
47413 const wchar_t test_var[] = L"awidetest";' > conftest.h
47415 echo '#include "conftest.h"
47418 printf("%ls", test_var);
47422 wx_cv_gcc_pch_bug
="pch not supported"
47424 if $CXX conftest.h
>/dev
/null
2>&1
47428 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47430 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47431 grep awidetest
>/dev
/null
47433 wx_cv_gcc_pch_bug
=no
47435 wx_cv_gcc_pch_bug
=yes
47440 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47443 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47444 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47446 if test "$wx_cv_gcc_pch_bug" = yes; then
47454 if test "x$BAKEFILE_HOST" = "x"; then
47455 if test "x${host}" = "x" ; then
47456 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47457 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47458 { (exit 1); exit 1; }; }
47461 BAKEFILE_HOST
="${host}"
47464 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47466 if test -n "$ac_tool_prefix"; then
47467 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47468 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47469 echo "$as_me:$LINENO: checking for $ac_word" >&5
47470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47471 if test "${ac_cv_prog_RANLIB+set}" = set; then
47472 echo $ECHO_N "(cached) $ECHO_C" >&6
47474 if test -n "$RANLIB"; then
47475 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47478 for as_dir
in $PATH
47481 test -z "$as_dir" && as_dir
=.
47482 for ac_exec_ext
in '' $ac_executable_extensions; do
47483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47484 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47493 RANLIB
=$ac_cv_prog_RANLIB
47494 if test -n "$RANLIB"; then
47495 echo "$as_me:$LINENO: result: $RANLIB" >&5
47496 echo "${ECHO_T}$RANLIB" >&6
47498 echo "$as_me:$LINENO: result: no" >&5
47499 echo "${ECHO_T}no" >&6
47503 if test -z "$ac_cv_prog_RANLIB"; then
47504 ac_ct_RANLIB
=$RANLIB
47505 # Extract the first word of "ranlib", so it can be a program name with args.
47506 set dummy ranlib
; ac_word
=$2
47507 echo "$as_me:$LINENO: checking for $ac_word" >&5
47508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47509 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47510 echo $ECHO_N "(cached) $ECHO_C" >&6
47512 if test -n "$ac_ct_RANLIB"; then
47513 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47516 for as_dir
in $PATH
47519 test -z "$as_dir" && as_dir
=.
47520 for ac_exec_ext
in '' $ac_executable_extensions; do
47521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47522 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47529 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47532 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47533 if test -n "$ac_ct_RANLIB"; then
47534 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47535 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47537 echo "$as_me:$LINENO: result: no" >&5
47538 echo "${ECHO_T}no" >&6
47541 RANLIB
=$ac_ct_RANLIB
47543 RANLIB
="$ac_cv_prog_RANLIB"
47546 # Find a good install program. We prefer a C program (faster),
47547 # so one script is as good as another. But avoid the broken or
47548 # incompatible versions:
47549 # SysV /etc/install, /usr/sbin/install
47550 # SunOS /usr/etc/install
47551 # IRIX /sbin/install
47553 # AmigaOS /C/install, which installs bootblocks on floppy discs
47554 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47555 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47556 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47557 # OS/2's system install, which has a completely different semantic
47558 # ./install, which can be erroneously created by make from ./install.sh.
47559 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47560 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47561 if test -z "$INSTALL"; then
47562 if test "${ac_cv_path_install+set}" = set; then
47563 echo $ECHO_N "(cached) $ECHO_C" >&6
47565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47566 for as_dir
in $PATH
47569 test -z "$as_dir" && as_dir
=.
47570 # Account for people who put trailing slashes in PATH elements.
47572 .
/ | .
// | /cC
/* | \
47573 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47574 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47577 # OSF1 and SCO ODT 3.0 have their own names for install.
47578 # Don't use installbsd from OSF since it installs stuff as root
47580 for ac_prog
in ginstall scoinst
install; do
47581 for ac_exec_ext
in '' $ac_executable_extensions; do
47582 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47583 if test $ac_prog = install &&
47584 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47585 # AIX install. It has an incompatible calling convention.
47587 elif test $ac_prog = install &&
47588 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47589 # program-specific install script used by HP pwplus--don't use.
47592 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47604 if test "${ac_cv_path_install+set}" = set; then
47605 INSTALL
=$ac_cv_path_install
47607 # As a last resort, use the slow shell script. We don't cache a
47608 # path for INSTALL within a source directory, because that will
47609 # break other packages using the cache if that directory is
47610 # removed, or if the path is relative.
47611 INSTALL
=$ac_install_sh
47614 echo "$as_me:$LINENO: result: $INSTALL" >&5
47615 echo "${ECHO_T}$INSTALL" >&6
47617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47618 # It thinks the first close brace ends the variable substitution.
47619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47623 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47625 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47626 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47628 if test "$LN_S" = "ln -s"; then
47629 echo "$as_me:$LINENO: result: yes" >&5
47630 echo "${ECHO_T}yes" >&6
47632 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47633 echo "${ECHO_T}no, using $LN_S" >&6
47637 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47638 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47639 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47640 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47641 echo $ECHO_N "(cached) $ECHO_C" >&6
47643 cat >conftest.
make <<\_ACEOF
47645 @
echo 'ac_maketemp="$(MAKE)"'
47647 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47648 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47649 if test -n "$ac_maketemp"; then
47650 eval ac_cv_prog_make_
${ac_make}_set
=yes
47652 eval ac_cv_prog_make_
${ac_make}_set
=no
47654 rm -f conftest.
make
47656 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47657 echo "$as_me:$LINENO: result: yes" >&5
47658 echo "${ECHO_T}yes" >&6
47661 echo "$as_me:$LINENO: result: no" >&5
47662 echo "${ECHO_T}no" >&6
47663 SET_MAKE
="MAKE=${MAKE-make}"
47668 if test -n "$ac_tool_prefix"; then
47669 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47670 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47671 echo "$as_me:$LINENO: checking for $ac_word" >&5
47672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47673 if test "${ac_cv_prog_AR+set}" = set; then
47674 echo $ECHO_N "(cached) $ECHO_C" >&6
47676 if test -n "$AR"; then
47677 ac_cv_prog_AR
="$AR" # Let the user override the test.
47679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47680 for as_dir
in $PATH
47683 test -z "$as_dir" && as_dir
=.
47684 for ac_exec_ext
in '' $ac_executable_extensions; do
47685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47686 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47696 if test -n "$AR"; then
47697 echo "$as_me:$LINENO: result: $AR" >&5
47698 echo "${ECHO_T}$AR" >&6
47700 echo "$as_me:$LINENO: result: no" >&5
47701 echo "${ECHO_T}no" >&6
47705 if test -z "$ac_cv_prog_AR"; then
47707 # Extract the first word of "ar", so it can be a program name with args.
47708 set dummy
ar; ac_word
=$2
47709 echo "$as_me:$LINENO: checking for $ac_word" >&5
47710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47711 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47712 echo $ECHO_N "(cached) $ECHO_C" >&6
47714 if test -n "$ac_ct_AR"; then
47715 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47718 for as_dir
in $PATH
47721 test -z "$as_dir" && as_dir
=.
47722 for ac_exec_ext
in '' $ac_executable_extensions; do
47723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47724 ac_cv_prog_ac_ct_AR
="ar"
47725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47731 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47734 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47735 if test -n "$ac_ct_AR"; then
47736 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47737 echo "${ECHO_T}$ac_ct_AR" >&6
47739 echo "$as_me:$LINENO: result: no" >&5
47740 echo "${ECHO_T}no" >&6
47745 AR
="$ac_cv_prog_AR"
47748 if test -n "$ac_tool_prefix"; then
47749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47750 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47751 echo "$as_me:$LINENO: checking for $ac_word" >&5
47752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47753 if test "${ac_cv_prog_STRIP+set}" = set; then
47754 echo $ECHO_N "(cached) $ECHO_C" >&6
47756 if test -n "$STRIP"; then
47757 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47760 for as_dir
in $PATH
47763 test -z "$as_dir" && as_dir
=.
47764 for ac_exec_ext
in '' $ac_executable_extensions; do
47765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47766 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47775 STRIP
=$ac_cv_prog_STRIP
47776 if test -n "$STRIP"; then
47777 echo "$as_me:$LINENO: result: $STRIP" >&5
47778 echo "${ECHO_T}$STRIP" >&6
47780 echo "$as_me:$LINENO: result: no" >&5
47781 echo "${ECHO_T}no" >&6
47785 if test -z "$ac_cv_prog_STRIP"; then
47787 # Extract the first word of "strip", so it can be a program name with args.
47788 set dummy strip
; ac_word
=$2
47789 echo "$as_me:$LINENO: checking for $ac_word" >&5
47790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47791 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47792 echo $ECHO_N "(cached) $ECHO_C" >&6
47794 if test -n "$ac_ct_STRIP"; then
47795 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47798 for as_dir
in $PATH
47801 test -z "$as_dir" && as_dir
=.
47802 for ac_exec_ext
in '' $ac_executable_extensions; do
47803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47804 ac_cv_prog_ac_ct_STRIP
="strip"
47805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47811 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47814 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47815 if test -n "$ac_ct_STRIP"; then
47816 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47817 echo "${ECHO_T}$ac_ct_STRIP" >&6
47819 echo "$as_me:$LINENO: result: no" >&5
47820 echo "${ECHO_T}no" >&6
47825 STRIP
="$ac_cv_prog_STRIP"
47828 if test -n "$ac_tool_prefix"; then
47829 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47830 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47831 echo "$as_me:$LINENO: checking for $ac_word" >&5
47832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47833 if test "${ac_cv_prog_NM+set}" = set; then
47834 echo $ECHO_N "(cached) $ECHO_C" >&6
47836 if test -n "$NM"; then
47837 ac_cv_prog_NM
="$NM" # Let the user override the test.
47839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47840 for as_dir
in $PATH
47843 test -z "$as_dir" && as_dir
=.
47844 for ac_exec_ext
in '' $ac_executable_extensions; do
47845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47846 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47856 if test -n "$NM"; then
47857 echo "$as_me:$LINENO: result: $NM" >&5
47858 echo "${ECHO_T}$NM" >&6
47860 echo "$as_me:$LINENO: result: no" >&5
47861 echo "${ECHO_T}no" >&6
47865 if test -z "$ac_cv_prog_NM"; then
47867 # Extract the first word of "nm", so it can be a program name with args.
47868 set dummy nm
; ac_word
=$2
47869 echo "$as_me:$LINENO: checking for $ac_word" >&5
47870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47871 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47872 echo $ECHO_N "(cached) $ECHO_C" >&6
47874 if test -n "$ac_ct_NM"; then
47875 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47878 for as_dir
in $PATH
47881 test -z "$as_dir" && as_dir
=.
47882 for ac_exec_ext
in '' $ac_executable_extensions; do
47883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47884 ac_cv_prog_ac_ct_NM
="nm"
47885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47891 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47894 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47895 if test -n "$ac_ct_NM"; then
47896 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47897 echo "${ECHO_T}$ac_ct_NM" >&6
47899 echo "$as_me:$LINENO: result: no" >&5
47900 echo "${ECHO_T}no" >&6
47905 NM
="$ac_cv_prog_NM"
47909 case ${BAKEFILE_HOST} in
47911 INSTALL_DIR
="mkdir -p"
47913 *) INSTALL_DIR
="$INSTALL -d"
47919 case ${BAKEFILE_HOST} in
47920 *-*-cygwin* | *-*-mingw32* )
47921 LDFLAGS_GUI
="-mwindows"
47927 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47928 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47929 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47930 echo $ECHO_N "(cached) $ECHO_C" >&6
47933 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47934 egrep -s GNU
> /dev
/null
); then
47935 bakefile_cv_prog_makeisgnu
="yes"
47937 bakefile_cv_prog_makeisgnu
="no"
47941 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47942 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47944 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47961 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47962 case "${BAKEFILE_HOST}" in
47969 *-pc-os2_emx | *-pc-os2-emx )
47979 powerpc
-apple-macos* )
47988 case "$BAKEFILE_FORCE_PLATFORM" in
48009 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48010 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48011 { (exit 1); exit 1; }; }
48026 # Check whether --enable-omf or --disable-omf was given.
48027 if test "${enable_omf+set}" = set; then
48028 enableval
="$enable_omf"
48029 bk_os2_use_omf
="$enableval"
48032 case "${BAKEFILE_HOST}" in
48034 if test "x$GCC" = "xyes"; then
48035 CFLAGS
="$CFLAGS -fno-common"
48036 CXXFLAGS
="$CXXFLAGS -fno-common"
48038 if test "x$XLCC" = "xyes"; then
48039 CFLAGS
="$CFLAGS -qnocommon"
48040 CXXFLAGS
="$CXXFLAGS -qnocommon"
48044 *-pc-os2_emx | *-pc-os2-emx )
48045 if test "x$bk_os2_use_omf" = "xyes" ; then
48048 LDFLAGS
="-Zomf $LDFLAGS"
48049 CFLAGS
="-Zomf $CFLAGS"
48050 CXXFLAGS
="-Zomf $CXXFLAGS"
48058 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48064 SO_SUFFIX_MODULE
="so"
48069 DLLPREFIX_MODULE
=""
48073 case "${BAKEFILE_HOST}" in
48076 SO_SUFFIX_MODULE
="sl"
48080 SO_SUFFIX_MODULE
="a"
48084 SO_SUFFIX_MODULE
="dll"
48085 DLLIMP_SUFFIX
="dll.a"
48092 SO_SUFFIX_MODULE
="dll"
48093 DLLIMP_SUFFIX
="dll.a"
48103 *-pc-os2_emx | *-pc-os2-emx )
48105 SO_SUFFIX_MODULE
="dll"
48106 DLLIMP_SUFFIX
=$OS2_LIBEXT
48110 LIBEXT
=".$OS2_LIBEXT"
48115 SO_SUFFIX_MODULE
="bundle"
48119 if test "x$DLLIMP_SUFFIX" = "x" ; then
48120 DLLIMP_SUFFIX
="$SO_SUFFIX"
48135 if test "x$GCC" = "xyes"; then
48139 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48140 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48143 case "${BAKEFILE_HOST}" in
48145 if test "x$GCC" != "xyes"; then
48146 LDFLAGS
="$LDFLAGS -L/usr/lib"
48148 SHARED_LD_CC
="${CC} -b -o"
48149 SHARED_LD_CXX
="${CXX} -b -o"
48155 if test "x$GCC" != "xyes"; then
48156 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48157 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48158 if test "${bakefile_cv_prog_icc+set}" = set; then
48159 echo $ECHO_N "(cached) $ECHO_C" >&6
48162 cat >conftest.
$ac_ext <<_ACEOF
48165 cat confdefs.h
>>conftest.
$ac_ext
48166 cat >>conftest.
$ac_ext <<_ACEOF
48167 /* end confdefs.h. */
48173 #ifndef __INTEL_COMPILER
48181 rm -f conftest.
$ac_objext
48182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48183 (eval $ac_compile) 2>conftest.er1
48185 grep -v '^ *+' conftest.er1
>conftest.err
48187 cat conftest.err
>&5
48188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48189 (exit $ac_status); } &&
48190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48192 (eval $ac_try) 2>&5
48194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48195 (exit $ac_status); }; } &&
48196 { ac_try
='test -s conftest.$ac_objext'
48197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48198 (eval $ac_try) 2>&5
48200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48201 (exit $ac_status); }; }; then
48202 bakefile_cv_prog_icc
=yes
48204 echo "$as_me: failed program was:" >&5
48205 sed 's/^/| /' conftest.
$ac_ext >&5
48207 bakefile_cv_prog_icc
=no
48210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48213 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48214 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48215 if test "$bakefile_cv_prog_icc" = "yes"; then
48222 if test "x$GCC" != xyes
; then
48223 SHARED_LD_CC
="${CC} -G -o"
48224 SHARED_LD_CXX
="${CXX} -G -o"
48232 cat <<EOF >shared-ld-sh
48234 #-----------------------------------------------------------------------------
48235 #-- Name: distrib/mac/shared-ld-sh
48236 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48237 #-- Author: Gilles Depeyrot
48238 #-- Copyright: (c) 2002 Gilles Depeyrot
48239 #-- Licence: any use permitted
48240 #-----------------------------------------------------------------------------
48245 linking_flag="-dynamiclib"
48246 ldargs="-r -keep_private_externs -nostdlib"
48248 while test ${D}# -gt 0; do
48255 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48256 # collect these options and values
48257 args="${D}{args} ${D}1 ${D}2"
48262 # collect these load args
48263 ldargs="${D}{ldargs} ${D}1"
48266 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48267 # collect these options
48268 args="${D}{args} ${D}1"
48271 -dynamiclib|-bundle)
48272 linking_flag="${D}1"
48276 echo "shared-ld: unhandled option '${D}1'"
48280 *.o | *.a | *.dylib)
48281 # collect object files
48282 objects="${D}{objects} ${D}1"
48286 echo "shared-ld: unhandled argument '${D}1'"
48297 # Link one module containing all the others
48299 if test ${D}{verbose} = 1; then
48300 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48302 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48306 # Link the shared library from the single module created, but only if the
48307 # previous command didn't fail:
48309 if test ${D}{status} = 0; then
48310 if test ${D}{verbose} = 1; then
48311 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48313 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48318 # Remove intermediate module
48320 rm -f master.${D}${D}.o
48325 chmod +x shared
-ld-sh
48327 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48328 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48331 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48332 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48333 if test "${bakefile_cv_gcc31+set}" = set; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48337 cat >conftest.
$ac_ext <<_ACEOF
48340 cat confdefs.h
>>conftest.
$ac_ext
48341 cat >>conftest.
$ac_ext <<_ACEOF
48342 /* end confdefs.h. */
48348 #if (__GNUC__ < 3) || \
48349 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48357 rm -f conftest.
$ac_objext
48358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48359 (eval $ac_compile) 2>conftest.er1
48361 grep -v '^ *+' conftest.er1
>conftest.err
48363 cat conftest.err
>&5
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); } &&
48366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48368 (eval $ac_try) 2>&5
48370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48371 (exit $ac_status); }; } &&
48372 { ac_try
='test -s conftest.$ac_objext'
48373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48374 (eval $ac_try) 2>&5
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); }; }; then
48379 bakefile_cv_gcc31
=yes
48382 echo "$as_me: failed program was:" >&5
48383 sed 's/^/| /' conftest.
$ac_ext >&5
48386 bakefile_cv_gcc31
=no
48390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48393 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48394 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48395 if test "$bakefile_cv_gcc31" = "no"; then
48396 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48397 SHARED_LD_CXX
="$SHARED_LD_CC"
48399 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48400 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48403 if test "x$GCC" == "xyes"; then
48404 PIC_FLAG
="-dynamic -fPIC"
48406 if test "x$XLCC" = "xyes"; then
48407 PIC_FLAG
="-dynamic -DPIC"
48412 if test "x$GCC" = "xyes"; then
48415 case "${BAKEFILE_HOST}" in
48417 LD_EXPFULL
="-Wl,-bexpfull"
48421 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48422 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48424 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48425 set dummy makeC
++SharedLib
; ac_word
=$2
48426 echo "$as_me:$LINENO: checking for $ac_word" >&5
48427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48428 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48429 echo $ECHO_N "(cached) $ECHO_C" >&6
48431 if test -n "$AIX_CXX_LD"; then
48432 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48435 for as_dir
in $PATH
48438 test -z "$as_dir" && as_dir
=.
48439 for ac_exec_ext
in '' $ac_executable_extensions; do
48440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48441 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48448 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48451 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48452 if test -n "$AIX_CXX_LD"; then
48453 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48454 echo "${ECHO_T}$AIX_CXX_LD" >&6
48456 echo "$as_me:$LINENO: result: no" >&5
48457 echo "${ECHO_T}no" >&6
48460 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48461 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48466 SHARED_LD_CC
="${LD} -nostart -o"
48467 SHARED_LD_CXX
="${LD} -nostart -o"
48471 if test "x$GCC" != "xyes"; then
48476 *-*-cygwin* | *-*-mingw32* )
48478 SHARED_LD_CC
="\$(CC) -shared -o"
48479 SHARED_LD_CXX
="\$(CXX) -shared -o"
48483 *-pc-os2_emx | *-pc-os2-emx )
48484 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48485 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48489 cat <<EOF >dllar.sh
48492 # dllar - a tool to build both a .dll and an .a file
48493 # from a set of object (.o) files for EMX/OS2.
48495 # Written by Andrew Zabolotny, bit@freya.etu.ru
48496 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48498 # This script will accept a set of files on the command line.
48499 # All the public symbols from the .o files will be exported into
48500 # a .DEF file, then linker will be run (through gcc) against them to
48501 # build a shared library consisting of all given .o files. All libraries
48502 # (.a) will be first decompressed into component .o files then act as
48503 # described above. You can optionally give a description (-d "description")
48504 # which will be put into .DLL. To see the list of accepted options (as well
48505 # as command-line format) simply run this program without options. The .DLL
48506 # is built to be imported by name (there is no guarantee that new versions
48507 # of the library you build will have same ordinals for same symbols).
48509 # dllar is free software; you can redistribute it and/or modify
48510 # it under the terms of the GNU General Public License as published by
48511 # the Free Software Foundation; either version 2, or (at your option)
48512 # any later version.
48514 # dllar is distributed in the hope that it will be useful,
48515 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48517 # GNU General Public License for more details.
48519 # You should have received a copy of the GNU General Public License
48520 # along with dllar; see the file COPYING. If not, write to the Free
48521 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48524 # To successfuly run this program you will need:
48525 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48526 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48528 # (used to build the .dll)
48530 # (used to create .def file from .o files)
48532 # (used to create .a file from .def file)
48533 # - GNU text utilites (cat, sort, uniq)
48534 # used to process emxexp output
48535 # - GNU file utilities (mv, rm)
48537 # - lxlite (optional, see flag below)
48538 # (used for general .dll cleanup)
48545 # basnam, variant of basename, which does _not_ remove the path, _iff_
48546 # second argument (suffix to remove) is given
48550 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48553 echo ${D}1 | sed 's/'${D}2'${D}//'
48556 echo "error in basnam ${D}*"
48562 # Cleanup temporary files and output
48565 for i in ${D}inputFiles ; do
48568 rm -rf \`basnam ${D}i !\`
48575 # Kill result in case of failure as there is just to many stupid make/nmake
48576 # things out there which doesn't do this.
48577 if [ ${D}# -eq 0 ]; then
48578 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48582 # Print usage and exit script with rc=1.
48584 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48585 echo ' [-name-mangler-script script.sh]'
48586 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48587 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48588 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48589 echo ' [*.o] [*.a]'
48590 echo '*> "output_file" should have no extension.'
48591 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48592 echo ' The import library name is derived from this and is set to "name".a,'
48593 echo ' unless overridden by -import'
48594 echo '*> "importlib_name" should have no extension.'
48595 echo ' If it has the .o, or .a extension, it is automatically removed.'
48596 echo ' This name is used as the import library name and may be longer and'
48597 echo ' more descriptive than the DLL name which has to follow the old '
48598 echo ' 8.3 convention of FAT.'
48599 echo '*> "script.sh may be given to override the output_file name by a'
48600 echo ' different name. It is mainly useful if the regular make process'
48601 echo ' of some package does not take into account OS/2 restriction of'
48602 echo ' DLL name lengths. It takes the importlib name as input and is'
48603 echo ' supposed to procude a shorter name as output. The script should'
48604 echo ' expect to get importlib_name without extension and should produce'
48605 echo ' a (max.) 8 letter name without extension.'
48606 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48607 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48608 echo ' These flags will be put at the start of GCC command line.'
48609 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48610 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48611 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48612 echo ' If the last character of a symbol is "*", all symbols beginning'
48613 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48614 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48615 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48616 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48617 echo ' C runtime DLLs.'
48618 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48619 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48620 echo ' unchanged to GCC at the end of command line.'
48621 echo '*> If you create a DLL from a library and you do not specify -o,'
48622 echo ' the basename for DLL and import library will be set to library name,'
48623 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48624 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48625 echo ' library will be renamed into gcc_s.a.'
48628 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48629 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48634 # Execute a command.
48635 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48636 # @Uses Whatever CleanUp() uses.
48642 if [ ${D}rcCmd -ne 0 ]; then
48643 echo "command failed, exit code="${D}rcCmd
48658 CFLAGS="-s -Zcrtdll"
48660 EXPORT_BY_ORDINALS=0
48665 case ${D}curDirS in
48669 curDirS=${D}{curDirS}"/"
48672 # Parse commandline
48675 while [ ${D}1 ]; do
48678 EXPORT_BY_ORDINALS=1;
48688 -name-mangler-script)
48709 exclude_symbols=${D}{exclude_symbols}${D}1" "
48713 library_flags=${D}{library_flags}${D}1" "
48732 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48735 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48736 if [ ${D}omfLinking -eq 1 ]; then
48737 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48739 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48744 if [ ${D}libsToLink -ne 0 ]; then
48745 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48747 for file in ${D}1 ; do
48748 if [ -f ${D}file ]; then
48749 inputFiles="${D}{inputFiles} ${D}file"
48753 if [ ${D}found -eq 0 ]; then
48754 echo "ERROR: No file(s) found: "${D}1
48761 done # iterate cmdline words
48764 if [ -z "${D}inputFiles" ]; then
48765 echo "dllar: no input files"
48769 # Now extract all .o files from .a files
48771 for file in ${D}inputFiles ; do
48782 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48787 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48789 if [ ${D}? -ne 0 ]; then
48790 echo "Failed to create subdirectory ./${D}dirname"
48794 # Append '!' to indicate archive
48795 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48796 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48799 for subfile in ${D}dirname/*.o* ; do
48800 if [ -f ${D}subfile ]; then
48802 if [ -s ${D}subfile ]; then
48803 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48804 newInputFiles="${D}newInputFiles ${D}subfile"
48808 if [ ${D}found -eq 0 ]; then
48809 echo "WARNING: there are no files in archive \\'${D}file\\'"
48813 newInputFiles="${D}{newInputFiles} ${D}file"
48817 inputFiles="${D}newInputFiles"
48819 # Output filename(s).
48821 if [ -z ${D}outFile ]; then
48823 set outFile ${D}inputFiles; outFile=${D}2
48826 # If it is an archive, remove the '!' and the '_%' suffixes
48827 case ${D}outFile in
48829 outFile=\`basnam ${D}outFile _%!\`
48834 case ${D}outFile in
48836 outFile=\`basnam ${D}outFile .dll\`
48839 outFile=\`basnam ${D}outFile .DLL\`
48842 outFile=\`basnam ${D}outFile .o\`
48845 outFile=\`basnam ${D}outFile .obj\`
48848 outFile=\`basnam ${D}outFile .a\`
48851 outFile=\`basnam ${D}outFile .lib\`
48856 case ${D}outimpFile in
48858 outimpFile=\`basnam ${D}outimpFile .a\`
48861 outimpFile=\`basnam ${D}outimpFile .lib\`
48866 if [ -z ${D}outimpFile ]; then
48867 outimpFile=${D}outFile
48869 defFile="${D}{outFile}.def"
48870 arcFile="${D}{outimpFile}.a"
48871 arcFile2="${D}{outimpFile}.lib"
48873 #create ${D}dllFile as something matching 8.3 restrictions,
48874 if [ -z ${D}renameScript ] ; then
48875 dllFile="${D}outFile"
48877 dllFile=\`${D}renameScript ${D}outimpFile\`
48880 if [ ${D}do_backup -ne 0 ] ; then
48881 if [ -f ${D}arcFile ] ; then
48882 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48884 if [ -f ${D}arcFile2 ] ; then
48885 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48889 # Extract public symbols from all the object files.
48890 tmpdefFile=${D}{defFile}_%
48891 rm -f ${D}tmpdefFile
48892 for file in ${D}inputFiles ; do
48897 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48902 # Create the def file.
48904 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48905 dllFile="${D}{dllFile}.dll"
48906 if [ ! -z ${D}description ]; then
48907 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48909 echo "EXPORTS" >> ${D}defFile
48911 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48912 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48914 # Checks if the export is ok or not.
48915 for word in ${D}exclude_symbols; do
48916 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48917 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48921 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48922 sed "=" < ${D}tmpdefFile | \\
48926 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48928 ' > ${D}{tmpdefFile}%
48929 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48931 rm -f ${D}{tmpdefFile}%
48933 cat ${D}tmpdefFile >> ${D}defFile
48934 rm -f ${D}tmpdefFile
48936 # Do linking, create implib, and apply lxlite.
48938 for file in ${D}inputFiles ; do
48943 gccCmdl="${D}gccCmdl ${D}file"
48947 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48948 touch "${D}{outFile}.dll"
48950 doCommand "emximp -o ${D}arcFile ${D}defFile"
48951 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48953 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48956 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48958 doCommand "emxomf -s -l ${D}arcFile"
48968 powerpc
-apple-macos* | \
48969 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48980 if test "x$PIC_FLAG" != "x" ; then
48981 PIC_FLAG
="$PIC_FLAG -DPIC"
48984 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48985 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48987 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48988 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49007 case "${BAKEFILE_HOST}" in
49008 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
49009 SONAME_FLAG
="-Wl,-soname,"
49043 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49044 if test "${enable_dependency_tracking+set}" = set; then
49045 enableval
="$enable_dependency_tracking"
49046 bk_use_trackdeps
="$enableval"
49049 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49050 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49052 if test "x$bk_use_trackdeps" = "xno" ; then
49054 echo "$as_me:$LINENO: result: disabled" >&5
49055 echo "${ECHO_T}disabled" >&6
49059 if test "x$GCC" = "xyes"; then
49061 case "${BAKEFILE_HOST}" in
49063 DEPSFLAG
="-no-cpp-precomp -MMD"
49069 echo "$as_me:$LINENO: result: gcc" >&5
49070 echo "${ECHO_T}gcc" >&6
49071 elif test "x$MWCC" = "xyes"; then
49074 echo "$as_me:$LINENO: result: mwcc" >&5
49075 echo "${ECHO_T}mwcc" >&6
49076 elif test "x$SUNCC" = "xyes"; then
49079 echo "$as_me:$LINENO: result: Sun cc" >&5
49080 echo "${ECHO_T}Sun cc" >&6
49081 elif test "x$SGICC" = "xyes"; then
49084 echo "$as_me:$LINENO: result: SGI cc" >&5
49085 echo "${ECHO_T}SGI cc" >&6
49086 elif test "x$HPCC" = "xyes"; then
49089 echo "$as_me:$LINENO: result: HP cc" >&5
49090 echo "${ECHO_T}HP cc" >&6
49091 elif test "x$COMPAQCC" = "xyes"; then
49094 echo "$as_me:$LINENO: result: Compaq cc" >&5
49095 echo "${ECHO_T}Compaq cc" >&6
49098 echo "$as_me:$LINENO: result: none" >&5
49099 echo "${ECHO_T}none" >&6
49102 if test $DEPS_TRACKING = 1 ; then
49108 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49109 # script. It is used to track C/C++ files dependencies in portable way.
49111 # Permission is given to use this file in any way.
49113 DEPSMODE=${DEPSMODE}
49115 DEPSFLAG="${DEPSFLAG}"
49117 mkdir -p ${D}DEPSDIR
49119 if test ${D}DEPSMODE = gcc ; then
49120 ${D}* ${D}{DEPSFLAG}
49122 if test ${D}{status} != 0 ; then
49125 # move created file to the location we want it in:
49126 while test ${D}# -gt 0; do
49140 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49141 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49142 if test -f ${D}depfile ; then
49143 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49146 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49147 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49148 if test ! -f ${D}depfile ; then
49149 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49150 depfile="${D}objfile.d"
49152 if test -f ${D}depfile ; then
49153 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49158 elif test ${D}DEPSMODE = mwcc ; then
49159 ${D}* || exit ${D}?
49160 # Run mwcc again with -MM and redirect into the dep file we want
49161 # NOTE: We can't use shift here because we need ${D}* to be valid
49163 for arg in ${D}* ; do
49164 if test "${D}prevarg" = "-o"; then
49177 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49179 elif test ${D}DEPSMODE = unixcc; then
49180 ${D}* || exit ${D}?
49181 # Run compiler again with deps flag and redirect into the dep file.
49182 # It doesn't work if the '-o FILE' option is used, but without it the
49183 # dependency file will contain the wrong name for the object. So it is
49184 # removed from the command line, and the dep file is fixed with sed.
49186 while test ${D}# -gt 0; do
49193 eval arg${D}#=\\${D}1
49194 cmd="${D}cmd \\${D}arg${D}#"
49199 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49214 case ${BAKEFILE_HOST} in
49215 *-*-cygwin* | *-*-mingw32* )
49216 if test -n "$ac_tool_prefix"; then
49217 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49218 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49219 echo "$as_me:$LINENO: checking for $ac_word" >&5
49220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49221 if test "${ac_cv_prog_WINDRES+set}" = set; then
49222 echo $ECHO_N "(cached) $ECHO_C" >&6
49224 if test -n "$WINDRES"; then
49225 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49228 for as_dir
in $PATH
49231 test -z "$as_dir" && as_dir
=.
49232 for ac_exec_ext
in '' $ac_executable_extensions; do
49233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49234 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49243 WINDRES
=$ac_cv_prog_WINDRES
49244 if test -n "$WINDRES"; then
49245 echo "$as_me:$LINENO: result: $WINDRES" >&5
49246 echo "${ECHO_T}$WINDRES" >&6
49248 echo "$as_me:$LINENO: result: no" >&5
49249 echo "${ECHO_T}no" >&6
49253 if test -z "$ac_cv_prog_WINDRES"; then
49254 ac_ct_WINDRES
=$WINDRES
49255 # Extract the first word of "windres", so it can be a program name with args.
49256 set dummy windres
; ac_word
=$2
49257 echo "$as_me:$LINENO: checking for $ac_word" >&5
49258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49259 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49260 echo $ECHO_N "(cached) $ECHO_C" >&6
49262 if test -n "$ac_ct_WINDRES"; then
49263 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49266 for as_dir
in $PATH
49269 test -z "$as_dir" && as_dir
=.
49270 for ac_exec_ext
in '' $ac_executable_extensions; do
49271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49272 ac_cv_prog_ac_ct_WINDRES
="windres"
49273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49281 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49282 if test -n "$ac_ct_WINDRES"; then
49283 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49284 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49286 echo "$as_me:$LINENO: result: no" >&5
49287 echo "${ECHO_T}no" >&6
49290 WINDRES
=$ac_ct_WINDRES
49292 WINDRES
="$ac_cv_prog_WINDRES"
49297 *-*-darwin* | powerpc
-apple-macos* )
49298 # Extract the first word of "Rez", so it can be a program name with args.
49299 set dummy Rez
; ac_word
=$2
49300 echo "$as_me:$LINENO: checking for $ac_word" >&5
49301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49302 if test "${ac_cv_prog_REZ+set}" = set; then
49303 echo $ECHO_N "(cached) $ECHO_C" >&6
49305 if test -n "$REZ"; then
49306 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49309 for as_dir
in $PATH
49312 test -z "$as_dir" && as_dir
=.
49313 for ac_exec_ext
in '' $ac_executable_extensions; do
49314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49315 ac_cv_prog_REZ
="Rez"
49316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49322 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49325 REZ
=$ac_cv_prog_REZ
49326 if test -n "$REZ"; then
49327 echo "$as_me:$LINENO: result: $REZ" >&5
49328 echo "${ECHO_T}$REZ" >&6
49330 echo "$as_me:$LINENO: result: no" >&5
49331 echo "${ECHO_T}no" >&6
49334 # Extract the first word of "SetFile", so it can be a program name with args.
49335 set dummy SetFile
; ac_word
=$2
49336 echo "$as_me:$LINENO: checking for $ac_word" >&5
49337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49338 if test "${ac_cv_prog_SETFILE+set}" = set; then
49339 echo $ECHO_N "(cached) $ECHO_C" >&6
49341 if test -n "$SETFILE"; then
49342 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49345 for as_dir
in $PATH
49348 test -z "$as_dir" && as_dir
=.
49349 for ac_exec_ext
in '' $ac_executable_extensions; do
49350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49351 ac_cv_prog_SETFILE
="SetFile"
49352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49358 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49361 SETFILE
=$ac_cv_prog_SETFILE
49362 if test -n "$SETFILE"; then
49363 echo "$as_me:$LINENO: result: $SETFILE" >&5
49364 echo "${ECHO_T}$SETFILE" >&6
49366 echo "$as_me:$LINENO: result: no" >&5
49367 echo "${ECHO_T}no" >&6
49378 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
49381 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
49385 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49386 if test "${enable_precomp_headers+set}" = set; then
49387 enableval
="$enable_precomp_headers"
49388 bk_use_pch
="$enableval"
49395 case ${BAKEFILE_HOST} in
49401 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49402 if test "x$GCC" = "xyes"; then
49403 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49404 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49405 cat >conftest.
$ac_ext <<_ACEOF
49408 cat confdefs.h
>>conftest.
$ac_ext
49409 cat >>conftest.
$ac_ext <<_ACEOF
49410 /* end confdefs.h. */
49416 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49417 There is no PCH support
49420 There is no PCH support
49422 #if (__GNUC__ == 3) && \
49423 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49424 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49425 ( defined(__INTEL_COMPILER) )
49426 There is no PCH support
49433 rm -f conftest.
$ac_objext
49434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49435 (eval $ac_compile) 2>conftest.er1
49437 grep -v '^ *+' conftest.er1
>conftest.err
49439 cat conftest.err
>&5
49440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49441 (exit $ac_status); } &&
49442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49444 (eval $ac_try) 2>&5
49446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49447 (exit $ac_status); }; } &&
49448 { ac_try
='test -s conftest.$ac_objext'
49449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49450 (eval $ac_try) 2>&5
49452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49453 (exit $ac_status); }; }; then
49455 echo "$as_me:$LINENO: result: yes" >&5
49456 echo "${ECHO_T}yes" >&6
49460 echo "$as_me: failed program was:" >&5
49461 sed 's/^/| /' conftest.
$ac_ext >&5
49464 cat >conftest.
$ac_ext <<_ACEOF
49467 cat confdefs.h
>>conftest.
$ac_ext
49468 cat >>conftest.
$ac_ext <<_ACEOF
49469 /* end confdefs.h. */
49475 #if !defined(__INTEL_COMPILER) || \
49476 (__INTEL_COMPILER < 800)
49477 There is no PCH support
49484 rm -f conftest.
$ac_objext
49485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49486 (eval $ac_compile) 2>conftest.er1
49488 grep -v '^ *+' conftest.er1
>conftest.err
49490 cat conftest.err
>&5
49491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49492 (exit $ac_status); } &&
49493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49495 (eval $ac_try) 2>&5
49497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49498 (exit $ac_status); }; } &&
49499 { ac_try
='test -s conftest.$ac_objext'
49500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49501 (eval $ac_try) 2>&5
49503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49504 (exit $ac_status); }; }; then
49506 echo "$as_me:$LINENO: result: yes" >&5
49507 echo "${ECHO_T}yes" >&6
49511 echo "$as_me: failed program was:" >&5
49512 sed 's/^/| /' conftest.
$ac_ext >&5
49515 echo "$as_me:$LINENO: result: no" >&5
49516 echo "${ECHO_T}no" >&6
49519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49523 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49527 cat <<EOF >bk-make-pch
49530 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49531 # script. It is used to generated precompiled headers.
49533 # Permission is given to use this file in any way.
49543 while test ${D}{#} -gt 0; do
49547 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49548 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49549 headerfile="${D}{incdir}/${D}{header}"
49552 -use-pch|-use_pch )
49557 if test ${D}add_to_cmdline = 1 ; then
49558 compiler="${D}{compiler} ${D}{1}"
49563 if test "x${D}{headerfile}" = "x" ; then
49564 echo "error: can't find header ${D}{header} in include paths" >&2
49566 if test -f ${D}{outfile} ; then
49567 rm -f ${D}{outfile}
49569 mkdir -p \`dirname ${D}{outfile}\`
49571 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49573 if test "x${GCC_PCH}" = "x1" ; then
49574 # can do this because gcc is >= 3.4:
49575 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49576 elif test "x${ICC_PCH}" = "x1" ; then
49577 filename=pch_gen-${D}${D}
49578 file=${D}{filename}.c
49579 dfile=${D}{filename}.d
49580 cat > ${D}file <<EOT
49581 #include "${D}header"
49583 # using -MF icc complains about differing command lines in creation/use
49584 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49585 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49586 rm -f ${D}file ${D}dfile ${D}{filename}.o
49592 chmod +x bk
-make-pch
49600 COND_BUILD_DEBUG
="#"
49601 if test "x$BUILD" = "xdebug" ; then
49602 COND_BUILD_DEBUG
=""
49605 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49606 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49607 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49610 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49611 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49612 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49615 COND_BUILD_DEBUG_UNICODE_0
="#"
49616 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49617 COND_BUILD_DEBUG_UNICODE_0
=""
49620 COND_BUILD_DEBUG_UNICODE_1
="#"
49621 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49622 COND_BUILD_DEBUG_UNICODE_1
=""
49625 COND_BUILD_RELEASE
="#"
49626 if test "x$BUILD" = "xrelease" ; then
49627 COND_BUILD_RELEASE
=""
49630 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49631 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49632 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49635 COND_BUILD_RELEASE_UNICODE_0
="#"
49636 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49637 COND_BUILD_RELEASE_UNICODE_0
=""
49640 COND_BUILD_RELEASE_UNICODE_1
="#"
49641 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49642 COND_BUILD_RELEASE_UNICODE_1
=""
49645 COND_DEBUG_FLAG_1
="#"
49646 if test "x$DEBUG_FLAG" = "x1" ; then
49647 COND_DEBUG_FLAG_1
=""
49650 COND_DEBUG_INFO_0
="#"
49651 if test "x$DEBUG_INFO" = "x0" ; then
49652 COND_DEBUG_INFO_0
=""
49655 COND_DEBUG_INFO_1
="#"
49656 if test "x$DEBUG_INFO" = "x1" ; then
49657 COND_DEBUG_INFO_1
=""
49660 COND_DEPS_TRACKING_0
="#"
49661 if test "x$DEPS_TRACKING" = "x0" ; then
49662 COND_DEPS_TRACKING_0
=""
49665 COND_DEPS_TRACKING_1
="#"
49666 if test "x$DEPS_TRACKING" = "x1" ; then
49667 COND_DEPS_TRACKING_1
=""
49671 if test "x$GCC_PCH" = "x1" ; then
49676 if test "x$ICC_PCH" = "x1" ; then
49680 COND_MONOLITHIC_0
="#"
49681 if test "x$MONOLITHIC" = "x0" ; then
49682 COND_MONOLITHIC_0
=""
49685 COND_MONOLITHIC_0_SHARED_0
="#"
49686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49687 COND_MONOLITHIC_0_SHARED_0
=""
49690 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49692 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49695 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49697 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49700 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49702 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49705 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49707 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49710 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49712 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49717 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49720 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49722 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49725 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49727 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49730 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49732 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49735 COND_MONOLITHIC_0_SHARED_1
="#"
49736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49737 COND_MONOLITHIC_0_SHARED_1
=""
49740 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49742 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49745 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49747 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49750 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49752 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49755 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49757 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49760 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49762 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49765 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49770 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49772 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49775 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49777 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49780 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49782 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49785 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49786 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49787 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49790 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49791 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49792 COND_MONOLITHIC_0_USE_ODBC_1
=""
49795 COND_MONOLITHIC_1
="#"
49796 if test "x$MONOLITHIC" = "x1" ; then
49797 COND_MONOLITHIC_1
=""
49800 COND_MONOLITHIC_1_SHARED_0
="#"
49801 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49802 COND_MONOLITHIC_1_SHARED_0
=""
49805 COND_MONOLITHIC_1_SHARED_1
="#"
49806 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49807 COND_MONOLITHIC_1_SHARED_1
=""
49810 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49811 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49812 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49815 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49816 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49820 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49821 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49822 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49825 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49826 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49827 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49830 COND_PLATFORM_MACOSX_1
="#"
49831 if test "x$PLATFORM_MACOSX" = "x1" ; then
49832 COND_PLATFORM_MACOSX_1
=""
49835 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49836 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49837 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49840 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49841 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49842 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49845 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49846 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49847 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49850 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49851 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49852 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49855 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49856 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49860 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49862 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49865 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49871 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49872 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49875 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49876 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49877 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49880 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49882 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49885 COND_PLATFORM_MACOS_1
="#"
49886 if test "x$PLATFORM_MACOS" = "x1" ; then
49887 COND_PLATFORM_MACOS_1
=""
49890 COND_PLATFORM_MAC_1
="#"
49891 if test "x$PLATFORM_MAC" = "x1" ; then
49892 COND_PLATFORM_MAC_1
=""
49895 COND_PLATFORM_MSDOS_0
="#"
49896 if test "x$PLATFORM_MSDOS" = "x0" ; then
49897 COND_PLATFORM_MSDOS_0
=""
49900 COND_PLATFORM_MSDOS_1
="#"
49901 if test "x$PLATFORM_MSDOS" = "x1" ; then
49902 COND_PLATFORM_MSDOS_1
=""
49905 COND_PLATFORM_OS2_1
="#"
49906 if test "x$PLATFORM_OS2" = "x1" ; then
49907 COND_PLATFORM_OS2_1
=""
49910 COND_PLATFORM_UNIX_0
="#"
49911 if test "x$PLATFORM_UNIX" = "x0" ; then
49912 COND_PLATFORM_UNIX_0
=""
49915 COND_PLATFORM_UNIX_1
="#"
49916 if test "x$PLATFORM_UNIX" = "x1" ; then
49917 COND_PLATFORM_UNIX_1
=""
49920 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49921 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49922 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49925 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49926 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49927 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49930 COND_PLATFORM_WIN32_0
="#"
49931 if test "x$PLATFORM_WIN32" = "x0" ; then
49932 COND_PLATFORM_WIN32_0
=""
49935 COND_PLATFORM_WIN32_1
="#"
49936 if test "x$PLATFORM_WIN32" = "x1" ; then
49937 COND_PLATFORM_WIN32_1
=""
49941 if test "x$SHARED" = "x0" ; then
49945 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49946 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49947 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49950 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49951 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49952 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49955 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49956 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49957 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49960 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49961 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49962 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49965 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49966 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49967 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49970 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49971 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49972 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49975 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49976 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49977 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49980 COND_SHARED_0_USE_XRC_1
="#"
49981 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49982 COND_SHARED_0_USE_XRC_1
=""
49985 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49986 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49987 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49990 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49991 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49992 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49995 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49996 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49997 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
50000 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
50001 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50002 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
50006 if test "x$SHARED" = "x1" ; then
50010 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50011 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50012 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50015 COND_SHARED_1_USE_XRC_1
="#"
50016 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50017 COND_SHARED_1_USE_XRC_1
=""
50021 if test "x$TOOLKIT" = "x" ; then
50025 COND_TOOLKIT_COCOA
="#"
50026 if test "x$TOOLKIT" = "xCOCOA" ; then
50027 COND_TOOLKIT_COCOA
=""
50030 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50031 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50032 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50035 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50036 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50037 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50040 COND_TOOLKIT_DFB
="#"
50041 if test "x$TOOLKIT" = "xDFB" ; then
50042 COND_TOOLKIT_DFB
=""
50045 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50046 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50047 COND_TOOLKIT_DFB_USE_GUI_1
=""
50050 COND_TOOLKIT_GTK
="#"
50051 if test "x$TOOLKIT" = "xGTK" ; then
50052 COND_TOOLKIT_GTK
=""
50055 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50056 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50060 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50061 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50065 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50066 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50070 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50071 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50072 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50075 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50076 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50077 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50080 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50081 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50082 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50085 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50086 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50087 COND_TOOLKIT_GTK_USE_GUI_1
=""
50090 COND_TOOLKIT_MAC
="#"
50091 if test "x$TOOLKIT" = "xMAC" ; then
50092 COND_TOOLKIT_MAC
=""
50095 COND_TOOLKIT_MAC_USE_GUI_1
="#"
50096 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50097 COND_TOOLKIT_MAC_USE_GUI_1
=""
50100 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50101 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50102 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50105 COND_TOOLKIT_MGL
="#"
50106 if test "x$TOOLKIT" = "xMGL" ; then
50107 COND_TOOLKIT_MGL
=""
50110 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50111 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50112 COND_TOOLKIT_MGL_USE_GUI_1
=""
50115 COND_TOOLKIT_MOTIF
="#"
50116 if test "x$TOOLKIT" = "xMOTIF" ; then
50117 COND_TOOLKIT_MOTIF
=""
50120 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50121 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50122 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50125 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50126 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50127 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50130 COND_TOOLKIT_MSW
="#"
50131 if test "x$TOOLKIT" = "xMSW" ; then
50132 COND_TOOLKIT_MSW
=""
50135 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50136 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50137 COND_TOOLKIT_MSW_USE_GUI_1
=""
50140 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50141 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50142 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50145 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50146 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50147 COND_TOOLKIT_MSW_WXUNIV_0
=""
50150 COND_TOOLKIT_PM
="#"
50151 if test "x$TOOLKIT" = "xPM" ; then
50155 COND_TOOLKIT_PM_USE_GUI_1
="#"
50156 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50157 COND_TOOLKIT_PM_USE_GUI_1
=""
50160 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50161 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50162 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50165 COND_TOOLKIT_WINCE
="#"
50166 if test "x$TOOLKIT" = "xWINCE" ; then
50167 COND_TOOLKIT_WINCE
=""
50170 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50171 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50172 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50175 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50176 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50177 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50180 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50181 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50182 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50185 COND_TOOLKIT_X11
="#"
50186 if test "x$TOOLKIT" = "xX11" ; then
50187 COND_TOOLKIT_X11
=""
50190 COND_TOOLKIT_X11_USE_GUI_1
="#"
50191 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50192 COND_TOOLKIT_X11_USE_GUI_1
=""
50196 if test "x$UNICODE" = "x1" ; then
50200 COND_USE_EXCEPTIONS_0
="#"
50201 if test "x$USE_EXCEPTIONS" = "x0" ; then
50202 COND_USE_EXCEPTIONS_0
=""
50205 COND_USE_EXCEPTIONS_1
="#"
50206 if test "x$USE_EXCEPTIONS" = "x1" ; then
50207 COND_USE_EXCEPTIONS_1
=""
50211 if test "x$USE_GUI" = "x0" ; then
50216 if test "x$USE_GUI" = "x1" ; then
50220 COND_USE_GUI_1_WXUNIV_0
="#"
50221 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50222 COND_USE_GUI_1_WXUNIV_0
=""
50225 COND_USE_GUI_1_WXUNIV_1
="#"
50226 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50227 COND_USE_GUI_1_WXUNIV_1
=""
50230 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50231 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50232 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50235 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50236 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50237 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50240 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50241 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50242 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50245 COND_USE_ODBC_1
="#"
50246 if test "x$USE_ODBC" = "x1" ; then
50250 COND_USE_OPENGL_1
="#"
50251 if test "x$USE_OPENGL" = "x1" ; then
50252 COND_USE_OPENGL_1
=""
50256 if test "x$USE_PCH" = "x1" ; then
50260 COND_USE_PLUGINS_0
="#"
50261 if test "x$USE_PLUGINS" = "x0" ; then
50262 COND_USE_PLUGINS_0
=""
50265 COND_USE_RTTI_0
="#"
50266 if test "x$USE_RTTI" = "x0" ; then
50270 COND_USE_RTTI_1
="#"
50271 if test "x$USE_RTTI" = "x1" ; then
50275 COND_USE_SOSYMLINKS_1
="#"
50276 if test "x$USE_SOSYMLINKS" = "x1" ; then
50277 COND_USE_SOSYMLINKS_1
=""
50280 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50281 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50282 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50285 COND_USE_SOVERLINUX_1
="#"
50286 if test "x$USE_SOVERLINUX" = "x1" ; then
50287 COND_USE_SOVERLINUX_1
=""
50290 COND_USE_SOVERSION_0
="#"
50291 if test "x$USE_SOVERSION" = "x0" ; then
50292 COND_USE_SOVERSION_0
=""
50295 COND_USE_SOVERSOLARIS_1
="#"
50296 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50297 COND_USE_SOVERSOLARIS_1
=""
50300 COND_USE_THREADS_0
="#"
50301 if test "x$USE_THREADS" = "x0" ; then
50302 COND_USE_THREADS_0
=""
50305 COND_USE_THREADS_1
="#"
50306 if test "x$USE_THREADS" = "x1" ; then
50307 COND_USE_THREADS_1
=""
50311 if test "x$USE_XRC" = "x1" ; then
50315 COND_WINDOWS_IMPLIB_1
="#"
50316 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50317 COND_WINDOWS_IMPLIB_1
=""
50320 COND_WITH_PLUGIN_SDL_1
="#"
50321 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50322 COND_WITH_PLUGIN_SDL_1
=""
50326 if test "x$WXUNIV" = "x0" ; then
50331 if test "x$WXUNIV" = "x1" ; then
50335 COND_WXUSE_EXPAT_BUILTIN
="#"
50336 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50337 COND_WXUSE_EXPAT_BUILTIN
=""
50340 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50341 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50342 COND_WXUSE_LIBJPEG_BUILTIN
=""
50345 COND_WXUSE_LIBPNG_BUILTIN
="#"
50346 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50347 COND_WXUSE_LIBPNG_BUILTIN
=""
50350 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50351 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50352 COND_WXUSE_LIBTIFF_BUILTIN
=""
50355 COND_WXUSE_ODBC_BUILTIN
="#"
50356 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50357 COND_WXUSE_ODBC_BUILTIN
=""
50360 COND_WXUSE_REGEX_BUILTIN
="#"
50361 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50362 COND_WXUSE_REGEX_BUILTIN
=""
50365 COND_WXUSE_ZLIB_BUILTIN
="#"
50366 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50367 COND_WXUSE_ZLIB_BUILTIN
=""
50372 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50373 { { 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
50374 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;}
50375 { (exit 1); exit 1; }; }
50378 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50379 { { 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
50380 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;}
50381 { (exit 1); exit 1; }; }
50385 if test $GCC_PCH = 1
50387 if test "$wx_cv_gcc_pch_bug" = yes; then
50388 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50389 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50390 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50391 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50392 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50393 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50396 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50400 if test "$wxUSE_MAC" = 1 ; then
50401 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50402 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50408 if test "$wxUSE_SHARED" = "yes"; then
50410 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50411 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50414 *-pc-os2_emx | *-pc-os2-emx )
50415 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50416 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50417 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50418 cp -p ${srcdir}/src
/os
2/dllar.sh .
50423 EXE_LINKER
="$CXX -o"
50426 if test "$wxUSE_OMF" = "yes"; then
50428 *-pc-os2_emx | *-pc-os2-emx )
50429 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50430 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50431 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50436 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50438 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50500 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50501 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50502 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50503 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50504 echo $ECHO_N "(cached) $ECHO_C" >&6
50506 cat >conftest.
make <<\_ACEOF
50508 @
echo 'ac_maketemp="$(MAKE)"'
50510 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50511 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50512 if test -n "$ac_maketemp"; then
50513 eval ac_cv_prog_make_
${ac_make}_set
=yes
50515 eval ac_cv_prog_make_
${ac_make}_set
=no
50517 rm -f conftest.
make
50519 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50520 echo "$as_me:$LINENO: result: yes" >&5
50521 echo "${ECHO_T}yes" >&6
50524 echo "$as_me:$LINENO: result: no" >&5
50525 echo "${ECHO_T}no" >&6
50526 SET_MAKE
="MAKE=${MAKE-make}"
50531 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50534 if test "$USE_WIN32" = 1; then
50535 ac_config_commands
="$ac_config_commands
50541 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50544 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50547 ac_config_files
="$ac_config_files version-script Makefile"
50550 ac_config_commands
="$ac_config_commands wx-config"
50554 if test "$wxWITH_SUBDIRS" != "no"; then
50555 if test "$wxUSE_GUI" = "yes"; then
50556 SUBDIRS
="samples demos utils contrib"
50557 else SUBDIRS
="samples utils"
50562 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50563 if test "${with_cppunit_prefix+set}" = set; then
50564 withval
="$with_cppunit_prefix"
50565 cppunit_config_prefix
="$withval"
50567 cppunit_config_prefix
=""
50570 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50571 if test "${with_cppunit_exec_prefix+set}" = set; then
50572 withval
="$with_cppunit_exec_prefix"
50573 cppunit_config_exec_prefix
="$withval"
50575 cppunit_config_exec_prefix
=""
50578 if test x
$cppunit_config_exec_prefix != x
; then
50579 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50580 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50581 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50584 if test x
$cppunit_config_prefix != x
; then
50585 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50586 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50587 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50591 # Extract the first word of "cppunit-config", so it can be a program name with args.
50592 set dummy cppunit
-config; ac_word
=$2
50593 echo "$as_me:$LINENO: checking for $ac_word" >&5
50594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50595 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50596 echo $ECHO_N "(cached) $ECHO_C" >&6
50598 case $CPPUNIT_CONFIG in
50600 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50604 for as_dir
in $PATH
50607 test -z "$as_dir" && as_dir
=.
50608 for ac_exec_ext
in '' $ac_executable_extensions; do
50609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50610 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50617 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50621 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50623 if test -n "$CPPUNIT_CONFIG"; then
50624 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50625 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50627 echo "$as_me:$LINENO: result: no" >&5
50628 echo "${ECHO_T}no" >&6
50631 cppunit_version_min
=1.8.0
50633 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50634 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50636 if test "$CPPUNIT_CONFIG" = "no" ; then
50637 echo "$as_me:$LINENO: result: no" >&5
50638 echo "${ECHO_T}no" >&6
50641 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50642 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50643 cppunit_version
=`$CPPUNIT_CONFIG --version`
50645 cppunit_major_version
=`echo $cppunit_version | \
50646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50647 cppunit_minor_version
=`echo $cppunit_version | \
50648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50649 cppunit_micro_version
=`echo $cppunit_version | \
50650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50652 cppunit_major_min
=`echo $cppunit_version_min | \
50653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50654 cppunit_minor_min
=`echo $cppunit_version_min | \
50655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50656 cppunit_micro_min
=`echo $cppunit_version_min | \
50657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50659 cppunit_version_proper
=`expr \
50660 $cppunit_major_version \> $cppunit_major_min \| \
50661 $cppunit_major_version \= $cppunit_major_min \& \
50662 $cppunit_minor_version \> $cppunit_minor_min \| \
50663 $cppunit_major_version \= $cppunit_major_min \& \
50664 $cppunit_minor_version \= $cppunit_minor_min \& \
50665 $cppunit_micro_version \>= $cppunit_micro_min `
50667 if test "$cppunit_version_proper" = "1" ; then
50668 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50669 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50671 echo "$as_me:$LINENO: result: no" >&5
50672 echo "${ECHO_T}no" >&6
50677 if test "x$no_cppunit" = x
; then
50678 SUBDIRS
="$SUBDIRS tests"
50689 for subdir
in `echo $SUBDIRS`; do
50690 if test -d ${srcdir}/${subdir} ; then
50691 if test "$wxUSE_GUI" = "yes"; then
50692 if test ${subdir} = "samples"; then
50693 makefiles
="samples/Makefile.in $makefiles"
50694 for sample
in `echo $SAMPLES_SUBDIRS`; do
50695 if test -d $srcdir/samples
/$sample; then
50696 makefiles
="samples/$sample/Makefile.in $makefiles"
50700 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50701 eval "disabled=\$$disabled_var"
50702 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50703 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50705 else if test ${subdir} = "samples"; then
50706 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50707 elif test ${subdir} = "utils"; then
50709 for util
in HelpGen tex2rtf
; do
50710 if test -d $srcdir/utils
/$util ; then
50711 makefiles
="utils/$util/Makefile.in \
50712 utils/$util/src/Makefile.in \
50716 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50720 for mkin
in $makefiles ; do
50721 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50722 ac_config_files
="$ac_config_files $mk"
50728 cat >confcache
<<\_ACEOF
50729 # This file is a shell script that caches the results of configure
50730 # tests run on this system so they can be shared between configure
50731 # scripts and configure runs, see configure's option --config-cache.
50732 # It is not useful on other systems. If it contains results you don't
50733 # want to keep, you may remove or edit it.
50735 # config.status only pays attention to the cache file if you give it
50736 # the --recheck option to rerun configure.
50738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50740 # following values.
50744 # The following way of writing the cache mishandles newlines in values,
50745 # but we know of no workaround that is simple, portable, and efficient.
50746 # So, don't put newlines in cache variables' values.
50747 # Ultrix sh set writes to stderr and can't be redirected directly,
50748 # and sets the high bit in the cache file unless we assign to the vars.
50751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50753 # `set' does not quote correctly, so add quotes (double-quote
50754 # substitution turns \\\\ into \\, and sed turns \\ into \).
50757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50760 # `set' quotes correctly as required by POSIX, so do not add quotes.
50762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50773 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50774 if test -w $cache_file; then
50775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50776 cat confcache
>$cache_file
50778 echo "not updating unwritable cache $cache_file"
50783 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50784 # Let make expand exec_prefix.
50785 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50787 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50788 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50789 # trailing colons and then remove the whole line if VPATH becomes empty
50790 # (actually we leave an empty line to preserve line numbers).
50791 if test "x$srcdir" = x.
; then
50792 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50793 s/:*\$(srcdir):*/:/;
50794 s/:*\${srcdir}:*/:/;
50796 s/^\([^=]*=[ ]*\):*/\1/;
50802 DEFS
=-DHAVE_CONFIG_H
50806 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50807 # 1. Remove the extension, and $U if already installed.
50808 ac_i
=`echo "$ac_i" |
50809 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50811 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50812 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50814 LIBOBJS
=$ac_libobjs
50816 LTLIBOBJS
=$ac_ltlibobjs
50820 : ${CONFIG_STATUS=./config.status}
50821 ac_clean_files_save
=$ac_clean_files
50822 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50823 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50824 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50825 cat >$CONFIG_STATUS <<_ACEOF
50827 # Generated by $as_me.
50828 # Run this file to recreate the current configuration.
50829 # Compiler output produced by configure, useful for debugging
50830 # configure, is in config.log if it exists.
50833 ac_cs_recheck=false
50835 SHELL=\${CONFIG_SHELL-$SHELL}
50838 cat >>$CONFIG_STATUS <<\_ACEOF
50839 ## --------------------- ##
50840 ## M4sh Initialization. ##
50841 ## --------------------- ##
50843 # Be Bourne compatible
50844 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50847 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50848 # is contrary to our usage. Disable this feature.
50849 alias -g '${1+"$@"}'='"$@"'
50850 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50853 DUALCASE
=1; export DUALCASE
# for MKS sh
50855 # Support unset when possible.
50856 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50863 # Work around bugs in pre-3.0 UWIN ksh.
50864 $as_unset ENV MAIL MAILPATH
50871 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50872 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50873 LC_TELEPHONE LC_TIME
50875 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50876 eval $as_var=C
; export $as_var
50882 # Required to use basename.
50883 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50889 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50890 as_basename
=basename
50896 # Name of the executable.
50897 as_me
=`$as_basename "$0" ||
50898 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50899 X"$0" : 'X\(//\)$' \| \
50900 X"$0" : 'X\(/\)$' \| \
50901 . : '\(.\)' 2>/dev/null ||
50903 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50904 /^X\/\(\/\/\)$/{ s//\1/; q; }
50905 /^X\/\(\/\).*/{ s//\1/; q; }
50909 # PATH needs CR, and LINENO needs CR and PATH.
50910 # Avoid depending upon Character Ranges.
50911 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50912 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50913 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50914 as_cr_digits
='0123456789'
50915 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50917 # The user is always right.
50918 if test "${PATH_SEPARATOR+set}" != set; then
50919 echo "#! /bin/sh" >conf$$.sh
50920 echo "exit 0" >>conf$$.sh
50922 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50931 as_lineno_1
=$LINENO
50932 as_lineno_2
=$LINENO
50933 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50934 test "x$as_lineno_1" != "x$as_lineno_2" &&
50935 test "x$as_lineno_3" = "x$as_lineno_2" || {
50936 # Find who we are. Look in the path if we contain no path at all
50939 *[\\/]* ) as_myself
=$0 ;;
50940 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50941 for as_dir
in $PATH
50944 test -z "$as_dir" && as_dir
=.
50945 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50950 # We did not find ourselves, most probably we were run as `sh COMMAND'
50951 # in which case we are not to be found in the path.
50952 if test "x$as_myself" = x
; then
50955 if test ! -f "$as_myself"; then
50956 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50957 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50958 { (exit 1); exit 1; }; }
50960 case $CONFIG_SHELL in
50962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50963 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50966 test -z "$as_dir" && as_dir
=.
50967 for as_base
in sh bash ksh sh5
; do
50970 if ("$as_dir/$as_base" -c '
50971 as_lineno_1=$LINENO
50972 as_lineno_2=$LINENO
50973 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50974 test "x$as_lineno_1" != "x$as_lineno_2" &&
50975 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50976 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50977 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50978 CONFIG_SHELL
=$as_dir/$as_base
50979 export CONFIG_SHELL
50980 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50988 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50989 # uniformly replaced by the line number. The first 'sed' inserts a
50990 # line-number line before each line; the second 'sed' does the real
50991 # work. The second script uses 'N' to pair each line-number line
50992 # with the numbered line, and appends trailing '-' during
50993 # substitution so that $LINENO is not a special case at line end.
50994 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50995 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50996 sed '=' <$as_myself |
51001 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51004 s,^['$as_cr_digits']*\n,,
51005 ' >$as_me.lineno
&&
51006 chmod +x
$as_me.lineno
||
51007 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51008 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51009 { (exit 1); exit 1; }; }
51011 # Don't try to exec as it changes $[0], causing all sort of problems
51012 # (the dirname of $[0] is not the place where we might find the
51013 # original and so on. Autoconf is especially sensible to this).
51015 # Exit status is that of the last command.
51020 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51021 *c
*,-n*) ECHO_N
= ECHO_C
='
51023 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
51024 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
51027 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51033 rm -f conf$$ conf$$.exe conf$$.
file
51035 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51036 # We could just check for DJGPP; but this test a) works b) is more generic
51037 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51038 if test -f conf$$.exe
; then
51039 # Don't use ln at all; we don't have any links
51044 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51049 rm -f conf$$ conf$$.exe conf$$.
file
51051 if mkdir -p .
2>/dev
/null
; then
51054 test -d .
/-p && rmdir .
/-p
51058 as_executable_p
="test -f"
51060 # Sed expression to map a string onto a valid CPP name.
51061 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51063 # Sed expression to map a string onto a valid variable name.
51064 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51068 # We need space, tab and new line, in precisely that order.
51078 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51079 # report actual input values of CONFIG_FILES etc. instead of their
51080 # values after options handling. Logging --version etc. is OK.
51084 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51085 ## Running $as_me. ##
51090 This file was extended by wxWidgets $as_me 2.7.1, which was
51091 generated by GNU Autoconf 2.59. Invocation command line was
51093 CONFIG_FILES = $CONFIG_FILES
51094 CONFIG_HEADERS = $CONFIG_HEADERS
51095 CONFIG_LINKS = $CONFIG_LINKS
51096 CONFIG_COMMANDS = $CONFIG_COMMANDS
51100 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51104 # Files that config.status was made for.
51105 if test -n "$ac_config_files"; then
51106 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51109 if test -n "$ac_config_headers"; then
51110 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51113 if test -n "$ac_config_links"; then
51114 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51117 if test -n "$ac_config_commands"; then
51118 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51121 cat >>$CONFIG_STATUS <<\_ACEOF
51124 \`$as_me' instantiates files from templates according to the
51125 current configuration.
51127 Usage: $0 [OPTIONS] [FILE]...
51129 -h, --help print this help, then exit
51130 -V, --version print version number, then exit
51131 -q, --quiet do not print progress messages
51132 -d, --debug don't remove temporary files
51133 --recheck update $as_me by reconfiguring in the same conditions
51134 --file=FILE[:TEMPLATE]
51135 instantiate the configuration file FILE
51136 --header=FILE[:TEMPLATE]
51137 instantiate the configuration header FILE
51139 Configuration files:
51142 Configuration headers:
51145 Configuration commands:
51148 Report bugs to <bug-autoconf@gnu.org>."
51151 cat >>$CONFIG_STATUS <<_ACEOF
51153 wxWidgets config.status 2.7.1
51154 configured by $0, generated by GNU Autoconf 2.59,
51155 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51157 Copyright (C) 2003 Free Software Foundation, Inc.
51158 This config.status script is free software; the Free Software Foundation
51159 gives unlimited permission to copy, distribute and modify it."
51164 cat >>$CONFIG_STATUS <<\_ACEOF
51165 # If no file are specified by the user, then we need to provide default
51166 # value. By we need to know if files were specified by the user.
51172 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
51173 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
51181 *) # This is not an option, so the user has probably given explicit
51184 ac_need_defaults
=false
;;
51188 # Handling of the options.
51190 cat >>$CONFIG_STATUS <<\_ACEOF
51191 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51193 --version | --vers* | -V )
51194 echo "$ac_cs_version"; exit 0 ;;
51196 # Conflict between --help and --header
51197 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51198 Try \`$0 --help' for more information." >&5
51199 echo "$as_me: error: ambiguous option: $1
51200 Try \`$0 --help' for more information." >&2;}
51201 { (exit 1); exit 1; }; };;
51202 --help | --hel | -h )
51203 echo "$ac_cs_usage"; exit 0 ;;
51204 --debug | --d* | -d )
51206 --file | --fil | --fi | --f )
51208 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51209 ac_need_defaults
=false
;;
51210 --header | --heade | --head | --hea )
51212 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51213 ac_need_defaults
=false
;;
51214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51215 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51218 # This is an error.
51219 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51220 Try \`$0 --help' for more information." >&5
51221 echo "$as_me: error: unrecognized option: $1
51222 Try \`$0 --help' for more information." >&2;}
51223 { (exit 1); exit 1; }; } ;;
51225 *) ac_config_targets
="$ac_config_targets $1" ;;
51231 ac_configure_extra_args
=
51233 if $ac_cs_silent; then
51235 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51239 cat >>$CONFIG_STATUS <<_ACEOF
51240 if \$ac_cs_recheck; then
51241 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51242 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51247 cat >>$CONFIG_STATUS <<_ACEOF
51249 # INIT-COMMANDS section.
51254 infile="$srcdir/include/wx/msw/genrcdefs.h"
51255 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51258 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51259 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51260 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51268 cat >>$CONFIG_STATUS <<\_ACEOF
51269 for ac_config_target
in $ac_config_targets
51271 case "$ac_config_target" in
51272 # Handling of arguments.
51273 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51274 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51275 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51276 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51277 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51278 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51279 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51280 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51281 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51282 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51283 { (exit 1); exit 1; }; };;
51287 # If the user did not use the arguments to specify the items to instantiate,
51288 # then the envvar interface is used. Set only those that are not.
51289 # We use the long form for the default assignment because of an extremely
51290 # bizarre bug on SunOS 4.1.3.
51291 if $ac_need_defaults; then
51292 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51293 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51294 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51297 # Have a temporary directory for convenience. Make it in the build tree
51298 # simply because there is no reason to put it here, and in addition,
51299 # creating and moving files from /tmp can sometimes cause problems.
51300 # Create a temporary directory, and hook for its removal unless debugging.
51303 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51304 trap '{ (exit 1); exit 1; }' 1 2 13 15
51307 # Create a (secure) tmp directory for tmp files.
51310 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51311 test -n "$tmp" && test -d "$tmp"
51314 tmp
=.
/confstat$$
-$RANDOM
51315 (umask 077 && mkdir $tmp)
51318 echo "$me: cannot create a temporary directory in ." >&2
51319 { (exit 1); exit 1; }
51324 cat >>$CONFIG_STATUS <<_ACEOF
51327 # CONFIG_FILES section.
51330 # No need to generate the scripts if there are no CONFIG_FILES.
51331 # This happens for instance when ./config.status config.h
51332 if test -n "\$CONFIG_FILES"; then
51333 # Protect against being on the right side of a sed subst in config.status.
51334 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51335 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51336 s,@SHELL@,$SHELL,;t t
51337 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51338 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51339 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51340 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51341 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51342 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51343 s,@exec_prefix@,$exec_prefix,;t t
51344 s,@prefix@,$prefix,;t t
51345 s,@program_transform_name@,$program_transform_name,;t t
51346 s,@bindir@,$bindir,;t t
51347 s,@sbindir@,$sbindir,;t t
51348 s,@libexecdir@,$libexecdir,;t t
51349 s,@datadir@,$datadir,;t t
51350 s,@sysconfdir@,$sysconfdir,;t t
51351 s,@sharedstatedir@,$sharedstatedir,;t t
51352 s,@localstatedir@,$localstatedir,;t t
51353 s,@libdir@,$libdir,;t t
51354 s,@includedir@,$includedir,;t t
51355 s,@oldincludedir@,$oldincludedir,;t t
51356 s,@infodir@,$infodir,;t t
51357 s,@mandir@,$mandir,;t t
51358 s,@build_alias@,$build_alias,;t t
51359 s,@host_alias@,$host_alias,;t t
51360 s,@target_alias@,$target_alias,;t t
51361 s,@DEFS@,$DEFS,;t t
51362 s,@ECHO_C@,$ECHO_C,;t t
51363 s,@ECHO_N@,$ECHO_N,;t t
51364 s,@ECHO_T@,$ECHO_T,;t t
51365 s,@LIBS@,$LIBS,;t t
51366 s,@build@,$build,;t t
51367 s,@build_cpu@,$build_cpu,;t t
51368 s,@build_vendor@,$build_vendor,;t t
51369 s,@build_os@,$build_os,;t t
51370 s,@host@,$host,;t t
51371 s,@host_cpu@,$host_cpu,;t t
51372 s,@host_vendor@,$host_vendor,;t t
51373 s,@host_os@,$host_os,;t t
51374 s,@target@,$target,;t t
51375 s,@target_cpu@,$target_cpu,;t t
51376 s,@target_vendor@,$target_vendor,;t t
51377 s,@target_os@,$target_os,;t t
51379 s,@CFLAGS@,$CFLAGS,;t t
51380 s,@LDFLAGS@,$LDFLAGS,;t t
51381 s,@CPPFLAGS@,$CPPFLAGS,;t t
51382 s,@ac_ct_CC@,$ac_ct_CC,;t t
51383 s,@EXEEXT@,$EXEEXT,;t t
51384 s,@OBJEXT@,$OBJEXT,;t t
51386 s,@EGREP@,$EGREP,;t t
51388 s,@CXXFLAGS@,$CXXFLAGS,;t t
51389 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51390 s,@RANLIB@,$RANLIB,;t t
51391 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51393 s,@ac_ct_AR@,$ac_ct_AR,;t t
51394 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51395 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51396 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51397 s,@STRIP@,$STRIP,;t t
51398 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51399 s,@WINDRES@,$WINDRES,;t t
51400 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51401 s,@DLLTOOL@,$DLLTOOL,;t t
51402 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51403 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51404 s,@LN_S@,$LN_S,;t t
51405 s,@CXXCPP@,$CXXCPP,;t t
51406 s,@subdirs@,$subdirs,;t t
51407 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51408 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51409 s,@GTK_LIBS@,$GTK_LIBS,;t t
51410 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51411 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51412 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51413 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51414 s,@X_CFLAGS@,$X_CFLAGS,;t t
51415 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51416 s,@X_LIBS@,$X_LIBS,;t t
51417 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51418 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51419 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51420 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51421 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51422 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51423 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51425 s,@DEREZ@,$DEREZ,;t t
51426 s,@SETFILE@,$SETFILE,;t t
51427 s,@LIBICONV@,$LIBICONV,;t t
51428 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51429 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51430 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51431 s,@SDL_LIBS@,$SDL_LIBS,;t t
51432 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51433 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51434 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51435 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51436 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51437 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51438 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51439 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51440 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51441 s,@GST_LIBS@,$GST_LIBS,;t t
51442 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51443 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51444 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51445 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51446 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51447 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51448 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51449 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51450 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51451 s,@VENDOR@,$VENDOR,;t t
51452 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51453 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51454 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51455 s,@WXUNIV@,$WXUNIV,;t t
51456 s,@MONOLITHIC@,$MONOLITHIC,;t t
51457 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51458 s,@EXTRALIBS@,$EXTRALIBS,;t t
51459 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51460 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51461 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51462 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51463 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51464 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51465 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51466 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51467 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51468 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51469 s,@UNICODE@,$UNICODE,;t t
51470 s,@BUILD@,$BUILD,;t t
51471 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51472 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51473 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51474 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51475 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51476 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51477 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51478 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51479 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51480 s,@SET_MAKE@,$SET_MAKE,;t t
51481 s,@MAKE_SET@,$MAKE_SET,;t t
51483 s,@ac_ct_NM@,$ac_ct_NM,;t t
51484 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51485 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51486 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51487 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51488 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51489 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51490 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51491 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51492 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51493 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51494 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51495 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51496 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51497 s,@LIBPREFIX@,$LIBPREFIX,;t t
51498 s,@LIBEXT@,$LIBEXT,;t t
51499 s,@DLLPREFIX@,$DLLPREFIX,;t t
51500 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51501 s,@dlldir@,$dlldir,;t t
51502 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51503 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51504 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51505 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51506 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51507 s,@PIC_FLAG@,$PIC_FLAG,;t t
51508 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51509 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51510 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51511 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51512 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51513 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51514 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51515 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51516 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51517 s,@GCC_PCH@,$GCC_PCH,;t t
51518 s,@ICC_PCH@,$ICC_PCH,;t t
51519 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51520 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51521 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51522 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51523 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51524 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51525 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51526 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51527 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51528 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51529 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51530 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51531 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51532 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51533 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51534 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51535 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51536 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51537 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51538 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51539 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
51540 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
51541 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
51542 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
51543 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51544 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51545 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51546 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51547 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51548 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51549 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
51550 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
51551 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
51552 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
51553 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51554 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51555 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51556 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51557 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51558 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51559 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51560 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51561 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51562 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51563 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51564 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51565 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51566 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51567 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51568 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51569 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51570 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51571 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
51572 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51573 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51574 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51575 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51576 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51577 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51578 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51579 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51580 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51581 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51582 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51583 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51584 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51585 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51586 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51587 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51588 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51589 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51590 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51591 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51592 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51593 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51594 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51595 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51596 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51597 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51598 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51599 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51600 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51601 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51602 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51603 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51604 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51605 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51606 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51607 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51608 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51609 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51610 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51611 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51612 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51613 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
51614 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51615 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51616 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51617 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51618 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51619 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51620 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51621 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51622 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51623 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51624 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51625 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51626 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51627 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51628 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51629 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51630 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51631 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51632 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51633 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51634 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51635 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51636 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51637 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51638 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51639 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51640 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51641 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51642 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51643 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51644 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51645 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51646 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51647 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51648 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51649 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51650 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51651 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51652 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51653 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51654 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51655 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51656 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51657 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51658 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51659 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51660 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51661 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51662 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51663 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51664 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51665 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51666 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51667 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51668 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51669 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51670 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51671 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51672 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51673 s,@SHARED@,$SHARED,;t t
51674 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51675 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51676 s,@USE_GUI@,$USE_GUI,;t t
51677 s,@AFMINSTALL@,$AFMINSTALL,;t t
51678 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51679 s,@TOOLKIT@,$TOOLKIT,;t t
51680 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51681 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51682 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51683 s,@cross_compiling@,$cross_compiling,;t t
51684 s,@WIDGET_SET@,$WIDGET_SET,;t t
51685 s,@WX_RELEASE@,$WX_RELEASE,;t t
51686 s,@WX_VERSION@,$WX_VERSION,;t t
51687 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51688 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51689 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51690 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51691 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51692 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51693 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51694 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51695 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51696 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51697 s,@EXE_LINKER@,$EXE_LINKER,;t t
51698 s,@GUIDIST@,$GUIDIST,;t t
51699 s,@DISTDIR@,$DISTDIR,;t t
51700 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51701 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51702 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51703 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51704 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51705 s,@RESCOMP@,$RESCOMP,;t t
51706 s,@RESFLAGS@,$RESFLAGS,;t t
51707 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51708 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51709 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51710 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51711 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51712 s,@MACSETFILE@,$MACSETFILE,;t t
51714 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51715 s,@LIBOBJS@,$LIBOBJS,;t t
51716 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51721 cat >>$CONFIG_STATUS <<\_ACEOF
51722 # Split the substitutions into bite-sized pieces for seds with
51723 # small command number limits, like on Digital OSF/1 and HP-UX.
51724 ac_max_sed_lines
=48
51725 ac_sed_frag
=1 # Number of current file.
51726 ac_beg
=1 # First line for current file.
51727 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51730 while $ac_more_lines; do
51731 if test $ac_beg -gt 1; then
51732 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51734 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51736 if test ! -s $tmp/subs.frag
; then
51737 ac_more_lines
=false
51739 # The purpose of the label and of the branching condition is to
51740 # speed up the sed processing (if there are no `@' at all, there
51741 # is no need to browse any of the substitutions).
51742 # These are the two extra sed commands mentioned above.
51744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51745 if test -z "$ac_sed_cmds"; then
51746 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51748 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51750 ac_sed_frag
=`expr $ac_sed_frag + 1`
51752 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51755 if test -z "$ac_sed_cmds"; then
51758 fi # test -n "$CONFIG_FILES"
51761 cat >>$CONFIG_STATUS <<\_ACEOF
51762 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51763 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51765 - | *:- | *:-:* ) # input from stdin
51767 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51768 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51769 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51770 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51771 * ) ac_file_in
=$ac_file.
in ;;
51774 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51775 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51777 X"$ac_file" : 'X\(//\)[^/]' \| \
51778 X"$ac_file" : 'X\(//\)$' \| \
51779 X"$ac_file" : 'X\(/\)' \| \
51780 . : '\(.\)' 2>/dev/null ||
51782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51784 /^X\(\/\/\)$/{ s//\1/; q; }
51785 /^X\(\/\).*/{ s//\1/; q; }
51787 { if $as_mkdir_p; then
51792 while test ! -d "$as_dir"; do
51793 as_dirs
="$as_dir $as_dirs"
51794 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51796 X"$as_dir" : 'X\(//\)[^/]' \| \
51797 X"$as_dir" : 'X\(//\)$' \| \
51798 X"$as_dir" : 'X\(/\)' \| \
51799 . : '\(.\)' 2>/dev/null ||
51801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51803 /^X\(\/\/\)$/{ s//\1/; q; }
51804 /^X\(\/\).*/{ s//\1/; q; }
51807 test ! -n "$as_dirs" || mkdir $as_dirs
51808 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51810 { (exit 1); exit 1; }; }; }
51814 if test "$ac_dir" != .
; then
51815 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51816 # A "../" for each directory in $ac_dir_suffix.
51817 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51819 ac_dir_suffix
= ac_top_builddir
=
51823 .
) # No --srcdir option. We are building in place.
51825 if test -z "$ac_top_builddir"; then
51828 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51830 [\\/]* | ?
:[\\/]* ) # Absolute path.
51831 ac_srcdir
=$srcdir$ac_dir_suffix;
51832 ac_top_srcdir
=$srcdir ;;
51833 *) # Relative path.
51834 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51835 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51838 # Do not use `cd foo && pwd` to compute absolute paths, because
51839 # the directories may not exist.
51841 .
) ac_abs_builddir
="$ac_dir";;
51844 .
) ac_abs_builddir
=`pwd`;;
51845 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51846 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51849 case $ac_abs_builddir in
51850 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51852 case ${ac_top_builddir}.
in
51853 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51854 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51855 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51858 case $ac_abs_builddir in
51859 .
) ac_abs_srcdir
=$ac_srcdir;;
51862 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51863 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51864 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51867 case $ac_abs_builddir in
51868 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51870 case $ac_top_srcdir in
51871 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51872 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51873 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51879 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51880 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51883 # Let's still pretend it is `configure' which instantiates (i.e., don't
51884 # use $as_me), people would be surprised to read:
51885 # /* config.h. Generated by config.status. */
51886 if test x
"$ac_file" = x
-; then
51889 configure_input
="$ac_file. "
51891 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51892 sed 's,.*/,,'` by configure."
51894 # First look for the input files in the build tree, otherwise in the
51896 ac_file_inputs
=`IFS=:
51897 for f in $ac_file_in; do
51899 -) echo $tmp/stdin ;;
51901 # Absolute (can't be DOS-style, as IFS=:)
51902 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51903 echo "$as_me: error: cannot find input file: $f" >&2;}
51904 { (exit 1); exit 1; }; }
51907 if test -f "$f"; then
51910 elif test -f "$srcdir/$f"; then
51915 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51916 echo "$as_me: error: cannot find input file: $f" >&2;}
51917 { (exit 1); exit 1; }; }
51920 done` || { (exit 1); exit 1; }
51922 if test x
"$ac_file" != x
-; then
51923 { echo "$as_me:$LINENO: creating $ac_file" >&5
51924 echo "$as_me: creating $ac_file" >&6;}
51928 cat >>$CONFIG_STATUS <<_ACEOF
51932 cat >>$CONFIG_STATUS <<\_ACEOF
51934 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51935 s
,@configure_input@
,$configure_input,;t t
51936 s
,@srcdir@
,$ac_srcdir,;t t
51937 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51938 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51939 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51940 s
,@builddir@
,$ac_builddir,;t t
51941 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51942 s
,@top_builddir@
,$ac_top_builddir,;t t
51943 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51944 s
,@INSTALL@
,$ac_INSTALL,;t t
51945 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51947 if test x"$ac_file" != x-; then
51948 mv $tmp/out $ac_file
51954 # Run the commands associated with the file.
51956 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51957 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51961 cat >>$CONFIG_STATUS <<\_ACEOF
51964 # CONFIG_HEADER section.
51967 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51968 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51970 # ac_d sets the value in "#define NAME VALUE" lines.
51971 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51972 ac_dB
='[ ].*$,\1#\2'
51975 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51976 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51977 ac_uB
='$,\1#\2define\3'
51981 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51982 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51984 - | *:- | *:-:* ) # input from stdin
51986 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51987 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51988 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51989 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51990 * ) ac_file_in
=$ac_file.
in ;;
51993 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51994 echo "$as_me: creating $ac_file" >&6;}
51996 # First look for the input files in the build tree, otherwise in the
51998 ac_file_inputs
=`IFS=:
51999 for f in $ac_file_in; do
52001 -) echo $tmp/stdin ;;
52003 # Absolute (can't be DOS-style, as IFS=:)
52004 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52005 echo "$as_me: error: cannot find input file: $f" >&2;}
52006 { (exit 1); exit 1; }; }
52007 # Do quote $f, to prevent DOS paths from being IFS'd.
52010 if test -f "$f"; then
52013 elif test -f "$srcdir/$f"; then
52018 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52019 echo "$as_me: error: cannot find input file: $f" >&2;}
52020 { (exit 1); exit 1; }; }
52023 done` || { (exit 1); exit 1; }
52024 # Remove the trailing spaces.
52025 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52029 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52030 # `conftest.undefs', that substitutes the proper values into
52031 # config.h.in to produce config.h. The first handles `#define'
52032 # templates, and the second `#undef' templates.
52033 # And first: Protect against being on the right side of a sed subst in
52034 # config.status. Protect against being in an unquoted here document
52035 # in config.status.
52036 rm -f conftest.defines conftest.undefs
52037 # Using a here document instead of a string reduces the quoting nightmare.
52038 # Putting comments in sed scripts is not portable.
52040 # `end' is used to avoid that the second main sed command (meant for
52041 # 0-ary CPP macros) applies to n-ary macro definitions.
52042 # See the Autoconf documentation for `clear'.
52043 cat >confdef2sed.
sed <<\_ACEOF
52048 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52050 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52053 # If some macros were called several times there might be several times
52054 # the same #defines, which is useless. Nevertheless, we may not want to
52055 # sort them, since we want the *last* AC-DEFINE to be honored.
52056 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52057 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52058 rm -f confdef2sed.sed
52060 # This sed command replaces #undef with comments. This is necessary, for
52061 # example, in the case of _POSIX_SOURCE, which is predefined and required
52062 # on some systems where configure will not decide to define it.
52063 cat >>conftest.undefs <<\_ACEOF
52064 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52067 # Break up conftest.defines because some shells have a limit on the size
52068 # of here documents, and old seds have small limits too (100 cmds).
52069 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52070 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52071 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52072 echo ' :' >>$CONFIG_STATUS
52073 rm -f conftest.tail
52074 while grep . conftest.defines >/dev/null
52076 # Write a limited-size here document to $tmp/defines.sed.
52077 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52078 # Speed up: don't consider the non `#define' lines.
52079 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52080 # Work around the forget-to-reset-the-flag bug.
52081 echo 't clr' >>$CONFIG_STATUS
52082 echo ': clr' >>$CONFIG_STATUS
52083 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
52085 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52087 mv $tmp/out $tmp/in
52089 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
52090 rm -f conftest.defines
52091 mv conftest.
tail conftest.defines
52093 rm -f conftest.defines
52094 echo ' fi # grep' >>$CONFIG_STATUS
52095 echo >>$CONFIG_STATUS
52097 # Break up conftest.undefs because some shells have a limit on the size
52098 # of here documents, and old seds have small limits too (100 cmds).
52099 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52100 rm -f conftest.
tail
52101 while grep . conftest.undefs
>/dev
/null
52103 # Write a limited-size here document to $tmp/undefs.sed.
52104 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52105 # Speed up: don't consider the non
`#undef'
52106 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52107 # Work around the forget-to-reset-the-flag bug.
52108 echo 't clr' >>$CONFIG_STATUS
52109 echo ': clr' >>$CONFIG_STATUS
52110 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52112 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52114 mv $tmp/out $tmp/in
52116 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52117 rm -f conftest.undefs
52118 mv conftest.tail conftest.undefs
52120 rm -f conftest.undefs
52122 cat >>$CONFIG_STATUS <<\_ACEOF
52123 # Let's still pretend it is `configure
' which instantiates (i.e., don't
52124 # use $as_me), people would be surprised to read:
52125 # /* config.h. Generated by config.status. */
52126 if test x
"$ac_file" = x
-; then
52127 echo "/* Generated by configure. */" >$tmp/config.h
52129 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52131 cat $tmp/in >>$tmp/config.h
52133 if test x
"$ac_file" != x
-; then
52134 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
52135 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52136 echo "$as_me: $ac_file is unchanged" >&6;}
52138 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52139 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52140 X"$ac_file" : 'X\(//\)[^/]' \| \
52141 X"$ac_file" : 'X\(//\)$' \| \
52142 X"$ac_file" : 'X\(/\)' \| \
52143 . : '\(.\)' 2>/dev/null ||
52145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52147 /^X\(\/\/\)$/{ s//\1/; q; }
52148 /^X\(\/\).*/{ s//\1/; q; }
52150 { if $as_mkdir_p; then
52155 while test ! -d "$as_dir"; do
52156 as_dirs
="$as_dir $as_dirs"
52157 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52159 X"$as_dir" : 'X\(//\)[^/]' \| \
52160 X"$as_dir" : 'X\(//\)$' \| \
52161 X"$as_dir" : 'X\(/\)' \| \
52162 . : '\(.\)' 2>/dev/null ||
52164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52165 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52166 /^X\(\/\/\)$/{ s//\1/; q; }
52167 /^X\(\/\).*/{ s//\1/; q; }
52170 test ! -n "$as_dirs" || mkdir $as_dirs
52171 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52172 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52173 { (exit 1); exit 1; }; }; }
52176 mv $tmp/config.h
$ac_file
52180 rm -f $tmp/config.h
52184 cat >>$CONFIG_STATUS <<\_ACEOF
52187 # CONFIG_COMMANDS section.
52189 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
52190 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
52191 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52192 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
52193 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52194 X"$ac_dest" : 'X\(//\)[^/]' \| \
52195 X"$ac_dest" : 'X\(//\)$' \| \
52196 X"$ac_dest" : 'X\(/\)' \| \
52197 . : '\(.\)' 2>/dev/null ||
52199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52200 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52201 /^X\(\/\/\)$/{ s//\1/; q; }
52202 /^X\(\/\).*/{ s//\1/; q; }
52204 { if $as_mkdir_p; then
52209 while test ! -d "$as_dir"; do
52210 as_dirs
="$as_dir $as_dirs"
52211 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52213 X"$as_dir" : 'X\(//\)[^/]' \| \
52214 X"$as_dir" : 'X\(//\)$' \| \
52215 X"$as_dir" : 'X\(/\)' \| \
52216 . : '\(.\)' 2>/dev/null ||
52218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52220 /^X\(\/\/\)$/{ s//\1/; q; }
52221 /^X\(\/\).*/{ s//\1/; q; }
52224 test ! -n "$as_dirs" || mkdir $as_dirs
52225 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52226 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52227 { (exit 1); exit 1; }; }; }
52231 if test "$ac_dir" != .
; then
52232 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52233 # A "../" for each directory in $ac_dir_suffix.
52234 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52236 ac_dir_suffix
= ac_top_builddir
=
52240 .
) # No --srcdir option. We are building in place.
52242 if test -z "$ac_top_builddir"; then
52245 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52247 [\\/]* | ?
:[\\/]* ) # Absolute path.
52248 ac_srcdir
=$srcdir$ac_dir_suffix;
52249 ac_top_srcdir
=$srcdir ;;
52250 *) # Relative path.
52251 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52252 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52255 # Do not use `cd foo && pwd` to compute absolute paths, because
52256 # the directories may not exist.
52258 .
) ac_abs_builddir
="$ac_dir";;
52261 .
) ac_abs_builddir
=`pwd`;;
52262 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52263 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52266 case $ac_abs_builddir in
52267 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52269 case ${ac_top_builddir}.
in
52270 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52271 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52272 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52275 case $ac_abs_builddir in
52276 .
) ac_abs_srcdir
=$ac_srcdir;;
52279 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52280 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52281 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52284 case $ac_abs_builddir in
52285 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52287 case $ac_top_srcdir in
52288 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52289 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52290 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52295 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52296 echo "$as_me: executing $ac_dest commands" >&6;}
52299 mkdir -p $outdir &&
52300 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52302 wx
-config ) rm -f wx
-config
52303 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52309 cat >>$CONFIG_STATUS <<\_ACEOF
52311 { (exit 0); exit 0; }
52313 chmod +x
$CONFIG_STATUS
52314 ac_clean_files
=$ac_clean_files_save
52317 # configure is writing to config.log, and then calls config.status.
52318 # config.status does its own redirection, appending to config.log.
52319 # Unfortunately, on DOS this fails, as config.log is still kept open
52320 # by configure, so config.status won't be able to write to it; its
52321 # output is simply discarded. So we exec the FD to /dev/null,
52322 # effectively closing config.log, so it can be properly (re)opened and
52323 # appended to by config.status. When coming back to configure, we
52324 # need to make the FD available again.
52325 if test "$no_create" != yes; then
52327 ac_config_status_args
=
52328 test "$silent" = yes &&
52329 ac_config_status_args
="$ac_config_status_args --quiet"
52331 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52333 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52334 # would make configure fail if this is the last instruction.
52335 $ac_cs_success || { (exit 1); exit 1; }
52339 # CONFIG_SUBDIRS section.
52341 if test "$no_recursion" != yes; then
52343 # Remove --cache-file and --srcdir arguments so they do not pile up.
52344 ac_sub_configure_args
=
52346 for ac_arg
in $ac_configure_args; do
52347 if test -n "$ac_prev"; then
52352 -cache-file | --cache-file | --cache-fil | --cache-fi \
52353 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52354 ac_prev
=cache_file
;;
52355 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52356 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52359 --config-cache | -C)
52361 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52363 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52365 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52367 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52369 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52373 # Always prepend --prefix to ensure using the same prefix
52374 # in subdir configurations.
52375 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52378 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52380 # Do not complain, so a configure script can configure whichever
52381 # parts of a large source tree are present.
52382 test -d $srcdir/$ac_dir || continue
52384 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52385 echo "$as_me: configuring in $ac_dir" >&6;}
52386 { if $as_mkdir_p; then
52391 while test ! -d "$as_dir"; do
52392 as_dirs
="$as_dir $as_dirs"
52393 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52395 X"$as_dir" : 'X\(//\)[^/]' \| \
52396 X"$as_dir" : 'X\(//\)$' \| \
52397 X"$as_dir" : 'X\(/\)' \| \
52398 . : '\(.\)' 2>/dev/null ||
52400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52402 /^X\(\/\/\)$/{ s//\1/; q; }
52403 /^X\(\/\).*/{ s//\1/; q; }
52406 test ! -n "$as_dirs" || mkdir $as_dirs
52407 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52408 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52409 { (exit 1); exit 1; }; }; }
52413 if test "$ac_dir" != .
; then
52414 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52415 # A "../" for each directory in $ac_dir_suffix.
52416 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52418 ac_dir_suffix
= ac_top_builddir
=
52422 .
) # No --srcdir option. We are building in place.
52424 if test -z "$ac_top_builddir"; then
52427 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52429 [\\/]* | ?
:[\\/]* ) # Absolute path.
52430 ac_srcdir
=$srcdir$ac_dir_suffix;
52431 ac_top_srcdir
=$srcdir ;;
52432 *) # Relative path.
52433 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52434 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52437 # Do not use `cd foo && pwd` to compute absolute paths, because
52438 # the directories may not exist.
52440 .
) ac_abs_builddir
="$ac_dir";;
52443 .
) ac_abs_builddir
=`pwd`;;
52444 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52445 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52448 case $ac_abs_builddir in
52449 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52451 case ${ac_top_builddir}.
in
52452 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52453 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52454 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52457 case $ac_abs_builddir in
52458 .
) ac_abs_srcdir
=$ac_srcdir;;
52461 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52462 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52463 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52466 case $ac_abs_builddir in
52467 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52469 case $ac_top_srcdir in
52470 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52471 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52472 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52479 # Check for guested configure; otherwise get Cygnus style configure.
52480 if test -f $ac_srcdir/configure.gnu
; then
52481 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52482 elif test -f $ac_srcdir/configure
; then
52483 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52484 elif test -f $ac_srcdir/configure.
in; then
52485 ac_sub_configure
=$ac_configure
52487 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52488 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52492 # The recursion is here.
52493 if test -n "$ac_sub_configure"; then
52494 # Make the cache file name correct relative to the subdirectory.
52495 case $cache_file in
52496 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52497 *) # Relative path.
52498 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52501 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52502 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52503 # The eval makes quoting arguments work.
52504 eval $ac_sub_configure $ac_sub_configure_args \
52505 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52506 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52507 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52508 { (exit 1); exit 1; }; }
52517 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52519 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52520 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52522 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52523 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52524 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52526 echo " What level of wxWidgets compatibility should be enabled?"
52527 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52528 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52530 echo " Which libraries should wxWidgets use?"
52531 echo " jpeg ${wxUSE_LIBJPEG-none}"
52532 echo " png ${wxUSE_LIBPNG-none}"
52533 echo " regex ${wxUSE_REGEX}"
52534 echo " tiff ${wxUSE_LIBTIFF-none}"
52535 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52536 echo " xpm ${wxUSE_LIBXPM-none}"
52538 echo " zlib ${wxUSE_ZLIB}"
52539 echo " odbc ${wxUSE_ODBC}"
52540 echo " expat ${wxUSE_EXPAT}"
52541 echo " libmspack ${wxUSE_LIBMSPACK}"
52542 echo " sdl ${wxUSE_LIBSDL}"